@lit-protocol/vincent-ability-sdk 2.3.1 → 2.4.0-mma
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 +6 -0
- package/README.md +52 -4
- package/dist/CHANGELOG.md +6 -0
- package/dist/README.md +52 -4
- package/dist/package.json +7 -1
- package/dist/src/gatedSigner.d.ts +2 -0
- package/dist/src/gatedSigner.d.ts.map +1 -0
- package/dist/src/gatedSigner.js +5 -0
- package/dist/src/gatedSigner.js.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +3 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib/abilityHelpers/bigint-replace.d.ts +8 -0
- package/dist/src/lib/abilityHelpers/bigint-replace.d.ts.map +1 -0
- package/dist/src/lib/abilityHelpers/bigint-replace.js +14 -0
- package/dist/src/lib/abilityHelpers/bigint-replace.js.map +1 -0
- package/dist/src/lib/abilityHelpers/erc20-abi.d.ts +2 -0
- package/dist/src/lib/abilityHelpers/erc20-abi.d.ts.map +1 -0
- package/dist/src/lib/abilityHelpers/erc20-abi.js +122 -0
- package/dist/src/lib/abilityHelpers/erc20-abi.js.map +1 -0
- package/dist/src/lib/abilityHelpers/gasSponsorship/get-alchemy-chain-config.js +1 -1
- package/dist/src/lib/abilityHelpers/gasSponsorship/get-alchemy-chain-config.js.map +1 -1
- package/dist/src/lib/abilityHelpers/index.d.ts +2 -0
- package/dist/src/lib/abilityHelpers/index.d.ts.map +1 -1
- package/dist/src/lib/abilityHelpers/index.js +5 -1
- package/dist/src/lib/abilityHelpers/index.js.map +1 -1
- package/dist/src/lib/gatedSigner/helpers/eip712.d.ts +34 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.js +30 -0
- package/dist/src/lib/gatedSigner/helpers/eip712.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/hex.d.ts +5 -0
- package/dist/src/lib/gatedSigner/helpers/hex.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/hex.js +16 -0
- package/dist/src/lib/gatedSigner/helpers/hex.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.d.ts +54 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.js +91 -0
- package/dist/src/lib/gatedSigner/helpers/lifecycleFunctions.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.d.ts +13 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.js +21 -0
- package/dist/src/lib/gatedSigner/helpers/lowLevelCall.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.d.ts +925 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.js +64 -0
- package/dist/src/lib/gatedSigner/helpers/schemas.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.d.ts +9 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.js +30 -0
- package/dist/src/lib/gatedSigner/helpers/signTransaction.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.d.ts +15 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.js +115 -0
- package/dist/src/lib/gatedSigner/helpers/signUserOperation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.d.ts +204 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.js +93 -0
- package/dist/src/lib/gatedSigner/helpers/simulation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.d.ts +8 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.js +177 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/kernel.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.d.ts +26 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.js +195 -0
- package/dist/src/lib/gatedSigner/helpers/smartAccounts/safe.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.d.ts +20 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.js +69 -0
- package/dist/src/lib/gatedSigner/helpers/toLitActionAccount.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.d.ts +148 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.js +87 -0
- package/dist/src/lib/gatedSigner/helpers/transaction.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.d.ts +200 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.js +106 -0
- package/dist/src/lib/gatedSigner/helpers/userOperation.js.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/validation.d.ts +43 -0
- package/dist/src/lib/gatedSigner/helpers/validation.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/helpers/validation.js +81 -0
- package/dist/src/lib/gatedSigner/helpers/validation.js.map +1 -0
- package/dist/src/lib/gatedSigner/index.d.ts +12 -0
- package/dist/src/lib/gatedSigner/index.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/index.js +19 -0
- package/dist/src/lib/gatedSigner/index.js.map +1 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.d.ts +566 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.d.ts.map +1 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.js +48 -0
- package/dist/src/lib/gatedSigner/vincentGatedSignerAbility.js.map +1 -0
- package/dist/src/type-inference-verification/ability-definition-tests.d.ts +6 -6
- package/dist/src/type-inference-verification/allow-deny-test-cases-ability.d.ts +90 -90
- package/dist/src/type-inference-verification/allow-deny-test-cases.d.ts +8 -8
- package/dist/src/type-inference-verification/context-switching-tests.d.ts +3 -3
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.d.ts +533 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.d.ts.map +1 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.js +19 -0
- package/dist/src/type-inference-verification/create-vincent-gated-signer-ability.js.map +1 -0
- package/dist/src/type-inference-verification/parameter-inference-tests-tool.d.ts +58 -58
- package/dist/src/type-inference-verification/parameter-inference-tests.d.ts +5 -5
- package/dist/src/type-inference-verification/playground.d.ts +8 -8
- package/dist/src/type-inference-verification/schema-test.d.ts +5 -5
- package/package.json +8 -2
|
@@ -14,13 +14,13 @@ export declare function testPolicyEvaluationResults(): import("..").VincentAbili
|
|
|
14
14
|
target: z.ZodString;
|
|
15
15
|
amount: z.ZodNumber;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
-
action: string;
|
|
18
17
|
target: string;
|
|
19
18
|
amount: number;
|
|
20
|
-
}, {
|
|
21
19
|
action: string;
|
|
20
|
+
}, {
|
|
22
21
|
target: string;
|
|
23
22
|
amount: number;
|
|
23
|
+
action: string;
|
|
24
24
|
}>, string, import("../lib/abilityCore/helpers").AbilityPolicyMap<readonly [{
|
|
25
25
|
vincentPolicy: import("../internal").VincentPolicy<"@lit-protocol/simple-policy@1.0.0", z.ZodObject<{
|
|
26
26
|
actionType: z.ZodString;
|
|
@@ -70,9 +70,9 @@ export declare function testPolicyEvaluationResults(): import("..").VincentAbili
|
|
|
70
70
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
71
71
|
ipfsCid: "109i0ifj";
|
|
72
72
|
abilityParameterMappings: Partial<{
|
|
73
|
-
action: "actionType" | "targetId";
|
|
74
73
|
target: "actionType" | "targetId";
|
|
75
74
|
amount: "actionType" | "targetId";
|
|
75
|
+
action: "actionType" | "targetId";
|
|
76
76
|
}>;
|
|
77
77
|
vincentAbilityApiVersion: string;
|
|
78
78
|
__schemaTypes: {
|
|
@@ -228,9 +228,9 @@ export declare function testPolicyEvaluationResults(): import("..").VincentAbili
|
|
|
228
228
|
}>, z.ZodUndefined>>;
|
|
229
229
|
ipfsCid: "ajialkjads";
|
|
230
230
|
abilityParameterMappings: Partial<{
|
|
231
|
-
action: "value" | "operation" | "resource";
|
|
232
231
|
target: "value" | "operation" | "resource";
|
|
233
232
|
amount: "value" | "operation" | "resource";
|
|
233
|
+
action: "value" | "operation" | "resource";
|
|
234
234
|
}>;
|
|
235
235
|
vincentAbilityApiVersion: string;
|
|
236
236
|
__schemaTypes: {
|
|
@@ -387,9 +387,9 @@ export declare function testPolicyEvaluationResults(): import("..").VincentAbili
|
|
|
387
387
|
}>, z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>, import("../lib/types").CommitLifecycleFunction<z.ZodUndefined, z.ZodUndefined, z.ZodUndefined>>;
|
|
388
388
|
ipfsCid: "109i0ifj";
|
|
389
389
|
abilityParameterMappings: Partial<{
|
|
390
|
-
action: "actionType" | "targetId";
|
|
391
390
|
target: "actionType" | "targetId";
|
|
392
391
|
amount: "actionType" | "targetId";
|
|
392
|
+
action: "actionType" | "targetId";
|
|
393
393
|
}>;
|
|
394
394
|
vincentAbilityApiVersion: string;
|
|
395
395
|
__schemaTypes: {
|
|
@@ -546,9 +546,9 @@ export declare function testPolicyEvaluationResults(): import("..").VincentAbili
|
|
|
546
546
|
}>, z.ZodUndefined>>;
|
|
547
547
|
ipfsCid: "ajialkjads";
|
|
548
548
|
abilityParameterMappings: Partial<{
|
|
549
|
-
action: "value" | "operation" | "resource";
|
|
550
549
|
target: "value" | "operation" | "resource";
|
|
551
550
|
amount: "value" | "operation" | "resource";
|
|
551
|
+
action: "value" | "operation" | "resource";
|
|
552
552
|
}>;
|
|
553
553
|
vincentAbilityApiVersion: string;
|
|
554
554
|
__schemaTypes: {
|