Skip to content

Commit 9d43cae

Browse files
authored
Release/33.0.0 (#252)
* Initialize Release 33.0.0 * Update Release 33.0.0 * Drop internal changes from changelog
1 parent 647237c commit 9d43cae

6 files changed

Lines changed: 51 additions & 42 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [33.0.0]
11+
1012
## [32.0.0]
1113

1214
## [31.0.0]
@@ -59,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5961

6062
## [7.0.0]
6163

62-
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@32.0.0...HEAD
64+
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@33.0.0...HEAD
65+
[33.0.0]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@32.0.0...delegator-sdk-monorepo@33.0.0
6366
[32.0.0]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@31.0.0...delegator-sdk-monorepo@32.0.0
6467
[31.0.0]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@30.0.0...delegator-sdk-monorepo@31.0.0
6568
[30.0.0]: https://github.com/metamask/smart-accounts-kit/compare/delegator-sdk-monorepo@29.0.0...delegator-sdk-monorepo@30.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "delegator-sdk-monorepo",
3-
"version": "32.0.0",
3+
"version": "33.0.0",
44
"license": "(MIT-0 OR Apache-2.0)",
55
"private": true,
66
"repository": {

packages/smart-accounts-kit/CHANGELOG.md

Lines changed: 38 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.6.0]
11+
1012
### Added
1113

12-
- Experimental `createx402DelegationProvider` added to @metamask/smart-accounts-kit/experimental ([#248](https://github.com/MetaMask/smart-accounts-kit/pull/248), [#251](https://github.com/MetaMask/smart-accounts-kit/pull/251))
13-
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/MetaMask/smart-accounts-kit/pull/248))
14-
- ERC-7715 `token-approval-revocation` permission type ([#226](https://github.com/MetaMask/smart-accounts-kit/pull/226), [#237](https://github.com/MetaMask/smart-accounts-kit/pull/237))
15-
- `CaveatBuilder` for `ApprovalRevocationEnforcer`, deployment address added to `SmartAccountsEnvironment` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/MetaMask/smart-accounts-kit/pull/237))
16-
- Helper for decoding revert reasons from delegated execution errors while preserving the original error output ([#245](https://github.com/MetaMask/smart-accounts-kit/pull/245))
14+
- Experimental `createx402DelegationProvider` added to @metamask/smart-accounts-kit/experimental ([#248](https://github.com/metamask/smart-accounts-kit/pull/248), [#251](https://github.com/metamask/smart-accounts-kit/pull/251))
15+
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/metamask/smart-accounts-kit/pull/248))
16+
- ERC-7715 `token-approval-revocation` permission type ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/metamask/smart-accounts-kit/pull/237))
17+
- `CaveatBuilder` for `ApprovalRevocationEnforcer`, deployment address added to `SmartAccountsEnvironment` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226), [#237](https://github.com/metamask/smart-accounts-kit/pull/237))
18+
- Helper for decoding revert reasons from delegated execution errors while preserving the original error output ([#245](https://github.com/metamask/smart-accounts-kit/pull/245))
1719

1820
### Changed
1921

20-
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
21-
- Bumped @metamask/delegation-core from `^2.1.0` to `^2.2.1` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234), [#240](https://github.com/MetaMask/smart-accounts-kit/pull/240))
22-
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
23-
- Bumped @metamask/7715-permission-types from `^0.6.0` to `^0.7.1` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234), [#240](https://github.com/MetaMask/smart-accounts-kit/pull/240))
22+
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234))
23+
- Bumped @metamask/delegation-core from `^2.1.0` to `^2.2.1` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234), [#240](https://github.com/metamask/smart-accounts-kit/pull/240))
24+
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234))
25+
- Bumped @metamask/7715-permission-types from `^0.6.0` to `^0.7.1` ([#234](https://github.com/metamask/smart-accounts-kit/pull/234), [#240](https://github.com/metamask/smart-accounts-kit/pull/240))
2426

2527
### Deprecated
2628

27-
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/MetaMask/smart-accounts-kit/pull/226))
29+
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/metamask/smart-accounts-kit/pull/226))
2830

2931
## [1.5.0]
3032

@@ -34,13 +36,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3436

3537
### Changed
3638

37-
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/MetaMask/smart-accounts-kit/pull/231))
39+
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/metamask/smart-accounts-kit/pull/231))
3840

3941
## [1.4.0]
4042

4143
### Added
4244

43-
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/MetaMask/smart-accounts-kit/pull/219))
45+
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/metamask/smart-accounts-kit/pull/219))
4446
- Add new erc-7715 simple allowance types: ([#214](https://github.com/metamask/smart-accounts-kit/pull/214))
4547

4648
## [1.3.0]
@@ -55,7 +57,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5557
### Added
5658

5759
- `decodeCaveat` util function ([#191](https://github.com/metamask/smart-accounts-kit/pull/191))
58-
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/MetaMask/smart-accounts-kit/pull/203))
60+
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/metamask/smart-accounts-kit/pull/203))
5961
- Anonymous usage statistics to help improve the SDK ([#185](https://github.com/metamask/smart-accounts-kit/pull/185))
6062
- Opt out by setting environment variables `CI` or `DO_NOT_TRACK`, or `navigator.doNotTrack` or `window.doNotTrack` to either '1', 'true', or 'yes'
6163

@@ -80,43 +82,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8082

8183
### Added
8284

83-
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/MetaMask/smart-accounts-kit/pull/153))
84-
- Add DelegationManager validation for EIP-7710 actions (#150) ([#150](https://github.com/metamask/smart-accounts-kit/pull/150))
85+
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/metamask/smart-accounts-kit/pull/153))
86+
- Add DelegationManager validation for EIP-7710 actions ([#150](https://github.com/metamask/smart-accounts-kit/pull/150))
8587
- Support for Tempo Mainnet and Tempo Moderato Testnet ([#177](https://github.com/metamask/smart-accounts-kit/pull/177))
8688

8789
### Changed
8890

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

105107
### Removed
106108

107-
- **Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/MetaMask/smart-accounts-kit/pull/148))
108-
- **Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/MetaMask/smart-accounts-kit/pull/160))
109+
- **Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/metamask/smart-accounts-kit/pull/148))
110+
- **Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/metamask/smart-accounts-kit/pull/160))
109111

110112
### Fixed
111113

112-
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/MetaMask/smart-accounts-kit/pull/171))
113-
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/MetaMask/smart-accounts-kit/pull/168))
114+
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/metamask/smart-accounts-kit/pull/171))
115+
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/metamask/smart-accounts-kit/pull/168))
114116

115117
## [0.4.0-beta.1]
116118

117119
### Added
118120

119-
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/MetaMask/smart-accounts-kit/pull/134))
121+
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/metamask/smart-accounts-kit/pull/134))
120122

121123
### Fixed
122124

@@ -138,26 +140,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
138140

139141
### Fixed
140142

141-
- **Breaking** `function-call` scope no longer allows native token value, unless explicitly configured ([#118](https://github.com/MetaMask/smart-accounts-kit/pull/118))
142-
- Add `typesVersions` to `package.json` so that subpath exports can be resolved for packages using `moduleResolution: node` ([#112](https://github.com/MetaMask/smart-accounts-kit/pull/112))
143+
- **Breaking** `function-call` scope no longer allows native token value, unless explicitly configured ([#118](https://github.com/metamask/smart-accounts-kit/pull/118))
144+
- Add `typesVersions` to `package.json` so that subpath exports can be resolved for packages using `moduleResolution: node` ([#112](https://github.com/metamask/smart-accounts-kit/pull/112))
143145

144146
## [0.2.0]
145147

146148
### Added
147149

148-
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/MetaMask/smart-accounts-kit/pull/110))
150+
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/metamask/smart-accounts-kit/pull/110))
149151

150152
### Fixed
151153

152-
- Throw meaningful errors in validation of ERC-7715 request parameters ([#107](https://github.com/MetaMask/smart-accounts-kit/pull/107), [#103](https://github.com/MetaMask/smart-accounts-kit/pull/103))
154+
- Throw meaningful errors in validation of ERC-7715 request parameters ([#107](https://github.com/metamask/smart-accounts-kit/pull/107), [#103](https://github.com/metamask/smart-accounts-kit/pull/103))
153155

154156
## [0.1.0]
155157

156158
### Changed
157159

158-
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/MetaMask/smart-accounts-kit/pull/91))
160+
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/metamask/smart-accounts-kit/pull/91))
159161

160-
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.5.0...HEAD
162+
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.6.0...HEAD
163+
[1.6.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.5.0...@metamask/smart-accounts-kit@1.6.0
161164
[1.5.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.4.0...@metamask/smart-accounts-kit@1.5.0
162165
[1.4.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.3.0...@metamask/smart-accounts-kit@1.4.0
163166
[1.3.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.2.0...@metamask/smart-accounts-kit@1.3.0

packages/smart-accounts-kit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/smart-accounts-kit",
3-
"version": "1.5.0",
3+
"version": "1.6.0",
44
"type": "module",
55
"description": "Toolkit for managing and interacting with MetaMask Smart Accounts, built on Viem",
66
"license": "(MIT-0 OR Apache-2.0)",

packages/x402/CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.2.0]
11+
1012
### Changed
1113

12-
- Use `@metamask/utils` for Ethereum address checksum validation and drop `viem` as a package dependency. ([#246](https://github.com/MetaMask/smart-accounts-kit/pull/246))
14+
- Use `@metamask/utils` for Ethereum address checksum validation and drop `viem` as a package dependency. ([#246](https://github.com/metamask/smart-accounts-kit/pull/246))
1315

1416
## [0.1.0]
1517

1618
### Added
1719

18-
- New @metamask/x402 package providing plugins to @x402 packages ([#236](https://github.com/MetaMask/smart-accounts-kit/pull/236))
20+
- New @metamask/x402 package providing plugins to @x402 packages ([#236](https://github.com/metamask/smart-accounts-kit/pull/236))
1921

20-
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/x402@0.1.0...HEAD
22+
[Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/x402@0.2.0...HEAD
23+
[0.2.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/x402@0.1.0...@metamask/x402@0.2.0
2124
[0.1.0]: https://github.com/metamask/smart-accounts-kit/releases/tag/@metamask/x402@0.1.0

packages/x402/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/x402",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"description": "x402 adapters for MetaMask smart accounts and ERC-7710",
55
"license": "(MIT-0 OR Apache-2.0)",
66
"type": "module",

0 commit comments

Comments
 (0)