Skip to content

Releases: MetaMask/internal-snaps

9.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Aug 12:29
797b062

@metamask/tron-wallet-snap 3.2.0

Added

  • Use Core's AssetsController as the source of truth for fungible assets when the Tron assets migration feature flag is enabled (#145)

Changed

  • Reduce BIP-44 account discovery to a single entropy fetch by reusing the coin-type deriver for the on-chain activity check (#149)
  • Reduce extension RPC round trips in keyring_createAccounts from 5 to at most 4 (#149)
    • mergeKeyringAccounts now returns the merge result instead of requiring a post-merge state re-read, and the existing-accounts read runs in parallel with the BIP-32 entropy fetch.
    • snap_getBip32Entropy is now called even when all requested indices already exist (this path only occurs on idempotent retries); no new permissions are required.

Fixed

  • Fix account deletion failing against keyring v2 clients by removing the AccountDeleted event emission from keyring_deleteAccount (#149)
    • v2 clients reject v1 lifecycle events, which aborted the deletion before the account was removed from state. Deletion is client-initiated in v2, so no event is needed.
  • Coalesce concurrent account synchronization runs for the same accounts so stacked triggers (cronjob and background events) share one run instead of duplicating network fetches, state writes, and keyring events (#149)
  • Bump @metamask/utils from ^11.9.0 to ^11.11.9 (#161)
  • Estimate native TRX/TRC-10 sends that activate a new account as 1 TRX plus 100 Bandwidth (or 0.1 TRX when staked Bandwidth is insufficient), instead of TransferContract byte size (#175)
  • Fix SUN → USDT swaps routed through Rango and SunSwap displaying a zero SUN amount in transaction activity (#134)

8.0.0

Choose a tag to compare

@github-actions github-actions released this 24 Aug 08:13
8afd6f6

@metamask/stellar-wallet-snap 0.1.0

Added

  • Initial package release (#181)

7.0.0

Choose a tag to compare

@github-actions github-actions released this 10 Aug 09:08
c684181

@metamask/solana-wallet-snap 6.0.0

Changed

  • Bump @metamask/key-tree from 9.1.2 to ^10.1.1 (#133)

Removed

  • BREAKING: Removed the legacy snap-hosted send dialog (startSendTransactionFlow RPC and features/send UI) (#130)
  • BREAKING: Removed the deprecated getFeeForTransaction RPC (#130)

@metamask/tron-wallet-snap 3.1.0

Added

  • Add Core messenger plumbing (coreMessenger, RemoteFeatureFlagsProvider, AssetsProvider) for upcoming AssetsController migration (#95)

Fixed

  • Scope bip44:discover activity checks and account creation to the networks declared in the snap manifest, preventing unnecessary calls to testnet APIs during discovery (#135)

6.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Aug 10:18
69eee84

@metamask/solana-wallet-snap 5.0.1

Fixed

  • Fixed small USDC-to-SOL swaps being incorrectly displayed as sends in activity (#108)

5.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 15:59
d1a7db2

@metamask/bitcoin-wallet-snap 2.0.1

Fixed

  • Fix onKeyringRequest responses to correctly return Json directly (v2 protocol) instead of v1's { pending: false, result } envelope (#100)

@metamask/solana-wallet-snap 5.0.0

Changed

Fixed

  • Fix account creation failures due to an incorrect @metamask/key-tree package version (#118)

@metamask/tron-wallet-snap 3.0.0

Added

  • BREAKING Implement Keyring API v2 (KeyringSnapRpc interface) (#56, #101, #105)

Fixed

  • Disclose the mandatory 9999 TRX WitnessCreateContract account-upgrade burn on confirmation (#73)

4.0.0

Choose a tag to compare

@github-actions github-actions released this 04 Aug 13:33
dc68460

@metamask/snap-networks-utils 1.0.0

Added

  • Implement RemoteFeatureFlagsProvider (#104](#104), #102, #99)
  • Implement AssetsProvider (#82)
  • Initial package release (#79)

3.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 14:55
de0773d

@metamask/bitcoin-wallet-snap 2.0.0

Added

  • Add support for keyring API v2, including bip44:derive-path, bip44:derive-index, bip44:derive-index-range, and bip44:discover account creation types (#43)
  • Add exportAccount method supporting WIF (base58) private key export (#43)
  • Add parseDerivationPath to validate and parse BIP-44 derivation paths for native segwit (BIP-84) accounts (#43)

Changed

  • BREAKING Remove v1 keyring API support (createAccount, v1 Keyring interface) in favour of v2 (#43)
  • BREAKING: Re-licensed split into LICENSE.MIT or LICENSE.APACHE2 files (SPDX expression unchanged) (#75)
  • Migrate KeyringHandler to implement KeyringSnapRpc from @metamask/keyring-api/v2 (#43)
  • Update snap.manifest.json to declare derivePath capability in the bip44 keyring block (#43)
  • Mark accounts as exportable in the keyring account mapping (#43)

@metamask/tron-wallet-snap 2.0.0

Changed

  • BREAKING: Re-licensed split into LICENSE.MIT or LICENSE.APACHE2 files (SPDX expression unchanged) (#75)
  • This package was migrated from snap-tron-wallet. See the source repository for the original changelog
  • Bump @metamask/keyring-api from ^23.2.0 to ^23.7.0 (#43)
  • Bump @metamask/keyring-snap-sdk from ^8.0.0 to ^9.2.1 (#43)
  • Bump @metamask/snaps-cli from ^8.3.0 to ^8.4.1 (#43)
  • Bump @metamask/snaps-sdk from ^11.1.1 to ^11.2.0 (#43)
  • Bump @metamask/superstruct from ^3.2.1 to ^3.4.1 (#43)

2.0.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 09:44
0cf6dcf

@metamask/bitcoin-wallet-snap 1.15.2

Fixed

  • Fixed RPC endpoints for mainnet and testnet (#37)
    • Endpoints introduced in version 1.15.1 were causing frequent 429 HTTP errors.

1.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 18:33
3cf3d0c

@metamask/bitcoin-wallet-snap 1.15.1

Changed