Skip to content

Releases: MetaMask/smart-accounts-kit

23.0.0

27 Mar 08:18
a51c8a9

Choose a tag to compare

@metamask/delegation-abis 1.0.0

Changed

  • Bumped from 0.12.0-beta.0 to 1.0.0 (#194)

@metamask/delegation-core 1.0.0

Changed

  • Bumped from 0.4.0 to 1.0.0 (#194)

@metamask/delegation-deployments 1.0.0

Changed

  • Bumped from 0.17.0 to 1.0.0 (#194)

@metamask/smart-accounts-kit 1.0.0

Changed

  • Migrate from webauthn-p256 to 0x p256 module (#193)
  • signer param is now optional in toMetaMaskSmartAccount (#178)

22.0.0

23 Mar 20:21
abe1266

Choose a tag to compare

@metamask/delegation-core 0.4.0

Added

  • Add terms builders for all enforcers implemented in @metamask/smart-accounts-kit (#139)
    • createAllowedMethodsTerms
    • createAllowedTargetsTerms
    • createArgsEqualityCheckTerms
    • createBlockNumberTerms
    • createDeployedTerms
    • createERC1155BalanceChangeTerms
    • createERC20BalanceChangeTerms
    • createERC20TransferAmountTerms
    • createERC721BalanceChangeTerms
    • createERC721TransferTerms
    • createExactCalldataBatchTerms
    • createExactExecutionTerms
    • createExactExecutionBatchTerms
    • createIdTerms
    • createLimitedCallsTerms
    • createMultiTokenPeriodTerms
    • createNativeBalanceChangeTerms
    • createNativeTokenPaymentTerms
    • createNativeTokenTransferAmountTerms
    • createOwnershipTransferTerms
    • createRedeemerTerms
    • createSpecificActionERC20TransferBatchTerms
  • New utils encodeDelegation and decodeDelegation (#153)

Changed

  • Default delegation.salt and caveat.args should be 0x00 (#138)

Fixed

  • Resolve yarn peer dependency warnings (#123)

@metamask/delegation-deployments 0.17.0

Added

  • Tempo mainnet and Tempo Moderato testnet (#177)
  • Celo and Ronin mainnet and testnets (#173)

@metamask/smart-accounts-kit 0.4.0-beta.2

Added

  • Add encodeDelegation and decodeDelegation utilities for encoding and decoding single delegations. (#153)
  • Add DelegationManager validation for EIP-7710 actions (#150) (#150)
  • Support for Tempo Mainnet and Tempo Moderato Testnet (#177)

Changed

  • Introduce PermissionContext to represent a delegation chain (ABI-encoded Hex or decoded Delegation[]). (#140)
    • Breaking: Replace usages of raw Hex or Delegation[] with PermissionContext, and rename permissionsContext to permissionContext (note the singular "permission") where applicable:
      • SendTransactionWithDelegation: permissionsContext: HexpermissionContext: PermissionContext
      • SendUserOperationWithDelegation: within calls: DelegatedCall, permissionsContext: HexpermissionContext: PermissionContext
      • redeemDelegations: parameter Delegation[]PermissionContext
      • encodeDelegations and decodeDelegations now accept PermissionContext (if the input is already the expected type, the input is returned)
      • encode, execute, and simulate functions for DelegationManager.redeemDelegations from @metamask/smart-accounts-kit/contracts: parameter delegations: Delegation[]delegations: PermissionContext
  • Breaking: ERC-7715 actions now return developer-friendly types: chainId as number, token amounts as bigint. (#172)
  • Breaking: Rename getDelegationHashOffchain to hashDelegation for improved clarity. (#162)
  • Breaking: EIP-7715 permission requests nest isAdjustmentAllowed inside each permission object per specification. (#159)
  • Breaking: sendUserOperationWithDelegation now accepts dependencies instead of deprecated accountMetadata. (#157)
  • Breaking: Validate that the provided DelegationManager address matches the known contract address for the chain in EIP-7710 actions. (#156)
  • Breaking: Default delegation.salt and caveat.args to 0x00 instead of invalid 0x. (#138)
  • Allow scope type to be specified either as ScopeType enum, or string literal. (#133)
  • Allow caveat type to be specified either as CaveatType enum, or string literal. (#179)

Removed

  • Breaking: encodePermissionContexts and decodePermissionContexts utilities; use encodeDelegations and decodeDelegations directly. (#148)
  • Breaking: redeemDelegations helper and Redemption type; use redeemDelegations encoding / execution utilities directly. (#160)

Fixed

  • Fix delegation storage to throw a proper Error instance so stack traces are correct across environments. (#171)
  • Fix signDelegation to correctly await the signer and return the signed signature. (#168)

21.0.0

26 Jan 23:05
1c850d0

Choose a tag to compare

@metamask/delegation-abis 0.12.0-beta.0

Fixed

  • Improve @metamask/delegation-abis tree-shakability (#131)

@metamask/smart-accounts-kit 0.4.0-beta.1

Added

  • Exports 2 new types: PermissionRequestParameter and Erc7715Client (#134)

Fixed

  • Improve @metamask/delegation-abis tree-shakability (#131)

20.0.0

15 Jan 07:06
5eb280e

Choose a tag to compare

@metamask/smart-accounts-kit 0.4.0-beta.0

Added

  • feat: add discoverability methods (#127)

Fixed

  • Breaking Implement erc-7715 type scheme revisions across packages (#128)
  • Resolve yarn peer dependency warnings (#123)
  • Allow expiry to be omitted when requesting 7715 permissions (#122)

19.0.0

13 Jan 17:04
2692a45

Choose a tag to compare

@metamask/7715-permission-types 0.5.0

Changed

  • Breaking Implement erc-7715 type scheme revisions (#128)

Fixed

  • Resolve yarn peer dependency warnings (#123)

18.0.0

07 Jan 20:15
1c4f8b4

Choose a tag to compare

@metamask/delegation-deployments 0.16.0

Added

  • Add chain deployment for MegaETH mainnet (#124)

Changed

  • Update megaeth testnet chainId (#125)

17.0.0

17 Dec 00:05
8848420

Choose a tag to compare

@metamask/smart-accounts-kit 0.3.0

Fixed

  • Breaking function-call scope no longer allows native token value, unless explicitly configured (#118)
  • Add typesVersions to package.json so that subpath exports can be resolved for packages using moduleResolution: node (#112)

16.0.0

03 Dec 21:25
ebb239a

Choose a tag to compare

@metamask/7715-permission-types 0.4.0

Added

  • New permission type erc20-token-revocation (#110)

@metamask/delegation-core 0.3.0

Added

  • New allowedCalldata terms builder (#108)

@metamask/smart-accounts-kit 0.2.0

Added

  • New permission type erc20-token-revocation to ERC-7715 actions (#110)

Fixed

  • Throw meaningful errors in validation of ERC-7715 request parameters (#107, #103)

15.0.0

12 Nov 15:59
6e8f398

Choose a tag to compare

@metamask/delegation-deployments 0.15.0

Added

  • Add chain deployments for Monad mainnet (#102)

14.0.0

10 Nov 01:42
5b7cbc0

Choose a tag to compare

@metamask/delegation-deployments 0.14.0

Added

  • Add chain deployments for new chains (#98)
    • Sonic mainnet
    • Sonic testnet
    • Sei testnet
    • Hoodi testnet

@metamask/smart-accounts-kit 0.1.0

Changed

  • Promote readable permissions actions (requestExecutionPermissions, sendTransactionWithDelegation, and sendUserOperationWithDelegation) from experimental (#91)