diff --git a/local-pkgs/stellar-base-cap0084-v2.tgz b/local-pkgs/stellar-base-cap0084-v2.tgz new file mode 100644 index 000000000..2e7352e2e Binary files /dev/null and b/local-pkgs/stellar-base-cap0084-v2.tgz differ diff --git a/local-pkgs/stellar-sdk-cap0084-v2.tgz b/local-pkgs/stellar-sdk-cap0084-v2.tgz new file mode 100644 index 000000000..346b5b14c Binary files /dev/null and b/local-pkgs/stellar-sdk-cap0084-v2.tgz differ diff --git a/local-pkgs/stellar-xdr-json-cap0084.tgz b/local-pkgs/stellar-xdr-json-cap0084.tgz new file mode 100644 index 000000000..db4b99a8e Binary files /dev/null and b/local-pkgs/stellar-xdr-json-cap0084.tgz differ diff --git a/package.json b/package.json index a8beab140..acfdcc3e7 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,8 @@ "@sentry/nextjs": "^10.29.0", "@stellar-expert/contract-wasm-interface-parser": "^4.1.0", "@stellar/design-system": "^3.2.7", - "@stellar/stellar-sdk": "16.0.0", - "@stellar/stellar-xdr-json": "^27.0.0", + "@stellar/stellar-sdk": "file:./local-pkgs/stellar-sdk-cap0084-v2.tgz", + "@stellar/stellar-xdr-json": "file:./local-pkgs/stellar-xdr-json-cap0084.tgz", "@tanstack/react-query": "^5.83.0", "@tanstack/react-query-devtools": "^5.83.0", "@trezor/connect-plugin-stellar": "^9.2.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4e853b317..e36be82af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: + '@stellar/stellar-base': file:./local-pkgs/stellar-base-cap0084-v2.tgz debug@4.4.2: 4.4.1 chalk@5.6.1: 5.6.2 ansi-regex@6.2.1: 6.2.2 @@ -30,7 +31,7 @@ importers: version: 2.23.7 '@creit.tech/stellar-wallets-kit': specifier: ^2.2.0 - version: 2.2.0(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(@types/react@19.1.12)(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.1.3)(near-api-js@5.1.1)(react@19.2.3)(tslib@2.8.1)(typescript@5.9.2)(use-sync-external-store@1.2.0(react@19.2.3))(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6))(zod@3.25.76) + version: 2.2.0(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(@types/react@19.1.12)(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.1.3)(near-api-js@5.1.1)(react@19.2.3)(tslib@2.8.1)(typescript@5.9.2)(use-sync-external-store@1.2.0(react@19.2.3))(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6))(zod@3.25.76) '@ledgerhq/hw-app-str': specifier: ^7.2.9 version: 7.2.9 @@ -53,11 +54,11 @@ importers: specifier: ^3.2.7 version: 3.2.7(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@stellar/stellar-sdk': - specifier: 16.0.0 - version: 16.0.0 + specifier: file:./local-pkgs/stellar-sdk-cap0084-v2.tgz + version: file:local-pkgs/stellar-sdk-cap0084-v2.tgz '@stellar/stellar-xdr-json': - specifier: ^27.0.0 - version: 27.0.0 + specifier: file:./local-pkgs/stellar-xdr-json-cap0084.tgz + version: file:local-pkgs/stellar-xdr-json-cap0084.tgz '@tanstack/react-query': specifier: ^5.83.0 version: 5.87.4(react@19.2.3) @@ -66,7 +67,7 @@ importers: version: 5.87.4(@tanstack/react-query@5.87.4(react@19.2.3))(react@19.2.3) '@trezor/connect-plugin-stellar': specifier: ^9.2.3 - version: 9.2.3(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1) + version: 9.2.3(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1) '@trezor/connect-web': specifier: ^9.6.4 version: 9.6.4(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)) @@ -434,6 +435,7 @@ packages: '@creit.tech/stellar-wallets-kit@2.2.0': resolution: {integrity: sha512-GUXS0HUggxWiK2c3sNi5vnIE/40iVQqIpH7OBca6s0BUOk3GCTmZrcaep4AhNxkuWpqOCQ78i29PVr7F/0xWvA==} + version: 2.2.0 '@creit.tech/xbull-wallet-connect@0.4.0': resolution: {integrity: sha512-LrCUIqUz50SkZ4mv2hTqSmwews8CNRYVoZ9+VjLsK/1U8PByzXTxv1vZyenj6avRTG86ifpoeihz7D3D5YIDrQ==} @@ -2381,24 +2383,19 @@ packages: '@stellar/freighter-api@6.0.0': resolution: {integrity: sha512-8CTQcKQmTq/wL715ZUzn1x1POpR0eYhYPKEiaeA7AT0WYBOauOGTxfWPFtSidX3ohAlJZP5HFXy1kG29cVjqxw==} - '@stellar/js-xdr@3.1.2': - resolution: {integrity: sha512-VVolPL5goVEIsvuGqDc5uiKxV03lzfWdvYg1KikvwheDmTBO68CKDji3bAZ/kppZrx5iTA8z3Ld5yuytcvhvOQ==} - '@stellar/js-xdr@4.0.0': resolution: {integrity: sha512-+NmNa7Tk5BI5XFdy/6xGTqAN4J9a9KgCrCGhj2uEUTCBhLkch0M+QbKzNH8zEnejWe0p8w+0q5hUVX6L3OzoVA==} engines: {node: '>=20.0.0', pnpm: '>=9.0.0'} - '@stellar/stellar-base@13.1.0': - resolution: {integrity: sha512-90EArG+eCCEzDGj3OJNoCtwpWDwxjv+rs/RNPhvg4bulpjN/CSRj+Ys/SalRcfM4/WRC5/qAfjzmJBAuquWhkA==} - engines: {node: '>=18.0.0'} - - '@stellar/stellar-base@14.0.1': - resolution: {integrity: sha512-mI6Kjh9hGWDA1APawQTtCbR7702dNT/8Te1uuRFPqqdoAKBk3WpXOQI3ZSZO+5olW7BSHpmVG5KBPZpIpQxIvw==} - engines: {node: '>=20.0.0'} - '@stellar/stellar-base@15.0.0': resolution: {integrity: sha512-XQhxUr9BYiEcFcgc4oWcCMR9QJCny/GmmGsuwPKf/ieIcOeb5149KLHYx9mJCA0ea8QbucR2/GzV58QbXOTxQA==} engines: {node: '>=20.0.0'} + deprecated: This package is now rolled into @stellar/stellar-sdk. Please use @stellar/stellar-sdk to continue receiving updates and support. + + '@stellar/stellar-base@file:local-pkgs/stellar-base-cap0084-v2.tgz': + resolution: {integrity: sha512-hWtQPFoRofemCfflGNl1RgKODlj28BtBOVdunZicyefngV8AhFl/VR49Td9cukFCmvNVUUkQ5GIqBBExGeiAiA==, tarball: file:local-pkgs/stellar-base-cap0084-v2.tgz} + version: 15.0.0 + engines: {node: '>=20.0.0'} '@stellar/stellar-sdk@13.3.0': resolution: {integrity: sha512-8+GHcZLp+mdin8gSjcgfb/Lb6sSMYRX6Nf/0LcSJxvjLQR0XHpjGzOiRbYb2jSXo51EnA6kAV5j+4Pzh5OUKUg==} @@ -2408,13 +2405,15 @@ packages: resolution: {integrity: sha512-7nh2ogzLRMhfkIC0fGjn1LHUzk3jqVw8tjAuTt5ADWfL9CSGBL18ILucE9igz2L/RU2AZgeAvhujAnW91Ut/oQ==} engines: {node: '>=20.0.0'} - '@stellar/stellar-sdk@16.0.0': - resolution: {integrity: sha512-DRrgtYhJu9dE1uwSygiKa414GHOARhRnfXB9LialcXZzwxeEdlyh4WI5dVJbYROi9gflWGpys2sdPqUWSJAqFQ==} + '@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz': + resolution: {integrity: sha512-6nIblbvNc+Q7WTDr2p3eEIYT5qZL9kQ5tRwCt3Fdhi04lSgKgM1ARkSVzKR3J79EDH9l026MrEDBNspR2FKzVA==, tarball: file:local-pkgs/stellar-sdk-cap0084-v2.tgz} + version: 16.0.1 engines: {node: '>=22.0.0'} hasBin: true - '@stellar/stellar-xdr-json@27.0.0': - resolution: {integrity: sha512-K29zkrO935iW/JLG7bvFvqj0rOUS/73AUZShOjCAigFcaJwDujTn7EIR7H1EZrTqRShzWOXV9munlFpw59+Rbw==} + '@stellar/stellar-xdr-json@file:local-pkgs/stellar-xdr-json-cap0084.tgz': + resolution: {integrity: sha512-Z4OD+RcboG3CaEyTdkM0/npG43bEmA0hCzEuAX9iu50NO7pukzWlY8LNSrHtM4/QSnmVhBxEKYViZD3K2ntiuQ==, tarball: file:local-pkgs/stellar-xdr-json-cap0084.tgz} + version: 26.0.0 '@swc/helpers@0.5.15': resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} @@ -2511,6 +2510,7 @@ packages: '@trezor/connect-plugin-stellar@9.2.3': resolution: {integrity: sha512-ZzfRAaxkGj6u9dzUb/qsnEzEEg8gk0lhGRzuvX+JvvEmFBubAR7qK0U6Oj24vwLlOlF6swYrDdDNAtJvI0FFsg==} + version: 9.2.3 peerDependencies: '@stellar/stellar-sdk': ^13.3.0 '@trezor/connect': 9.x.x @@ -2518,6 +2518,7 @@ packages: '@trezor/connect-plugin-stellar@9.2.6': resolution: {integrity: sha512-RA0Q4GHaf1mFxgSX183yyH+5tWEgS1j+sfe9KiUyIn/VnpXeUnaCpQuKMomAjGXQ5oNuvikTOdHYOqsvuEdOyw==} + version: 9.2.6 peerDependencies: '@stellar/stellar-sdk': ^13.3.0 '@trezor/connect': 9.x.x @@ -3347,6 +3348,9 @@ packages: axios@1.16.1: resolution: {integrity: sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==} + axios@1.18.0: + resolution: {integrity: sha512-E32NzpYKp++W7XRe52rHiXV2ehxmh3wbdgO7MHeFM+vqxLBYHzt0ElkiImtOBxtOmyp0yoC8C6uESVV84Y2/hw==} + axobject-query@4.1.0: resolution: {integrity: sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==} engines: {node: '>= 0.4'} @@ -3388,35 +3392,6 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - bare-addon-resolve@1.9.4: - resolution: {integrity: sha512-unn6Vy/Yke6F99vg/7tcrvM2KUvIhTNniaSqDbam4AWkd4NhvDVSrQiRYVlNzUV2P7SPobkCK7JFVxrJk9btCg==} - peerDependencies: - bare-url: '*' - peerDependenciesMeta: - bare-url: - optional: true - - bare-module-resolve@1.11.1: - resolution: {integrity: sha512-DCxeT9i8sTs3vUMA3w321OX/oXtNEu5EjObQOnTmCdNp5RXHBAvAaBDHvAi9ta0q/948QPz+co6SsGi6aQMYRg==} - peerDependencies: - bare-url: '*' - peerDependenciesMeta: - bare-url: - optional: true - - bare-os@3.6.2: - resolution: {integrity: sha512-T+V1+1srU2qYNBmJCXZkUY5vQ0B4FSlL3QDROnKQYOqeiQR8UbjNHlPa+TIbM4cuidiN9GaTaOZgSEgsvPbh5A==} - engines: {bare: '>=1.14.0'} - - bare-path@3.0.0: - resolution: {integrity: sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==} - - bare-semver@1.0.1: - resolution: {integrity: sha512-UtggzHLiTrmFOC/ogQ+Hy7VfoKoIwrP1UFcYtTxoCUdLtsIErT8+SWtOC2DH/snT9h+xDrcBEPcwKei1mzemgg==} - - bare-url@2.2.2: - resolution: {integrity: sha512-g+ueNGKkrjMazDG3elZO1pNs3HY5+mMmOet1jtKyhOaCnkLzitxf26z7hoAEkDNgdNmnc1KIlt/dw6Po6xZMpA==} - base-x@3.0.11: resolution: {integrity: sha512-xz7wQ8xDhdyP7tQxwdteLYeFfS68tSMNCZ/Y37WJ4bhGfKPpqEIlmIyueQHqOyoPhE6xNUqjzRr8ra0eF9VRvA==} @@ -3445,8 +3420,8 @@ packages: big.js@6.2.2: resolution: {integrity: sha512-y/ie+Faknx7sZA5MfGA2xKlu0GDv8RWrXGsmlteyJQ2lvoKv9GBK/fpRMc2qlSoBAgNxrixICFCBefIq8WCQpQ==} - bignumber.js@11.1.3: - resolution: {integrity: sha512-+esZiNSo6VgFokTsYX6mYqNJfFd/IczzZCd4Z7cR8e+AQWhvIcj6nqQ1h9814D9u/TApU0jjTVmfWL0Pd1ZBdA==} + bignumber.js@11.1.4: + resolution: {integrity: sha512-AJ9dSeaUGj2xu7tEwmdqb51dqdb633xo4njI9K8ZFfcLrNr0XN8/EPkkZUNaF9fkCblGt2zVwZymesUdGynEkQ==} bignumber.js@9.3.1: resolution: {integrity: sha512-Ko0uX15oIUS7wJ3Rb30Fs6SkVbLmPBAKdlm7q9+ak9bbIeFf0MwuBsQV6z7+X768/cHsfg+WlysDWJcmthjsjQ==} @@ -5710,10 +5685,6 @@ packages: resolution: {integrity: sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==} engines: {node: '>= 0.4'} - require-addon@1.1.0: - resolution: {integrity: sha512-KbXAD5q2+v1GJnkzd8zzbOxchTkStSyJZ9QwoCq3QwEXAaIlG3wDYRZGzVD357jmwaGY7hr5VaoEAL0BkF0Kvg==} - engines: {bare: '>=1.10.0'} - require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -5951,8 +5922,8 @@ packages: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - smol-toml@1.6.1: - resolution: {integrity: sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==} + smol-toml@1.7.0: + resolution: {integrity: sha512-aqVvWoyO21L23mb+drl4RmMXbf6N7FdHjAhTRA9ZBL7apWBgfWC16KjrASI+1p9GAroljyMHj6fK67i0UiTNvQ==} engines: {node: '>= 18'} socks-proxy-agent@8.0.5: @@ -5963,9 +5934,6 @@ packages: resolution: {integrity: sha512-HLpt+uLy/pxB+bum/9DzAgiKS8CX1EvbWxI4zlmgGCExImLdiad2iCwXT5Z4c9c3Eq8rP2318mPW2c+QbtjK8A==} engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} - sodium-native@4.3.3: - resolution: {integrity: sha512-OnxSlN3uyY8D0EsLHpmm2HOFmKddQVvEMmsakCrXUzSd8kjjbzL413t4ZNF3n0UxSwNgwTyUvkmZHTfuCeiYSw==} - sonic-boom@4.2.1: resolution: {integrity: sha512-w6AxtubXa2wTXAUsZMMWERrsIRAdrK0Sc+FUytWvYAhBJLyuI4llrMIC1DtlNSdI99EI86KZum2MMq3EAZlF9Q==} @@ -6219,10 +6187,6 @@ packages: tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} - to-buffer@1.2.1: - resolution: {integrity: sha512-tB82LpAIWjhLYbqjx3X4zEeHN6M8CiuOEy2JY8SEQVdYRe3CCHOFaqrBW1doLDrfpWhplcW7BL+bO3/6S3pcDQ==} - engines: {node: '>= 0.4'} - to-buffer@1.2.2: resolution: {integrity: sha512-db0E3UJjcFhpDhAF4tLo03oli3pwl3dbnzXOUIlRKrp+ldk/VUxzpWYZENsw2SZiuBjHAk7DfB0VU7NKdpb6sw==} engines: {node: '>= 0.4'} @@ -7132,7 +7096,7 @@ snapshots: - utf-8-validate optional: true - '@creit.tech/stellar-wallets-kit@2.2.0(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(@types/react@19.1.12)(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.1.3)(near-api-js@5.1.1)(react@19.2.3)(tslib@2.8.1)(typescript@5.9.2)(use-sync-external-store@1.2.0(react@19.2.3))(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6))(zod@3.25.76)': + '@creit.tech/stellar-wallets-kit@2.2.0(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(@types/react@19.1.12)(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.1.3)(near-api-js@5.1.1)(react@19.2.3)(tslib@2.8.1)(typescript@5.9.2)(use-sync-external-store@1.2.0(react@19.2.3))(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6))(zod@3.25.76)': dependencies: '@albedo-link/intent': 0.12.0 '@creit.tech/xbull-wallet-connect': 0.4.0 @@ -7144,8 +7108,8 @@ snapshots: '@preact/signals': 2.9.0(preact@10.29.2) '@reown/appkit': 1.8.19(@types/react@19.1.12)(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(immer@10.1.3)(react@19.2.3)(typescript@5.9.2)(use-sync-external-store@1.2.0(react@19.2.3))(utf-8-validate@6.0.6)(zod@3.25.76) '@stellar/freighter-api': 6.0.0 - '@stellar/stellar-base': 14.0.1 - '@trezor/connect-plugin-stellar': 9.2.6(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1) + '@stellar/stellar-base': file:local-pkgs/stellar-base-cap0084-v2.tgz + '@trezor/connect-plugin-stellar': 9.2.6(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1) '@trezor/connect-web': 9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)) '@twind/core': 1.1.3(typescript@5.9.2) '@twind/preset-autoprefix': 1.0.7(@twind/core@1.1.3(typescript@5.9.2))(typescript@5.9.2) @@ -8753,7 +8717,7 @@ snapshots: '@scure/bip32@1.7.0': dependencies: - '@noble/curves': 1.9.0 + '@noble/curves': 1.9.7 '@noble/hashes': 1.8.0 '@scure/base': 1.2.6 @@ -9867,31 +9831,18 @@ snapshots: buffer: 6.0.3 semver: 7.7.1 - '@stellar/js-xdr@3.1.2': {} - '@stellar/js-xdr@4.0.0': {} - '@stellar/stellar-base@13.1.0': - dependencies: - '@stellar/js-xdr': 3.1.2 - base32.js: 0.1.0 - bignumber.js: 9.3.1 - buffer: 6.0.3 - sha.js: 2.4.12 - tweetnacl: 1.0.3 - optionalDependencies: - sodium-native: 4.3.3 - - '@stellar/stellar-base@14.0.1': + '@stellar/stellar-base@15.0.0': dependencies: '@noble/curves': 1.9.7 - '@stellar/js-xdr': 3.1.2 + '@stellar/js-xdr': 4.0.0 base32.js: 0.1.0 bignumber.js: 9.3.1 buffer: 6.0.3 sha.js: 2.4.12 - '@stellar/stellar-base@15.0.0': + '@stellar/stellar-base@file:local-pkgs/stellar-base-cap0084-v2.tgz': dependencies: '@noble/curves': 1.9.7 '@stellar/js-xdr': 4.0.0 @@ -9902,7 +9853,7 @@ snapshots: '@stellar/stellar-sdk@13.3.0': dependencies: - '@stellar/stellar-base': 13.1.0 + '@stellar/stellar-base': file:local-pkgs/stellar-base-cap0084-v2.tgz axios: 1.16.1 bignumber.js: 9.3.1 eventsource: 2.0.2 @@ -9916,7 +9867,7 @@ snapshots: '@stellar/stellar-sdk@14.2.0': dependencies: - '@stellar/stellar-base': 14.0.1 + '@stellar/stellar-base': file:local-pkgs/stellar-base-cap0084-v2.tgz axios: 1.16.1 bignumber.js: 9.3.1 eventsource: 2.0.2 @@ -9928,25 +9879,25 @@ snapshots: - debug - supports-color - '@stellar/stellar-sdk@16.0.0': + '@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz': dependencies: '@noble/ed25519': 3.1.0 '@noble/hashes': 2.2.0 '@stellar/js-xdr': 4.0.0 - axios: 1.16.1 + axios: 1.18.0 base32.js: 0.1.0 - bignumber.js: 11.1.3 + bignumber.js: 11.1.4 buffer: 6.0.3 commander: 14.0.3 eventsource: 4.1.0 feaxios: 0.0.23 - smol-toml: 1.6.1 + smol-toml: 1.7.0 uint8array-extras: 1.5.0 transitivePeerDependencies: - debug - supports-color - '@stellar/stellar-xdr-json@27.0.0': {} + '@stellar/stellar-xdr-json@file:local-pkgs/stellar-xdr-json-cap0084.tgz': {} '@swc/helpers@0.5.15': dependencies: @@ -10171,16 +10122,16 @@ snapshots: - expo-localization - react-native - '@trezor/connect-plugin-stellar@9.2.3(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1)': + '@trezor/connect-plugin-stellar@9.2.3(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1)': dependencies: - '@stellar/stellar-sdk': 16.0.0 + '@stellar/stellar-sdk': file:local-pkgs/stellar-sdk-cap0084-v2.tgz '@trezor/connect': 9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)) '@trezor/utils': 9.4.3(tslib@2.8.1) tslib: 2.8.1 - '@trezor/connect-plugin-stellar@9.2.6(@stellar/stellar-sdk@16.0.0)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1)': + '@trezor/connect-plugin-stellar@9.2.6(@stellar/stellar-sdk@file:local-pkgs/stellar-sdk-cap0084-v2.tgz)(@trezor/connect@9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)))(tslib@2.8.1)': dependencies: - '@stellar/stellar-sdk': 16.0.0 + '@stellar/stellar-sdk': file:local-pkgs/stellar-sdk-cap0084-v2.tgz '@trezor/connect': 9.7.2(@solana/sysvars@5.5.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.9.2))(bufferutil@4.1.0)(fastestsmallesttextencoderdecoder@1.0.22)(tslib@2.8.1)(typescript@5.9.2)(utf-8-validate@6.0.6)(ws@8.21.0(bufferutil@4.1.0)(utf-8-validate@6.0.6)) '@trezor/utils': 9.5.0(tslib@2.8.1) tslib: 2.8.1 @@ -11638,6 +11589,16 @@ snapshots: - debug - supports-color + axios@1.18.0: + dependencies: + follow-redirects: 1.16.0 + form-data: 4.0.5 + https-proxy-agent: 5.0.1 + proxy-from-env: 2.1.0 + transitivePeerDependencies: + - debug + - supports-color + axobject-query@4.1.0: {} babel-jest@30.2.0(@babel/core@7.28.5): @@ -11717,37 +11678,6 @@ snapshots: balanced-match@1.0.2: {} - bare-addon-resolve@1.9.4(bare-url@2.2.2): - dependencies: - bare-module-resolve: 1.11.1(bare-url@2.2.2) - bare-semver: 1.0.1 - optionalDependencies: - bare-url: 2.2.2 - optional: true - - bare-module-resolve@1.11.1(bare-url@2.2.2): - dependencies: - bare-semver: 1.0.1 - optionalDependencies: - bare-url: 2.2.2 - optional: true - - bare-os@3.6.2: - optional: true - - bare-path@3.0.0: - dependencies: - bare-os: 3.6.2 - optional: true - - bare-semver@1.0.1: - optional: true - - bare-url@2.2.2: - dependencies: - bare-path: 3.0.0 - optional: true - base-x@3.0.11: dependencies: safe-buffer: 5.2.1 @@ -11766,7 +11696,7 @@ snapshots: big.js@6.2.2: {} - bignumber.js@11.1.3: {} + bignumber.js@11.1.4: {} bignumber.js@9.3.1: {} @@ -14499,12 +14429,6 @@ snapshots: gopd: 1.2.0 set-function-name: 2.0.2 - require-addon@1.1.0: - dependencies: - bare-addon-resolve: 1.9.4(bare-url@2.2.2) - bare-url: 2.2.2 - optional: true - require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -14734,7 +14658,7 @@ snapshots: dependencies: inherits: 2.0.4 safe-buffer: 5.2.1 - to-buffer: 1.2.1 + to-buffer: 1.2.2 sha1@1.1.1: dependencies: @@ -14827,7 +14751,7 @@ snapshots: smart-buffer@4.2.0: {} - smol-toml@1.6.1: {} + smol-toml@1.7.0: {} socks-proxy-agent@8.0.5: dependencies: @@ -14842,11 +14766,6 @@ snapshots: ip-address: 10.0.1 smart-buffer: 4.2.0 - sodium-native@4.3.3: - dependencies: - require-addon: 1.1.0 - optional: true - sonic-boom@4.2.1: dependencies: atomic-sleep: 1.0.0 @@ -14887,7 +14806,7 @@ snapshots: stellar-hd-wallet@1.0.2: dependencies: - '@stellar/stellar-base': 13.1.0 + '@stellar/stellar-base': file:local-pkgs/stellar-base-cap0084-v2.tgz '@types/create-hmac': 1.1.1 bip39: 3.1.0 create-hmac: 1.1.7 @@ -15086,12 +15005,6 @@ snapshots: tmpl@1.0.5: {} - to-buffer@1.2.1: - dependencies: - isarray: 2.0.5 - safe-buffer: 5.2.1 - typed-array-buffer: 1.0.3 - to-buffer@1.2.2: dependencies: isarray: 2.0.5 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 98ffc86fc..45eaa6af7 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,6 +5,7 @@ minimumReleaseAgeExclude: - "@stellar/design-system" - "@stellar/stellar-xdr-json" overrides: + "@stellar/stellar-base": "file:./local-pkgs/stellar-base-cap0084-v2.tgz" "debug@4.4.2": "4.4.1" "chalk@5.6.1": "5.6.2" "ansi-regex@6.2.1": "6.2.2" diff --git a/src/store/createStore.ts b/src/store/createStore.ts index afb14644a..559ca3d03 100644 --- a/src/store/createStore.ts +++ b/src/store/createStore.ts @@ -216,9 +216,12 @@ interface CreateStoreOptions { const defaultCustomNetwork = { id: "custom", label: "Custom", - horizonUrl: "http://localhost:8000", - rpcUrl: "http://localhost:8000/rpc", - passphrase: "Standalone Network ; February 2017", + horizonUrl: + process.env.NEXT_PUBLIC_CUSTOM_HORIZON_URL || "http://localhost:8000", + rpcUrl: process.env.NEXT_PUBLIC_CUSTOM_RPC_URL || "http://localhost:8000/rpc", + passphrase: + process.env.NEXT_PUBLIC_CUSTOM_PASSPHRASE || + "Standalone Network ; February 2017", }; const initNetwork =