@metamask/delegation-core 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,27 +7,70 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.4.0]
11
+
12
+ ### Added
13
+
14
+ - Add terms builders for all enforcers implemented in @metamask/smart-accounts-kit ([#139](https://github.com/metamask/smart-accounts-kit/pull/139))
15
+ - `createAllowedMethodsTerms`
16
+ - `createAllowedTargetsTerms`
17
+ - `createArgsEqualityCheckTerms`
18
+ - `createBlockNumberTerms`
19
+ - `createDeployedTerms`
20
+ - `createERC1155BalanceChangeTerms`
21
+ - `createERC20BalanceChangeTerms`
22
+ - `createERC20TransferAmountTerms`
23
+ - `createERC721BalanceChangeTerms`
24
+ - `createERC721TransferTerms`
25
+ - `createExactCalldataBatchTerms`
26
+ - `createExactExecutionTerms`
27
+ - `createExactExecutionBatchTerms`
28
+ - `createIdTerms`
29
+ - `createLimitedCallsTerms`
30
+ - `createMultiTokenPeriodTerms`
31
+ - `createNativeBalanceChangeTerms`
32
+ - `createNativeTokenPaymentTerms`
33
+ - `createNativeTokenTransferAmountTerms`
34
+ - `createOwnershipTransferTerms`
35
+ - `createRedeemerTerms`
36
+ - `createSpecificActionERC20TransferBatchTerms`
37
+ - New utils `encodeDelegation` and `decodeDelegation` ([#153](https://github.com/metamask/smart-accounts-kit/pull/153))
38
+
39
+ ### Changed
40
+
41
+ - Default `delegation.salt` and `caveat.args` should be `0x00` ([#138](https://github.com/metamask/smart-accounts-kit/pull/138))
42
+
43
+ ### Fixed
44
+
45
+ - Resolve yarn peer dependency warnings ([#123](https://github.com/metamask/smart-accounts-kit/pull/123))
46
+
47
+ ## [0.3.0]
48
+
49
+ ### Added
50
+
51
+ - New `allowedCalldata` terms builder ([#108](https://github.com/MetaMask/smart-accounts-kit/pull/108))
52
+
10
53
  ## [0.2.0]
11
54
 
12
55
  ### Added
13
56
 
14
- - Added a Nonce caveat enforcer terms builder `createNonceTerms` ([#44](https://github.com/metamask/delegation-toolkit/pull/44))
57
+ - Added a Nonce caveat enforcer terms builder `createNonceTerms` ([#44](https://github.com/metamask/smart-accounts-kit/pull/44))
15
58
 
16
59
  ### Changed
17
60
 
18
- - The configuration parameter `callData` is now `calldata` in `createExactCalldataTerms` argument type. ([#24](https://github.com/metamask/delegation-toolkit/pull/24))
19
- - The package is explictly marked as ESM via `type: module`; with CJS compatibility maintained with dual export. ([#27](https://github.com/metamask/delegation-toolkit/pull/27))
61
+ - The configuration parameter `callData` is now `calldata` in `createExactCalldataTerms` argument type. ([#24](https://github.com/metamask/smart-accounts-kit/pull/24))
62
+ - The package is explictly marked as ESM via `type: module`; with CJS compatibility maintained with dual export. ([#27](https://github.com/metamask/smart-accounts-kit/pull/27))
20
63
 
21
64
  ## [0.2.0-rc.1]
22
65
 
23
66
  ### Added
24
67
 
25
- - Added a Nonce caveat enforcer terms builder `createNonceTerms` ([#44](https://github.com/metamask/delegation-toolkit/pull/44))
68
+ - Added a Nonce caveat enforcer terms builder `createNonceTerms` ([#44](https://github.com/metamask/smart-accounts-kit/pull/44))
26
69
 
27
70
  ### Changed
28
71
 
29
- - The configuration parameter `callData` is now `calldata` in `createExactCalldataTerms` argument type. ([#24](https://github.com/metamask/delegation-toolkit/pull/24))
30
- - The package is explictly marked as ESM via `type: module`; with CJS compatibility maintained with dual export. ([#27](https://github.com/metamask/delegation-toolkit/pull/27))
72
+ - The configuration parameter `callData` is now `calldata` in `createExactCalldataTerms` argument type. ([#24](https://github.com/metamask/smart-accounts-kit/pull/24))
73
+ - The package is explictly marked as ESM via `type: module`; with CJS compatibility maintained with dual export. ([#27](https://github.com/metamask/smart-accounts-kit/pull/27))
31
74
 
32
75
  ## [0.1.0]
33
76
 
@@ -35,7 +78,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
35
78
 
36
79
  - Add @metamask/delegation-core package, providing utility types, delegation hashing, and terms encoding for a limited set of caveat enforcers.
37
80
 
38
- [Unreleased]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0...HEAD
39
- [0.2.0]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.2.0-rc.1...@metamask/delegation-core@0.2.0
40
- [0.2.0-rc.1]: https://github.com/metamask/delegation-toolkit/compare/@metamask/delegation-core@0.1.0...@metamask/delegation-core@0.2.0-rc.1
41
- [0.1.0]: https://github.com/metamask/delegation-toolkit/releases/tag/@metamask/delegation-core@0.1.0
81
+ [Unreleased]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/delegation-core@0.4.0...HEAD
82
+ [0.4.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/delegation-core@0.3.0...@metamask/delegation-core@0.4.0
83
+ [0.3.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/delegation-core@0.2.0...@metamask/delegation-core@0.3.0
84
+ [0.2.0]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/delegation-core@0.2.0-rc.1...@metamask/delegation-core@0.2.0
85
+ [0.2.0-rc.1]: https://github.com/metamask/smart-accounts-kit/compare/@metamask/delegation-core@0.1.0...@metamask/delegation-core@0.2.0-rc.1
86
+ [0.1.0]: https://github.com/metamask/smart-accounts-kit/releases/tag/@metamask/delegation-core@0.1.0
package/README.md CHANGED
@@ -400,7 +400,7 @@ try {
400
400
 
401
401
  ## Related Packages
402
402
 
403
- - `@metamask/delegation-toolkit` - Higher-level utilities for delegation management
403
+ - `@metamask/smart-accounts-kit` - Higher-level utilities for delegation management
404
404
  - `@metamask/delegation-abis` - Contract ABIs for the delegation framework
405
405
  - `@metamask/delegation-deployments` - Contract deployment addresses
406
406