@metamask/smart-accounts-kit 1.6.0 → 2.0.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 +88 -64
- package/dist/actions/index.cjs +4 -4
- package/dist/actions/index.d.cts +3 -3
- package/dist/actions/index.d.ts +3 -3
- package/dist/actions/index.mjs +3 -3
- package/dist/{caveats-gqMBZKkI.d.cts → caveats-BEKgygS8.d.cts} +1 -1
- package/dist/{caveats-B2OssjV4.d.ts → caveats-DPuxVdYU.d.ts} +1 -1
- package/dist/{chunk-W6HPAK4M.cjs → chunk-4PCXDGUF.cjs} +2 -7
- package/dist/chunk-4PCXDGUF.cjs.map +1 -0
- package/dist/{chunk-K7GTZGKJ.mjs → chunk-56QPXKWD.mjs} +2 -2
- package/dist/{chunk-YVU66KSH.mjs → chunk-5ENRJKXL.mjs} +2 -2
- package/dist/{chunk-EPU4O7FY.cjs → chunk-7GIUS6HD.cjs} +106 -106
- package/dist/chunk-7GIUS6HD.cjs.map +1 -0
- package/dist/{chunk-2ZOWIAP3.cjs → chunk-CKKCGKTA.cjs} +62 -62
- package/dist/chunk-CKKCGKTA.cjs.map +1 -0
- package/dist/{chunk-UJQ3JN3U.mjs → chunk-D55SIIVM.mjs} +3 -3
- package/dist/chunk-D55SIIVM.mjs.map +1 -0
- package/dist/{chunk-PQPAEHJZ.cjs → chunk-F7R7HDEY.cjs} +12 -12
- package/dist/{chunk-PQPAEHJZ.cjs.map → chunk-F7R7HDEY.cjs.map} +1 -1
- package/dist/{chunk-DCI2AN4N.cjs → chunk-FC3W7R6D.cjs} +15 -15
- package/dist/{chunk-DCI2AN4N.cjs.map → chunk-FC3W7R6D.cjs.map} +1 -1
- package/dist/{chunk-L3EZCIY6.mjs → chunk-RDTAD64U.mjs} +4 -4
- package/dist/chunk-RDTAD64U.mjs.map +1 -0
- package/dist/{chunk-JKVSTPEC.cjs → chunk-TESSVINE.cjs} +13 -13
- package/dist/{chunk-JKVSTPEC.cjs.map → chunk-TESSVINE.cjs.map} +1 -1
- package/dist/{chunk-TNGQTVSY.mjs → chunk-XBHL6PDR.mjs} +4 -9
- package/dist/chunk-XBHL6PDR.mjs.map +1 -0
- package/dist/{chunk-AZYTTGON.mjs → chunk-Z4MVJILE.mjs} +3 -3
- package/dist/chunk-Z4MVJILE.mjs.map +1 -0
- package/dist/contracts/index.cjs +5 -5
- package/dist/contracts/index.d.cts +4 -4
- package/dist/contracts/index.d.ts +4 -4
- package/dist/contracts/index.mjs +4 -4
- package/dist/{decodeRevertReason-CmmCpmZ_.d.cts → decodeRevertReason-CSOClzsa.d.cts} +3 -3
- package/dist/{decodeRevertReason-dOTpJx2h.d.ts → decodeRevertReason-WjHVQ_Sz.d.ts} +3 -3
- package/dist/experimental/index.cjs +66 -38
- package/dist/experimental/index.cjs.map +1 -1
- package/dist/experimental/index.d.cts +4 -2
- package/dist/experimental/index.d.ts +4 -2
- package/dist/experimental/index.mjs +50 -22
- package/dist/experimental/index.mjs.map +1 -1
- package/dist/{index-B1Cmezvh.d.cts → index-BHm75OFP.d.cts} +1 -1
- package/dist/{index-BkgdU4LI.d.ts → index-BNHYZ9iU.d.ts} +2 -2
- package/dist/{index-DUJmm8Wz.d.ts → index-CgGKjHSr.d.ts} +2 -2
- package/dist/{index-Dv4jPzhe.d.cts → index-CsjbdUp_.d.cts} +2 -2
- package/dist/{index-LqiEgBjV.d.ts → index-DWvEgBtg.d.ts} +1 -1
- package/dist/{index-X7Qn3JTg.d.cts → index-DYJjOeTn.d.cts} +2 -2
- package/dist/index.cjs +19 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.mjs +7 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{resolveCaveats-A9xC29l8.d.ts → resolveCaveats-aQPEogPk.d.cts} +2 -2
- package/dist/{resolveCaveats-A9xC29l8.d.cts → resolveCaveats-aQPEogPk.d.ts} +2 -2
- package/dist/utils/index.cjs +4 -4
- package/dist/utils/index.d.cts +5 -5
- package/dist/utils/index.d.ts +5 -5
- package/dist/utils/index.mjs +3 -3
- package/package.json +14 -14
- package/dist/chunk-2ZOWIAP3.cjs.map +0 -1
- package/dist/chunk-AZYTTGON.mjs.map +0 -1
- package/dist/chunk-EPU4O7FY.cjs.map +0 -1
- package/dist/chunk-L3EZCIY6.mjs.map +0 -1
- package/dist/chunk-TNGQTVSY.mjs.map +0 -1
- package/dist/chunk-UJQ3JN3U.mjs.map +0 -1
- package/dist/chunk-W6HPAK4M.cjs.map +0 -1
- /package/dist/{chunk-K7GTZGKJ.mjs.map → chunk-56QPXKWD.mjs.map} +0 -0
- /package/dist/{chunk-YVU66KSH.mjs.map → chunk-5ENRJKXL.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -7,169 +7,193 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.0.0]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **BREAKING:** Removes support for Nodejs 18 - engines changed from `^18.18 || >=20` to `>=20` ([#286](https://github.com/MetaMask/smart-accounts-kit/pull/286))
|
|
15
|
+
- Bump @vitest and @vitest/coverage-v8 from `4.0.18` to `4.1.10` ([#286](https://github.com/MetaMask/smart-accounts-kit/pull/286))
|
|
16
|
+
- Bumped @metamask/7715-permission-types from `^1.0.0` to `^2.0.0` ([#291](https://github.com/MetaMask/smart-accounts-kit/pull/291))
|
|
17
|
+
- Bumped @metamask/delegation-abis from `^1.1.0` to `^2.0.0` ([#291](https://github.com/MetaMask/smart-accounts-kit/pull/291))
|
|
18
|
+
- Bumped @metamask/delegation-core from `^2.2.1` to `^3.0.0` ([#291](https://github.com/MetaMask/smart-accounts-kit/pull/291))
|
|
19
|
+
- Bumped @metamask/delegation-deployments from `^1.4.0` to `^2.0.0` ([#291](https://github.com/MetaMask/smart-accounts-kit/pull/291))
|
|
20
|
+
|
|
21
|
+
## [1.7.0]
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- Constants `METAMASK_FACILITATOR_ADDRESSES`, `METAMASK_FACILITATOR_ADDRESSES_DEV` added to @metamask/smart-accounts-kit/experimental ([#255](https://github.com/MetaMask/smart-accounts-kit/pull/255))
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Experimental `createx402DelegationProvider` now resolves redeemers as the intersection of `facilitatorAddresses` and `redeemer.addresses` ([#256](https://github.com/MetaMask/smart-accounts-kit/pull/256))
|
|
30
|
+
- Bumped @metamask/7715-permission-types from `^0.7.1` to `^1.0.0` ([#273](https://github.com/MetaMask/smart-accounts-kit/pull/273), [#276](https://github.com/MetaMask/smart-accounts-kit/pull/276), [#281](https://github.com/MetaMask/smart-accounts-kit/pull/281))
|
|
31
|
+
|
|
10
32
|
## [1.6.0]
|
|
11
33
|
|
|
12
34
|
### Added
|
|
13
35
|
|
|
14
|
-
- Experimental `createx402DelegationProvider` added to @metamask/smart-accounts-kit/experimental ([#248](https://github.com/
|
|
15
|
-
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/
|
|
16
|
-
- ERC-7715 `token-approval-revocation` permission type ([#226](https://github.com/
|
|
17
|
-
- `CaveatBuilder` for `ApprovalRevocationEnforcer`, deployment address added to `SmartAccountsEnvironment` ([#226](https://github.com/
|
|
18
|
-
- Helper for decoding revert reasons from delegated execution errors while preserving the original error output ([#245](https://github.com/
|
|
36
|
+
- 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))
|
|
37
|
+
- New `generateSalt` function added to @metamask/smart-accounts-kit/utils ([#248](https://github.com/MetaMask/smart-accounts-kit/pull/248))
|
|
38
|
+
- 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))
|
|
39
|
+
- `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))
|
|
40
|
+
- 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))
|
|
19
41
|
|
|
20
42
|
### Changed
|
|
21
43
|
|
|
22
|
-
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/
|
|
23
|
-
- Bumped @metamask/delegation-core from `^2.1.0` to `^2.2.1` ([#234](https://github.com/
|
|
24
|
-
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/
|
|
25
|
-
- Bumped @metamask/7715-permission-types from `^0.6.0` to `^0.7.1` ([#234](https://github.com/
|
|
44
|
+
- Bumped @metamask/delegation-abis from `^1.0.0` to `^1.1.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
|
|
45
|
+
- 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))
|
|
46
|
+
- Bumped @metamask/delegation-deployments from `^1.3.0` to `^1.4.0` ([#234](https://github.com/MetaMask/smart-accounts-kit/pull/234))
|
|
47
|
+
- 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))
|
|
26
48
|
|
|
27
49
|
### Deprecated
|
|
28
50
|
|
|
29
|
-
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/
|
|
51
|
+
- Deprecated `erc20-token-revocation` in favor of `token-approval-revocation` ([#226](https://github.com/MetaMask/smart-accounts-kit/pull/226))
|
|
30
52
|
|
|
31
53
|
## [1.5.0]
|
|
32
54
|
|
|
33
55
|
### Added
|
|
34
56
|
|
|
35
|
-
- Add utils and wallet actions for redelegating a `permissionContext`: ([#217](https://github.com/
|
|
57
|
+
- Add utils and wallet actions for redelegating a `permissionContext`: ([#217](https://github.com/MetaMask/smart-accounts-kit/pull/217), [#229](https://github.com/MetaMask/smart-accounts-kit/pull/229))
|
|
36
58
|
|
|
37
59
|
### Changed
|
|
38
60
|
|
|
39
|
-
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/
|
|
61
|
+
- Bumped @metamask/delegation-core from ^2.0.0 to ^2.1.0 ([#231](https://github.com/MetaMask/smart-accounts-kit/pull/231))
|
|
40
62
|
|
|
41
63
|
## [1.4.0]
|
|
42
64
|
|
|
43
65
|
### Added
|
|
44
66
|
|
|
45
|
-
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/
|
|
46
|
-
- Add new erc-7715 simple allowance types: ([#214](https://github.com/
|
|
67
|
+
- Add optional `payee` execution rule to `PermissionRequestParameter` for allowance-type permissions ([#219](https://github.com/MetaMask/smart-accounts-kit/pull/219))
|
|
68
|
+
- Add new erc-7715 simple allowance types: ([#214](https://github.com/MetaMask/smart-accounts-kit/pull/214))
|
|
47
69
|
|
|
48
70
|
## [1.3.0]
|
|
49
71
|
|
|
50
72
|
### Added
|
|
51
73
|
|
|
52
|
-
- feat: add redeemer rule ([#212](https://github.com/
|
|
74
|
+
- feat: add redeemer rule ([#212](https://github.com/MetaMask/smart-accounts-kit/pull/212))
|
|
53
75
|
- Optional `redeemer` on `PermissionRequestParameter` maps to a `redeemer` execution rule; granted permission responses checksum-normalize redeemer addresses in `rules`.
|
|
54
76
|
|
|
55
77
|
## [1.2.0]
|
|
56
78
|
|
|
57
79
|
### Added
|
|
58
80
|
|
|
59
|
-
- `decodeCaveat` util function ([#191](https://github.com/
|
|
60
|
-
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/
|
|
61
|
-
- Anonymous usage statistics to help improve the SDK ([#185](https://github.com/
|
|
81
|
+
- `decodeCaveat` util function ([#191](https://github.com/MetaMask/smart-accounts-kit/pull/191))
|
|
82
|
+
- Chain deployment for Katana mainnet and Katana Bokuto ([#203](https://github.com/MetaMask/smart-accounts-kit/pull/203))
|
|
83
|
+
- Anonymous usage statistics to help improve the SDK ([#185](https://github.com/MetaMask/smart-accounts-kit/pull/185))
|
|
62
84
|
- Opt out by setting environment variables `CI` or `DO_NOT_TRACK`, or `navigator.doNotTrack` or `window.doNotTrack` to either '1', 'true', or 'yes'
|
|
63
85
|
|
|
64
86
|
## [1.1.0]
|
|
65
87
|
|
|
66
88
|
### Added
|
|
67
89
|
|
|
68
|
-
- A `nonceKeyManager` can now be specified when calling `toMetaMaskSmartAccount` ([#199](https://github.com/
|
|
90
|
+
- A `nonceKeyManager` can now be specified when calling `toMetaMaskSmartAccount` ([#199](https://github.com/MetaMask/smart-accounts-kit/pull/199))
|
|
69
91
|
|
|
70
92
|
### Fixed
|
|
71
93
|
|
|
72
|
-
- Nonce is always generated with nonce key `0n`, ignoring any specified nonce key value ([#199](https://github.com/
|
|
94
|
+
- Nonce is always generated with nonce key `0n`, ignoring any specified nonce key value ([#199](https://github.com/MetaMask/smart-accounts-kit/pull/199))
|
|
73
95
|
|
|
74
96
|
## [1.0.0]
|
|
75
97
|
|
|
76
98
|
### Changed
|
|
77
99
|
|
|
78
|
-
- Migrate from `webauthn-p256` to `0x` p256 module ([#193](https://github.com/
|
|
79
|
-
- `signer` param is now optional in `toMetaMaskSmartAccount` ([#178](https://github.com/
|
|
100
|
+
- Migrate from `webauthn-p256` to `0x` p256 module ([#193](https://github.com/MetaMask/smart-accounts-kit/pull/193))
|
|
101
|
+
- `signer` param is now optional in `toMetaMaskSmartAccount` ([#178](https://github.com/MetaMask/smart-accounts-kit/pull/178))
|
|
80
102
|
|
|
81
103
|
## [0.4.0-beta.2]
|
|
82
104
|
|
|
83
105
|
### Added
|
|
84
106
|
|
|
85
|
-
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/
|
|
86
|
-
- Add DelegationManager validation for EIP-7710 actions ([#150](https://github.com/
|
|
87
|
-
- Support for Tempo Mainnet and Tempo Moderato Testnet ([#177](https://github.com/
|
|
107
|
+
- Add `encodeDelegation` and `decodeDelegation` utilities for encoding and decoding single delegations. ([#153](https://github.com/MetaMask/smart-accounts-kit/pull/153))
|
|
108
|
+
- Add DelegationManager validation for EIP-7710 actions ([#150](https://github.com/MetaMask/smart-accounts-kit/pull/150))
|
|
109
|
+
- Support for Tempo Mainnet and Tempo Moderato Testnet ([#177](https://github.com/MetaMask/smart-accounts-kit/pull/177))
|
|
88
110
|
|
|
89
111
|
### Changed
|
|
90
112
|
|
|
91
|
-
- Introduce `PermissionContext` to represent a delegation chain (ABI-encoded `Hex` or decoded `Delegation[]`). ([#140](https://github.com/
|
|
113
|
+
- Introduce `PermissionContext` to represent a delegation chain (ABI-encoded `Hex` or decoded `Delegation[]`). ([#140](https://github.com/MetaMask/smart-accounts-kit/pull/140))
|
|
92
114
|
- **Breaking**: Replace usages of raw `Hex` _or_ `Delegation[]` with `PermissionContext`, and rename `permissionsContext` to `permissionContext` (note the singular "permission") where applicable:
|
|
93
115
|
- `SendTransactionWithDelegation`: `permissionsContext: Hex` → `permissionContext: PermissionContext`
|
|
94
116
|
- `SendUserOperationWithDelegation`: within `calls: DelegatedCall`, `permissionsContext: Hex` → `permissionContext: PermissionContext`
|
|
95
117
|
- `redeemDelegations`: parameter `Delegation[]` → `PermissionContext`
|
|
96
118
|
- `encodeDelegations` and `decodeDelegations` now accept `PermissionContext` (if the input is already the expected type, the input is returned)
|
|
97
119
|
- `encode`, `execute`, and `simulate` functions for `DelegationManager.redeemDelegations` from `@metamask/smart-accounts-kit/contracts`: parameter `delegations: Delegation[]` → `delegations: PermissionContext`
|
|
98
|
-
- **Breaking**: ERC-7715 actions now return developer-friendly types: `chainId` as number, token amounts as `bigint`. ([#172](https://github.com/
|
|
99
|
-
- **Breaking**: Rename `getDelegationHashOffchain` to `hashDelegation` for improved clarity. ([#162](https://github.com/
|
|
100
|
-
- **Breaking**: EIP-7715 permission requests nest `isAdjustmentAllowed` inside each permission object per specification. ([#159](https://github.com/
|
|
101
|
-
- **Breaking**: `sendUserOperationWithDelegation` now accepts `dependencies` instead of deprecated `accountMetadata`. ([#157](https://github.com/
|
|
102
|
-
- **Breaking**: Validate that the provided `DelegationManager` address matches the known contract address for the chain in EIP-7710 actions. ([#156](https://github.com/
|
|
103
|
-
- **Breaking**: Default `delegation.salt` and `caveat.args` to `0x00` instead of invalid `0x`. ([#138](https://github.com/
|
|
104
|
-
- Allow scope type to be specified either as `ScopeType` enum, or string literal. ([#133](https://github.com/
|
|
105
|
-
- Allow caveat type to be specified either as `CaveatType` enum, or string literal. ([#179](https://github.com/
|
|
120
|
+
- **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))
|
|
121
|
+
- **Breaking**: Rename `getDelegationHashOffchain` to `hashDelegation` for improved clarity. ([#162](https://github.com/MetaMask/smart-accounts-kit/pull/162))
|
|
122
|
+
- **Breaking**: EIP-7715 permission requests nest `isAdjustmentAllowed` inside each permission object per specification. ([#159](https://github.com/MetaMask/smart-accounts-kit/pull/159))
|
|
123
|
+
- **Breaking**: `sendUserOperationWithDelegation` now accepts `dependencies` instead of deprecated `accountMetadata`. ([#157](https://github.com/MetaMask/smart-accounts-kit/pull/157))
|
|
124
|
+
- **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))
|
|
125
|
+
- **Breaking**: Default `delegation.salt` and `caveat.args` to `0x00` instead of invalid `0x`. ([#138](https://github.com/MetaMask/smart-accounts-kit/pull/138))
|
|
126
|
+
- Allow scope type to be specified either as `ScopeType` enum, or string literal. ([#133](https://github.com/MetaMask/smart-accounts-kit/pull/133))
|
|
127
|
+
- Allow caveat type to be specified either as `CaveatType` enum, or string literal. ([#179](https://github.com/MetaMask/smart-accounts-kit/pull/179))
|
|
106
128
|
|
|
107
129
|
### Removed
|
|
108
130
|
|
|
109
|
-
- **Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/
|
|
110
|
-
- **Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/
|
|
131
|
+
- **Breaking**: `encodePermissionContexts` and `decodePermissionContexts` utilities; use `encodeDelegations` and `decodeDelegations` directly. ([#148](https://github.com/MetaMask/smart-accounts-kit/pull/148))
|
|
132
|
+
- **Breaking**: `redeemDelegations` helper and `Redemption` type; use `redeemDelegations` encoding / execution utilities directly. ([#160](https://github.com/MetaMask/smart-accounts-kit/pull/160))
|
|
111
133
|
|
|
112
134
|
### Fixed
|
|
113
135
|
|
|
114
|
-
- Fix delegation storage to throw a proper `Error` instance so stack traces are correct across environments. ([#171](https://github.com/
|
|
115
|
-
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/
|
|
136
|
+
- 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))
|
|
137
|
+
- Fix `signDelegation` to correctly await the signer and return the signed signature. ([#168](https://github.com/MetaMask/smart-accounts-kit/pull/168))
|
|
116
138
|
|
|
117
139
|
## [0.4.0-beta.1]
|
|
118
140
|
|
|
119
141
|
### Added
|
|
120
142
|
|
|
121
|
-
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/
|
|
143
|
+
- Exports 2 new types: `PermissionRequestParameter` and `Erc7715Client` ([#134](https://github.com/MetaMask/smart-accounts-kit/pull/134))
|
|
122
144
|
|
|
123
145
|
### Fixed
|
|
124
146
|
|
|
125
|
-
- Improve @metamask/delegation-abis tree-shakability ([#131](https://github.com/
|
|
147
|
+
- Improve @metamask/delegation-abis tree-shakability ([#131](https://github.com/MetaMask/smart-accounts-kit/pull/131))
|
|
126
148
|
|
|
127
149
|
## [0.4.0-beta.0]
|
|
128
150
|
|
|
129
151
|
### Added
|
|
130
152
|
|
|
131
|
-
- feat: add discoverability methods ([#127](https://github.com/
|
|
153
|
+
- feat: add discoverability methods ([#127](https://github.com/MetaMask/smart-accounts-kit/pull/127))
|
|
132
154
|
|
|
133
155
|
### Fixed
|
|
134
156
|
|
|
135
|
-
- **Breaking** Implement erc-7715 type scheme revisions across packages ([#128](https://github.com/
|
|
136
|
-
- Resolve yarn peer dependency warnings ([#123](https://github.com/
|
|
137
|
-
- Allow expiry to be omitted when requesting 7715 permissions ([#122](https://github.com/
|
|
157
|
+
- **Breaking** Implement erc-7715 type scheme revisions across packages ([#128](https://github.com/MetaMask/smart-accounts-kit/pull/128))
|
|
158
|
+
- Resolve yarn peer dependency warnings ([#123](https://github.com/MetaMask/smart-accounts-kit/pull/123))
|
|
159
|
+
- Allow expiry to be omitted when requesting 7715 permissions ([#122](https://github.com/MetaMask/smart-accounts-kit/pull/122))
|
|
138
160
|
|
|
139
161
|
## [0.3.0]
|
|
140
162
|
|
|
141
163
|
### Fixed
|
|
142
164
|
|
|
143
|
-
- **Breaking** `function-call` scope no longer allows native token value, unless explicitly configured ([#118](https://github.com/
|
|
144
|
-
- Add `typesVersions` to `package.json` so that subpath exports can be resolved for packages using `moduleResolution: node` ([#112](https://github.com/
|
|
165
|
+
- **Breaking** `function-call` scope no longer allows native token value, unless explicitly configured ([#118](https://github.com/MetaMask/smart-accounts-kit/pull/118))
|
|
166
|
+
- 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))
|
|
145
167
|
|
|
146
168
|
## [0.2.0]
|
|
147
169
|
|
|
148
170
|
### Added
|
|
149
171
|
|
|
150
|
-
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/
|
|
172
|
+
- New permission type `erc20-token-revocation` to ERC-7715 actions ([#110](https://github.com/MetaMask/smart-accounts-kit/pull/110))
|
|
151
173
|
|
|
152
174
|
### Fixed
|
|
153
175
|
|
|
154
|
-
- Throw meaningful errors in validation of ERC-7715 request parameters ([#107](https://github.com/
|
|
176
|
+
- 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))
|
|
155
177
|
|
|
156
178
|
## [0.1.0]
|
|
157
179
|
|
|
158
180
|
### Changed
|
|
159
181
|
|
|
160
|
-
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/
|
|
161
|
-
|
|
162
|
-
[Unreleased]: https://github.com/
|
|
163
|
-
[
|
|
164
|
-
[1.
|
|
165
|
-
[1.
|
|
166
|
-
[1.
|
|
167
|
-
[1.
|
|
168
|
-
[1.
|
|
169
|
-
[1.
|
|
170
|
-
[
|
|
171
|
-
[0.
|
|
172
|
-
[0.4.0-beta.
|
|
173
|
-
[0.
|
|
174
|
-
[0.
|
|
175
|
-
[0.
|
|
182
|
+
- Promote readable permissions actions (`requestExecutionPermissions`, `sendTransactionWithDelegation`, and `sendUserOperationWithDelegation`) from experimental ([#91](https://github.com/MetaMask/smart-accounts-kit/pull/91))
|
|
183
|
+
|
|
184
|
+
[Unreleased]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@2.0.0...HEAD
|
|
185
|
+
[2.0.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.7.0...@metamask/smart-accounts-kit@2.0.0
|
|
186
|
+
[1.7.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.6.0...@metamask/smart-accounts-kit@1.7.0
|
|
187
|
+
[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
|
|
188
|
+
[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
|
|
189
|
+
[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
|
|
190
|
+
[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
|
|
191
|
+
[1.2.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.1.0...@metamask/smart-accounts-kit@1.2.0
|
|
192
|
+
[1.1.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@1.0.0...@metamask/smart-accounts-kit@1.1.0
|
|
193
|
+
[1.0.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.2...@metamask/smart-accounts-kit@1.0.0
|
|
194
|
+
[0.4.0-beta.2]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.1...@metamask/smart-accounts-kit@0.4.0-beta.2
|
|
195
|
+
[0.4.0-beta.1]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.4.0-beta.0...@metamask/smart-accounts-kit@0.4.0-beta.1
|
|
196
|
+
[0.4.0-beta.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.3.0...@metamask/smart-accounts-kit@0.4.0-beta.0
|
|
197
|
+
[0.3.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.2.0...@metamask/smart-accounts-kit@0.3.0
|
|
198
|
+
[0.2.0]: https://github.com/MetaMask/smart-accounts-kit/compare/@metamask/smart-accounts-kit@0.1.0...@metamask/smart-accounts-kit@0.2.0
|
|
199
|
+
[0.1.0]: https://github.com/MetaMask/smart-accounts-kit/releases/tag/@metamask/smart-accounts-kit@0.1.0
|
package/dist/actions/index.cjs
CHANGED
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
22
|
-
require('../chunk-
|
|
21
|
+
var _chunkCKKCGKTAcjs = require('../chunk-CKKCGKTA.cjs');
|
|
22
|
+
require('../chunk-F7R7HDEY.cjs');
|
|
23
23
|
require('../chunk-2OS36DVV.cjs');
|
|
24
|
-
require('../chunk-
|
|
24
|
+
require('../chunk-4PCXDGUF.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -42,5 +42,5 @@ require('../chunk-W6HPAK4M.cjs');
|
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
exports.caveatEnforcerActions =
|
|
45
|
+
exports.caveatEnforcerActions = _chunkCKKCGKTAcjs.caveatEnforcerActions; exports.erc7710BundlerActions = _chunkCKKCGKTAcjs.erc7710BundlerActions; exports.erc7710WalletActions = _chunkCKKCGKTAcjs.erc7710WalletActions; exports.erc7715ProviderActions = _chunkCKKCGKTAcjs.erc7715ProviderActions; exports.getErc20PeriodTransferEnforcerAvailableAmount = _chunkCKKCGKTAcjs.getErc20PeriodTransferEnforcerAvailableAmount; exports.getErc20StreamingEnforcerAvailableAmount = _chunkCKKCGKTAcjs.getErc20StreamingEnforcerAvailableAmount; exports.getGrantedExecutionPermissions = _chunkCKKCGKTAcjs.erc7715GetGrantedExecutionPermissionsAction; exports.getMultiTokenPeriodEnforcerAvailableAmount = _chunkCKKCGKTAcjs.getMultiTokenPeriodEnforcerAvailableAmount; exports.getNativeTokenPeriodTransferEnforcerAvailableAmount = _chunkCKKCGKTAcjs.getNativeTokenPeriodTransferEnforcerAvailableAmount; exports.getNativeTokenStreamingEnforcerAvailableAmount = _chunkCKKCGKTAcjs.getNativeTokenStreamingEnforcerAvailableAmount; exports.getSupportedExecutionPermissions = _chunkCKKCGKTAcjs.erc7715GetSupportedExecutionPermissionsAction; exports.isValid7702Implementation = _chunkCKKCGKTAcjs.isValid7702Implementation; exports.redelegatePermissionContextAction = _chunkCKKCGKTAcjs.redelegatePermissionContextAction; exports.redelegatePermissionContextOpenAction = _chunkCKKCGKTAcjs.redelegatePermissionContextOpenAction; exports.requestExecutionPermissions = _chunkCKKCGKTAcjs.erc7715RequestExecutionPermissionsAction; exports.signDelegation = _chunkCKKCGKTAcjs.signDelegation; exports.signDelegationActions = _chunkCKKCGKTAcjs.signDelegationActions; exports.signUserOperation = _chunkCKKCGKTAcjs.signUserOperation; exports.signUserOperationActions = _chunkCKKCGKTAcjs.signUserOperationActions;
|
|
46
46
|
//# sourceMappingURL=index.cjs.map
|
package/dist/actions/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { C as CaveatEnforcerParams, D as DelegatedCall, E as Erc20TokenAllowancePermission, a as Erc20TokenPeriodicPermission, b as Erc20TokenRevocationPermission, d as Erc20TokenStreamPermission, e as Erc7710WalletClient, f as Erc7715Client, G as GetGrantedExecutionPermissionsResult, g as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, h as MetaMaskExtensionSchema, N as NativeTokenAllowancePermission, j as NativeTokenPeriodicPermission, k as NativeTokenStreamPermission, P as PeriodTransferResult, l as PermissionRequestParameter, m as PermissionTypes, R as RedelegatePermissionContextOpenParameters, n as RedelegatePermissionContextParameters, o as RedelegatePermissionContextReturnType, p as RequestExecutionPermissionsParameters, q as RequestExecutionPermissionsReturnType, r as RpcGetGrantedExecutionPermissionsResult, s as RpcGetSupportedExecutionPermissionsResult, t as RpcSupportedPermissionInfo, S as SignDelegationParameters, u as SignDelegationReturnType, v as SignUserOperationParameters, w as SignUserOperationReturnType, x as StreamingResult, y as SupportedPermissionInfo, T as TokenApprovalRevocationPermission, c as caveatEnforcerActions, z as erc7710BundlerActions, A as erc7710WalletActions, B as erc7715ProviderActions, F as getErc20PeriodTransferEnforcerAvailableAmount, H as getErc20StreamingEnforcerAvailableAmount, I as getGrantedExecutionPermissions, J as getMultiTokenPeriodEnforcerAvailableAmount, K as getNativeTokenPeriodTransferEnforcerAvailableAmount, L as getNativeTokenStreamingEnforcerAvailableAmount, O as getSupportedExecutionPermissions, Q as isValid7702Implementation, U as redelegatePermissionContextAction, V as redelegatePermissionContextOpenAction, W as requestExecutionPermissions, X as signDelegation, Y as signDelegationActions, Z as signUserOperation, _ as signUserOperationActions } from '../index-
|
|
1
|
+
export { C as CaveatEnforcerParams, D as DelegatedCall, E as Erc20TokenAllowancePermission, a as Erc20TokenPeriodicPermission, b as Erc20TokenRevocationPermission, d as Erc20TokenStreamPermission, e as Erc7710WalletClient, f as Erc7715Client, G as GetGrantedExecutionPermissionsResult, g as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, h as MetaMaskExtensionSchema, N as NativeTokenAllowancePermission, j as NativeTokenPeriodicPermission, k as NativeTokenStreamPermission, P as PeriodTransferResult, l as PermissionRequestParameter, m as PermissionTypes, R as RedelegatePermissionContextOpenParameters, n as RedelegatePermissionContextParameters, o as RedelegatePermissionContextReturnType, p as RequestExecutionPermissionsParameters, q as RequestExecutionPermissionsReturnType, r as RpcGetGrantedExecutionPermissionsResult, s as RpcGetSupportedExecutionPermissionsResult, t as RpcSupportedPermissionInfo, S as SignDelegationParameters, u as SignDelegationReturnType, v as SignUserOperationParameters, w as SignUserOperationReturnType, x as StreamingResult, y as SupportedPermissionInfo, T as TokenApprovalRevocationPermission, c as caveatEnforcerActions, z as erc7710BundlerActions, A as erc7710WalletActions, B as erc7715ProviderActions, F as getErc20PeriodTransferEnforcerAvailableAmount, H as getErc20StreamingEnforcerAvailableAmount, I as getGrantedExecutionPermissions, J as getMultiTokenPeriodEnforcerAvailableAmount, K as getNativeTokenPeriodTransferEnforcerAvailableAmount, L as getNativeTokenStreamingEnforcerAvailableAmount, O as getSupportedExecutionPermissions, Q as isValid7702Implementation, U as redelegatePermissionContextAction, V as redelegatePermissionContextOpenAction, W as requestExecutionPermissions, X as signDelegation, Y as signDelegationActions, Z as signUserOperation, _ as signUserOperationActions } from '../index-DYJjOeTn.cjs';
|
|
2
2
|
import 'viem';
|
|
3
3
|
export { Rule } from '@metamask/7715-permission-types';
|
|
4
|
-
import '../resolveCaveats-
|
|
4
|
+
import '../resolveCaveats-aQPEogPk.cjs';
|
|
5
5
|
import '@metamask/delegation-abis';
|
|
6
6
|
import 'viem/account-abstraction';
|
|
7
7
|
import 'viem/chains';
|
|
8
8
|
import '@metamask/delegation-core';
|
|
9
|
-
import '../index-
|
|
9
|
+
import '../index-BHm75OFP.cjs';
|
|
10
10
|
import '../userOp-DKgjzz7B.cjs';
|
package/dist/actions/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { C as CaveatEnforcerParams, D as DelegatedCall, E as Erc20TokenAllowancePermission, a as Erc20TokenPeriodicPermission, b as Erc20TokenRevocationPermission, d as Erc20TokenStreamPermission, e as Erc7710WalletClient, f as Erc7715Client, G as GetGrantedExecutionPermissionsResult, g as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, h as MetaMaskExtensionSchema, N as NativeTokenAllowancePermission, j as NativeTokenPeriodicPermission, k as NativeTokenStreamPermission, P as PeriodTransferResult, l as PermissionRequestParameter, m as PermissionTypes, R as RedelegatePermissionContextOpenParameters, n as RedelegatePermissionContextParameters, o as RedelegatePermissionContextReturnType, p as RequestExecutionPermissionsParameters, q as RequestExecutionPermissionsReturnType, r as RpcGetGrantedExecutionPermissionsResult, s as RpcGetSupportedExecutionPermissionsResult, t as RpcSupportedPermissionInfo, S as SignDelegationParameters, u as SignDelegationReturnType, v as SignUserOperationParameters, w as SignUserOperationReturnType, x as StreamingResult, y as SupportedPermissionInfo, T as TokenApprovalRevocationPermission, c as caveatEnforcerActions, z as erc7710BundlerActions, A as erc7710WalletActions, B as erc7715ProviderActions, F as getErc20PeriodTransferEnforcerAvailableAmount, H as getErc20StreamingEnforcerAvailableAmount, I as getGrantedExecutionPermissions, J as getMultiTokenPeriodEnforcerAvailableAmount, K as getNativeTokenPeriodTransferEnforcerAvailableAmount, L as getNativeTokenStreamingEnforcerAvailableAmount, O as getSupportedExecutionPermissions, Q as isValid7702Implementation, U as redelegatePermissionContextAction, V as redelegatePermissionContextOpenAction, W as requestExecutionPermissions, X as signDelegation, Y as signDelegationActions, Z as signUserOperation, _ as signUserOperationActions } from '../index-
|
|
1
|
+
export { C as CaveatEnforcerParams, D as DelegatedCall, E as Erc20TokenAllowancePermission, a as Erc20TokenPeriodicPermission, b as Erc20TokenRevocationPermission, d as Erc20TokenStreamPermission, e as Erc7710WalletClient, f as Erc7715Client, G as GetGrantedExecutionPermissionsResult, g as GetSupportedExecutionPermissionsResult, M as MetaMaskExtensionClient, h as MetaMaskExtensionSchema, N as NativeTokenAllowancePermission, j as NativeTokenPeriodicPermission, k as NativeTokenStreamPermission, P as PeriodTransferResult, l as PermissionRequestParameter, m as PermissionTypes, R as RedelegatePermissionContextOpenParameters, n as RedelegatePermissionContextParameters, o as RedelegatePermissionContextReturnType, p as RequestExecutionPermissionsParameters, q as RequestExecutionPermissionsReturnType, r as RpcGetGrantedExecutionPermissionsResult, s as RpcGetSupportedExecutionPermissionsResult, t as RpcSupportedPermissionInfo, S as SignDelegationParameters, u as SignDelegationReturnType, v as SignUserOperationParameters, w as SignUserOperationReturnType, x as StreamingResult, y as SupportedPermissionInfo, T as TokenApprovalRevocationPermission, c as caveatEnforcerActions, z as erc7710BundlerActions, A as erc7710WalletActions, B as erc7715ProviderActions, F as getErc20PeriodTransferEnforcerAvailableAmount, H as getErc20StreamingEnforcerAvailableAmount, I as getGrantedExecutionPermissions, J as getMultiTokenPeriodEnforcerAvailableAmount, K as getNativeTokenPeriodTransferEnforcerAvailableAmount, L as getNativeTokenStreamingEnforcerAvailableAmount, O as getSupportedExecutionPermissions, Q as isValid7702Implementation, U as redelegatePermissionContextAction, V as redelegatePermissionContextOpenAction, W as requestExecutionPermissions, X as signDelegation, Y as signDelegationActions, Z as signUserOperation, _ as signUserOperationActions } from '../index-CgGKjHSr.js';
|
|
2
2
|
import 'viem';
|
|
3
3
|
export { Rule } from '@metamask/7715-permission-types';
|
|
4
|
-
import '../resolveCaveats-
|
|
4
|
+
import '../resolveCaveats-aQPEogPk.js';
|
|
5
5
|
import '@metamask/delegation-abis';
|
|
6
6
|
import 'viem/account-abstraction';
|
|
7
7
|
import 'viem/chains';
|
|
8
8
|
import '@metamask/delegation-core';
|
|
9
|
-
import '../index-
|
|
9
|
+
import '../index-DWvEgBtg.js';
|
|
10
10
|
import '../userOp-DKgjzz7B.js';
|
package/dist/actions/index.mjs
CHANGED
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
signDelegationActions,
|
|
19
19
|
signUserOperation,
|
|
20
20
|
signUserOperationActions
|
|
21
|
-
} from "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
} from "../chunk-Z4MVJILE.mjs";
|
|
22
|
+
import "../chunk-56QPXKWD.mjs";
|
|
23
23
|
import "../chunk-GMGJRC3D.mjs";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-XBHL6PDR.mjs";
|
|
25
25
|
export {
|
|
26
26
|
caveatEnforcerActions,
|
|
27
27
|
erc7710BundlerActions,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletClient, PublicClient, Chain, Hex } from 'viem';
|
|
2
|
-
import { S as SmartAccountsEnvironment,
|
|
2
|
+
import { S as SmartAccountsEnvironment, b as Caveat, z as CoreCaveatConfiguration } from './resolveCaveats-aQPEogPk.cjs';
|
|
3
3
|
|
|
4
4
|
type SupportedVersion = '1.0.0' | '1.1.0' | '1.2.0' | '1.3.0';
|
|
5
5
|
declare const PREFERRED_VERSION: SupportedVersion;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WalletClient, PublicClient, Chain, Hex } from 'viem';
|
|
2
|
-
import { S as SmartAccountsEnvironment,
|
|
2
|
+
import { S as SmartAccountsEnvironment, b as Caveat, z as CoreCaveatConfiguration } from './resolveCaveats-aQPEogPk.js';
|
|
3
3
|
|
|
4
4
|
type SupportedVersion = '1.0.0' | '1.1.0' | '1.2.0' | '1.3.0';
|
|
5
5
|
declare const PREFERRED_VERSION: SupportedVersion;
|
|
@@ -231,8 +231,6 @@ var allowedTargetsBuilder = (environment, config) => {
|
|
|
231
231
|
|
|
232
232
|
// src/caveatBuilder/approvalRevocationBuilder.ts
|
|
233
233
|
|
|
234
|
-
|
|
235
|
-
|
|
236
234
|
var approvalRevocation = "approvalRevocation";
|
|
237
235
|
var approvalRevocationBuilder = (environment, config) => {
|
|
238
236
|
const terms = _delegationcore.createApprovalRevocationTerms.call(void 0, config);
|
|
@@ -1750,7 +1748,7 @@ var Sender = class {
|
|
|
1750
1748
|
};
|
|
1751
1749
|
|
|
1752
1750
|
// package.json
|
|
1753
|
-
var version = "
|
|
1751
|
+
var version = "2.0.0";
|
|
1754
1752
|
|
|
1755
1753
|
// src/analytics/index.ts
|
|
1756
1754
|
function isCompleteBase(value) {
|
|
@@ -2157,9 +2155,6 @@ var signDelegation = async ({
|
|
|
2157
2155
|
|
|
2158
2156
|
// src/executions.ts
|
|
2159
2157
|
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
2158
|
var createExecution = ({
|
|
2164
2159
|
target,
|
|
2165
2160
|
value = 0n,
|
|
@@ -2264,4 +2259,4 @@ var encodeExecutionCalldatas = (executionsBatch) => {
|
|
|
2264
2259
|
|
|
2265
2260
|
|
|
2266
2261
|
exports.__export = __export; exports.trackSmartAccountsKitFunctionCall = trackSmartAccountsKitFunctionCall; exports.Implementation = Implementation; exports.TransferWindow = TransferWindow; exports.ScopeType = ScopeType; exports.CaveatType = CaveatType; exports.CaveatBuilder = CaveatBuilder; exports.createCaveatBuilder = createCaveatBuilder; exports.isDefined = isDefined; exports.toHexOrThrow = toHexOrThrow; exports.resolveCaveats = resolveCaveats; exports.createCaveat = createCaveat; exports.decodeCaveat = decodeCaveat; exports.ANY_BENEFICIARY = _delegationcore.ANY_BENEFICIARY; exports.DELEGATION_TYPEHASH = _delegationcore.DELEGATION_TYPEHASH; exports.ROOT_AUTHORITY = _delegationcore.ROOT_AUTHORITY; exports.DELEGATION_ABI_TYPE_COMPONENTS = DELEGATION_ABI_TYPE_COMPONENTS; exports.toDelegationStruct = toDelegationStruct; exports.toDelegation = toDelegation; exports.encodeDelegations = encodeDelegations; exports.encodeDelegation = encodeDelegation; exports.decodeDelegations = decodeDelegations; exports.decodeDelegation = decodeDelegation; exports.SIGNABLE_DELEGATION_TYPED_DATA = SIGNABLE_DELEGATION_TYPED_DATA; exports.DELEGATION_ARRAY_ABI_TYPE = DELEGATION_ARRAY_ABI_TYPE; exports.DELEGATION_ABI_TYPE = DELEGATION_ABI_TYPE; exports.hashDelegation = hashDelegation; exports.createDelegation = createDelegation; exports.createOpenDelegation = createOpenDelegation; exports.prepareSignDelegationTypedData = prepareSignDelegationTypedData; exports.signDelegation = signDelegation; exports.createExecution = createExecution; exports.ExecutionMode = ExecutionMode; exports.encodeSingleExecution = encodeSingleExecution; exports.encodeBatchExecution = encodeBatchExecution; exports.encodeExecutionCalldata = encodeExecutionCalldata; exports.encodeExecutionCalldatas = encodeExecutionCalldatas;
|
|
2267
|
-
//# sourceMappingURL=chunk-
|
|
2262
|
+
//# sourceMappingURL=chunk-4PCXDGUF.cjs.map
|