🎉 Publish Wallets Release#113
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to develop, this PR will be updated.
Releases
@swapkit/sdk@4.6.38
Patch Changes
#112
e84d7bbThanks @towanTG! - Update SwapKit SDK dependencies:d099d5fThanks @towanTG! -approveAssetValueandisAssetValueApprovedtake either the route or an explicit assetValue + spender/plugin address — a route carries everything: the approval subject (a Stellar trustline belongs to the buy asset; an EVM allowance coverssellAsset/sellAmount), the spender (meta.approvalAddress), and the plugin (resolved the same wayswap()resolves it: swapkit-routed providers and direct-signing wallets go to the swapkit plugin, everything else by the route's provider).f740a74Thanks @towanTG! - Add client-side support for the Stellar trustline approval flow: swap response types model theapprovalTxunion (EVM | Stellar changeTrust XDR) andnextActions,approveAssetValue/isAssetValueApprovedswitch between EVM allowances and Stellar trustlines (checking via the new Stellar toolboxhasTrustline({ address, assetValue }), approving by signing the API-provided changeTrust XDR with the destination wallet). The swap method itself is unchanged — integrators approve first, re-fetch the route, then swap. (via @swapkit/helpers@4.19.0)55d9edcThanks @towanTG! - Update NEAR provider token list: add Stellar assets (XLM.XLM, XLM.USDC) and latest NEAR-intents listings (SWEAT, GMX, KAITO, AAVE, LINK, UNI, and more); remove BTC.BTC(OMNI) (via @swapkit/helpers@4.19.0)67445d1Thanks @towanTG! - Add Aleo chain metadata, assets, public-balance support, HD derivation, public transfers, fee estimates, broadcasting, transaction status, and keystore/server registration.0794dd0Thanks @towanTG! - Aleo review follow-up: surfacesplitTransactionIdin unshield failure errors so an interrupted unshield is resumable, treat a 404 on the serial-number lookup as the authoritative unspent answer across RPC failover, filter record extraction tocredits.aleoingetRecords, reject toolbox params carrying both a phrase and an external signer (toolbox_aleo_conflicting_signers), validatefeeRecordCredits, and throw a cleartoolbox_aleo_no_rpc_urlserror when no RPC URL is configured. (via @swapkit/toolboxes@4.25.0)88aa0ccThanks @paz-ts! - toSignificant no longer corrupts values with long decimal parts: leading zeros are stripped as a string instead of through Number.parseInt, whose float round-trip rendered full-precision balances on 24-decimal chains like NEAR with two decimal points ("0.0003.2238") and silently lost digits past 2^53 on 18-decimal chains. (via @swapkit/toolboxes@4.25.0)be7e885Thanks @towanTG! - Update generated token lists and preserve Maya address prefixes when signing THOR/Maya Amino messages. (via @swapkit/toolboxes@4.24.1)9641c5dThanks @towanTG! - Sweep hardening from post-merge adversarial review: EVM sweeps fail closed when the near-final gas probe is unaffordable instead of broadcasting with an under-validated gas limit; clamped Sui sweep budgets are dry-run verified so dust wallets cannot burn their balance on an insufficient budget; native TON sweeps throw the shared sweep guard for empty wallets; NEAR token-sweep gas shortfalls use the standard sweep error key. (via @swapkit/toolboxes@4.24.1)d787a38Thanks @towanTG! - Add asweepflag tocreateTransactionandtransferacross all toolboxes. For native/gas assets, sweep sends the maximum spendable amount while keeping the sender account alive (fees, reserves, rent, existential deposits, and storage stakes are reserved per chain); for tokens, sweep resolves the full token balance. Also fixes Starknet balance decoding (uint256 halves order and decimals), the sharedGenericCreateTransactionParamsOmit, and the Chainflip EIP-7702 authorization signature type. (via @swapkit/helpers@4.17.0)Updated dependencies [
e84d7bb]:@swapkit/wallet-extensions@4.5.24
Patch Changes
#112
e84d7bbThanks @towanTG! - Update SwapKit SDK dependencies:d099d5fThanks @towanTG! -approveAssetValueandisAssetValueApprovedtake either the route or an explicit assetValue + spender/plugin address — a route carries everything: the approval subject (a Stellar trustline belongs to the buy asset; an EVM allowance coverssellAsset/sellAmount), the spender (meta.approvalAddress), and the plugin (resolved the same wayswap()resolves it: swapkit-routed providers and direct-signing wallets go to the swapkit plugin, everything else by the route's provider).f740a74Thanks @towanTG! - Add client-side support for the Stellar trustline approval flow: swap response types model theapprovalTxunion (EVM | Stellar changeTrust XDR) andnextActions,approveAssetValue/isAssetValueApprovedswitch between EVM allowances and Stellar trustlines (checking via the new Stellar toolboxhasTrustline({ address, assetValue }), approving by signing the API-provided changeTrust XDR with the destination wallet). The swap method itself is unchanged — integrators approve first, re-fetch the route, then swap. (via @swapkit/helpers@4.19.0)55d9edcThanks @towanTG! - Update NEAR provider token list: add Stellar assets (XLM.XLM, XLM.USDC) and latest NEAR-intents listings (SWEAT, GMX, KAITO, AAVE, LINK, UNI, and more); remove BTC.BTC(OMNI) (via @swapkit/helpers@4.19.0)67445d1Thanks @towanTG! - Add Aleo chain metadata, assets, public-balance support, HD derivation, public transfers, fee estimates, broadcasting, transaction status, and keystore/server registration.0794dd0Thanks @towanTG! - Aleo review follow-up: surfacesplitTransactionIdin unshield failure errors so an interrupted unshield is resumable, treat a 404 on the serial-number lookup as the authoritative unspent answer across RPC failover, filter record extraction tocredits.aleoingetRecords, reject toolbox params carrying both a phrase and an external signer (toolbox_aleo_conflicting_signers), validatefeeRecordCredits, and throw a cleartoolbox_aleo_no_rpc_urlserror when no RPC URL is configured. (via @swapkit/toolboxes@4.25.0)88aa0ccThanks @paz-ts! - toSignificant no longer corrupts values with long decimal parts: leading zeros are stripped as a string instead of through Number.parseInt, whose float round-trip rendered full-precision balances on 24-decimal chains like NEAR with two decimal points ("0.0003.2238") and silently lost digits past 2^53 on 18-decimal chains. (via @swapkit/toolboxes@4.25.0)be7e885Thanks @towanTG! - Update generated token lists and preserve Maya address prefixes when signing THOR/Maya Amino messages. (via @swapkit/toolboxes@4.24.1)9641c5dThanks @towanTG! - Sweep hardening from post-merge adversarial review: EVM sweeps fail closed when the near-final gas probe is unaffordable instead of broadcasting with an under-validated gas limit; clamped Sui sweep budgets are dry-run verified so dust wallets cannot burn their balance on an insufficient budget; native TON sweeps throw the shared sweep guard for empty wallets; NEAR token-sweep gas shortfalls use the standard sweep error key. (via @swapkit/toolboxes@4.24.1)d787a38Thanks @towanTG! - Add asweepflag tocreateTransactionandtransferacross all toolboxes. For native/gas assets, sweep sends the maximum spendable amount while keeping the sender account alive (fees, reserves, rent, existential deposits, and storage stakes are reserved per chain); for tokens, sweep resolves the full token balance. Also fixes Starknet balance decoding (uint256 halves order and decimals), the sharedGenericCreateTransactionParamsOmit, and the Chainflip EIP-7702 authorization signature type. (via @swapkit/helpers@4.17.0)@swapkit/wallet-hardware@4.9.25
Patch Changes
#112
e84d7bbThanks @towanTG! - Update SwapKit SDK dependencies:d099d5fThanks @towanTG! -approveAssetValueandisAssetValueApprovedtake either the route or an explicit assetValue + spender/plugin address — a route carries everything: the approval subject (a Stellar trustline belongs to the buy asset; an EVM allowance coverssellAsset/sellAmount), the spender (meta.approvalAddress), and the plugin (resolved the same wayswap()resolves it: swapkit-routed providers and direct-signing wallets go to the swapkit plugin, everything else by the route's provider).f740a74Thanks @towanTG! - Add client-side support for the Stellar trustline approval flow: swap response types model theapprovalTxunion (EVM | Stellar changeTrust XDR) andnextActions,approveAssetValue/isAssetValueApprovedswitch between EVM allowances and Stellar trustlines (checking via the new Stellar toolboxhasTrustline({ address, assetValue }), approving by signing the API-provided changeTrust XDR with the destination wallet). The swap method itself is unchanged — integrators approve first, re-fetch the route, then swap. (via @swapkit/helpers@4.19.0)55d9edcThanks @towanTG! - Update NEAR provider token list: add Stellar assets (XLM.XLM, XLM.USDC) and latest NEAR-intents listings (SWEAT, GMX, KAITO, AAVE, LINK, UNI, and more); remove BTC.BTC(OMNI) (via @swapkit/helpers@4.19.0)67445d1Thanks @towanTG! - Add Aleo chain metadata, assets, public-balance support, HD derivation, public transfers, fee estimates, broadcasting, transaction status, and keystore/server registration.0794dd0Thanks @towanTG! - Aleo review follow-up: surfacesplitTransactionIdin unshield failure errors so an interrupted unshield is resumable, treat a 404 on the serial-number lookup as the authoritative unspent answer across RPC failover, filter record extraction tocredits.aleoingetRecords, reject toolbox params carrying both a phrase and an external signer (toolbox_aleo_conflicting_signers), validatefeeRecordCredits, and throw a cleartoolbox_aleo_no_rpc_urlserror when no RPC URL is configured. (via @swapkit/toolboxes@4.25.0)88aa0ccThanks @paz-ts! - toSignificant no longer corrupts values with long decimal parts: leading zeros are stripped as a string instead of through Number.parseInt, whose float round-trip rendered full-precision balances on 24-decimal chains like NEAR with two decimal points ("0.0003.2238") and silently lost digits past 2^53 on 18-decimal chains. (via @swapkit/toolboxes@4.25.0)be7e885Thanks @towanTG! - Update generated token lists and preserve Maya address prefixes when signing THOR/Maya Amino messages. (via @swapkit/toolboxes@4.24.1)9641c5dThanks @towanTG! - Sweep hardening from post-merge adversarial review: EVM sweeps fail closed when the near-final gas probe is unaffordable instead of broadcasting with an under-validated gas limit; clamped Sui sweep budgets are dry-run verified so dust wallets cannot burn their balance on an insufficient budget; native TON sweeps throw the shared sweep guard for empty wallets; NEAR token-sweep gas shortfalls use the standard sweep error key. (via @swapkit/toolboxes@4.24.1)d787a38Thanks @towanTG! - Add asweepflag tocreateTransactionandtransferacross all toolboxes. For native/gas assets, sweep sends the maximum spendable amount while keeping the sender account alive (fees, reserves, rent, existential deposits, and storage stakes are reserved per chain); for tokens, sweep resolves the full token balance. Also fixes Starknet balance decoding (uint256 halves order and decimals), the sharedGenericCreateTransactionParamsOmit, and the Chainflip EIP-7702 authorization signature type. (via @swapkit/helpers@4.17.0)@swapkit/wallet-mobile@4.3.17
Patch Changes
#112
e84d7bbThanks @towanTG! - Update SwapKit SDK dependencies:d099d5fThanks @towanTG! -approveAssetValueandisAssetValueApprovedtake either the route or an explicit assetValue + spender/plugin address — a route carries everything: the approval subject (a Stellar trustline belongs to the buy asset; an EVM allowance coverssellAsset/sellAmount), the spender (meta.approvalAddress), and the plugin (resolved the same wayswap()resolves it: swapkit-routed providers and direct-signing wallets go to the swapkit plugin, everything else by the route's provider).f740a74Thanks @towanTG! - Add client-side support for the Stellar trustline approval flow: swap response types model theapprovalTxunion (EVM | Stellar changeTrust XDR) andnextActions,approveAssetValue/isAssetValueApprovedswitch between EVM allowances and Stellar trustlines (checking via the new Stellar toolboxhasTrustline({ address, assetValue }), approving by signing the API-provided changeTrust XDR with the destination wallet). The swap method itself is unchanged — integrators approve first, re-fetch the route, then swap. (via @swapkit/helpers@4.19.0)55d9edcThanks @towanTG! - Update NEAR provider token list: add Stellar assets (XLM.XLM, XLM.USDC) and latest NEAR-intents listings (SWEAT, GMX, KAITO, AAVE, LINK, UNI, and more); remove BTC.BTC(OMNI) (via @swapkit/helpers@4.19.0)67445d1Thanks @towanTG! - Add Aleo chain metadata, assets, public-balance support, HD derivation, public transfers, fee estimates, broadcasting, transaction status, and keystore/server registration.0794dd0Thanks @towanTG! - Aleo review follow-up: surfacesplitTransactionIdin unshield failure errors so an interrupted unshield is resumable, treat a 404 on the serial-number lookup as the authoritative unspent answer across RPC failover, filter record extraction tocredits.aleoingetRecords, reject toolbox params carrying both a phrase and an external signer (toolbox_aleo_conflicting_signers), validatefeeRecordCredits, and throw a cleartoolbox_aleo_no_rpc_urlserror when no RPC URL is configured. (via @swapkit/toolboxes@4.25.0)88aa0ccThanks @paz-ts! - toSignificant no longer corrupts values with long decimal parts: leading zeros are stripped as a string instead of through Number.parseInt, whose float round-trip rendered full-precision balances on 24-decimal chains like NEAR with two decimal points ("0.0003.2238") and silently lost digits past 2^53 on 18-decimal chains. (via @swapkit/toolboxes@4.25.0)be7e885Thanks @towanTG! - Update generated token lists and preserve Maya address prefixes when signing THOR/Maya Amino messages. (via @swapkit/toolboxes@4.24.1)9641c5dThanks @towanTG! - Sweep hardening from post-merge adversarial review: EVM sweeps fail closed when the near-final gas probe is unaffordable instead of broadcasting with an under-validated gas limit; clamped Sui sweep budgets are dry-run verified so dust wallets cannot burn their balance on an insufficient budget; native TON sweeps throw the shared sweep guard for empty wallets; NEAR token-sweep gas shortfalls use the standard sweep error key. (via @swapkit/toolboxes@4.24.1)d787a38Thanks @towanTG! - Add asweepflag tocreateTransactionandtransferacross all toolboxes. For native/gas assets, sweep sends the maximum spendable amount while keeping the sender account alive (fees, reserves, rent, existential deposits, and storage stakes are reserved per chain); for tokens, sweep resolves the full token balance. Also fixes Starknet balance decoding (uint256 halves order and decimals), the sharedGenericCreateTransactionParamsOmit, and the Chainflip EIP-7702 authorization signature type. (via @swapkit/helpers@4.17.0)@swapkit/wallets@4.8.30
Patch Changes
#112
e84d7bbThanks @towanTG! - Update SwapKit SDK dependencies:d099d5fThanks @towanTG! -approveAssetValueandisAssetValueApprovedtake either the route or an explicit assetValue + spender/plugin address — a route carries everything: the approval subject (a Stellar trustline belongs to the buy asset; an EVM allowance coverssellAsset/sellAmount), the spender (meta.approvalAddress), and the plugin (resolved the same wayswap()resolves it: swapkit-routed providers and direct-signing wallets go to the swapkit plugin, everything else by the route's provider).f740a74Thanks @towanTG! - Add client-side support for the Stellar trustline approval flow: swap response types model theapprovalTxunion (EVM | Stellar changeTrust XDR) andnextActions,approveAssetValue/isAssetValueApprovedswitch between EVM allowances and Stellar trustlines (checking via the new Stellar toolboxhasTrustline({ address, assetValue }), approving by signing the API-provided changeTrust XDR with the destination wallet). The swap method itself is unchanged — integrators approve first, re-fetch the route, then swap. (via @swapkit/helpers@4.19.0)55d9edcThanks @towanTG! - Update NEAR provider token list: add Stellar assets (XLM.XLM, XLM.USDC) and latest NEAR-intents listings (SWEAT, GMX, KAITO, AAVE, LINK, UNI, and more); remove BTC.BTC(OMNI) (via @swapkit/helpers@4.19.0)67445d1Thanks @towanTG! - Add Aleo chain metadata, assets, public-balance support, HD derivation, public transfers, fee estimates, broadcasting, transaction status, and keystore/server registration.0794dd0Thanks @towanTG! - Aleo review follow-up: surfacesplitTransactionIdin unshield failure errors so an interrupted unshield is resumable, treat a 404 on the serial-number lookup as the authoritative unspent answer across RPC failover, filter record extraction tocredits.aleoingetRecords, reject toolbox params carrying both a phrase and an external signer (toolbox_aleo_conflicting_signers), validatefeeRecordCredits, and throw a cleartoolbox_aleo_no_rpc_urlserror when no RPC URL is configured. (via @swapkit/toolboxes@4.25.0)88aa0ccThanks @paz-ts! - toSignificant no longer corrupts values with long decimal parts: leading zeros are stripped as a string instead of through Number.parseInt, whose float round-trip rendered full-precision balances on 24-decimal chains like NEAR with two decimal points ("0.0003.2238") and silently lost digits past 2^53 on 18-decimal chains. (via @swapkit/toolboxes@4.25.0)be7e885Thanks @towanTG! - Update generated token lists and preserve Maya address prefixes when signing THOR/Maya Amino messages. (via @swapkit/toolboxes@4.24.1)9641c5dThanks @towanTG! - Sweep hardening from post-merge adversarial review: EVM sweeps fail closed when the near-final gas probe is unaffordable instead of broadcasting with an under-validated gas limit; clamped Sui sweep budgets are dry-run verified so dust wallets cannot burn their balance on an insufficient budget; native TON sweeps throw the shared sweep guard for empty wallets; NEAR token-sweep gas shortfalls use the standard sweep error key. (via @swapkit/toolboxes@4.24.1)d787a38Thanks @towanTG! - Add asweepflag tocreateTransactionandtransferacross all toolboxes. For native/gas assets, sweep sends the maximum spendable amount while keeping the sender account alive (fees, reserves, rent, existential deposits, and storage stakes are reserved per chain); for tokens, sweep resolves the full token balance. Also fixes Starknet balance decoding (uint256 halves order and decimals), the sharedGenericCreateTransactionParamsOmit, and the Chainflip EIP-7702 authorization signature type. (via @swapkit/helpers@4.17.0)Updated dependencies [
e84d7bb]: