ox 1.6.1 → 1.6.3
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/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/WithdrawalSenderTag.d.ts +9 -3
- package/dist/tempo/WithdrawalSenderTag.d.ts.map +1 -1
- package/dist/tempo/WithdrawalSenderTag.js +15 -5
- package/dist/tempo/WithdrawalSenderTag.js.map +1 -1
- package/dist/tempo/index.d.ts +5 -4
- package/dist/tempo/index.d.ts.map +1 -1
- package/dist/tempo/index.js +5 -4
- package/dist/tempo/index.js.map +1 -1
- 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/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/WithdrawalSenderTag.test-d.ts +1 -0
- package/src/tempo/WithdrawalSenderTag.test.ts +13 -9
- package/src/tempo/WithdrawalSenderTag.ts +25 -6
- package/src/tempo/index.ts +5 -4
- 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
package/dist/tempo/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tempo/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,2DAA2D;AAE3D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,KAAK,kBAAkB,MAAM,yBAAyB,CAAA;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,OAAO,KAAK,gBAAgB,MAAM,uBAAuB,CAAA;AACzD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,KAAK,MAAM,M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MAAM,yBAAyB,CAAA;AAC7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAA;AACvD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA;AACrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,mBAAmB,MAAM,0BAA0B,CAAA;AAE/D;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,KAAK,qBAAqB,MAAM,4BAA4B,CAAA"}
|
|
@@ -38,7 +38,7 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
38
38
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
39
39
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
40
40
|
}, z.core.$strip>>>>>;
|
|
41
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
41
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
42
42
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
43
43
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
44
44
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -58,7 +58,20 @@ export declare const Rpc: z.ZodMiniObject<{
|
|
|
58
58
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
59
59
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
60
60
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
61
|
-
}, z.core.$strip>]
|
|
61
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
62
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
63
|
+
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[]>>>;
|
|
64
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
65
|
+
init: z.ZodMiniObject<{
|
|
66
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
67
|
+
threshold: z.ZodMiniNumber<number>;
|
|
68
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
69
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
70
|
+
weight: z.ZodMiniNumber<number>;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
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[]>>>;
|
|
74
|
+
}, z.core.$strict>]>]>;
|
|
62
75
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
63
76
|
}, z.core.$strip>;
|
|
64
77
|
/** Token spending limit schema. */
|
|
@@ -96,7 +109,7 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
96
109
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
97
110
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
98
111
|
}, z.core.$strip>>>>;
|
|
99
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
112
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
100
113
|
signature: z.ZodMiniObject<{
|
|
101
114
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
102
115
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -130,6 +143,18 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
130
143
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
131
144
|
}, z.core.$strip>;
|
|
132
145
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
146
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
147
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
148
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
149
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
150
|
+
threshold: z.ZodMiniNumber<number>;
|
|
151
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
152
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
153
|
+
weight: z.ZodMiniNumber<number>;
|
|
154
|
+
}, z.core.$strip>>>;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
157
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
133
158
|
}, z.core.$strip>]>;
|
|
134
159
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
135
160
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -147,7 +172,7 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
147
172
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
148
173
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
149
174
|
}, z.core.$strip>>>>;
|
|
150
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
175
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
151
176
|
signature: z.ZodMiniObject<{
|
|
152
177
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
153
178
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -181,6 +206,18 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
181
206
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
182
207
|
}, z.core.$strip>;
|
|
183
208
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
209
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
210
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
211
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
212
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
213
|
+
threshold: z.ZodMiniNumber<number>;
|
|
214
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
215
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
216
|
+
weight: z.ZodMiniNumber<number>;
|
|
217
|
+
}, z.core.$strip>>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
219
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
220
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
184
221
|
}, z.core.$strip>]>;
|
|
185
222
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
186
223
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -202,7 +239,7 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
202
239
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
203
240
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
204
241
|
}, z.core.$strip>>>>;
|
|
205
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
242
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
206
243
|
signature: z.ZodMiniObject<{
|
|
207
244
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
208
245
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -236,6 +273,18 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
236
273
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
237
274
|
}, z.core.$strip>;
|
|
238
275
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
276
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
277
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
278
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
279
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
280
|
+
threshold: z.ZodMiniNumber<number>;
|
|
281
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
282
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
283
|
+
weight: z.ZodMiniNumber<number>;
|
|
284
|
+
}, z.core.$strip>>>;
|
|
285
|
+
}, z.core.$strip>>;
|
|
286
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
287
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
239
288
|
}, z.core.$strip>]>;
|
|
240
289
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
241
290
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -253,7 +302,7 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
253
302
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
254
303
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
255
304
|
}, z.core.$strip>>>>;
|
|
256
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
305
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
257
306
|
signature: z.ZodMiniObject<{
|
|
258
307
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
259
308
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -287,6 +336,18 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
|
287
336
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
288
337
|
}, z.core.$strip>;
|
|
289
338
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
339
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
340
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
341
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
342
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
343
|
+
threshold: z.ZodMiniNumber<number>;
|
|
344
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
345
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
346
|
+
weight: z.ZodMiniNumber<number>;
|
|
347
|
+
}, z.core.$strip>>>;
|
|
348
|
+
}, z.core.$strip>>;
|
|
349
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
350
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
290
351
|
}, z.core.$strip>]>;
|
|
291
352
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
292
353
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -311,7 +372,7 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
311
372
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
312
373
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
313
374
|
}, z.core.$strip>>>>>;
|
|
314
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
375
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
315
376
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
316
377
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
317
378
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -331,7 +392,20 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
331
392
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
332
393
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
333
394
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
334
|
-
}, z.core.$strip>]
|
|
395
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
396
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
397
|
+
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[]>>>;
|
|
398
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
399
|
+
init: z.ZodMiniObject<{
|
|
400
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
401
|
+
threshold: z.ZodMiniNumber<number>;
|
|
402
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
403
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
404
|
+
weight: z.ZodMiniNumber<number>;
|
|
405
|
+
}, z.core.$strip>>>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
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[]>>>;
|
|
408
|
+
}, z.core.$strict>]>]>;
|
|
335
409
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
336
410
|
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
337
411
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -349,7 +423,7 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
349
423
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
350
424
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
351
425
|
}, z.core.$strip>>>>;
|
|
352
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
426
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
353
427
|
signature: z.ZodMiniObject<{
|
|
354
428
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
355
429
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -383,6 +457,18 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
383
457
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
384
458
|
}, z.core.$strip>;
|
|
385
459
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
460
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
461
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
462
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
463
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
464
|
+
threshold: z.ZodMiniNumber<number>;
|
|
465
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
466
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
467
|
+
weight: z.ZodMiniNumber<number>;
|
|
468
|
+
}, z.core.$strip>>>;
|
|
469
|
+
}, z.core.$strip>>;
|
|
470
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
471
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
386
472
|
}, z.core.$strip>]>;
|
|
387
473
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
388
474
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -400,7 +486,7 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
400
486
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
401
487
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
402
488
|
}, z.core.$strip>>>>;
|
|
403
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
489
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
404
490
|
signature: z.ZodMiniObject<{
|
|
405
491
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
406
492
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -434,6 +520,18 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
434
520
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
435
521
|
}, z.core.$strip>;
|
|
436
522
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
523
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
524
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
525
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
526
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
527
|
+
threshold: z.ZodMiniNumber<number>;
|
|
528
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
529
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
530
|
+
weight: z.ZodMiniNumber<number>;
|
|
531
|
+
}, z.core.$strip>>>;
|
|
532
|
+
}, z.core.$strip>>;
|
|
533
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
534
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
437
535
|
}, z.core.$strip>]>;
|
|
438
536
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
439
537
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -458,7 +556,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
458
556
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
459
557
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
460
558
|
}, z.core.$strip>>>>>;
|
|
461
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
559
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
462
560
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
463
561
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
464
562
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -478,7 +576,20 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
478
576
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
479
577
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
480
578
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
481
|
-
}, z.core.$strip>]
|
|
579
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
580
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
581
|
+
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[]>>>;
|
|
582
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
583
|
+
init: z.ZodMiniObject<{
|
|
584
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
585
|
+
threshold: z.ZodMiniNumber<number>;
|
|
586
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
587
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
588
|
+
weight: z.ZodMiniNumber<number>;
|
|
589
|
+
}, z.core.$strip>>>;
|
|
590
|
+
}, z.core.$strip>;
|
|
591
|
+
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[]>>>;
|
|
592
|
+
}, z.core.$strict>]>]>;
|
|
482
593
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
483
594
|
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
484
595
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -496,7 +607,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
496
607
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
497
608
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
498
609
|
}, z.core.$strip>>>>;
|
|
499
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
610
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
500
611
|
signature: z.ZodMiniObject<{
|
|
501
612
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
502
613
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -530,6 +641,18 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
530
641
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
531
642
|
}, z.core.$strip>;
|
|
532
643
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
644
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
645
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
646
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
647
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
648
|
+
threshold: z.ZodMiniNumber<number>;
|
|
649
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
650
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
651
|
+
weight: z.ZodMiniNumber<number>;
|
|
652
|
+
}, z.core.$strip>>>;
|
|
653
|
+
}, z.core.$strip>>;
|
|
654
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
655
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
533
656
|
}, z.core.$strip>]>;
|
|
534
657
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
535
658
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -547,7 +670,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
547
670
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
548
671
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
549
672
|
}, z.core.$strip>>>>;
|
|
550
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
673
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
551
674
|
signature: z.ZodMiniObject<{
|
|
552
675
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
553
676
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -581,6 +704,18 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
581
704
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
582
705
|
}, z.core.$strip>;
|
|
583
706
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
707
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
708
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
709
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
710
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
711
|
+
threshold: z.ZodMiniNumber<number>;
|
|
712
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
713
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
714
|
+
weight: z.ZodMiniNumber<number>;
|
|
715
|
+
}, z.core.$strip>>>;
|
|
716
|
+
}, z.core.$strip>>;
|
|
717
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
718
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
584
719
|
}, z.core.$strip>]>;
|
|
585
720
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
586
721
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -605,7 +740,7 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
605
740
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
606
741
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
607
742
|
}, z.core.$strip>>>>>;
|
|
608
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
743
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
609
744
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
610
745
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
611
746
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -625,7 +760,20 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
625
760
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
626
761
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
627
762
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
628
|
-
}, z.core.$strip>]
|
|
763
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
764
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
765
|
+
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[]>>>;
|
|
766
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
767
|
+
init: z.ZodMiniObject<{
|
|
768
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
769
|
+
threshold: z.ZodMiniNumber<number>;
|
|
770
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
771
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
772
|
+
weight: z.ZodMiniNumber<number>;
|
|
773
|
+
}, z.core.$strip>>>;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
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[]>>>;
|
|
776
|
+
}, z.core.$strict>]>]>;
|
|
629
777
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
630
778
|
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
631
779
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -643,7 +791,7 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
643
791
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
644
792
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
645
793
|
}, z.core.$strip>>>>;
|
|
646
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
794
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
647
795
|
signature: z.ZodMiniObject<{
|
|
648
796
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
649
797
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -677,6 +825,18 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
677
825
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
678
826
|
}, z.core.$strip>;
|
|
679
827
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
828
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
829
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
830
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
831
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
832
|
+
threshold: z.ZodMiniNumber<number>;
|
|
833
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
834
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
835
|
+
weight: z.ZodMiniNumber<number>;
|
|
836
|
+
}, z.core.$strip>>>;
|
|
837
|
+
}, z.core.$strip>>;
|
|
838
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
839
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
680
840
|
}, z.core.$strip>]>;
|
|
681
841
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
682
842
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -694,7 +854,7 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
694
854
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
695
855
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
696
856
|
}, z.core.$strip>>>>;
|
|
697
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
857
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
698
858
|
signature: z.ZodMiniObject<{
|
|
699
859
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
700
860
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -728,6 +888,18 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
728
888
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
729
889
|
}, z.core.$strip>;
|
|
730
890
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
891
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
892
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
893
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
894
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
895
|
+
threshold: z.ZodMiniNumber<number>;
|
|
896
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
897
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
898
|
+
weight: z.ZodMiniNumber<number>;
|
|
899
|
+
}, z.core.$strip>>>;
|
|
900
|
+
}, z.core.$strip>>;
|
|
901
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
902
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
731
903
|
}, z.core.$strip>]>;
|
|
732
904
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
733
905
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -752,7 +924,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
752
924
|
period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
753
925
|
token: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
754
926
|
}, z.core.$strip>>>>>;
|
|
755
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
927
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
756
928
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
757
929
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
758
930
|
type: z.ZodMiniLiteral<"secp256k1">;
|
|
@@ -772,7 +944,20 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
772
944
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
773
945
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
774
946
|
webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
775
|
-
}, z.core.$strip>]
|
|
947
|
+
}, z.core.$strip>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
948
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
949
|
+
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[]>>>;
|
|
950
|
+
}, z.core.$strict>, z.ZodMiniObject<{
|
|
951
|
+
init: z.ZodMiniObject<{
|
|
952
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
953
|
+
threshold: z.ZodMiniNumber<number>;
|
|
954
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
955
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
956
|
+
weight: z.ZodMiniNumber<number>;
|
|
957
|
+
}, z.core.$strip>>>;
|
|
958
|
+
}, z.core.$strip>;
|
|
959
|
+
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[]>>>;
|
|
960
|
+
}, z.core.$strict>]>]>;
|
|
776
961
|
witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
|
|
777
962
|
}, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
778
963
|
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -790,7 +975,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
790
975
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
791
976
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
792
977
|
}, z.core.$strip>>>>;
|
|
793
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
978
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
794
979
|
signature: z.ZodMiniObject<{
|
|
795
980
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
796
981
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -824,6 +1009,18 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
824
1009
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
825
1010
|
}, z.core.$strip>;
|
|
826
1011
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1012
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1013
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1014
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1015
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1016
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1017
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1018
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1019
|
+
weight: z.ZodMiniNumber<number>;
|
|
1020
|
+
}, z.core.$strip>>>;
|
|
1021
|
+
}, z.core.$strip>>;
|
|
1022
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1023
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
827
1024
|
}, z.core.$strip>]>;
|
|
828
1025
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
829
1026
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -841,7 +1038,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
841
1038
|
recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
|
|
842
1039
|
selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
|
|
843
1040
|
}, z.core.$strip>>>>;
|
|
844
|
-
signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
1041
|
+
signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
845
1042
|
signature: z.ZodMiniObject<{
|
|
846
1043
|
r: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
847
1044
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
@@ -875,6 +1072,18 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
|
|
|
875
1072
|
s: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
876
1073
|
}, z.core.$strip>;
|
|
877
1074
|
type: z.ZodMiniLiteral<"webAuthn">;
|
|
1075
|
+
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
1076
|
+
account: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1077
|
+
init: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
1078
|
+
salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
1079
|
+
threshold: z.ZodMiniNumber<number>;
|
|
1080
|
+
owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
|
|
1081
|
+
owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
|
|
1082
|
+
weight: z.ZodMiniNumber<number>;
|
|
1083
|
+
}, z.core.$strip>>>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
1085
|
+
signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
|
|
1086
|
+
type: z.ZodMiniLiteral<"multisig">;
|
|
878
1087
|
}, z.core.$strip>]>;
|
|
879
1088
|
type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
|
|
880
1089
|
witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyAuthorization.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"KeyAuthorization.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAa7B,uCAAuC;AACvC,eAAO,MAAM,aAAa;;;;iBAIxB,CAAA;AAEF,gCAAgC;AAChC,eAAO,MAAM,eAAe;;;iBAG1B,CAAA;AAEF,6BAA6B;AAC7B,eAAO,MAAM,YAAY;;;;;;iBAGvB,CAAA;AAEF,oCAAoC;AACpC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAWd,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAmB,CAAA;AAEtC,sFAAsF;AACtF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAwB,CAAA"}
|
|
@@ -5,6 +5,14 @@ import * as z_Hex from '../Hex.js';
|
|
|
5
5
|
import { uintBigintNumberish, uintNumberNumberish, } from '../internal/Integer.js';
|
|
6
6
|
import * as z from 'zod/mini';
|
|
7
7
|
import * as z_SignatureEnvelope from './SignatureEnvelope.js';
|
|
8
|
+
const SignatureRpc = z.union([
|
|
9
|
+
z_SignatureEnvelope.PrimitiveRpc,
|
|
10
|
+
z_SignatureEnvelope.MultisigRpc,
|
|
11
|
+
]);
|
|
12
|
+
const Signature = z.union([
|
|
13
|
+
z_SignatureEnvelope.Primitive,
|
|
14
|
+
z_SignatureEnvelope.Multisig,
|
|
15
|
+
]);
|
|
8
16
|
/** RPC token spending limit schema. */
|
|
9
17
|
export const RpcTokenLimit = z.object({
|
|
10
18
|
limit: z_Hex.Hex,
|
|
@@ -31,7 +39,7 @@ export const Rpc = z.object({
|
|
|
31
39
|
keyId: z_Address.Address,
|
|
32
40
|
keyType: z_SignatureEnvelope.Type,
|
|
33
41
|
limits: z.optional(z.nullable(z.readonly(z.array(RpcTokenLimit)))),
|
|
34
|
-
signature:
|
|
42
|
+
signature: SignatureRpc,
|
|
35
43
|
witness: z.optional(z.nullable(z_Hex.Hex)),
|
|
36
44
|
});
|
|
37
45
|
/** Token spending limit schema. */
|
|
@@ -58,7 +66,7 @@ const domainShape = {
|
|
|
58
66
|
expiry: z.optional(z.number()),
|
|
59
67
|
limits: z.optional(z.readonly(z.array(TokenLimit))),
|
|
60
68
|
scopes: z.optional(z.readonly(z.array(Scope))),
|
|
61
|
-
signature:
|
|
69
|
+
signature: Signature,
|
|
62
70
|
type: z_SignatureEnvelope.Type,
|
|
63
71
|
witness: z.optional(z_Hex.Hex),
|
|
64
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyAuthorization.js","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,WAAW,CAAA;AAClC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,KAAK,mBAAmB,MAAM,wBAAwB,CAAA;AAE7D,uCAAuC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,KAAK,CAAC,GAAG;IAChB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACzC,KAAK,EAAE,SAAS,CAAC,OAAO;CACzB,CAAC,CAAA;AAEF,gCAAgC;AAChC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1E,QAAQ,EAAE,KAAK,CAAC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