Skip to content

8.0.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 08:07
711bf5d

@metamask/delegation-core 0.2.0-rc.1

Added

  • Added a Nonce caveat enforcer terms builder createNonceTerms (#44)

Changed

  • The configuration parameter callData is now calldata in createExactCalldataTerms argument type. (#24)
  • The package is explictly marked as ESM via type: module; with CJS compatibility maintained with dual export. (#27)

@metamask/delegation-toolkit 0.13.0-rc.1

Changed

  • The startTime parameter is now optional when requesting permissions through the experimental erc7715ProviderActions.
  • The Viem peer dependency is now viem@^2.31.4. (#22)
  • Individual constants like SINGLE_DEFAULT_MODE are now replaced with the ExecutionMode enum. (#16)
  • allowInsecureUnrestrictedDelegation: true is now required when creating or signing a delegation with no caveats. (#24)
  • CaveatBuilder now accepts a single caveat configuration object instead of positional arguments. (#24)
  • The test runner is now Vitest, with Hardhat removed entirely. (#27)

Fixed

  • Fixed a bug where sendTransactionWithDelegation failed whenever value was specified in the parameters. (#30)