Skip to content

Releases: MetaMask/smart-accounts-kit

35.0.0

Choose a tag to compare

@github-actions github-actions released this 14 Jul 05:28
381aad2

@metamask/7715-permission-types 0.9.0

Added

  • Export I18nValue type (#275)

Fixed

  • Incorrectly named caveats used in caveat factory functions (#274)
    • erc20PeriodicEnforcer is now erc20PeriodTransferEnforcer
    • nativeTokenPeriodicEnforcer is now nativeTokenPeriodTransferEnforcer

34.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 22:21
711a8f0

@metamask/7715-permission-types 0.8.0

Added

  • Utility functions to create caveats array for each permission type (#265)
    • createErc20TokenStreamCaveats()
    • createErc20TokenPeriodicCaveats()
    • createErc20TokenAllowanceCaveats()
    • createNativeTokenStreamCaveats()
    • createNativeTokenPeriodicCaveats()
    • createNativeTokenAllowanceCaveats()
    • createTokenApprovalRevocationCaveats()
  • Add makePermissionDecoderConfigs to resolve the PermissionDecoderConfigs to be used with @metamask/gator-permissions-controller (#259)
  • Add permission schema metadata and MetaMask facilitator address utilities (#267)

33.0.0

Choose a tag to compare

@github-actions github-actions released this 27 May 22:13
9d43cae

@metamask/smart-accounts-kit 1.6.0

Added

  • Experimental createx402DelegationProvider added to @metamask/smart-accounts-kit/experimental (#248, #251)
  • New generateSalt function added to @metamask/smart-accounts-kit/utils (#248)
  • ERC-7715 token-approval-revocation permission type (#226, #237)
  • CaveatBuilder for ApprovalRevocationEnforcer, deployment address added to SmartAccountsEnvironment (#226, #237)
  • Helper for decoding revert reasons from delegated execution errors while preserving the original error output (#245)

Changed

  • Bumped @metamask/delegation-abis from ^1.0.0 to ^1.1.0 (#234)
  • Bumped @metamask/delegation-core from ^2.1.0 to ^2.2.1 (#234, #240)
  • Bumped @metamask/delegation-deployments from ^1.3.0 to ^1.4.0 (#234)
  • Bumped @metamask/7715-permission-types from ^0.6.0 to ^0.7.1 (#234, #240)

Deprecated

  • Deprecated erc20-token-revocation in favor of token-approval-revocation (#226)

@metamask/x402 0.2.0

Changed

  • Use @metamask/utils for Ethereum address checksum validation and drop viem as a package dependency. (#246)

32.0.0

Choose a tag to compare

@github-actions github-actions released this 20 May 21:58
6759d86

@metamask/x402 0.1.0

Added

  • New @metamask/x402 package providing plugins to @x402 packages (#236)

31.0.0

Choose a tag to compare

@github-actions github-actions released this 19 May 23:54
d3f1dd8

@metamask/7715-permission-types 0.7.1

Fixed

  • Rename permit2ApproveZero to permit2Approve in TokenApprovalRevocationPermission ERC-7715 permission data (#237)

@metamask/delegation-core 2.2.1

Fixed

  • Rename permit2ApproveZero to permit2Approve in approvalRevocationEnforcer terms builders and decoders (#237)

30.0.0

Choose a tag to compare

@github-actions github-actions released this 18 May 22:04
b874928

@metamask/7715-permission-types 0.7.0

Added

  • New permission type token-approval-revocation (#226)

Deprecated

  • Deprecated erc20-token-revocation in favor of token-approval-revocation (#226)

@metamask/delegation-abis 1.1.0

Added

  • Abis for ApprovalRevocationEnforcer (#226)

@metamask/delegation-core 2.2.0

Added

  • Encoding and decoding utils for ApprovalRevocationEnforcer enforcer args and terms (#226)

@metamask/delegation-deployments 1.4.0

Added

  • Add chain deployment for Intuition mainnet and testnet (#206)
  • Deployment address for ApprovalRevocationEnforcer added (#226)

29.0.0

Choose a tag to compare

@github-actions github-actions released this 12 May 05:16
30d5e34

@metamask/delegation-core 2.1.0

Changed

  • MultiTokenPeriod, Erc20TokenPeriodTransfer, and NativeTokenPeriodTransfer encoders now accept periodDuration parameter as `bigint. (#227)

@metamask/smart-accounts-kit 1.5.0

Added

  • Add utils and wallet actions for redelegating a permissionContext: (#217, #229)

Changed

  • Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 (#231)

28.0.0

Choose a tag to compare

@github-actions github-actions released this 05 May 00:48
e55553c

@metamask/delegation-core 2.0.0

Added

  • Encoding and decoding utils for LogicalOrWrapper enforcer args and terms (#219)

Changed

  • Breaking Balance change type enforcers now use BalanceChangeType enum instead of number type (#205)

@metamask/delegation-deployments 1.3.0

Added

  • LogicalOrWrapperEnforcer address added to contract addresses (#220)

@metamask/smart-accounts-kit 1.4.0

Added

  • Add optional payee execution rule to PermissionRequestParameter for allowance-type permissions (#219)
  • Add new erc-7715 simple allowance types: (#214)

27.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 20:00
574010d

@metamask/7715-permission-types 0.6.0

Added

  • New erc-7715 simple allowance types, native-token-allowance and erc20-token-allowance (#214)

26.0.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 04:37
00904a3

@metamask/smart-accounts-kit 1.3.0

Added

  • feat: add redeemer rule (#212)
  • Optional redeemer on PermissionRequestParameter maps to a redeemer execution rule; granted permission responses checksum-normalize redeemer addresses in rules.