ox 1.6.2 → 1.7.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 +18 -0
- package/dist/core/AesGcm.d.ts +67 -2
- package/dist/core/AesGcm.d.ts.map +1 -1
- package/dist/core/AesGcm.js +79 -10
- package/dist/core/AesGcm.js.map +1 -1
- package/dist/core/Ed25519.d.ts +83 -2
- package/dist/core/Ed25519.d.ts.map +1 -1
- package/dist/core/Ed25519.js +79 -4
- package/dist/core/Ed25519.js.map +1 -1
- package/dist/core/MlDsa44.d.ts +84 -5
- package/dist/core/MlDsa44.d.ts.map +1 -1
- package/dist/core/MlDsa44.js +79 -4
- package/dist/core/MlDsa44.js.map +1 -1
- package/dist/core/P256.d.ts +82 -1
- package/dist/core/P256.d.ts.map +1 -1
- package/dist/core/P256.js +78 -0
- package/dist/core/P256.js.map +1 -1
- package/dist/core/Secp256k1.d.ts +85 -1
- package/dist/core/Secp256k1.d.ts.map +1 -1
- package/dist/core/Secp256k1.js +74 -3
- package/dist/core/Secp256k1.js.map +1 -1
- package/dist/core/internal/keyDerivation.d.ts +13 -0
- package/dist/core/internal/keyDerivation.d.ts.map +1 -0
- package/dist/core/internal/keyDerivation.js +13 -0
- package/dist/core/internal/keyDerivation.js.map +1 -0
- package/dist/tempo/KeyAuthorization.d.ts +16 -12
- package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/tempo/KeyAuthorization.js +7 -13
- package/dist/tempo/KeyAuthorization.js.map +1 -1
- package/dist/tempo/MultisigConfig.d.ts +20 -17
- package/dist/tempo/MultisigConfig.d.ts.map +1 -1
- package/dist/tempo/MultisigConfig.js +17 -16
- package/dist/tempo/MultisigConfig.js.map +1 -1
- package/dist/tempo/SignatureEnvelope.d.ts +19 -17
- package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
- package/dist/tempo/SignatureEnvelope.js +35 -27
- package/dist/tempo/SignatureEnvelope.js.map +1 -1
- package/dist/tempo/index.d.ts +2 -2
- package/dist/tempo/index.js +2 -2
- package/dist/zod/tempo/KeyAuthorization.d.ts +231 -22
- package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
- package/dist/zod/tempo/KeyAuthorization.js +10 -2
- package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
- package/dist/zod/tempo/RpcSchemaTempo.d.ts +82 -8
- package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
- package/dist/zod/tempo/Transaction.d.ts +246 -24
- package/dist/zod/tempo/Transaction.d.ts.map +1 -1
- package/dist/zod/tempo/TransactionRequest.d.ts +149 -14
- package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts +78 -6
- package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/AesGcm.ts +137 -30
- package/src/core/Ed25519.ts +135 -4
- package/src/core/MlDsa44.ts +135 -4
- package/src/core/P256.ts +135 -1
- package/src/core/Secp256k1.ts +134 -3
- package/src/core/_test/AesGcm.test-d.ts +19 -0
- package/src/core/_test/AesGcm.test.ts +90 -1
- package/src/core/_test/Ed25519.test-d.ts +24 -0
- package/src/core/_test/Ed25519.test.ts +87 -1
- package/src/core/_test/MlDsa44.test-d.ts +24 -0
- package/src/core/_test/MlDsa44.test.ts +69 -1
- package/src/core/_test/P256.test-d.ts +26 -0
- package/src/core/_test/P256.test.ts +98 -1
- package/src/core/_test/Secp256k1.test-d.ts +27 -0
- package/src/core/_test/Secp256k1.test.ts +112 -1
- package/src/core/internal/keyDerivation.ts +34 -0
- package/src/tempo/KeyAuthorization.test-d.ts +41 -6
- package/src/tempo/KeyAuthorization.test.ts +77 -18
- package/src/tempo/KeyAuthorization.ts +36 -36
- package/src/tempo/MultisigConfig.test.ts +28 -8
- package/src/tempo/MultisigConfig.ts +28 -19
- package/src/tempo/SignatureEnvelope.test.ts +64 -19
- package/src/tempo/SignatureEnvelope.ts +45 -35
- package/src/tempo/index.ts +2 -2
- package/src/tempo/multisig.e2e.test.ts +402 -145
- package/src/version.ts +1 -1
- package/src/zod/tempo/KeyAuthorization.ts +12 -2
- package/src/zod/tempo/_test/KeyAuthorization.test.ts +19 -5
|
@@ -91,7 +91,7 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
91
91
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
92
92
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
93
93
|
}, z.core.$strip>>>>>;
|
|
94
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
94
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
95
95
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
96
96
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
97
97
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -111,7 +111,20 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
111
111
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
112
112
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
113
113
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
114
|
-
}, z.core.$strip>]
|
|
114
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
115
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
116
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
117
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
118
|
+
init: z.ZodMiniObject<{
|
|
119
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
120
|
+
threshold: z.ZodMiniNumber<number>;
|
|
121
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
122
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
123
|
+
weight: z.ZodMiniNumber<number>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
127
|
+
}, z.core.$strict>]>]>;
|
|
115
128
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
116
129
|
}, z.core.$strip>>;
|
|
117
130
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -283,7 +296,7 @@ export declare const Domain: z.ZodMiniObject<{
|
|
|
283
296
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
284
297
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
285
298
|
}, z.core.$strip>>>>;
|
|
286
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
299
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
287
300
|
signature: z.ZodMiniObject<{
|
|
288
301
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
289
302
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -317,6 +330,18 @@ export declare const Domain: z.ZodMiniObject<{
|
|
|
317
330
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
318
331
|
}, z.core.$strip>;
|
|
319
332
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
333
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
334
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
335
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
336
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
337
|
+
threshold: z.ZodMiniNumber<number>;
|
|
338
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
339
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
340
|
+
weight: z.ZodMiniNumber<number>;
|
|
341
|
+
}, z.core.$strip>>>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
344
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
320
345
|
}, z.core.$strip>]>;
|
|
321
346
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
322
347
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -334,7 +359,7 @@ export declare const Domain: z.ZodMiniObject<{
|
|
|
334
359
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
335
360
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
336
361
|
}, z.core.$strip>>>>;
|
|
337
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
362
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
338
363
|
signature: z.ZodMiniObject<{
|
|
339
364
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
340
365
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -368,6 +393,18 @@ export declare const Domain: z.ZodMiniObject<{
|
|
|
368
393
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
369
394
|
}, z.core.$strip>;
|
|
370
395
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
396
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
397
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
398
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
399
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
400
|
+
threshold: z.ZodMiniNumber<number>;
|
|
401
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
402
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
403
|
+
weight: z.ZodMiniNumber<number>;
|
|
404
|
+
}, z.core.$strip>>>;
|
|
405
|
+
}, z.core.$strip>>;
|
|
406
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
407
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
371
408
|
}, z.core.$strip>]>;
|
|
372
409
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
373
410
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -554,7 +591,7 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
554
591
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
555
592
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
556
593
|
}, z.core.$strip>>>>;
|
|
557
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
594
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
558
595
|
signature: z.ZodMiniObject<{
|
|
559
596
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
560
597
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -588,6 +625,18 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
588
625
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
589
626
|
}, z.core.$strip>;
|
|
590
627
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
628
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
629
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
630
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
631
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
632
|
+
threshold: z.ZodMiniNumber<number>;
|
|
633
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
634
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
635
|
+
weight: z.ZodMiniNumber<number>;
|
|
636
|
+
}, z.core.$strip>>>;
|
|
637
|
+
}, z.core.$strip>>;
|
|
638
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
639
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
591
640
|
}, z.core.$strip>]>;
|
|
592
641
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
593
642
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -605,7 +654,7 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
605
654
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
606
655
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
607
656
|
}, z.core.$strip>>>>;
|
|
608
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
657
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
609
658
|
signature: z.ZodMiniObject<{
|
|
610
659
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
611
660
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -639,6 +688,18 @@ export declare const DomainToRpc: z.ZodMiniObject<{
|
|
|
639
688
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
640
689
|
}, z.core.$strip>;
|
|
641
690
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
691
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
692
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
693
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
694
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
695
|
+
threshold: z.ZodMiniNumber<number>;
|
|
696
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
697
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
698
|
+
weight: z.ZodMiniNumber<number>;
|
|
699
|
+
}, z.core.$strip>>>;
|
|
700
|
+
}, z.core.$strip>>;
|
|
701
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
702
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
642
703
|
}, z.core.$strip>]>;
|
|
643
704
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
644
705
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -815,7 +876,7 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
815
876
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
816
877
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
817
878
|
}, z.core.$strip>>>>>;
|
|
818
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
879
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
819
880
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
820
881
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
821
882
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -835,7 +896,20 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
835
896
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
836
897
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
837
898
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
838
|
-
}, z.core.$strip>]
|
|
899
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
900
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
901
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
902
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
903
|
+
init: z.ZodMiniObject<{
|
|
904
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
905
|
+
threshold: z.ZodMiniNumber<number>;
|
|
906
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
907
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
908
|
+
weight: z.ZodMiniNumber<number>;
|
|
909
|
+
}, z.core.$strip>>>;
|
|
910
|
+
}, z.core.$strip>;
|
|
911
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
912
|
+
}, z.core.$strict>]>]>;
|
|
839
913
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
840
914
|
}, z.core.$strip>>;
|
|
841
915
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1005,7 +1079,7 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1005
1079
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1006
1080
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1007
1081
|
}, z.core.$strip>>>>;
|
|
1008
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1082
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1009
1083
|
signature: z.ZodMiniObject<{
|
|
1010
1084
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1011
1085
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -1039,6 +1113,18 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1039
1113
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1040
1114
|
}, z.core.$strip>;
|
|
1041
1115
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1116
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1117
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1118
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1119
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1120
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1121
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1122
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1123
|
+
weight: z.ZodMiniNumber<number>;
|
|
1124
|
+
}, z.core.$strip>>>;
|
|
1125
|
+
}, z.core.$strip>>;
|
|
1126
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1127
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1042
1128
|
}, z.core.$strip>]>;
|
|
1043
1129
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1044
1130
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1056,7 +1142,7 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1056
1142
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1057
1143
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1058
1144
|
}, z.core.$strip>>>>;
|
|
1059
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1145
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1060
1146
|
signature: z.ZodMiniObject<{
|
|
1061
1147
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1062
1148
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -1090,6 +1176,18 @@ export declare const TransactionRequest: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1090
1176
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1091
1177
|
}, z.core.$strip>;
|
|
1092
1178
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1179
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1180
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1181
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1182
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1183
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1184
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1185
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1186
|
+
weight: z.ZodMiniNumber<number>;
|
|
1187
|
+
}, z.core.$strip>>>;
|
|
1188
|
+
}, z.core.$strip>>;
|
|
1189
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1190
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1093
1191
|
}, z.core.$strip>]>;
|
|
1094
1192
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1095
1193
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1266,7 +1364,7 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1266
1364
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1267
1365
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1268
1366
|
}, z.core.$strip>>>>>;
|
|
1269
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1367
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1270
1368
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1271
1369
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1272
1370
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -1286,7 +1384,20 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1286
1384
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1287
1385
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1288
1386
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1289
|
-
}, z.core.$strip>]
|
|
1387
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1388
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1389
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
1390
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
1391
|
+
init: z.ZodMiniObject<{
|
|
1392
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1393
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1394
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1395
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1396
|
+
weight: z.ZodMiniNumber<number>;
|
|
1397
|
+
}, z.core.$strip>>>;
|
|
1398
|
+
}, z.core.$strip>;
|
|
1399
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[], readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelopeRpc[]>>>;
|
|
1400
|
+
}, z.core.$strict>]>]>;
|
|
1290
1401
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
1291
1402
|
}, z.core.$strip>>;
|
|
1292
1403
|
keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1456,7 +1567,7 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1456
1567
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1457
1568
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1458
1569
|
}, z.core.$strip>>>>;
|
|
1459
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1570
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1460
1571
|
signature: z.ZodMiniObject<{
|
|
1461
1572
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1462
1573
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -1490,6 +1601,18 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1490
1601
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1491
1602
|
}, z.core.$strip>;
|
|
1492
1603
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1604
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1605
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1606
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1607
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1608
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1609
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1610
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1611
|
+
weight: z.ZodMiniNumber<number>;
|
|
1612
|
+
}, z.core.$strip>>>;
|
|
1613
|
+
}, z.core.$strip>>;
|
|
1614
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1615
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1493
1616
|
}, z.core.$strip>]>;
|
|
1494
1617
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1495
1618
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1507,7 +1630,7 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1507
1630
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
1508
1631
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
1509
1632
|
}, z.core.$strip>>>>;
|
|
1510
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1633
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1511
1634
|
signature: z.ZodMiniObject<{
|
|
1512
1635
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1513
1636
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -1541,6 +1664,18 @@ export declare const TransactionRequestToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
1541
1664
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1542
1665
|
}, z.core.$strip>;
|
|
1543
1666
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1667
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1668
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1669
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1670
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1671
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1672
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1673
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1674
|
+
weight: z.ZodMiniNumber<number>;
|
|
1675
|
+
}, z.core.$strip>>>;
|
|
1676
|
+
}, z.core.$strip>>;
|
|
1677
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1678
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
1544
1679
|
}, z.core.$strip>]>;
|
|
1545
1680
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
1546
1681
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionRequest.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/TransactionRequest.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAwD7B,4CAA4C;AAC5C,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"TransactionRequest.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/TransactionRequest.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAwD7B,4CAA4C;AAC5C,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCd,CAAA;AAgBF,gDAAgD;AAChD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCjB,CAAA;AAEF,+FAA+F;AAC/F,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqCtB,CAAA;AAEF,kFAAkF;AAClF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG7B,CAAA;AAEF,sFAAsF;AACtF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGlC,CAAA"}
|
|
@@ -155,7 +155,7 @@ export declare const TxEnvelopeTempo: z.ZodMiniObject<{
|
|
|
155
155
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
156
156
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
157
157
|
}, z.core.$strip>>>>;
|
|
158
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
158
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
159
159
|
signature: z.ZodMiniObject<{
|
|
160
160
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
161
161
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -189,6 +189,18 @@ export declare const TxEnvelopeTempo: z.ZodMiniObject<{
|
|
|
189
189
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
190
190
|
}, z.core.$strip>;
|
|
191
191
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
192
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
193
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
194
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
195
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
196
|
+
threshold: z.ZodMiniNumber<number>;
|
|
197
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
198
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
199
|
+
weight: z.ZodMiniNumber<number>;
|
|
200
|
+
}, z.core.$strip>>>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
203
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
192
204
|
}, z.core.$strip>]>;
|
|
193
205
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
194
206
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -206,7 +218,7 @@ export declare const TxEnvelopeTempo: z.ZodMiniObject<{
|
|
|
206
218
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
207
219
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
208
220
|
}, z.core.$strip>>>>;
|
|
209
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
221
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
210
222
|
signature: z.ZodMiniObject<{
|
|
211
223
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
212
224
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -240,6 +252,18 @@ export declare const TxEnvelopeTempo: z.ZodMiniObject<{
|
|
|
240
252
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
241
253
|
}, z.core.$strip>;
|
|
242
254
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
255
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
256
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
257
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
258
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
259
|
+
threshold: z.ZodMiniNumber<number>;
|
|
260
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
261
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
262
|
+
weight: z.ZodMiniNumber<number>;
|
|
263
|
+
}, z.core.$strip>>>;
|
|
264
|
+
}, z.core.$strip>>;
|
|
265
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
266
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
243
267
|
}, z.core.$strip>]>;
|
|
244
268
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
245
269
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -400,7 +424,7 @@ export declare const Signed: z.ZodMiniObject<{
|
|
|
400
424
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
401
425
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
402
426
|
}, z.core.$strip>>>>;
|
|
403
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
427
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
404
428
|
signature: z.ZodMiniObject<{
|
|
405
429
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
406
430
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -434,6 +458,18 @@ export declare const Signed: z.ZodMiniObject<{
|
|
|
434
458
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
435
459
|
}, z.core.$strip>;
|
|
436
460
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
461
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
462
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
463
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
464
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
465
|
+
threshold: z.ZodMiniNumber<number>;
|
|
466
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
467
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
468
|
+
weight: z.ZodMiniNumber<number>;
|
|
469
|
+
}, z.core.$strip>>>;
|
|
470
|
+
}, z.core.$strip>>;
|
|
471
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
472
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
437
473
|
}, z.core.$strip>]>;
|
|
438
474
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
439
475
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -451,7 +487,7 @@ export declare const Signed: z.ZodMiniObject<{
|
|
|
451
487
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
452
488
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
453
489
|
}, z.core.$strip>>>>;
|
|
454
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
490
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
455
491
|
signature: z.ZodMiniObject<{
|
|
456
492
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
457
493
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -485,6 +521,18 @@ export declare const Signed: z.ZodMiniObject<{
|
|
|
485
521
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
486
522
|
}, z.core.$strip>;
|
|
487
523
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
524
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
525
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
526
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
527
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
528
|
+
threshold: z.ZodMiniNumber<number>;
|
|
529
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
530
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
531
|
+
weight: z.ZodMiniNumber<number>;
|
|
532
|
+
}, z.core.$strip>>>;
|
|
533
|
+
}, z.core.$strip>>;
|
|
534
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
535
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
488
536
|
}, z.core.$strip>]>;
|
|
489
537
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
490
538
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -645,7 +693,7 @@ export declare const serialized: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${st
|
|
|
645
693
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
646
694
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
647
695
|
}, z.core.$strip>>>>;
|
|
648
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
696
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
649
697
|
signature: z.ZodMiniObject<{
|
|
650
698
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
651
699
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -679,6 +727,18 @@ export declare const serialized: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${st
|
|
|
679
727
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
680
728
|
}, z.core.$strip>;
|
|
681
729
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
730
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
731
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
732
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
733
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
734
|
+
threshold: z.ZodMiniNumber<number>;
|
|
735
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
736
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
737
|
+
weight: z.ZodMiniNumber<number>;
|
|
738
|
+
}, z.core.$strip>>>;
|
|
739
|
+
}, z.core.$strip>>;
|
|
740
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
741
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
682
742
|
}, z.core.$strip>]>;
|
|
683
743
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
684
744
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -696,7 +756,7 @@ export declare const serialized: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${st
|
|
|
696
756
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
697
757
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
698
758
|
}, z.core.$strip>>>>;
|
|
699
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
759
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
700
760
|
signature: z.ZodMiniObject<{
|
|
701
761
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
702
762
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -730,6 +790,18 @@ export declare const serialized: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${st
|
|
|
730
790
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
731
791
|
}, z.core.$strip>;
|
|
732
792
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
793
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
794
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
795
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
796
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
797
|
+
threshold: z.ZodMiniNumber<number>;
|
|
798
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
799
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
800
|
+
weight: z.ZodMiniNumber<number>;
|
|
801
|
+
}, z.core.$strip>>>;
|
|
802
|
+
}, z.core.$strip>>;
|
|
803
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
804
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
733
805
|
}, z.core.$strip>]>;
|
|
734
806
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
735
807
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TxEnvelopeTempo.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/TxEnvelopeTempo.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAY7B,8CAA8C;AAC9C,eAAO,MAAM,IAAI,2BAAqB,CAAA;AAEtC,qCAAqC;AACrC,eAAO,MAAM,IAAI;;;;iBAIf,CAAA;AAqBF,yCAAyC;AACzC,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"TxEnvelopeTempo.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/TxEnvelopeTempo.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAY7B,8CAA8C;AAC9C,eAAO,MAAM,IAAI,2BAAqB,CAAA;AAEtC,qCAAqC;AACrC,eAAO,MAAM,IAAI;;;;iBAIf,CAAA;AAqBF,yCAAyC;AACzC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG1B,CAAA;AAEF,gDAAgD;AAChD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjB,CAAA;AAEF,yFAAyF;AACzF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASrB,CAAA"}
|