You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Resolve yarn peer dependency warnings
* Fix linting (scripts and configuration, linting still fails)
* Fix linting for all packages, other than smart-accounts-kit
* Fix linting errors in smart-accounts-kit
- Mark @typescript-eslint/explicit-function-return-type and @typescript-eslint/naming-convention as warning only
* Minor fixes:
- improve error handling in validate-contract-deployments scripts
- fix comment
* A base permission type that all permissions must extend.
72
72
* `isAdjustmentAllowed` defines a boolean value that allows DApp to define whether the "permission" can be attenuated–adjusted to meet the user's terms.
73
-
* @property type - is an enum defined by the ERCs
74
-
* @property isAdjustmentAllowed - is a boolean that indicates whether the permission can be adjusted.
75
-
* @property data - is a record of the data that is associated with the permission, and the structure is defined by the ERCs.
73
+
*
74
+
* type - is an enum defined by the ERCs
75
+
*
76
+
* isAdjustmentAllowed - is a boolean that indicates whether the permission can be adjusted.
77
+
*
78
+
* data - is a record of the data that is associated with the permission, and the structure is defined by the ERCs.
76
79
*/
77
80
exporttypeBasePermission={
78
81
type: string;
@@ -83,34 +86,42 @@ export type BasePermission = {
83
86
/**
84
87
* A base rule type that all rules must extend.
85
88
* `isAdjustmentAllowed` defines a boolean value that allows DApp to define whether the "rule" can be attenuated–adjusted to meet the user's terms.
86
-
* @property type - is an enum defined by the ERCs
87
-
* @property isAdjustmentAllowed - is a boolean that indicates whether the rule can be adjusted.
88
-
* @property data - is a record of the data that is associated with the rule, and the structure is defined by the ERCs.
89
+
*
90
+
* type - is an enum defined by the ERCs
91
+
*
92
+
* isAdjustmentAllowed - is a boolean that indicates whether the rule can be adjusted.
93
+
*
94
+
* data - is a record of the data that is associated with the rule, and the structure is defined by the ERCs.
* Parameters for the `wallet_requestExecutionPermissions` JSON-RPC method.
210
-
* @property chainId - chainId defines the chain with EIP-155 which applies to this permission request and all addresses can be found defined by other parameters.
211
-
* @property address - address identifies the account being targetted for this permission request which is useful when a connection has been established and multiple accounts have been exposed. It is optional to let the user choose which account to grant permission for.
212
-
* @property signer - signer is a field that identifies the key or account associated with the permission or alternatively the wallet will manage the session. See the "Signers" section for details.
213
-
* @property permission - permission defines the allowed behavior the signer can do on behalf of the account. See the "Permission" section for details.
214
-
* @property rules - rules defined the restrictions or conditions that a signer MUST abide by when using a permission to act on behalf of an account. See the "Rule" section for details.
234
+
*
235
+
* chainId - chainId defines the chain with EIP-155 which applies to this permission request and all addresses can be found defined by other parameters.
236
+
*
237
+
* address - address identifies the account being targetted for this permission request which is useful when a connection has been established and multiple accounts have been exposed. It is optional to let the user choose which account to grant permission for.
238
+
*
239
+
* signer - signer is a field that identifies the key or account associated with the permission or alternatively the wallet will manage the session. See the "Signers" section for details.
240
+
*
241
+
* permission - permission defines the allowed behavior the signer can do on behalf of the account. See the "Permission" section for details.
242
+
*
243
+
* rules - rules defined the restrictions or conditions that a signer MUST abide by when using a permission to act on behalf of an account. See the "Rule" section for details.
215
244
*/
216
245
exporttypePermissionRequest<
217
246
TSignerextendsSigner,
@@ -227,9 +256,12 @@ export type PermissionRequest<
227
256
/**
228
257
* Response from the `wallet_requestExecutionPermissions` JSON-RPC method.
229
258
* First note that the response contains all of the parameters of the original request and it is not guaranteed that the values received are equivalent to those requested.
230
-
* @property context - is a catch-all to identify a permission for revoking permissions or submitting userOps, and can contain non-identifying data as well. It MAY be the `context` as defined in ERC-7679 and ERC-7710.
231
-
* @property dependencyInfo - is an array of objects, each containing fields for `factory` and `factoryData` as defined in ERC-4337. Either both `factory` and `factoryData` must be specified in an entry, or neither. This array is used describe accounts that are not yet deployed but MUST be deployed in order for a permission to be successfully redeemed.
232
-
* @property signerMeta - is dependent on the account type. If the signer type is `wallet` then it's not required. If the signer type is `key` or `keys` then `userOpBuilder` is required as defined in ERC-7679. If the signer type is `account` then `delegationManager` is required as defined in ERC-7710.
259
+
*
260
+
* context - is a catch-all to identify a permission for revoking permissions or submitting userOps, and can contain non-identifying data as well. It MAY be the `context` as defined in ERC-7679 and ERC-7710.
261
+
*
262
+
* dependencyInfo - is an array of objects, each containing fields for `factory` and `factoryData` as defined in ERC-4337. Either both `factory` and `factoryData` must be specified in an entry, or neither. This array is used describe accounts that are not yet deployed but MUST be deployed in order for a permission to be successfully redeemed.
263
+
*
264
+
* signerMeta - is dependent on the account type. If the signer type is `wallet` then it's not required. If the signer type is `key` or `keys` then `userOpBuilder` is required as defined in ERC-7679. If the signer type is `account` then `delegationManager` is required as defined in ERC-7710.
233
265
*/
234
266
exporttypePermissionResponse<
235
267
TSignerextendsSigner,
@@ -250,7 +282,8 @@ export type PermissionResponse<
250
282
251
283
/**
252
284
* Parameters for the `wallet_revokeExecutionPermission` JSON-RPC method.
253
-
* @property permissionContext - the context identifier for the permission to be revoked
285
+
*
286
+
* permissionContext - the context identifier for the permission to be revoked
0 commit comments