ox 1.7.2 → 1.7.5

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.
Files changed (142) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/core/AbiEvent.d.ts.map +1 -1
  3. package/dist/core/AbiEvent.js +10 -9
  4. package/dist/core/AbiEvent.js.map +1 -1
  5. package/dist/core/Blobs.d.ts.map +1 -1
  6. package/dist/core/Blobs.js +6 -2
  7. package/dist/core/Blobs.js.map +1 -1
  8. package/dist/core/Signature.d.ts +6 -5
  9. package/dist/core/Signature.d.ts.map +1 -1
  10. package/dist/core/Signature.js +17 -7
  11. package/dist/core/Signature.js.map +1 -1
  12. package/dist/core/Siwe.d.ts.map +1 -1
  13. package/dist/core/Siwe.js +21 -1
  14. package/dist/core/Siwe.js.map +1 -1
  15. package/dist/tempo/KeyAuthorization.d.ts +43 -39
  16. package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
  17. package/dist/tempo/KeyAuthorization.js +24 -4
  18. package/dist/tempo/KeyAuthorization.js.map +1 -1
  19. package/dist/tempo/MultisigConfig.d.ts +18 -15
  20. package/dist/tempo/MultisigConfig.d.ts.map +1 -1
  21. package/dist/tempo/MultisigConfig.js +49 -20
  22. package/dist/tempo/MultisigConfig.js.map +1 -1
  23. package/dist/tempo/MultisigOperation.d.ts +45 -28
  24. package/dist/tempo/MultisigOperation.d.ts.map +1 -1
  25. package/dist/tempo/MultisigOperation.js +81 -131
  26. package/dist/tempo/MultisigOperation.js.map +1 -1
  27. package/dist/tempo/MultisigSimulation.d.ts +85 -0
  28. package/dist/tempo/MultisigSimulation.d.ts.map +1 -0
  29. package/dist/tempo/MultisigSimulation.js +112 -0
  30. package/dist/tempo/MultisigSimulation.js.map +1 -0
  31. package/dist/tempo/RpcSchemaTempo.d.ts +20 -10
  32. package/dist/tempo/RpcSchemaTempo.d.ts.map +1 -1
  33. package/dist/tempo/SignatureEnvelope.d.ts +74 -153
  34. package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
  35. package/dist/tempo/SignatureEnvelope.js +130 -187
  36. package/dist/tempo/SignatureEnvelope.js.map +1 -1
  37. package/dist/tempo/TransactionRequest.d.ts +9 -7
  38. package/dist/tempo/TransactionRequest.d.ts.map +1 -1
  39. package/dist/tempo/TransactionRequest.js +12 -7
  40. package/dist/tempo/TransactionRequest.js.map +1 -1
  41. package/dist/tempo/index.d.ts +7 -5
  42. package/dist/tempo/index.d.ts.map +1 -1
  43. package/dist/tempo/index.js +7 -5
  44. package/dist/tempo/index.js.map +1 -1
  45. package/dist/zod/tempo/AuthorizationTempo.d.ts +360 -140
  46. package/dist/zod/tempo/AuthorizationTempo.d.ts.map +1 -1
  47. package/dist/zod/tempo/KeyAuthorization.d.ts +247 -487
  48. package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
  49. package/dist/zod/tempo/KeyAuthorization.js +29 -31
  50. package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
  51. package/dist/zod/tempo/MultisigOperation.d.ts +0 -10
  52. package/dist/zod/tempo/MultisigOperation.d.ts.map +1 -1
  53. package/dist/zod/tempo/MultisigOperation.js +0 -3
  54. package/dist/zod/tempo/MultisigOperation.js.map +1 -1
  55. package/dist/zod/tempo/MultisigSimulation.d.ts +52 -0
  56. package/dist/zod/tempo/MultisigSimulation.d.ts.map +1 -0
  57. package/dist/zod/tempo/MultisigSimulation.js +44 -0
  58. package/dist/zod/tempo/MultisigSimulation.js.map +1 -0
  59. package/dist/zod/tempo/RpcSchemaTempo.d.ts +357 -422
  60. package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
  61. package/dist/zod/tempo/RpcSchemaTempo.js +19 -10
  62. package/dist/zod/tempo/RpcSchemaTempo.js.map +1 -1
  63. package/dist/zod/tempo/SignatureEnvelope.d.ts +108 -42
  64. package/dist/zod/tempo/SignatureEnvelope.d.ts.map +1 -1
  65. package/dist/zod/tempo/SignatureEnvelope.js +21 -19
  66. package/dist/zod/tempo/SignatureEnvelope.js.map +1 -1
  67. package/dist/zod/tempo/Transaction.d.ts +678 -666
  68. package/dist/zod/tempo/Transaction.d.ts.map +1 -1
  69. package/dist/zod/tempo/TransactionRequest.d.ts +580 -619
  70. package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
  71. package/dist/zod/tempo/TransactionRequest.js +18 -10
  72. package/dist/zod/tempo/TransactionRequest.js.map +1 -1
  73. package/dist/zod/tempo/TxEnvelopeTempo.d.ts +327 -213
  74. package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
  75. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts +105 -3
  76. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts.map +1 -1
  77. package/dist/zod/tempo/z.d.ts +1 -1
  78. package/dist/zod/tempo/z.d.ts.map +1 -1
  79. package/dist/zod/tempo/z.js +1 -1
  80. package/dist/zod/tempo/z.js.map +1 -1
  81. package/package.json +9 -9
  82. package/src/core/AbiEvent.ts +11 -9
  83. package/src/core/Blobs.ts +6 -2
  84. package/src/core/Signature.ts +41 -11
  85. package/src/core/Siwe.ts +20 -1
  86. package/src/core/_test/AbiEvent.test.ts +45 -0
  87. package/src/core/_test/Blobs.test.ts +22 -0
  88. package/src/core/_test/Signature.test.ts +166 -0
  89. package/src/core/_test/Siwe.test.ts +100 -1
  90. package/src/tempo/AuthorizationTempo.test.ts +8 -0
  91. package/src/tempo/KeyAuthorization.test-d.ts +16 -74
  92. package/src/tempo/KeyAuthorization.test.ts +113 -14
  93. package/src/tempo/KeyAuthorization.ts +110 -66
  94. package/src/tempo/MultisigConfig.test.ts +44 -20
  95. package/src/tempo/MultisigConfig.ts +65 -23
  96. package/src/tempo/MultisigOperation.test-d.ts +8 -6
  97. package/src/tempo/MultisigOperation.test.ts +187 -591
  98. package/src/tempo/MultisigOperation.ts +129 -205
  99. package/src/tempo/MultisigSimulation.test-d.ts +33 -0
  100. package/src/tempo/MultisigSimulation.test.ts +194 -0
  101. package/src/tempo/MultisigSimulation.ts +192 -0
  102. package/src/tempo/RpcSchemaTempo.test-d.ts +45 -10
  103. package/src/tempo/RpcSchemaTempo.ts +15 -6
  104. package/src/tempo/SignatureEnvelope.test-d.ts +27 -101
  105. package/src/tempo/SignatureEnvelope.test.ts +330 -533
  106. package/src/tempo/SignatureEnvelope.ts +198 -310
  107. package/src/tempo/Transaction.test.ts +61 -0
  108. package/src/tempo/TransactionRequest.test-d.ts +7 -7
  109. package/src/tempo/TransactionRequest.test.ts +81 -223
  110. package/src/tempo/TransactionRequest.ts +34 -13
  111. package/src/tempo/index.ts +7 -5
  112. package/src/tempo/multisig.e2e.test.ts +329 -818
  113. package/src/version.ts +1 -1
  114. package/src/zod/tempo/KeyAuthorization.ts +50 -39
  115. package/src/zod/tempo/MultisigOperation.ts +0 -3
  116. package/src/zod/tempo/MultisigSimulation.ts +53 -0
  117. package/src/zod/tempo/RpcSchemaTempo.ts +20 -10
  118. package/src/zod/tempo/SignatureEnvelope.ts +46 -59
  119. package/src/zod/tempo/TransactionRequest.ts +28 -14
  120. package/src/zod/tempo/_test/KeyAuthorization.test.ts +66 -30
  121. package/src/zod/tempo/_test/MultisigOperation.test.ts +0 -2
  122. package/src/zod/tempo/_test/MultisigSimulation.test-d.ts +13 -0
  123. package/src/zod/tempo/_test/MultisigSimulation.test.ts +53 -0
  124. package/src/zod/tempo/_test/RpcSchemaTempo.test-d.ts +19 -2
  125. package/src/zod/tempo/_test/RpcSchemaTempo.test.ts +46 -4
  126. package/src/zod/tempo/_test/SignatureEnvelope.test.ts +108 -129
  127. package/src/zod/tempo/_test/TransactionRequest.test.ts +17 -168
  128. package/src/zod/tempo/z.ts +1 -1
  129. package/dist/tempo/MultisigWitness.d.ts +0 -106
  130. package/dist/tempo/MultisigWitness.d.ts.map +0 -1
  131. package/dist/tempo/MultisigWitness.js +0 -118
  132. package/dist/tempo/MultisigWitness.js.map +0 -1
  133. package/dist/zod/tempo/MultisigWitness.d.ts +0 -152
  134. package/dist/zod/tempo/MultisigWitness.d.ts.map +0 -1
  135. package/dist/zod/tempo/MultisigWitness.js +0 -76
  136. package/dist/zod/tempo/MultisigWitness.js.map +0 -1
  137. package/src/tempo/MultisigWitness.test-d.ts +0 -42
  138. package/src/tempo/MultisigWitness.test.ts +0 -288
  139. package/src/tempo/MultisigWitness.ts +0 -210
  140. package/src/zod/tempo/MultisigWitness.ts +0 -101
  141. package/src/zod/tempo/_test/MultisigWitness.test-d.ts +0 -13
  142. package/src/zod/tempo/_test/MultisigWitness.test.ts +0 -149
@@ -32,7 +32,7 @@ export declare const Rpc: z.ZodMiniObject<{
32
32
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
33
33
  isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
34
34
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
35
- keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
35
+ keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
36
36
  limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
37
37
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
38
38
  period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -58,19 +58,7 @@ 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>]>, z.ZodMiniObject<{
62
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
63
- config: z.ZodMiniObject<{
64
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
65
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
66
- weight: z.ZodMiniNumber<number>;
67
- }, z.core.$strip>>>;
68
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
69
- threshold: z.ZodMiniNumber<number>;
70
- version: z.ZodMiniTemplateLiteral<`0x${string}`>;
71
- }, z.core.$strip>;
72
- 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[]>>>;
73
- }, z.core.$strict>]>;
61
+ }, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
74
62
  witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
75
63
  }, z.core.$strip>;
76
64
  /** Token spending limit schema. */
@@ -91,10 +79,10 @@ export declare const Scope: z.ZodMiniObject<{
91
79
  recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
92
80
  selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
93
81
  }, z.core.$strip>;
94
- /** Decoded key authorization schema (TIP-1049 admin fields are paired: both or neither). */
95
- export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
96
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
97
- isAdmin: z.ZodMiniBoolean<boolean>;
82
+ /** Decoded key authorization schema. */
83
+ export declare const Domain: z.ZodMiniObject<{
84
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
85
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
98
86
  address: z.ZodMiniTemplateLiteral<`0x${string}`>;
99
87
  chainId: z.ZodMiniBigInt<bigint>;
100
88
  expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -153,144 +141,50 @@ export declare const Domain: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
153
141
  threshold: z.ZodMiniNumber<number>;
154
142
  version: z.ZodMiniBigInt<bigint>;
155
143
  }, 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>>>;
144
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
145
+ signature: z.ZodMiniObject<{
146
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
147
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
148
+ yParity: z.ZodMiniNumber<number>;
149
+ }, z.core.$strip>;
150
+ type: z.ZodMiniLiteral<"secp256k1">;
151
+ }, z.core.$strip>, z.ZodMiniObject<{
152
+ prehash: z.ZodMiniBoolean<boolean>;
153
+ publicKey: z.ZodMiniObject<{
154
+ prefix: z.ZodMiniNumber<number>;
155
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
156
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
157
+ }, z.core.$strip>;
158
+ signature: z.ZodMiniObject<{
159
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
160
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
161
+ }, z.core.$strip>;
162
+ type: z.ZodMiniLiteral<"p256">;
163
+ }, z.core.$strip>, z.ZodMiniObject<{
164
+ metadata: z.ZodMiniObject<{
165
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
166
+ clientDataJSON: z.ZodMiniString<string>;
167
+ }, z.core.$strip>;
168
+ publicKey: z.ZodMiniObject<{
169
+ prefix: z.ZodMiniNumber<number>;
170
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
171
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
172
+ }, z.core.$strip>;
173
+ signature: z.ZodMiniObject<{
174
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
175
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
176
+ }, z.core.$strip>;
177
+ type: z.ZodMiniLiteral<"webAuthn">;
178
+ }, z.core.$strip>]>>>;
157
179
  type: z.ZodMiniLiteral<"multisig">;
158
180
  }, z.core.$strip>]>;
159
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
181
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
160
182
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
161
- }, z.core.$strip>, z.ZodMiniObject<{
162
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
163
- chainId: z.ZodMiniBigInt<bigint>;
164
- expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
165
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
166
- limit: z.ZodMiniBigInt<bigint>;
167
- period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
168
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
169
- }, z.core.$strip>>>>;
170
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
171
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
172
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
173
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
174
- }, z.core.$strip>>>>;
175
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
176
- signature: z.ZodMiniObject<{
177
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
178
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
179
- yParity: z.ZodMiniNumber<number>;
180
- }, z.core.$strip>;
181
- type: z.ZodMiniLiteral<"secp256k1">;
182
- }, z.core.$strip>, z.ZodMiniObject<{
183
- prehash: z.ZodMiniBoolean<boolean>;
184
- publicKey: z.ZodMiniObject<{
185
- prefix: z.ZodMiniNumber<number>;
186
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
187
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
188
- }, z.core.$strip>;
189
- signature: z.ZodMiniObject<{
190
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
191
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
192
- }, z.core.$strip>;
193
- type: z.ZodMiniLiteral<"p256">;
194
- }, z.core.$strip>, z.ZodMiniObject<{
195
- metadata: z.ZodMiniObject<{
196
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
197
- clientDataJSON: z.ZodMiniString<string>;
198
- }, z.core.$strip>;
199
- publicKey: z.ZodMiniObject<{
200
- prefix: z.ZodMiniNumber<number>;
201
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
202
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
203
- }, z.core.$strip>;
204
- signature: z.ZodMiniObject<{
205
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
206
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
207
- }, z.core.$strip>;
208
- type: z.ZodMiniLiteral<"webAuthn">;
209
- }, z.core.$strip>]>, z.ZodMiniObject<{
210
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
211
- config: z.ZodMiniObject<{
212
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
213
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
214
- weight: z.ZodMiniNumber<number>;
215
- }, z.core.$strip>>>;
216
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
217
- threshold: z.ZodMiniNumber<number>;
218
- version: z.ZodMiniBigInt<bigint>;
219
- }, z.core.$strip>;
220
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
221
- type: z.ZodMiniLiteral<"multisig">;
222
- }, z.core.$strip>]>;
223
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
224
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
225
- }, z.core.$strip>]>;
183
+ }, z.core.$strip>;
226
184
  /** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
227
- export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
228
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
229
- isAdmin: z.ZodMiniBoolean<boolean>;
230
- chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
231
- expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
232
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
233
- limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
234
- period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
235
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
236
- }, z.core.$strip>>>>;
237
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
238
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
239
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
240
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
241
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
242
- }, z.core.$strip>>>>;
243
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
244
- signature: z.ZodMiniObject<{
245
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
246
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
247
- yParity: z.ZodMiniNumber<number>;
248
- }, z.core.$strip>;
249
- type: z.ZodMiniLiteral<"secp256k1">;
250
- }, z.core.$strip>, z.ZodMiniObject<{
251
- prehash: z.ZodMiniBoolean<boolean>;
252
- publicKey: z.ZodMiniObject<{
253
- prefix: z.ZodMiniNumber<number>;
254
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
255
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
256
- }, z.core.$strip>;
257
- signature: z.ZodMiniObject<{
258
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
259
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
260
- }, z.core.$strip>;
261
- type: z.ZodMiniLiteral<"p256">;
262
- }, z.core.$strip>, z.ZodMiniObject<{
263
- metadata: z.ZodMiniObject<{
264
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
265
- clientDataJSON: z.ZodMiniString<string>;
266
- }, z.core.$strip>;
267
- publicKey: z.ZodMiniObject<{
268
- prefix: z.ZodMiniNumber<number>;
269
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
270
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
271
- }, z.core.$strip>;
272
- signature: z.ZodMiniObject<{
273
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
274
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
275
- }, z.core.$strip>;
276
- type: z.ZodMiniLiteral<"webAuthn">;
277
- }, z.core.$strip>]>, z.ZodMiniObject<{
278
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
279
- config: z.ZodMiniObject<{
280
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
281
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
282
- weight: z.ZodMiniNumber<number>;
283
- }, z.core.$strip>>>;
284
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
285
- threshold: z.ZodMiniNumber<number>;
286
- version: z.ZodMiniBigInt<bigint>;
287
- }, z.core.$strip>;
288
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
289
- type: z.ZodMiniLiteral<"multisig">;
290
- }, z.core.$strip>]>;
291
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
292
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
293
- }, z.core.$strip>, z.ZodMiniObject<{
185
+ export declare const DomainToRpc: z.ZodMiniObject<{
186
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
187
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
294
188
  chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
295
189
  expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
296
190
  limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
@@ -349,12 +243,46 @@ export declare const DomainToRpc: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
349
243
  threshold: z.ZodMiniNumber<number>;
350
244
  version: z.ZodMiniBigInt<bigint>;
351
245
  }, z.core.$strip>;
352
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
246
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
247
+ signature: z.ZodMiniObject<{
248
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
249
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
250
+ yParity: z.ZodMiniNumber<number>;
251
+ }, z.core.$strip>;
252
+ type: z.ZodMiniLiteral<"secp256k1">;
253
+ }, z.core.$strip>, z.ZodMiniObject<{
254
+ prehash: z.ZodMiniBoolean<boolean>;
255
+ publicKey: z.ZodMiniObject<{
256
+ prefix: z.ZodMiniNumber<number>;
257
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
258
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
259
+ }, z.core.$strip>;
260
+ signature: z.ZodMiniObject<{
261
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
262
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
263
+ }, z.core.$strip>;
264
+ type: z.ZodMiniLiteral<"p256">;
265
+ }, z.core.$strip>, z.ZodMiniObject<{
266
+ metadata: z.ZodMiniObject<{
267
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
268
+ clientDataJSON: z.ZodMiniString<string>;
269
+ }, z.core.$strip>;
270
+ publicKey: z.ZodMiniObject<{
271
+ prefix: z.ZodMiniNumber<number>;
272
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
273
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
274
+ }, z.core.$strip>;
275
+ signature: z.ZodMiniObject<{
276
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
277
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
278
+ }, z.core.$strip>;
279
+ type: z.ZodMiniLiteral<"webAuthn">;
280
+ }, z.core.$strip>]>>>;
353
281
  type: z.ZodMiniLiteral<"multisig">;
354
282
  }, z.core.$strip>]>;
355
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
283
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
356
284
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
357
- }, z.core.$strip>]>;
285
+ }, z.core.$strip>;
358
286
  /** Codec decoding an RPC key authorization into a signed key authorization. */
359
287
  export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
360
288
  account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -369,7 +297,7 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
369
297
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
370
298
  isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
371
299
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
372
- keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
300
+ keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
373
301
  limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
374
302
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
375
303
  period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -395,87 +323,11 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
395
323
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
396
324
  type: z.ZodMiniLiteral<"webAuthn">;
397
325
  webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
398
- }, z.core.$strip>]>, z.ZodMiniObject<{
399
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
400
- config: z.ZodMiniObject<{
401
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
402
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
403
- weight: z.ZodMiniNumber<number>;
404
- }, z.core.$strip>>>;
405
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
406
- threshold: z.ZodMiniNumber<number>;
407
- version: z.ZodMiniTemplateLiteral<`0x${string}`>;
408
- }, z.core.$strip>;
409
- 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[]>>>;
410
- }, z.core.$strict>]>;
326
+ }, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
411
327
  witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
412
- }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
413
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
414
- isAdmin: z.ZodMiniBoolean<boolean>;
415
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
416
- chainId: z.ZodMiniBigInt<bigint>;
417
- expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
418
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
419
- limit: z.ZodMiniBigInt<bigint>;
420
- period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
421
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
422
- }, z.core.$strip>>>>;
423
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
424
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
425
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
426
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
427
- }, z.core.$strip>>>>;
428
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
429
- signature: z.ZodMiniObject<{
430
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
431
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
432
- yParity: z.ZodMiniNumber<number>;
433
- }, z.core.$strip>;
434
- type: z.ZodMiniLiteral<"secp256k1">;
435
- }, z.core.$strip>, z.ZodMiniObject<{
436
- prehash: z.ZodMiniBoolean<boolean>;
437
- publicKey: z.ZodMiniObject<{
438
- prefix: z.ZodMiniNumber<number>;
439
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
440
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
441
- }, z.core.$strip>;
442
- signature: z.ZodMiniObject<{
443
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
444
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
445
- }, z.core.$strip>;
446
- type: z.ZodMiniLiteral<"p256">;
447
- }, z.core.$strip>, z.ZodMiniObject<{
448
- metadata: z.ZodMiniObject<{
449
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
450
- clientDataJSON: z.ZodMiniString<string>;
451
- }, z.core.$strip>;
452
- publicKey: z.ZodMiniObject<{
453
- prefix: z.ZodMiniNumber<number>;
454
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
455
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
456
- }, z.core.$strip>;
457
- signature: z.ZodMiniObject<{
458
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
459
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
460
- }, z.core.$strip>;
461
- type: z.ZodMiniLiteral<"webAuthn">;
462
- }, z.core.$strip>]>, z.ZodMiniObject<{
463
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
464
- config: z.ZodMiniObject<{
465
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
466
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
467
- weight: z.ZodMiniNumber<number>;
468
- }, z.core.$strip>>>;
469
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
470
- threshold: z.ZodMiniNumber<number>;
471
- version: z.ZodMiniBigInt<bigint>;
472
- }, z.core.$strip>;
473
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
474
- type: z.ZodMiniLiteral<"multisig">;
475
- }, z.core.$strip>]>;
476
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
477
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
478
328
  }, z.core.$strip>, z.ZodMiniObject<{
329
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
330
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
479
331
  address: z.ZodMiniTemplateLiteral<`0x${string}`>;
480
332
  chainId: z.ZodMiniBigInt<bigint>;
481
333
  expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -534,12 +386,46 @@ export declare const KeyAuthorization: z.ZodMiniCodec<z.ZodMiniObject<{
534
386
  threshold: z.ZodMiniNumber<number>;
535
387
  version: z.ZodMiniBigInt<bigint>;
536
388
  }, z.core.$strip>;
537
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
389
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
390
+ signature: z.ZodMiniObject<{
391
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
392
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
393
+ yParity: z.ZodMiniNumber<number>;
394
+ }, z.core.$strip>;
395
+ type: z.ZodMiniLiteral<"secp256k1">;
396
+ }, z.core.$strip>, z.ZodMiniObject<{
397
+ prehash: z.ZodMiniBoolean<boolean>;
398
+ publicKey: z.ZodMiniObject<{
399
+ prefix: z.ZodMiniNumber<number>;
400
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
401
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
402
+ }, z.core.$strip>;
403
+ signature: z.ZodMiniObject<{
404
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
405
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
406
+ }, z.core.$strip>;
407
+ type: z.ZodMiniLiteral<"p256">;
408
+ }, z.core.$strip>, z.ZodMiniObject<{
409
+ metadata: z.ZodMiniObject<{
410
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
411
+ clientDataJSON: z.ZodMiniString<string>;
412
+ }, z.core.$strip>;
413
+ publicKey: z.ZodMiniObject<{
414
+ prefix: z.ZodMiniNumber<number>;
415
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
416
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
417
+ }, z.core.$strip>;
418
+ signature: z.ZodMiniObject<{
419
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
420
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
421
+ }, z.core.$strip>;
422
+ type: z.ZodMiniLiteral<"webAuthn">;
423
+ }, z.core.$strip>]>>>;
538
424
  type: z.ZodMiniLiteral<"multisig">;
539
425
  }, z.core.$strip>]>;
540
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
426
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
541
427
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
542
- }, z.core.$strip>]>>;
428
+ }, z.core.$strip>>;
543
429
  /** Encode-only key authorization codec accepting numberish `toRpc` inputs. */
544
430
  export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
545
431
  account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -554,7 +440,7 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
554
440
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
555
441
  isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
556
442
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
557
- keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
443
+ keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
558
444
  limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
559
445
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
560
446
  period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -580,87 +466,11 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
580
466
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
581
467
  type: z.ZodMiniLiteral<"webAuthn">;
582
468
  webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
583
- }, z.core.$strip>]>, z.ZodMiniObject<{
584
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
585
- config: z.ZodMiniObject<{
586
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
587
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
588
- weight: z.ZodMiniNumber<number>;
589
- }, z.core.$strip>>>;
590
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
591
- threshold: z.ZodMiniNumber<number>;
592
- version: z.ZodMiniTemplateLiteral<`0x${string}`>;
593
- }, z.core.$strip>;
594
- 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[]>>>;
595
- }, z.core.$strict>]>;
469
+ }, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
596
470
  witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
597
- }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
598
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
599
- isAdmin: z.ZodMiniBoolean<boolean>;
600
- chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
601
- expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
602
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
603
- limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
604
- period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
605
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
606
- }, z.core.$strip>>>>;
607
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
608
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
609
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
610
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
611
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
612
- }, z.core.$strip>>>>;
613
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
614
- signature: z.ZodMiniObject<{
615
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
616
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
617
- yParity: z.ZodMiniNumber<number>;
618
- }, z.core.$strip>;
619
- type: z.ZodMiniLiteral<"secp256k1">;
620
- }, z.core.$strip>, z.ZodMiniObject<{
621
- prehash: z.ZodMiniBoolean<boolean>;
622
- publicKey: z.ZodMiniObject<{
623
- prefix: z.ZodMiniNumber<number>;
624
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
625
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
626
- }, z.core.$strip>;
627
- signature: z.ZodMiniObject<{
628
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
629
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
630
- }, z.core.$strip>;
631
- type: z.ZodMiniLiteral<"p256">;
632
- }, z.core.$strip>, z.ZodMiniObject<{
633
- metadata: z.ZodMiniObject<{
634
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
635
- clientDataJSON: z.ZodMiniString<string>;
636
- }, z.core.$strip>;
637
- publicKey: z.ZodMiniObject<{
638
- prefix: z.ZodMiniNumber<number>;
639
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
640
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
641
- }, z.core.$strip>;
642
- signature: z.ZodMiniObject<{
643
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
644
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
645
- }, z.core.$strip>;
646
- type: z.ZodMiniLiteral<"webAuthn">;
647
- }, z.core.$strip>]>, z.ZodMiniObject<{
648
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
649
- config: z.ZodMiniObject<{
650
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
651
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
652
- weight: z.ZodMiniNumber<number>;
653
- }, z.core.$strip>>>;
654
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
655
- threshold: z.ZodMiniNumber<number>;
656
- version: z.ZodMiniBigInt<bigint>;
657
- }, z.core.$strip>;
658
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
659
- type: z.ZodMiniLiteral<"multisig">;
660
- }, z.core.$strip>]>;
661
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
662
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
663
471
  }, z.core.$strip>, z.ZodMiniObject<{
472
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
473
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
664
474
  chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
665
475
  expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
666
476
  limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
@@ -719,12 +529,46 @@ export declare const KeyAuthorizationToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
719
529
  threshold: z.ZodMiniNumber<number>;
720
530
  version: z.ZodMiniBigInt<bigint>;
721
531
  }, z.core.$strip>;
722
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
532
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
533
+ signature: z.ZodMiniObject<{
534
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
535
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
536
+ yParity: z.ZodMiniNumber<number>;
537
+ }, z.core.$strip>;
538
+ type: z.ZodMiniLiteral<"secp256k1">;
539
+ }, z.core.$strip>, z.ZodMiniObject<{
540
+ prehash: z.ZodMiniBoolean<boolean>;
541
+ publicKey: z.ZodMiniObject<{
542
+ prefix: z.ZodMiniNumber<number>;
543
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
544
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
545
+ }, z.core.$strip>;
546
+ signature: z.ZodMiniObject<{
547
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
548
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
549
+ }, z.core.$strip>;
550
+ type: z.ZodMiniLiteral<"p256">;
551
+ }, z.core.$strip>, z.ZodMiniObject<{
552
+ metadata: z.ZodMiniObject<{
553
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
554
+ clientDataJSON: z.ZodMiniString<string>;
555
+ }, z.core.$strip>;
556
+ publicKey: z.ZodMiniObject<{
557
+ prefix: z.ZodMiniNumber<number>;
558
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
559
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
560
+ }, z.core.$strip>;
561
+ signature: z.ZodMiniObject<{
562
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
563
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
564
+ }, z.core.$strip>;
565
+ type: z.ZodMiniLiteral<"webAuthn">;
566
+ }, z.core.$strip>]>>>;
723
567
  type: z.ZodMiniLiteral<"multisig">;
724
568
  }, z.core.$strip>]>;
725
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
569
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
726
570
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
727
- }, z.core.$strip>]>>;
571
+ }, z.core.$strip>>;
728
572
  /** Signed key authorization schema. */
729
573
  export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
730
574
  account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -739,7 +583,7 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
739
583
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
740
584
  isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
741
585
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
742
- keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
586
+ keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
743
587
  limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
744
588
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
745
589
  period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -765,87 +609,11 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
765
609
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
766
610
  type: z.ZodMiniLiteral<"webAuthn">;
767
611
  webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
768
- }, z.core.$strip>]>, z.ZodMiniObject<{
769
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
770
- config: z.ZodMiniObject<{
771
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
772
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
773
- weight: z.ZodMiniNumber<number>;
774
- }, z.core.$strip>>>;
775
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
776
- threshold: z.ZodMiniNumber<number>;
777
- version: z.ZodMiniTemplateLiteral<`0x${string}`>;
778
- }, z.core.$strip>;
779
- 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[]>>>;
780
- }, z.core.$strict>]>;
612
+ }, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
781
613
  witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
782
- }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
783
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
784
- isAdmin: z.ZodMiniBoolean<boolean>;
785
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
786
- chainId: z.ZodMiniBigInt<bigint>;
787
- expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
788
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
789
- limit: z.ZodMiniBigInt<bigint>;
790
- period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
791
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
792
- }, z.core.$strip>>>>;
793
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
794
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
795
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
796
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
797
- }, z.core.$strip>>>>;
798
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
799
- signature: z.ZodMiniObject<{
800
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
801
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
802
- yParity: z.ZodMiniNumber<number>;
803
- }, z.core.$strip>;
804
- type: z.ZodMiniLiteral<"secp256k1">;
805
- }, z.core.$strip>, z.ZodMiniObject<{
806
- prehash: z.ZodMiniBoolean<boolean>;
807
- publicKey: z.ZodMiniObject<{
808
- prefix: z.ZodMiniNumber<number>;
809
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
810
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
811
- }, z.core.$strip>;
812
- signature: z.ZodMiniObject<{
813
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
814
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
815
- }, z.core.$strip>;
816
- type: z.ZodMiniLiteral<"p256">;
817
- }, z.core.$strip>, z.ZodMiniObject<{
818
- metadata: z.ZodMiniObject<{
819
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
820
- clientDataJSON: z.ZodMiniString<string>;
821
- }, z.core.$strip>;
822
- publicKey: z.ZodMiniObject<{
823
- prefix: z.ZodMiniNumber<number>;
824
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
825
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
826
- }, z.core.$strip>;
827
- signature: z.ZodMiniObject<{
828
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
829
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
830
- }, z.core.$strip>;
831
- type: z.ZodMiniLiteral<"webAuthn">;
832
- }, z.core.$strip>]>, z.ZodMiniObject<{
833
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
834
- config: z.ZodMiniObject<{
835
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
836
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
837
- weight: z.ZodMiniNumber<number>;
838
- }, z.core.$strip>>>;
839
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
840
- threshold: z.ZodMiniNumber<number>;
841
- version: z.ZodMiniBigInt<bigint>;
842
- }, z.core.$strip>;
843
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
844
- type: z.ZodMiniLiteral<"multisig">;
845
- }, z.core.$strip>]>;
846
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
847
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
848
614
  }, z.core.$strip>, z.ZodMiniObject<{
615
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
616
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
849
617
  address: z.ZodMiniTemplateLiteral<`0x${string}`>;
850
618
  chainId: z.ZodMiniBigInt<bigint>;
851
619
  expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -904,12 +672,46 @@ export declare const Signed: z.ZodMiniCodec<z.ZodMiniObject<{
904
672
  threshold: z.ZodMiniNumber<number>;
905
673
  version: z.ZodMiniBigInt<bigint>;
906
674
  }, z.core.$strip>;
907
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
675
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
676
+ signature: z.ZodMiniObject<{
677
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
678
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
679
+ yParity: z.ZodMiniNumber<number>;
680
+ }, z.core.$strip>;
681
+ type: z.ZodMiniLiteral<"secp256k1">;
682
+ }, z.core.$strip>, z.ZodMiniObject<{
683
+ prehash: z.ZodMiniBoolean<boolean>;
684
+ publicKey: z.ZodMiniObject<{
685
+ prefix: z.ZodMiniNumber<number>;
686
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
687
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
688
+ }, z.core.$strip>;
689
+ signature: z.ZodMiniObject<{
690
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
691
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
692
+ }, z.core.$strip>;
693
+ type: z.ZodMiniLiteral<"p256">;
694
+ }, z.core.$strip>, z.ZodMiniObject<{
695
+ metadata: z.ZodMiniObject<{
696
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
697
+ clientDataJSON: z.ZodMiniString<string>;
698
+ }, z.core.$strip>;
699
+ publicKey: z.ZodMiniObject<{
700
+ prefix: z.ZodMiniNumber<number>;
701
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
702
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
703
+ }, z.core.$strip>;
704
+ signature: z.ZodMiniObject<{
705
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
706
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
707
+ }, z.core.$strip>;
708
+ type: z.ZodMiniLiteral<"webAuthn">;
709
+ }, z.core.$strip>]>>>;
908
710
  type: z.ZodMiniLiteral<"multisig">;
909
711
  }, z.core.$strip>]>;
910
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
712
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
911
713
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
912
- }, z.core.$strip>]>>;
714
+ }, z.core.$strip>>;
913
715
  /** Encode-only signed key authorization schema accepting numberish `toRpc` inputs. */
914
716
  export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
915
717
  account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -924,7 +726,7 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
924
726
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
925
727
  isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
926
728
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
927
- keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
729
+ keyType: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
928
730
  limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
929
731
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
930
732
  period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
@@ -950,87 +752,11 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
950
752
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
951
753
  type: z.ZodMiniLiteral<"webAuthn">;
952
754
  webauthnData: z.ZodMiniTemplateLiteral<`0x${string}`>;
953
- }, z.core.$strip>]>, z.ZodMiniObject<{
954
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
955
- config: z.ZodMiniObject<{
956
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
957
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
958
- weight: z.ZodMiniNumber<number>;
959
- }, z.core.$strip>>>;
960
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
961
- threshold: z.ZodMiniNumber<number>;
962
- version: z.ZodMiniTemplateLiteral<`0x${string}`>;
963
- }, z.core.$strip>;
964
- 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[]>>>;
965
- }, z.core.$strict>]>;
755
+ }, z.core.$strip>]>, z.ZodMiniTemplateLiteral<`0x${string}`>]>;
966
756
  witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
967
- }, z.core.$strip>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
968
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
969
- isAdmin: z.ZodMiniBoolean<boolean>;
970
- chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
971
- expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
972
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
973
- limit: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
974
- period: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
975
- token: z.ZodMiniTemplateLiteral<`0x${string}`>;
976
- }, z.core.$strip>>>>;
977
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
978
- scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
979
- address: z.ZodMiniTemplateLiteral<`0x${string}`>;
980
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
981
- selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
982
- }, z.core.$strip>>>>;
983
- signature: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
984
- signature: z.ZodMiniObject<{
985
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
986
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
987
- yParity: z.ZodMiniNumber<number>;
988
- }, z.core.$strip>;
989
- type: z.ZodMiniLiteral<"secp256k1">;
990
- }, z.core.$strip>, z.ZodMiniObject<{
991
- prehash: z.ZodMiniBoolean<boolean>;
992
- publicKey: z.ZodMiniObject<{
993
- prefix: z.ZodMiniNumber<number>;
994
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
995
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
996
- }, z.core.$strip>;
997
- signature: z.ZodMiniObject<{
998
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
999
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1000
- }, z.core.$strip>;
1001
- type: z.ZodMiniLiteral<"p256">;
1002
- }, z.core.$strip>, z.ZodMiniObject<{
1003
- metadata: z.ZodMiniObject<{
1004
- authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1005
- clientDataJSON: z.ZodMiniString<string>;
1006
- }, z.core.$strip>;
1007
- publicKey: z.ZodMiniObject<{
1008
- prefix: z.ZodMiniNumber<number>;
1009
- x: z.ZodMiniTemplateLiteral<`0x${string}`>;
1010
- y: z.ZodMiniTemplateLiteral<`0x${string}`>;
1011
- }, z.core.$strip>;
1012
- signature: z.ZodMiniObject<{
1013
- r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1014
- s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1015
- }, z.core.$strip>;
1016
- type: z.ZodMiniLiteral<"webAuthn">;
1017
- }, z.core.$strip>]>, z.ZodMiniObject<{
1018
- account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1019
- config: z.ZodMiniObject<{
1020
- owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1021
- owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
1022
- weight: z.ZodMiniNumber<number>;
1023
- }, z.core.$strip>>>;
1024
- salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
1025
- threshold: z.ZodMiniNumber<number>;
1026
- version: z.ZodMiniBigInt<bigint>;
1027
- }, z.core.$strip>;
1028
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
1029
- type: z.ZodMiniLiteral<"multisig">;
1030
- }, z.core.$strip>]>;
1031
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
1032
- witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1033
757
  }, z.core.$strip>, z.ZodMiniObject<{
758
+ account: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
759
+ isAdmin: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
1034
760
  chainId: z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>;
1035
761
  expiry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>;
1036
762
  limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
@@ -1089,10 +815,44 @@ export declare const SignedToRpc: z.ZodMiniCodec<z.ZodMiniObject<{
1089
815
  threshold: z.ZodMiniNumber<number>;
1090
816
  version: z.ZodMiniBigInt<bigint>;
1091
817
  }, z.core.$strip>;
1092
- signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
818
+ signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
819
+ signature: z.ZodMiniObject<{
820
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
821
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
822
+ yParity: z.ZodMiniNumber<number>;
823
+ }, z.core.$strip>;
824
+ type: z.ZodMiniLiteral<"secp256k1">;
825
+ }, z.core.$strip>, z.ZodMiniObject<{
826
+ prehash: z.ZodMiniBoolean<boolean>;
827
+ publicKey: z.ZodMiniObject<{
828
+ prefix: z.ZodMiniNumber<number>;
829
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
830
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
831
+ }, z.core.$strip>;
832
+ signature: z.ZodMiniObject<{
833
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
834
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
835
+ }, z.core.$strip>;
836
+ type: z.ZodMiniLiteral<"p256">;
837
+ }, z.core.$strip>, z.ZodMiniObject<{
838
+ metadata: z.ZodMiniObject<{
839
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
840
+ clientDataJSON: z.ZodMiniString<string>;
841
+ }, z.core.$strip>;
842
+ publicKey: z.ZodMiniObject<{
843
+ prefix: z.ZodMiniNumber<number>;
844
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
845
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
846
+ }, z.core.$strip>;
847
+ signature: z.ZodMiniObject<{
848
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
849
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
850
+ }, z.core.$strip>;
851
+ type: z.ZodMiniLiteral<"webAuthn">;
852
+ }, z.core.$strip>]>>>;
1093
853
  type: z.ZodMiniLiteral<"multisig">;
1094
854
  }, z.core.$strip>]>;
1095
- type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
855
+ type: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>, z.ZodMiniLiteral<"multisig">]>;
1096
856
  witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1097
- }, z.core.$strip>]>>;
857
+ }, z.core.$strip>>;
1098
858
  //# sourceMappingURL=KeyAuthorization.d.ts.map