@tempoxyz/id 0.0.0-stage → 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. package/README.md +80 -2
  2. package/dist/App.d.ts +20 -0
  3. package/dist/App.d.ts.map +1 -0
  4. package/dist/App.js +26 -0
  5. package/dist/App.js.map +1 -0
  6. package/dist/app/client/.assetsignore +2 -0
  7. package/dist/app/client/assets/BRLA-CZvVDNYr.png +0 -0
  8. package/dist/app/client/assets/CHFAU-DCedc4aH.png +0 -0
  9. package/dist/app/client/assets/DLUSD-BnRXm3EI.png +0 -0
  10. package/dist/app/client/assets/PRIME-CiFp2-3e.svg +14 -0
  11. package/dist/app/client/assets/Pilat-Bold-C1t1eIrF.woff2 +0 -0
  12. package/dist/app/client/assets/Pilat-Book-CbS8ofT8.woff2 +0 -0
  13. package/dist/app/client/assets/Pilat-Demi-CADSbPAt.woff2 +0 -0
  14. package/dist/app/client/assets/Pilat-Regular-Bx8vzE7q.woff2 +0 -0
  15. package/dist/app/client/assets/USD1-COVcO_PB.svg +30 -0
  16. package/dist/app/client/assets/YLDS-CRh8Zw0g.svg +3 -0
  17. package/dist/app/client/assets/ccip-Cq1mMiVl.js +1 -0
  18. package/dist/app/client/assets/frxUSD-n9pTpinR.svg +1 -0
  19. package/dist/app/client/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  20. package/dist/app/client/assets/index-B7YJVP00.css +1 -0
  21. package/dist/app/client/assets/index-UXTxXCLk.js +55 -0
  22. package/dist/app/client/assets/pathUSD-BvaO6ooS.svg +25 -0
  23. package/dist/app/client/assets/reset-co-CHrff.css +1 -0
  24. package/dist/app/client/assets/wYLDS-CaCKDrO-.svg +10 -0
  25. package/dist/app/db/auth.d.ts +3207 -0
  26. package/dist/app/db/auth.d.ts.map +1 -0
  27. package/dist/app/db/auth.js +330 -0
  28. package/dist/app/db/auth.js.map +1 -0
  29. package/dist/app/db/schema.d.ts +932 -0
  30. package/dist/app/db/schema.d.ts.map +1 -0
  31. package/dist/app/db/schema.js +171 -0
  32. package/dist/app/db/schema.js.map +1 -0
  33. package/dist/app/server/.vite/manifest.json +489 -0
  34. package/dist/app/server/assets/BRLA-CZvVDNYr.png +0 -0
  35. package/dist/app/server/assets/CHFAU-DCedc4aH.png +0 -0
  36. package/dist/app/server/assets/DLUSD-BnRXm3EI.png +0 -0
  37. package/dist/app/server/assets/PRIME-CiFp2-3e.svg +14 -0
  38. package/dist/app/server/assets/Pilat-Bold-C1t1eIrF.woff2 +0 -0
  39. package/dist/app/server/assets/Pilat-Book-CbS8ofT8.woff2 +0 -0
  40. package/dist/app/server/assets/Pilat-Demi-CADSbPAt.woff2 +0 -0
  41. package/dist/app/server/assets/Pilat-Regular-Bx8vzE7q.woff2 +0 -0
  42. package/dist/app/server/assets/USD1-COVcO_PB.svg +30 -0
  43. package/dist/app/server/assets/YLDS-CRh8Zw0g.svg +3 -0
  44. package/dist/app/server/assets/_tanstack-start-manifest_v-11GtFGrq.js +1 -0
  45. package/dist/app/server/assets/arktype-aI7TBD0R-D1R3Byo5.js +2 -0
  46. package/dist/app/server/assets/arktype-aI7TBD0R-D1R3Byo5.js.map +1 -0
  47. package/dist/app/server/assets/authorize-C95F-9E1-CbESJKGU.js +31 -0
  48. package/dist/app/server/assets/authorize-C95F-9E1-CbESJKGU.js.map +1 -0
  49. package/dist/app/server/assets/bun-sqlite-dialect-DoOVo4ja-CtyBkVMb.js +2 -0
  50. package/dist/app/server/assets/bun-sqlite-dialect-DoOVo4ja-CtyBkVMb.js.map +1 -0
  51. package/dist/app/server/assets/call-UQamaCKN.js +32 -0
  52. package/dist/app/server/assets/call-UQamaCKN.js.map +1 -0
  53. package/dist/app/server/assets/ccip-CbNKFO4n.js +2 -0
  54. package/dist/app/server/assets/ccip-CbNKFO4n.js.map +1 -0
  55. package/dist/app/server/assets/compiled-query-Ds2NVcFT.js +2 -0
  56. package/dist/app/server/assets/compiled-query-Ds2NVcFT.js.map +1 -0
  57. package/dist/app/server/assets/convert-BIC8n32x.js +2 -0
  58. package/dist/app/server/assets/convert-BIC8n32x.js.map +1 -0
  59. package/dist/app/server/assets/cookie-CS900nSP.css +1 -0
  60. package/dist/app/server/assets/cookie-Cce9CrIP.js +10 -0
  61. package/dist/app/server/assets/cookie-Cce9CrIP.js.map +1 -0
  62. package/dist/app/server/assets/core-B1HCXUmx.js +56 -0
  63. package/dist/app/server/assets/core-B1HCXUmx.js.map +1 -0
  64. package/dist/app/server/assets/d1-sqlite-dialect-m0f01-4z-Cv-csE1u.js +2 -0
  65. package/dist/app/server/assets/d1-sqlite-dialect-m0f01-4z-Cv-csE1u.js.map +1 -0
  66. package/dist/app/server/assets/default-u_dwuiYb-BJJ9PwCi.js +2 -0
  67. package/dist/app/server/assets/default-u_dwuiYb-BJJ9PwCi.js.map +1 -0
  68. package/dist/app/server/assets/dist-BxSwugSY.js +1 -0
  69. package/dist/app/server/assets/dist-CZGFhmQd.js +2 -0
  70. package/dist/app/server/assets/dist-CZGFhmQd.js.map +1 -0
  71. package/dist/app/server/assets/dist-Dg3PQqiW.js +15 -0
  72. package/dist/app/server/assets/dist-Dg3PQqiW.js.map +1 -0
  73. package/dist/app/server/assets/effect-QlVUlMFu-2tSPDT2b.js +2 -0
  74. package/dist/app/server/assets/effect-QlVUlMFu-2tSPDT2b.js.map +1 -0
  75. package/dist/app/server/assets/empty-plugin-adapters-BaGcmrjC.js +2 -0
  76. package/dist/app/server/assets/empty-plugin-adapters-BaGcmrjC.js.map +1 -0
  77. package/dist/app/server/assets/factory-ipHlJXZY.js +5 -0
  78. package/dist/app/server/assets/factory-ipHlJXZY.js.map +1 -0
  79. package/dist/app/server/assets/frxUSD-n9pTpinR.svg +1 -0
  80. package/dist/app/server/assets/geist-mono-latin-wght-normal-XN7g48iV.woff2 +0 -0
  81. package/dist/app/server/assets/get-id-field-B0x109VU.js +6 -0
  82. package/dist/app/server/assets/get-id-field-B0x109VU.js.map +1 -0
  83. package/dist/app/server/assets/index-CLddUTqr-xpSuLpBt.js +2 -0
  84. package/dist/app/server/assets/index-CLddUTqr-xpSuLpBt.js.map +1 -0
  85. package/dist/app/server/assets/index-DZEfthgZ-8Uq5s5Pt.js +2 -0
  86. package/dist/app/server/assets/index-DZEfthgZ-8Uq5s5Pt.js.map +1 -0
  87. package/dist/app/server/assets/kysely-adapter-MkHAI9Jk.js +1 -0
  88. package/dist/app/server/assets/node-sqlite-dialect-BowWLXvK.js +2 -0
  89. package/dist/app/server/assets/node-sqlite-dialect-BowWLXvK.js.map +1 -0
  90. package/dist/app/server/assets/pathUSD-BvaO6ooS.svg +25 -0
  91. package/dist/app/server/assets/reset-co-CHrff.css +1 -0
  92. package/dist/app/server/assets/rolldown-runtime-B0Z9INg1.js +1 -0
  93. package/dist/app/server/assets/router-CcbyBCI4.css +1 -0
  94. package/dist/app/server/assets/router-xjZtEeaI.js +7 -0
  95. package/dist/app/server/assets/router-xjZtEeaI.js.map +1 -0
  96. package/dist/app/server/assets/schema-check-Cf7QOZZD.js +9 -0
  97. package/dist/app/server/assets/schema-check-Cf7QOZZD.js.map +1 -0
  98. package/dist/app/server/assets/schemas-C2lCYmR5.js +2 -0
  99. package/dist/app/server/assets/schemas-C2lCYmR5.js.map +1 -0
  100. package/dist/app/server/assets/secp256k1-buM5g4AL.js +2 -0
  101. package/dist/app/server/assets/secp256k1-buM5g4AL.js.map +1 -0
  102. package/dist/app/server/assets/sqlite-adapter-C_LAV4e3.js +2 -0
  103. package/dist/app/server/assets/sqlite-adapter-C_LAV4e3.js.map +1 -0
  104. package/dist/app/server/assets/sqlite-introspector-DSCAP82F-Crx7Ny14.js +6 -0
  105. package/dist/app/server/assets/sqlite-introspector-DSCAP82F-Crx7Ny14.js.map +1 -0
  106. package/dist/app/server/assets/standard-json-Cg1N07hM.js +2 -0
  107. package/dist/app/server/assets/standard-json-Cg1N07hM.js.map +1 -0
  108. package/dist/app/server/assets/standard-json-DY77efq0.js +2 -0
  109. package/dist/app/server/assets/standard-json-DY77efq0.js.map +1 -0
  110. package/dist/app/server/assets/standard-json-ig2t0wRt.js +2 -0
  111. package/dist/app/server/assets/standard-json-ig2t0wRt.js.map +1 -0
  112. package/dist/app/server/assets/standard-json-t-LNckA6.js +2 -0
  113. package/dist/app/server/assets/standard-json-t-LNckA6.js.map +1 -0
  114. package/dist/app/server/assets/standard-openapi-CONmVRl8.js +2 -0
  115. package/dist/app/server/assets/standard-openapi-CONmVRl8.js.map +1 -0
  116. package/dist/app/server/assets/start-C63VetBp.js +2 -0
  117. package/dist/app/server/assets/start-C63VetBp.js.map +1 -0
  118. package/dist/app/server/assets/sury-CWZTCd75-xt1mWc9f.js +2 -0
  119. package/dist/app/server/assets/sury-CWZTCd75-xt1mWc9f.js.map +1 -0
  120. package/dist/app/server/assets/typebox-Dei93FPO-D_lCVdAz.js +2 -0
  121. package/dist/app/server/assets/typebox-Dei93FPO-D_lCVdAz.js.map +1 -0
  122. package/dist/app/server/assets/utils-C4ZXZIZW.js +2 -0
  123. package/dist/app/server/assets/utils-C4ZXZIZW.js.map +1 -0
  124. package/dist/app/server/assets/valibot--1zFm7rT-NSoY2xTp.js +2 -0
  125. package/dist/app/server/assets/valibot--1zFm7rT-NSoY2xTp.js.map +1 -0
  126. package/dist/app/server/assets/valibot-D_HTw1Gn-CJwWeOUE.js +2 -0
  127. package/dist/app/server/assets/valibot-D_HTw1Gn-CJwWeOUE.js.map +1 -0
  128. package/dist/app/server/assets/wYLDS-CaCKDrO-.svg +10 -0
  129. package/dist/app/server/assets/zod-Bwrt9trS-CV38yPnQ.js +2 -0
  130. package/dist/app/server/assets/zod-Bwrt9trS-CV38yPnQ.js.map +1 -0
  131. package/dist/app/server/assets/zod-DSgpEGAE-BvlnBE2L.js +2 -0
  132. package/dist/app/server/assets/zod-DSgpEGAE-BvlnBE2L.js.map +1 -0
  133. package/dist/app/server/index.js +574 -0
  134. package/dist/app/server/index.js.map +1 -0
  135. package/dist/app/server/wrangler.json +1 -0
  136. package/dist/cli/Admin.d.ts +38 -0
  137. package/dist/cli/Admin.d.ts.map +1 -0
  138. package/dist/cli/Admin.js +62 -0
  139. package/dist/cli/Admin.js.map +1 -0
  140. package/dist/cli/Apps.d.ts +9 -0
  141. package/dist/cli/Apps.d.ts.map +1 -0
  142. package/dist/cli/Apps.js +36 -0
  143. package/dist/cli/Apps.js.map +1 -0
  144. package/dist/cli/Cli.d.ts +14 -0
  145. package/dist/cli/Cli.d.ts.map +1 -0
  146. package/dist/cli/Cli.js +27 -0
  147. package/dist/cli/Cli.js.map +1 -0
  148. package/dist/cli/Project.d.ts +20 -0
  149. package/dist/cli/Project.d.ts.map +1 -0
  150. package/dist/cli/Project.js +88 -0
  151. package/dist/cli/Project.js.map +1 -0
  152. package/dist/cli/Realms.d.ts +24 -0
  153. package/dist/cli/Realms.d.ts.map +1 -0
  154. package/dist/cli/Realms.js +49 -0
  155. package/dist/cli/Realms.js.map +1 -0
  156. package/dist/cli/Session.d.ts +85 -0
  157. package/dist/cli/Session.d.ts.map +1 -0
  158. package/dist/cli/Session.js +178 -0
  159. package/dist/cli/Session.js.map +1 -0
  160. package/dist/cli/User.d.ts +29 -0
  161. package/dist/cli/User.d.ts.map +1 -0
  162. package/dist/cli/User.js +39 -0
  163. package/dist/cli/User.js.map +1 -0
  164. package/dist/cli/V1.d.ts +35 -0
  165. package/dist/cli/V1.d.ts.map +1 -0
  166. package/dist/cli/V1.js +41 -0
  167. package/dist/cli/V1.js.map +1 -0
  168. package/dist/cli/bin.d.ts +3 -0
  169. package/dist/cli/bin.d.ts.map +1 -0
  170. package/dist/cli/bin.js +46 -0
  171. package/dist/cli/bin.js.map +1 -0
  172. package/dist/cli/commands/admin/apps/create.d.ts +23 -0
  173. package/dist/cli/commands/admin/apps/create.d.ts.map +1 -0
  174. package/dist/cli/commands/admin/apps/create.js +89 -0
  175. package/dist/cli/commands/admin/apps/create.js.map +1 -0
  176. package/dist/cli/commands/admin/apps/delete.d.ts +14 -0
  177. package/dist/cli/commands/admin/apps/delete.d.ts.map +1 -0
  178. package/dist/cli/commands/admin/apps/delete.js +41 -0
  179. package/dist/cli/commands/admin/apps/delete.js.map +1 -0
  180. package/dist/cli/commands/admin/apps/index.d.ts +5 -0
  181. package/dist/cli/commands/admin/apps/index.d.ts.map +1 -0
  182. package/dist/cli/commands/admin/apps/index.js +14 -0
  183. package/dist/cli/commands/admin/apps/index.js.map +1 -0
  184. package/dist/cli/commands/admin/apps/list.d.ts +9 -0
  185. package/dist/cli/commands/admin/apps/list.d.ts.map +1 -0
  186. package/dist/cli/commands/admin/apps/list.js +26 -0
  187. package/dist/cli/commands/admin/apps/list.js.map +1 -0
  188. package/dist/cli/commands/admin/apps/rotate-secret.d.ts +16 -0
  189. package/dist/cli/commands/admin/apps/rotate-secret.d.ts.map +1 -0
  190. package/dist/cli/commands/admin/apps/rotate-secret.js +47 -0
  191. package/dist/cli/commands/admin/apps/rotate-secret.js.map +1 -0
  192. package/dist/cli/commands/admin/apps/update.d.ts +20 -0
  193. package/dist/cli/commands/admin/apps/update.d.ts.map +1 -0
  194. package/dist/cli/commands/admin/apps/update.js +76 -0
  195. package/dist/cli/commands/admin/apps/update.js.map +1 -0
  196. package/dist/cli/commands/admin/index.d.ts +5 -0
  197. package/dist/cli/commands/admin/index.d.ts.map +1 -0
  198. package/dist/cli/commands/admin/index.js +13 -0
  199. package/dist/cli/commands/admin/index.js.map +1 -0
  200. package/dist/cli/commands/admin/migrate.d.ts +9 -0
  201. package/dist/cli/commands/admin/migrate.d.ts.map +1 -0
  202. package/dist/cli/commands/admin/migrate.js +17 -0
  203. package/dist/cli/commands/admin/migrate.js.map +1 -0
  204. package/dist/cli/commands/admin/realms/add.d.ts +12 -0
  205. package/dist/cli/commands/admin/realms/add.d.ts.map +1 -0
  206. package/dist/cli/commands/admin/realms/add.js +42 -0
  207. package/dist/cli/commands/admin/realms/add.js.map +1 -0
  208. package/dist/cli/commands/admin/realms/index.d.ts +5 -0
  209. package/dist/cli/commands/admin/realms/index.d.ts.map +1 -0
  210. package/dist/cli/commands/admin/realms/index.js +13 -0
  211. package/dist/cli/commands/admin/realms/index.js.map +1 -0
  212. package/dist/cli/commands/admin/realms/list.d.ts +13 -0
  213. package/dist/cli/commands/admin/realms/list.d.ts.map +1 -0
  214. package/dist/cli/commands/admin/realms/list.js +36 -0
  215. package/dist/cli/commands/admin/realms/list.js.map +1 -0
  216. package/dist/cli/commands/admin/realms/passkeys/index.d.ts +5 -0
  217. package/dist/cli/commands/admin/realms/passkeys/index.d.ts.map +1 -0
  218. package/dist/cli/commands/admin/realms/passkeys/index.js +13 -0
  219. package/dist/cli/commands/admin/realms/passkeys/index.js.map +1 -0
  220. package/dist/cli/commands/admin/realms/passkeys/set.d.ts +16 -0
  221. package/dist/cli/commands/admin/realms/passkeys/set.d.ts.map +1 -0
  222. package/dist/cli/commands/admin/realms/passkeys/set.js +46 -0
  223. package/dist/cli/commands/admin/realms/passkeys/set.js.map +1 -0
  224. package/dist/cli/commands/admin/realms/privy/index.d.ts +5 -0
  225. package/dist/cli/commands/admin/realms/privy/index.d.ts.map +1 -0
  226. package/dist/cli/commands/admin/realms/privy/index.js +13 -0
  227. package/dist/cli/commands/admin/realms/privy/index.js.map +1 -0
  228. package/dist/cli/commands/admin/realms/privy/set.d.ts +18 -0
  229. package/dist/cli/commands/admin/realms/privy/set.d.ts.map +1 -0
  230. package/dist/cli/commands/admin/realms/privy/set.js +66 -0
  231. package/dist/cli/commands/admin/realms/privy/set.js.map +1 -0
  232. package/dist/cli/commands/admin/realms/remove.d.ts +11 -0
  233. package/dist/cli/commands/admin/realms/remove.d.ts.map +1 -0
  234. package/dist/cli/commands/admin/realms/remove.js +35 -0
  235. package/dist/cli/commands/admin/realms/remove.js.map +1 -0
  236. package/dist/cli/commands/admin/realms/secp256k1/disable.d.ts +15 -0
  237. package/dist/cli/commands/admin/realms/secp256k1/disable.d.ts.map +1 -0
  238. package/dist/cli/commands/admin/realms/secp256k1/disable.js +42 -0
  239. package/dist/cli/commands/admin/realms/secp256k1/disable.js.map +1 -0
  240. package/dist/cli/commands/admin/realms/secp256k1/enable.d.ts +15 -0
  241. package/dist/cli/commands/admin/realms/secp256k1/enable.d.ts.map +1 -0
  242. package/dist/cli/commands/admin/realms/secp256k1/enable.js +42 -0
  243. package/dist/cli/commands/admin/realms/secp256k1/enable.js.map +1 -0
  244. package/dist/cli/commands/admin/realms/secp256k1/index.d.ts +9 -0
  245. package/dist/cli/commands/admin/realms/secp256k1/index.d.ts.map +1 -0
  246. package/dist/cli/commands/admin/realms/secp256k1/index.js +17 -0
  247. package/dist/cli/commands/admin/realms/secp256k1/index.js.map +1 -0
  248. package/dist/cli/commands/admin/realms/set.d.ts +16 -0
  249. package/dist/cli/commands/admin/realms/set.d.ts.map +1 -0
  250. package/dist/cli/commands/admin/realms/set.js +46 -0
  251. package/dist/cli/commands/admin/realms/set.js.map +1 -0
  252. package/dist/cli/commands/admin/rotate-key.d.ts +15 -0
  253. package/dist/cli/commands/admin/rotate-key.d.ts.map +1 -0
  254. package/dist/cli/commands/admin/rotate-key.js +46 -0
  255. package/dist/cli/commands/admin/rotate-key.js.map +1 -0
  256. package/dist/cli/commands/init.d.ts +11 -0
  257. package/dist/cli/commands/init.d.ts.map +1 -0
  258. package/dist/cli/commands/init.js +34 -0
  259. package/dist/cli/commands/init.js.map +1 -0
  260. package/dist/cli/commands/login.d.ts +12 -0
  261. package/dist/cli/commands/login.d.ts.map +1 -0
  262. package/dist/cli/commands/login.js +29 -0
  263. package/dist/cli/commands/login.js.map +1 -0
  264. package/dist/cli/commands/logout.d.ts +8 -0
  265. package/dist/cli/commands/logout.d.ts.map +1 -0
  266. package/dist/cli/commands/logout.js +19 -0
  267. package/dist/cli/commands/logout.js.map +1 -0
  268. package/dist/cli/commands/whoami.d.ts +12 -0
  269. package/dist/cli/commands/whoami.d.ts.map +1 -0
  270. package/dist/cli/commands/whoami.js +24 -0
  271. package/dist/cli/commands/whoami.js.map +1 -0
  272. package/dist/client/Actions.d.ts +101 -0
  273. package/dist/client/Actions.d.ts.map +1 -0
  274. package/dist/client/Actions.js +90 -0
  275. package/dist/client/Actions.js.map +1 -0
  276. package/dist/client/Auth.d.ts +161 -0
  277. package/dist/client/Auth.d.ts.map +1 -0
  278. package/dist/client/Auth.js +113 -0
  279. package/dist/client/Auth.js.map +1 -0
  280. package/dist/client/Authorization.d.ts +29 -0
  281. package/dist/client/Authorization.d.ts.map +1 -0
  282. package/dist/client/Authorization.js +12 -0
  283. package/dist/client/Authorization.js.map +1 -0
  284. package/dist/client/Decorator.d.ts +170 -0
  285. package/dist/client/Decorator.d.ts.map +1 -0
  286. package/dist/client/Decorator.js +227 -0
  287. package/dist/client/Decorator.js.map +1 -0
  288. package/dist/client/Key.d.ts +85 -0
  289. package/dist/client/Key.d.ts.map +1 -0
  290. package/dist/client/Key.js +83 -0
  291. package/dist/client/Key.js.map +1 -0
  292. package/dist/client/Pending.d.ts +39 -0
  293. package/dist/client/Pending.d.ts.map +1 -0
  294. package/dist/client/Pending.js +12 -0
  295. package/dist/client/Pending.js.map +1 -0
  296. package/dist/client/Permissions.d.ts +34 -0
  297. package/dist/client/Permissions.d.ts.map +1 -0
  298. package/dist/client/Permissions.js +16 -0
  299. package/dist/client/Permissions.js.map +1 -0
  300. package/dist/client/Provider.d.ts +16 -0
  301. package/dist/client/Provider.d.ts.map +1 -0
  302. package/dist/client/Provider.js +12 -0
  303. package/dist/client/Provider.js.map +1 -0
  304. package/dist/client/Step.d.ts +21 -0
  305. package/dist/client/Step.d.ts.map +1 -0
  306. package/dist/client/Step.js +16 -0
  307. package/dist/client/Step.js.map +1 -0
  308. package/dist/client/Storage.d.ts +27 -0
  309. package/dist/client/Storage.d.ts.map +1 -0
  310. package/dist/client/Storage.js +16 -0
  311. package/dist/client/Storage.js.map +1 -0
  312. package/dist/client/TempoAccount.d.ts +40 -0
  313. package/dist/client/TempoAccount.d.ts.map +1 -0
  314. package/dist/client/TempoAccount.js +16 -0
  315. package/dist/client/TempoAccount.js.map +1 -0
  316. package/dist/client/Tokens.d.ts +25 -0
  317. package/dist/client/Tokens.d.ts.map +1 -0
  318. package/dist/client/Tokens.js +12 -0
  319. package/dist/client/Tokens.js.map +1 -0
  320. package/dist/client/User.d.ts +21 -0
  321. package/dist/client/User.d.ts.map +1 -0
  322. package/dist/client/User.js +12 -0
  323. package/dist/client/User.js.map +1 -0
  324. package/dist/client/actions/account.d.ts +25 -0
  325. package/dist/client/actions/account.d.ts.map +1 -0
  326. package/dist/client/actions/account.js +34 -0
  327. package/dist/client/actions/account.js.map +1 -0
  328. package/dist/client/actions/device.d.ts +53 -0
  329. package/dist/client/actions/device.d.ts.map +1 -0
  330. package/dist/client/actions/device.js +79 -0
  331. package/dist/client/actions/device.js.map +1 -0
  332. package/dist/client/actions/email.d.ts +84 -0
  333. package/dist/client/actions/email.d.ts.map +1 -0
  334. package/dist/client/actions/email.js +63 -0
  335. package/dist/client/actions/email.js.map +1 -0
  336. package/dist/client/actions/oauth.d.ts +115 -0
  337. package/dist/client/actions/oauth.d.ts.map +1 -0
  338. package/dist/client/actions/oauth.js +105 -0
  339. package/dist/client/actions/oauth.js.map +1 -0
  340. package/dist/client/actions/passkey.d.ts +88 -0
  341. package/dist/client/actions/passkey.d.ts.map +1 -0
  342. package/dist/client/actions/passkey.js +60 -0
  343. package/dist/client/actions/passkey.js.map +1 -0
  344. package/dist/client/actions/provider.d.ts +49 -0
  345. package/dist/client/actions/provider.d.ts.map +1 -0
  346. package/dist/client/actions/provider.js +34 -0
  347. package/dist/client/actions/provider.js.map +1 -0
  348. package/dist/client/actions/realm.d.ts +24 -0
  349. package/dist/client/actions/realm.d.ts.map +1 -0
  350. package/dist/client/actions/realm.js +15 -0
  351. package/dist/client/actions/realm.js.map +1 -0
  352. package/dist/client/actions/redirect.d.ts +153 -0
  353. package/dist/client/actions/redirect.d.ts.map +1 -0
  354. package/dist/client/actions/redirect.js +236 -0
  355. package/dist/client/actions/redirect.js.map +1 -0
  356. package/dist/client/internal/accessKey.d.ts +21 -0
  357. package/dist/client/internal/accessKey.d.ts.map +1 -0
  358. package/dist/client/internal/accessKey.js +38 -0
  359. package/dist/client/internal/accessKey.js.map +1 -0
  360. package/dist/client/internal/account.d.ts +14 -0
  361. package/dist/client/internal/account.d.ts.map +1 -0
  362. package/dist/client/internal/account.js +3 -0
  363. package/dist/client/internal/account.js.map +1 -0
  364. package/dist/client/internal/api.d.ts +106 -0
  365. package/dist/client/internal/api.d.ts.map +1 -0
  366. package/dist/client/internal/api.js +129 -0
  367. package/dist/client/internal/api.js.map +1 -0
  368. package/dist/client/internal/headless.d.ts +33 -0
  369. package/dist/client/internal/headless.d.ts.map +1 -0
  370. package/dist/client/internal/headless.js +46 -0
  371. package/dist/client/internal/headless.js.map +1 -0
  372. package/dist/client/internal/indexedDb.d.ts +9 -0
  373. package/dist/client/internal/indexedDb.d.ts.map +1 -0
  374. package/dist/client/internal/indexedDb.js +32 -0
  375. package/dist/client/internal/indexedDb.js.map +1 -0
  376. package/dist/client/internal/request.d.ts +58 -0
  377. package/dist/client/internal/request.d.ts.map +1 -0
  378. package/dist/client/internal/request.js +45 -0
  379. package/dist/client/internal/request.js.map +1 -0
  380. package/dist/client/internal/store.d.ts +12 -0
  381. package/dist/client/internal/store.d.ts.map +1 -0
  382. package/dist/client/internal/store.js +15 -0
  383. package/dist/client/internal/store.js.map +1 -0
  384. package/dist/client.d.ts +20 -0
  385. package/dist/client.d.ts.map +1 -0
  386. package/dist/client.js +20 -0
  387. package/dist/client.js.map +1 -0
  388. package/dist/index.d.ts +7 -0
  389. package/dist/index.d.ts.map +1 -0
  390. package/dist/index.js +7 -0
  391. package/dist/index.js.map +1 -0
  392. package/dist/internal/Apps.d.ts +3051 -0
  393. package/dist/internal/Apps.d.ts.map +1 -0
  394. package/dist/internal/Apps.js +472 -0
  395. package/dist/internal/Apps.js.map +1 -0
  396. package/dist/internal/Auth.d.ts +4058 -0
  397. package/dist/internal/Auth.d.ts.map +1 -0
  398. package/dist/internal/Auth.js +137 -0
  399. package/dist/internal/Auth.js.map +1 -0
  400. package/dist/internal/Authorize.d.ts +532 -0
  401. package/dist/internal/Authorize.d.ts.map +1 -0
  402. package/dist/internal/Authorize.js +326 -0
  403. package/dist/internal/Authorize.js.map +1 -0
  404. package/dist/internal/Device.d.ts +371 -0
  405. package/dist/internal/Device.d.ts.map +1 -0
  406. package/dist/internal/Device.js +271 -0
  407. package/dist/internal/Device.js.map +1 -0
  408. package/dist/internal/Env.d.ts +57 -0
  409. package/dist/internal/Env.d.ts.map +1 -0
  410. package/dist/internal/Env.js +2 -0
  411. package/dist/internal/Env.js.map +1 -0
  412. package/dist/internal/ErrorResponse.d.ts +609 -0
  413. package/dist/internal/ErrorResponse.d.ts.map +1 -0
  414. package/dist/internal/ErrorResponse.js +679 -0
  415. package/dist/internal/ErrorResponse.js.map +1 -0
  416. package/dist/internal/Id.d.ts +10 -0
  417. package/dist/internal/Id.d.ts.map +1 -0
  418. package/dist/internal/Id.js +34 -0
  419. package/dist/internal/Id.js.map +1 -0
  420. package/dist/internal/KeyAuthorization.d.ts +1456 -0
  421. package/dist/internal/KeyAuthorization.d.ts.map +1 -0
  422. package/dist/internal/KeyAuthorization.js +1030 -0
  423. package/dist/internal/KeyAuthorization.js.map +1 -0
  424. package/dist/internal/Limits.d.ts +65 -0
  425. package/dist/internal/Limits.d.ts.map +1 -0
  426. package/dist/internal/Limits.js +35 -0
  427. package/dist/internal/Limits.js.map +1 -0
  428. package/dist/internal/Log.d.ts +49 -0
  429. package/dist/internal/Log.d.ts.map +1 -0
  430. package/dist/internal/Log.js +101 -0
  431. package/dist/internal/Log.js.map +1 -0
  432. package/dist/internal/LogLine.d.ts +33 -0
  433. package/dist/internal/LogLine.d.ts.map +1 -0
  434. package/dist/internal/LogLine.js +56 -0
  435. package/dist/internal/LogLine.js.map +1 -0
  436. package/dist/internal/Migrations.d.ts +19 -0
  437. package/dist/internal/Migrations.d.ts.map +1 -0
  438. package/dist/internal/Migrations.js +57 -0
  439. package/dist/internal/Migrations.js.map +1 -0
  440. package/dist/internal/Owner.d.ts +146 -0
  441. package/dist/internal/Owner.d.ts.map +1 -0
  442. package/dist/internal/Owner.js +65 -0
  443. package/dist/internal/Owner.js.map +1 -0
  444. package/dist/internal/Passkey.d.ts +528 -0
  445. package/dist/internal/Passkey.d.ts.map +1 -0
  446. package/dist/internal/Passkey.js +658 -0
  447. package/dist/internal/Passkey.js.map +1 -0
  448. package/dist/internal/PendingKey.d.ts +49 -0
  449. package/dist/internal/PendingKey.d.ts.map +1 -0
  450. package/dist/internal/PendingKey.js +58 -0
  451. package/dist/internal/PendingKey.js.map +1 -0
  452. package/dist/internal/Privy.d.ts +105 -0
  453. package/dist/internal/Privy.d.ts.map +1 -0
  454. package/dist/internal/Privy.js +224 -0
  455. package/dist/internal/Privy.js.map +1 -0
  456. package/dist/internal/RateLimit.d.ts +190 -0
  457. package/dist/internal/RateLimit.d.ts.map +1 -0
  458. package/dist/internal/RateLimit.js +148 -0
  459. package/dist/internal/RateLimit.js.map +1 -0
  460. package/dist/internal/Realm.d.ts +281 -0
  461. package/dist/internal/Realm.d.ts.map +1 -0
  462. package/dist/internal/Realm.js +477 -0
  463. package/dist/internal/Realm.js.map +1 -0
  464. package/dist/internal/RequestId.d.ts +16 -0
  465. package/dist/internal/RequestId.d.ts.map +1 -0
  466. package/dist/internal/RequestId.js +78 -0
  467. package/dist/internal/RequestId.js.map +1 -0
  468. package/dist/internal/SigningKey.d.ts +115 -0
  469. package/dist/internal/SigningKey.d.ts.map +1 -0
  470. package/dist/internal/SigningKey.js +197 -0
  471. package/dist/internal/SigningKey.js.map +1 -0
  472. package/dist/internal/TestInbox.d.ts +42 -0
  473. package/dist/internal/TestInbox.d.ts.map +1 -0
  474. package/dist/internal/TestInbox.js +20 -0
  475. package/dist/internal/TestInbox.js.map +1 -0
  476. package/dist/internal/Timing.d.ts +51 -0
  477. package/dist/internal/Timing.d.ts.map +1 -0
  478. package/dist/internal/Timing.js +103 -0
  479. package/dist/internal/Timing.js.map +1 -0
  480. package/dist/internal/Validation.d.ts +52 -0
  481. package/dist/internal/Validation.d.ts.map +1 -0
  482. package/dist/internal/Validation.js +22 -0
  483. package/dist/internal/Validation.js.map +1 -0
  484. package/dist/internal/Wallet.d.ts +37 -0
  485. package/dist/internal/Wallet.d.ts.map +1 -0
  486. package/dist/internal/Wallet.js +43 -0
  487. package/dist/internal/Wallet.js.map +1 -0
  488. package/dist/worker.d.ts +12 -0
  489. package/dist/worker.d.ts.map +1 -0
  490. package/dist/worker.js +12 -0
  491. package/dist/worker.js.map +1 -0
  492. package/package.json +79 -3
  493. package/src/Api.ts +151 -0
  494. package/src/App.ts +56 -0
  495. package/src/api/account.ts +311 -0
  496. package/src/api/authenticate.ts +1290 -0
  497. package/src/api/authorize.ts +1030 -0
  498. package/src/api/device.ts +874 -0
  499. package/src/api/health.ts +72 -0
  500. package/src/api/lib/AccountStep.ts +335 -0
  501. package/src/api/lib/Auth.ts +134 -0
  502. package/src/api/lib/Consent.ts +339 -0
  503. package/src/api/lib/Cors.ts +107 -0
  504. package/src/api/lib/Database.ts +10 -0
  505. package/src/api/lib/DeviceRequest.ts +265 -0
  506. package/src/api/lib/FirstAccount.ts +90 -0
  507. package/src/api/lib/KeySigner.ts +393 -0
  508. package/src/api/lib/PasskeyLink.ts +162 -0
  509. package/src/api/lib/Session.ts +34 -0
  510. package/src/api/lib/SignInConsent.ts +316 -0
  511. package/src/api/oauth.ts +1282 -0
  512. package/src/api/provider.ts +441 -0
  513. package/src/app/components/Button.tsx +128 -0
  514. package/src/app/components/CodeInput.tsx +186 -0
  515. package/src/app/components/ErrorMessage.tsx +66 -0
  516. package/src/app/components/Grant.tsx +323 -0
  517. package/src/app/components/Input.tsx +48 -0
  518. package/src/app/components/Tooltip.tsx +45 -0
  519. package/src/app/components/icons/BRLA.png +0 -0
  520. package/src/app/components/icons/BRZ.svg +1 -0
  521. package/src/app/components/icons/CHFAU.png +0 -0
  522. package/src/app/components/icons/DLUSD.png +0 -0
  523. package/src/app/components/icons/EURAU.svg +1 -0
  524. package/src/app/components/icons/EURC.e.svg +1 -0
  525. package/src/app/components/icons/GBPA.svg +4 -0
  526. package/src/app/components/icons/GUSD.svg +1 -0
  527. package/src/app/components/icons/MACH.svg +4 -0
  528. package/src/app/components/icons/OUSD.svg +5 -0
  529. package/src/app/components/icons/PRIME.svg +14 -0
  530. package/src/app/components/icons/SBC.svg +1 -0
  531. package/src/app/components/icons/SEKAU.svg +5 -0
  532. package/src/app/components/icons/USD1.svg +30 -0
  533. package/src/app/components/icons/USDB.svg +11 -0
  534. package/src/app/components/icons/USDC.e.svg +1 -0
  535. package/src/app/components/icons/USDT0.svg +1 -0
  536. package/src/app/components/icons/USDY.svg +16 -0
  537. package/src/app/components/icons/USDe.svg +1 -0
  538. package/src/app/components/icons/YLDS.svg +3 -0
  539. package/src/app/components/icons/alphaUSD.svg +1 -0
  540. package/src/app/components/icons/betaUSD.svg +1 -0
  541. package/src/app/components/icons/cUSD.svg +1 -0
  542. package/src/app/components/icons/cbBTC.svg +1 -0
  543. package/src/app/components/icons/frxUSD.svg +1 -0
  544. package/src/app/components/icons/goUSD.svg +5 -0
  545. package/src/app/components/icons/iUSD.svg +1 -0
  546. package/src/app/components/icons/pathUSD.svg +25 -0
  547. package/src/app/components/icons/rUSD.svg +1 -0
  548. package/src/app/components/icons/reUSD.svg +1 -0
  549. package/src/app/components/icons/sUSDe.svg +1 -0
  550. package/src/app/components/icons/siUSD.svg +1 -0
  551. package/src/app/components/icons/stcUSD.svg +1 -0
  552. package/src/app/components/icons/syrupUSDC.svg +5 -0
  553. package/src/app/components/icons/thetaUSD.svg +1 -0
  554. package/src/app/components/icons/wYLDS.svg +10 -0
  555. package/src/app/components/icons/wsrUSD.svg +1 -0
  556. package/src/app/components/logos/OUSD.dark.svg +17 -0
  557. package/src/app/components/logos/OUSD.light.svg +17 -0
  558. package/src/app/crons/cleanup.ts +42 -0
  559. package/src/app/db/auth.ts +416 -0
  560. package/src/app/db/migrations/0000_better_auth.sql +53 -0
  561. package/src/app/db/migrations/0001_oauth_provider.sql +162 -0
  562. package/src/app/db/migrations/0002_device_code.sql +17 -0
  563. package/src/app/db/migrations/0003_realms.sql +27 -0
  564. package/src/app/db/migrations/0004_default_realm.sql +2 -0
  565. package/src/app/db/migrations/0005_passkeys.sql +30 -0
  566. package/src/app/db/migrations/0006_first_accounts.sql +9 -0
  567. package/src/app/db/migrations/0007_pending_keys.sql +13 -0
  568. package/src/app/db/migrations/0008_secp256k1_owners.sql +18 -0
  569. package/src/app/db/migrations/0009_device_requests.sql +8 -0
  570. package/src/app/db/migrations/0010_device_keys.sql +4 -0
  571. package/src/app/db/migrations/meta/0000_snapshot.json +362 -0
  572. package/src/app/db/migrations/meta/0001_snapshot.json +1487 -0
  573. package/src/app/db/migrations/meta/0002_snapshot.json +1603 -0
  574. package/src/app/db/migrations/meta/0003_snapshot.json +1760 -0
  575. package/src/app/db/migrations/meta/0004_snapshot.json +1760 -0
  576. package/src/app/db/migrations/meta/0005_snapshot.json +1911 -0
  577. package/src/app/db/migrations/meta/0006_snapshot.json +1967 -0
  578. package/src/app/db/migrations/meta/0007_snapshot.json +2047 -0
  579. package/src/app/db/migrations/meta/0008_snapshot.json +2157 -0
  580. package/src/app/db/migrations/meta/0009_snapshot.json +2207 -0
  581. package/src/app/db/migrations/meta/0010_snapshot.json +2231 -0
  582. package/src/app/db/migrations/meta/_journal.json +83 -0
  583. package/src/app/db/schema.ts +218 -0
  584. package/src/app/env.ts +49 -0
  585. package/src/app/lib/Client.ts +82 -0
  586. package/src/app/lib/Loader.ts +24 -0
  587. package/src/app/package.json +8 -0
  588. package/src/app/routeTree.gen.ts +198 -0
  589. package/src/app/router.tsx +48 -0
  590. package/src/app/routes/[_].flows.tsx +3001 -0
  591. package/src/app/routes/__root.tsx +91 -0
  592. package/src/app/routes/authorize.tsx +197 -0
  593. package/src/app/routes/choose-account.tsx +111 -0
  594. package/src/app/routes/deposit.tsx +105 -0
  595. package/src/app/routes/device.tsx +227 -0
  596. package/src/app/routes/index.tsx +115 -0
  597. package/src/app/routes/login.tsx +506 -0
  598. package/src/app/screens/Account.tsx +347 -0
  599. package/src/app/screens/Approval.tsx +276 -0
  600. package/src/app/screens/ChooseAccount.tsx +240 -0
  601. package/src/app/screens/Deposit.tsx +762 -0
  602. package/src/app/screens/DeviceApproval.tsx +480 -0
  603. package/src/app/screens/SignIn.tsx +362 -0
  604. package/src/app/screens/chains/base.svg +3 -0
  605. package/src/app/screens/chains/ethereum.svg +11 -0
  606. package/src/app/screens/chains/solana.svg +4 -0
  607. package/src/app/screens/chains/tempo.svg +4 -0
  608. package/src/app/server.ts +204 -0
  609. package/src/app/vite.config.ts +95 -0
  610. package/src/app/void.config.ts +29 -0
  611. package/src/app/zyzz.config.ts +274 -0
  612. package/src/cli/Admin.ts +73 -0
  613. package/src/cli/Apps.ts +29 -0
  614. package/src/cli/Cli.ts +42 -0
  615. package/src/cli/Project.ts +117 -0
  616. package/src/cli/Realms.ts +50 -0
  617. package/src/cli/Session.ts +239 -0
  618. package/src/cli/User.ts +45 -0
  619. package/src/cli/V1.ts +57 -0
  620. package/src/cli/bin.ts +44 -0
  621. package/src/cli/commands/admin/apps/create.ts +101 -0
  622. package/src/cli/commands/admin/apps/delete.ts +38 -0
  623. package/src/cli/commands/admin/apps/index.ts +15 -0
  624. package/src/cli/commands/admin/apps/list.ts +25 -0
  625. package/src/cli/commands/admin/apps/rotate-secret.ts +47 -0
  626. package/src/cli/commands/admin/apps/update.ts +86 -0
  627. package/src/cli/commands/admin/index.ts +14 -0
  628. package/src/cli/commands/admin/migrate.ts +16 -0
  629. package/src/cli/commands/admin/realms/add.ts +40 -0
  630. package/src/cli/commands/admin/realms/index.ts +14 -0
  631. package/src/cli/commands/admin/realms/list.ts +38 -0
  632. package/src/cli/commands/admin/realms/passkeys/index.ts +15 -0
  633. package/src/cli/commands/admin/realms/passkeys/set.ts +44 -0
  634. package/src/cli/commands/admin/realms/privy/index.ts +14 -0
  635. package/src/cli/commands/admin/realms/privy/set.ts +69 -0
  636. package/src/cli/commands/admin/realms/remove.ts +33 -0
  637. package/src/cli/commands/admin/realms/secp256k1/disable.ts +40 -0
  638. package/src/cli/commands/admin/realms/secp256k1/enable.ts +40 -0
  639. package/src/cli/commands/admin/realms/secp256k1/index.ts +19 -0
  640. package/src/cli/commands/admin/realms/set.ts +46 -0
  641. package/src/cli/commands/admin/rotate-key.ts +47 -0
  642. package/src/cli/commands/init.ts +42 -0
  643. package/src/cli/commands/login.ts +32 -0
  644. package/src/cli/commands/logout.ts +19 -0
  645. package/src/cli/commands/whoami.ts +23 -0
  646. package/src/client/Actions.ts +168 -0
  647. package/src/client/Auth.ts +285 -0
  648. package/src/client/Authorization.ts +34 -0
  649. package/src/client/Decorator.ts +410 -0
  650. package/src/client/Key.ts +140 -0
  651. package/src/client/Pending.ts +46 -0
  652. package/src/client/Permissions.ts +39 -0
  653. package/src/client/Provider.ts +18 -0
  654. package/src/client/Step.ts +24 -0
  655. package/src/client/Storage.ts +29 -0
  656. package/src/client/TempoAccount.ts +42 -0
  657. package/src/client/Tokens.ts +27 -0
  658. package/src/client/User.ts +23 -0
  659. package/src/client/actions/account.ts +57 -0
  660. package/src/client/actions/device.ts +151 -0
  661. package/src/client/actions/email.ts +141 -0
  662. package/src/client/actions/oauth.ts +182 -0
  663. package/src/client/actions/passkey.ts +141 -0
  664. package/src/client/actions/provider.ts +70 -0
  665. package/src/client/actions/realm.ts +36 -0
  666. package/src/client/actions/redirect.ts +408 -0
  667. package/src/client/internal/accessKey.ts +54 -0
  668. package/src/client/internal/account.ts +15 -0
  669. package/src/client/internal/api.ts +224 -0
  670. package/src/client/internal/headless.ts +77 -0
  671. package/src/client/internal/indexedDb.ts +44 -0
  672. package/src/client/internal/request.ts +71 -0
  673. package/src/client/internal/store.ts +20 -0
  674. package/src/client.ts +19 -0
  675. package/src/index.ts +6 -0
  676. package/src/internal/Apps.ts +718 -0
  677. package/src/internal/Auth.ts +203 -0
  678. package/src/internal/Authorize.ts +424 -0
  679. package/src/internal/Balance.ts +168 -0
  680. package/src/internal/BodyLimit.ts +36 -0
  681. package/src/internal/Chain.ts +16 -0
  682. package/src/internal/Device.ts +469 -0
  683. package/src/internal/Env.ts +58 -0
  684. package/src/internal/ErrorResponse.ts +854 -0
  685. package/src/internal/Id.ts +41 -0
  686. package/src/internal/KeyAuthorization.ts +1339 -0
  687. package/src/internal/Limits.ts +39 -0
  688. package/src/internal/Log.ts +178 -0
  689. package/src/internal/LogLine.ts +87 -0
  690. package/src/internal/Logout.ts +336 -0
  691. package/src/internal/Migrations.ts +86 -0
  692. package/src/internal/OpenApi.ts +300 -0
  693. package/src/internal/Owner.ts +211 -0
  694. package/src/internal/Passkey.ts +1052 -0
  695. package/src/internal/PendingKey.ts +104 -0
  696. package/src/internal/Privy.ts +402 -0
  697. package/src/internal/Provider.ts +125 -0
  698. package/src/internal/RateLimit.ts +259 -0
  699. package/src/internal/Realm.ts +768 -0
  700. package/src/internal/RequestId.ts +118 -0
  701. package/src/internal/SignInGrant.ts +168 -0
  702. package/src/internal/SigningKey.ts +286 -0
  703. package/src/internal/TempoAccount.ts +342 -0
  704. package/src/internal/TestInbox.ts +51 -0
  705. package/src/internal/Timing.ts +158 -0
  706. package/src/internal/Validation.ts +52 -0
  707. package/src/internal/Wallet.ts +62 -0
  708. package/src/internal/owners/Passkey.ts +72 -0
  709. package/src/internal/owners/Privy.ts +81 -0
  710. package/src/internal/owners/Secp256k1.ts +143 -0
  711. package/src/types/app.d.ts +19 -0
  712. package/src/worker.ts +11 -0
@@ -0,0 +1,1456 @@
1
+ /**
2
+ * Access keys (TIP-1011) on a user's Tempo Account, for keys that apps hold. A request takes the
3
+ * shape of the Accounts SDK's `wallet_connect` key authorization capability. The user approves it on
4
+ * a page, or it must fit the headless ceiling, and the account's owner signs it. An app that holds
5
+ * the `tempo-id:sign` scope may send a challenge. Tempo ID binds the challenge as the key's witness
6
+ * (TIP-1053), so the owner's one signature covers both.
7
+ * @module
8
+ */
9
+ import { Address, Hex } from 'ox';
10
+ import { KeyAuthorization } from 'ox/tempo';
11
+ import { Account } from 'viem/tempo';
12
+ import { z } from 'zod';
13
+ import * as Apps from './Apps.js';
14
+ import * as ErrorResponse from './ErrorResponse.js';
15
+ import type * as Passkey from './Passkey.js';
16
+ declare const ChallengeNotPermittedError_base: {
17
+ new (options: ErrorResponse.define.Options): {
18
+ message: string;
19
+ stack?: string;
20
+ cause?: unknown;
21
+ readonly res?: Response;
22
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
23
+ getResponse(): Response;
24
+ readonly name: string;
25
+ readonly response: Omit<{
26
+ error: string;
27
+ error_description: string;
28
+ error_uri: string;
29
+ field?: string | undefined;
30
+ meta?: Readonly<Record<string, string | number>> | undefined;
31
+ reason: string;
32
+ request_id?: string | undefined;
33
+ }, "error" | "reason"> & {
34
+ error: "unauthorized_client";
35
+ reason: "challenge_not_permitted";
36
+ };
37
+ };
38
+ readonly reason: "challenge_not_permitted";
39
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
40
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
41
+ stackTraceLimit: number;
42
+ };
43
+ /** The request carries a challenge, which its app may not bind. */
44
+ export declare class ChallengeNotPermittedError extends ChallengeNotPermittedError_base {
45
+ readonly name = "KeyAuthorization.ChallengeNotPermittedError";
46
+ constructor(options: ChallengeNotPermittedError.Options);
47
+ }
48
+ export declare namespace ChallengeNotPermittedError {
49
+ type Options = {
50
+ /** The app's client ID. */
51
+ clientId: string;
52
+ };
53
+ }
54
+ declare const DuplicateLimitError_base: {
55
+ new (options: ErrorResponse.define.Options): {
56
+ message: string;
57
+ stack?: string;
58
+ cause?: unknown;
59
+ readonly res?: Response;
60
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
61
+ getResponse(): Response;
62
+ readonly name: string;
63
+ readonly response: Omit<{
64
+ error: string;
65
+ error_description: string;
66
+ error_uri: string;
67
+ field?: string | undefined;
68
+ meta?: Readonly<Record<string, string | number>> | undefined;
69
+ reason: string;
70
+ request_id?: string | undefined;
71
+ }, "error" | "reason"> & {
72
+ error: "invalid_authorization_details";
73
+ reason: "duplicate_limit";
74
+ };
75
+ };
76
+ readonly reason: "duplicate_limit";
77
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
78
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
79
+ stackTraceLimit: number;
80
+ };
81
+ /** Two limits name the same token. */
82
+ export declare class DuplicateLimitError extends DuplicateLimitError_base {
83
+ readonly name = "KeyAuthorization.DuplicateLimitError";
84
+ }
85
+ declare const DuplicateScopeError_base: {
86
+ new (options: ErrorResponse.define.Options): {
87
+ message: string;
88
+ stack?: string;
89
+ cause?: unknown;
90
+ readonly res?: Response;
91
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
92
+ getResponse(): Response;
93
+ readonly name: string;
94
+ readonly response: Omit<{
95
+ error: string;
96
+ error_description: string;
97
+ error_uri: string;
98
+ field?: string | undefined;
99
+ meta?: Readonly<Record<string, string | number>> | undefined;
100
+ reason: string;
101
+ request_id?: string | undefined;
102
+ }, "error" | "reason"> & {
103
+ error: "invalid_authorization_details";
104
+ reason: "duplicate_scope";
105
+ };
106
+ };
107
+ readonly reason: "duplicate_scope";
108
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
109
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
110
+ stackTraceLimit: number;
111
+ };
112
+ /** Two scopes name the same call on one token. */
113
+ export declare class DuplicateScopeError extends DuplicateScopeError_base {
114
+ readonly name = "KeyAuthorization.DuplicateScopeError";
115
+ }
116
+ declare const EmptyLimitsError_base: {
117
+ new (options: ErrorResponse.define.Options): {
118
+ message: string;
119
+ stack?: string;
120
+ cause?: unknown;
121
+ readonly res?: Response;
122
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
123
+ getResponse(): Response;
124
+ readonly name: string;
125
+ readonly response: Omit<{
126
+ error: string;
127
+ error_description: string;
128
+ error_uri: string;
129
+ field?: string | undefined;
130
+ meta?: Readonly<Record<string, string | number>> | undefined;
131
+ reason: string;
132
+ request_id?: string | undefined;
133
+ }, "error" | "reason"> & {
134
+ error: "invalid_authorization_details";
135
+ reason: "empty_limits";
136
+ };
137
+ };
138
+ readonly reason: "empty_limits";
139
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
140
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
141
+ stackTraceLimit: number;
142
+ };
143
+ /** `limits` is an empty list. */
144
+ export declare class EmptyLimitsError extends EmptyLimitsError_base {
145
+ readonly name = "KeyAuthorization.EmptyLimitsError";
146
+ }
147
+ declare const EmptyScopesError_base: {
148
+ new (options: ErrorResponse.define.Options): {
149
+ message: string;
150
+ stack?: string;
151
+ cause?: unknown;
152
+ readonly res?: Response;
153
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
154
+ getResponse(): Response;
155
+ readonly name: string;
156
+ readonly response: Omit<{
157
+ error: string;
158
+ error_description: string;
159
+ error_uri: string;
160
+ field?: string | undefined;
161
+ meta?: Readonly<Record<string, string | number>> | undefined;
162
+ reason: string;
163
+ request_id?: string | undefined;
164
+ }, "error" | "reason"> & {
165
+ error: "invalid_authorization_details";
166
+ reason: "empty_scopes";
167
+ };
168
+ };
169
+ readonly reason: "empty_scopes";
170
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
171
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
172
+ stackTraceLimit: number;
173
+ };
174
+ /** `scopes` is an empty list. */
175
+ export declare class EmptyScopesError extends EmptyScopesError_base {
176
+ readonly name = "KeyAuthorization.EmptyScopesError";
177
+ }
178
+ declare const ExpiryExceedsMaximumError_base: {
179
+ new (options: ErrorResponse.define.Options): {
180
+ message: string;
181
+ stack?: string;
182
+ cause?: unknown;
183
+ readonly res?: Response;
184
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
185
+ getResponse(): Response;
186
+ readonly name: string;
187
+ readonly response: Omit<{
188
+ error: string;
189
+ error_description: string;
190
+ error_uri: string;
191
+ field?: string | undefined;
192
+ meta?: Readonly<Record<string, string | number>> | undefined;
193
+ reason: string;
194
+ request_id?: string | undefined;
195
+ }, "error" | "reason"> & {
196
+ error: "invalid_authorization_details";
197
+ reason: "expiry_exceeds_maximum";
198
+ };
199
+ };
200
+ readonly reason: "expiry_exceeds_maximum";
201
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
202
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
203
+ stackTraceLimit: number;
204
+ };
205
+ /** A headless key lasts longer than a year. */
206
+ export declare class ExpiryExceedsMaximumError extends ExpiryExceedsMaximumError_base {
207
+ readonly name = "KeyAuthorization.ExpiryExceedsMaximumError";
208
+ }
209
+ declare const ExpiryPassedError_base: {
210
+ new (options: ErrorResponse.define.Options): {
211
+ message: string;
212
+ stack?: string;
213
+ cause?: unknown;
214
+ readonly res?: Response;
215
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
216
+ getResponse(): Response;
217
+ readonly name: string;
218
+ readonly response: Omit<{
219
+ error: string;
220
+ error_description: string;
221
+ error_uri: string;
222
+ field?: string | undefined;
223
+ meta?: Readonly<Record<string, string | number>> | undefined;
224
+ reason: string;
225
+ request_id?: string | undefined;
226
+ }, "error" | "reason"> & {
227
+ error: "invalid_authorization_details";
228
+ reason: "expiry_passed";
229
+ };
230
+ };
231
+ readonly reason: "expiry_passed";
232
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
233
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
234
+ stackTraceLimit: number;
235
+ };
236
+ /** The key expiry is in the past. */
237
+ export declare class ExpiryPassedError extends ExpiryPassedError_base {
238
+ readonly name = "KeyAuthorization.ExpiryPassedError";
239
+ }
240
+ declare const InvalidChainError_base: {
241
+ new (options: ErrorResponse.define.Options): {
242
+ message: string;
243
+ stack?: string;
244
+ cause?: unknown;
245
+ readonly res?: Response;
246
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
247
+ getResponse(): Response;
248
+ readonly name: string;
249
+ readonly response: Omit<{
250
+ error: string;
251
+ error_description: string;
252
+ error_uri: string;
253
+ field?: string | undefined;
254
+ meta?: Readonly<Record<string, string | number>> | undefined;
255
+ reason: string;
256
+ request_id?: string | undefined;
257
+ }, "error" | "reason"> & {
258
+ error: "invalid_authorization_details";
259
+ reason: "invalid_chain";
260
+ };
261
+ };
262
+ readonly reason: "invalid_chain";
263
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
264
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
265
+ stackTraceLimit: number;
266
+ };
267
+ /** The key chain ID is 0. */
268
+ export declare class InvalidChainError extends InvalidChainError_base {
269
+ readonly name = "KeyAuthorization.InvalidChainError";
270
+ }
271
+ declare const InvalidExpiryError_base: {
272
+ new (options: ErrorResponse.define.Options): {
273
+ message: string;
274
+ stack?: string;
275
+ cause?: unknown;
276
+ readonly res?: Response;
277
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
278
+ getResponse(): Response;
279
+ readonly name: string;
280
+ readonly response: Omit<{
281
+ error: string;
282
+ error_description: string;
283
+ error_uri: string;
284
+ field?: string | undefined;
285
+ meta?: Readonly<Record<string, string | number>> | undefined;
286
+ reason: string;
287
+ request_id?: string | undefined;
288
+ }, "error" | "reason"> & {
289
+ error: "invalid_authorization_details";
290
+ reason: "invalid_expiry";
291
+ };
292
+ };
293
+ readonly reason: "invalid_expiry";
294
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
295
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
296
+ stackTraceLimit: number;
297
+ };
298
+ /** The key expiry is 0, which never expires. */
299
+ export declare class InvalidExpiryError extends InvalidExpiryError_base {
300
+ readonly name = "KeyAuthorization.InvalidExpiryError";
301
+ }
302
+ declare const InvalidPeriodError_base: {
303
+ new (options: ErrorResponse.define.Options): {
304
+ message: string;
305
+ stack?: string;
306
+ cause?: unknown;
307
+ readonly res?: Response;
308
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
309
+ getResponse(): Response;
310
+ readonly name: string;
311
+ readonly response: Omit<{
312
+ error: string;
313
+ error_description: string;
314
+ error_uri: string;
315
+ field?: string | undefined;
316
+ meta?: Readonly<Record<string, string | number>> | undefined;
317
+ reason: string;
318
+ request_id?: string | undefined;
319
+ }, "error" | "reason"> & {
320
+ error: "invalid_authorization_details";
321
+ reason: "invalid_period";
322
+ };
323
+ };
324
+ readonly reason: "invalid_period";
325
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
326
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
327
+ stackTraceLimit: number;
328
+ };
329
+ /** A limit's `period` is not a whole number of seconds. */
330
+ export declare class InvalidPeriodError extends InvalidPeriodError_base {
331
+ readonly name = "KeyAuthorization.InvalidPeriodError";
332
+ }
333
+ declare const InvalidPublicKeyError_base: {
334
+ new (options: ErrorResponse.define.Options): {
335
+ message: string;
336
+ stack?: string;
337
+ cause?: unknown;
338
+ readonly res?: Response;
339
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
340
+ getResponse(): Response;
341
+ readonly name: string;
342
+ readonly response: Omit<{
343
+ error: string;
344
+ error_description: string;
345
+ error_uri: string;
346
+ field?: string | undefined;
347
+ meta?: Readonly<Record<string, string | number>> | undefined;
348
+ reason: string;
349
+ request_id?: string | undefined;
350
+ }, "error" | "reason"> & {
351
+ error: "invalid_authorization_details";
352
+ reason: "invalid_public_key";
353
+ };
354
+ };
355
+ readonly reason: "invalid_public_key";
356
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
357
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
358
+ stackTraceLimit: number;
359
+ };
360
+ /** The key public key is not a valid point. */
361
+ export declare class InvalidPublicKeyError extends InvalidPublicKeyError_base {
362
+ readonly name = "KeyAuthorization.InvalidPublicKeyError";
363
+ }
364
+ declare const InvalidRecipientsError_base: {
365
+ new (options: ErrorResponse.define.Options): {
366
+ message: string;
367
+ stack?: string;
368
+ cause?: unknown;
369
+ readonly res?: Response;
370
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
371
+ getResponse(): Response;
372
+ readonly name: string;
373
+ readonly response: Omit<{
374
+ error: string;
375
+ error_description: string;
376
+ error_uri: string;
377
+ field?: string | undefined;
378
+ meta?: Readonly<Record<string, string | number>> | undefined;
379
+ reason: string;
380
+ request_id?: string | undefined;
381
+ }, "error" | "reason"> & {
382
+ error: "invalid_authorization_details";
383
+ reason: "invalid_recipients";
384
+ };
385
+ };
386
+ readonly reason: "invalid_recipients";
387
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
388
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
389
+ stackTraceLimit: number;
390
+ };
391
+ /** A scope's `recipients` names the zero address, or one address twice. */
392
+ export declare class InvalidRecipientsError extends InvalidRecipientsError_base {
393
+ readonly name = "KeyAuthorization.InvalidRecipientsError";
394
+ }
395
+ declare const LimitExceedsMaximumError_base: {
396
+ new (options: ErrorResponse.define.Options): {
397
+ message: string;
398
+ stack?: string;
399
+ cause?: unknown;
400
+ readonly res?: Response;
401
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
402
+ getResponse(): Response;
403
+ readonly name: string;
404
+ readonly response: Omit<{
405
+ error: string;
406
+ error_description: string;
407
+ error_uri: string;
408
+ field?: string | undefined;
409
+ meta?: Readonly<Record<string, string | number>> | undefined;
410
+ reason: string;
411
+ request_id?: string | undefined;
412
+ }, "error" | "reason"> & {
413
+ error: "invalid_authorization_details";
414
+ reason: "limit_exceeds_maximum";
415
+ };
416
+ };
417
+ readonly reason: "limit_exceeds_maximum";
418
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
419
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
420
+ stackTraceLimit: number;
421
+ };
422
+ /** A headless key limit exceeds the token’s ceiling. */
423
+ export declare class LimitExceedsMaximumError extends LimitExceedsMaximumError_base {
424
+ readonly name = "KeyAuthorization.LimitExceedsMaximumError";
425
+ }
426
+ declare const MissingKeyError_base: {
427
+ new (options: ErrorResponse.define.Options): {
428
+ message: string;
429
+ stack?: string;
430
+ cause?: unknown;
431
+ readonly res?: Response;
432
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
433
+ getResponse(): Response;
434
+ readonly name: string;
435
+ readonly response: Omit<{
436
+ error: string;
437
+ error_description: string;
438
+ error_uri: string;
439
+ field?: string | undefined;
440
+ meta?: Readonly<Record<string, string | number>> | undefined;
441
+ reason: string;
442
+ request_id?: string | undefined;
443
+ }, "error" | "reason"> & {
444
+ error: "invalid_authorization_details";
445
+ reason: "missing_key";
446
+ };
447
+ };
448
+ readonly reason: "missing_key";
449
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
450
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
451
+ stackTraceLimit: number;
452
+ };
453
+ /** The key authorization names no key. */
454
+ export declare class MissingKeyError extends MissingKeyError_base {
455
+ readonly name = "KeyAuthorization.MissingKeyError";
456
+ }
457
+ declare const MissingRecipientsError_base: {
458
+ new (options: ErrorResponse.define.Options): {
459
+ message: string;
460
+ stack?: string;
461
+ cause?: unknown;
462
+ readonly res?: Response;
463
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
464
+ getResponse(): Response;
465
+ readonly name: string;
466
+ readonly response: Omit<{
467
+ error: string;
468
+ error_description: string;
469
+ error_uri: string;
470
+ field?: string | undefined;
471
+ meta?: Readonly<Record<string, string | number>> | undefined;
472
+ reason: string;
473
+ request_id?: string | undefined;
474
+ }, "error" | "reason"> & {
475
+ error: "invalid_authorization_details";
476
+ reason: "missing_recipients";
477
+ };
478
+ };
479
+ readonly reason: "missing_recipients";
480
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
481
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
482
+ stackTraceLimit: number;
483
+ };
484
+ /** An `approve` scope names no spenders. */
485
+ export declare class MissingRecipientsError extends MissingRecipientsError_base {
486
+ readonly name = "KeyAuthorization.MissingRecipientsError";
487
+ }
488
+ declare const ScopeWithoutLimitError_base: {
489
+ new (options: ErrorResponse.define.Options): {
490
+ message: string;
491
+ stack?: string;
492
+ cause?: unknown;
493
+ readonly res?: Response;
494
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
495
+ getResponse(): Response;
496
+ readonly name: string;
497
+ readonly response: Omit<{
498
+ error: string;
499
+ error_description: string;
500
+ error_uri: string;
501
+ field?: string | undefined;
502
+ meta?: Readonly<Record<string, string | number>> | undefined;
503
+ reason: string;
504
+ request_id?: string | undefined;
505
+ }, "error" | "reason"> & {
506
+ error: "invalid_authorization_details";
507
+ reason: "scope_without_limit";
508
+ };
509
+ };
510
+ readonly reason: "scope_without_limit";
511
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
512
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
513
+ stackTraceLimit: number;
514
+ };
515
+ /** A scope calls a token no limit names. */
516
+ export declare class ScopeWithoutLimitError extends ScopeWithoutLimitError_base {
517
+ readonly name = "KeyAuthorization.ScopeWithoutLimitError";
518
+ }
519
+ declare const UnsupportedCallError_base: {
520
+ new (options: ErrorResponse.define.Options): {
521
+ message: string;
522
+ stack?: string;
523
+ cause?: unknown;
524
+ readonly res?: Response;
525
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
526
+ getResponse(): Response;
527
+ readonly name: string;
528
+ readonly response: Omit<{
529
+ error: string;
530
+ error_description: string;
531
+ error_uri: string;
532
+ field?: string | undefined;
533
+ meta?: Readonly<Record<string, string | number>> | undefined;
534
+ reason: string;
535
+ request_id?: string | undefined;
536
+ }, "error" | "reason"> & {
537
+ error: "invalid_authorization_details";
538
+ reason: "unsupported_call";
539
+ };
540
+ };
541
+ readonly reason: "unsupported_call";
542
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
543
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
544
+ stackTraceLimit: number;
545
+ };
546
+ /** A scope calls a function a key may not call. */
547
+ export declare class UnsupportedCallError extends UnsupportedCallError_base {
548
+ readonly name = "KeyAuthorization.UnsupportedCallError";
549
+ }
550
+ declare const UnsupportedTokenError_base: {
551
+ new (options: ErrorResponse.define.Options): {
552
+ message: string;
553
+ stack?: string;
554
+ cause?: unknown;
555
+ readonly res?: Response;
556
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
557
+ getResponse(): Response;
558
+ readonly name: string;
559
+ readonly response: Omit<{
560
+ error: string;
561
+ error_description: string;
562
+ error_uri: string;
563
+ field?: string | undefined;
564
+ meta?: Readonly<Record<string, string | number>> | undefined;
565
+ reason: string;
566
+ request_id?: string | undefined;
567
+ }, "error" | "reason"> & {
568
+ error: "invalid_authorization_details";
569
+ reason: "unsupported_token";
570
+ };
571
+ };
572
+ readonly reason: "unsupported_token";
573
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
574
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
575
+ stackTraceLimit: number;
576
+ };
577
+ /** A limit names a token that is not supported on the chain. */
578
+ export declare class UnsupportedTokenError extends UnsupportedTokenError_base {
579
+ readonly name = "KeyAuthorization.UnsupportedTokenError";
580
+ }
581
+ declare const WebAuthnRequiredError_base: {
582
+ new (options: ErrorResponse.define.Options): {
583
+ message: string;
584
+ stack?: string;
585
+ cause?: unknown;
586
+ readonly res?: Response;
587
+ readonly status: import("hono/utils/http-status").ContentfulStatusCode;
588
+ getResponse(): Response;
589
+ readonly name: string;
590
+ readonly response: Omit<{
591
+ error: string;
592
+ error_description: string;
593
+ error_uri: string;
594
+ field?: string | undefined;
595
+ meta?: Readonly<Record<string, string | number>> | undefined;
596
+ reason: string;
597
+ request_id?: string | undefined;
598
+ }, "error" | "reason"> & {
599
+ error: "interaction_required";
600
+ reason: "webauthn_required";
601
+ };
602
+ };
603
+ readonly reason: "webauthn_required";
604
+ captureStackTrace(targetObject: object, constructorOpt?: Function): void;
605
+ prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
606
+ stackTraceLimit: number;
607
+ };
608
+ /** The key names a passkey-owned Tempo Account, whose passkey signs only on a Tempo ID page. */
609
+ export declare class WebAuthnRequiredError extends WebAuthnRequiredError_base {
610
+ readonly name = "KeyAuthorization.WebAuthnRequiredError";
611
+ constructor(options: WebAuthnRequiredError.Options);
612
+ }
613
+ export declare namespace WebAuthnRequiredError {
614
+ type Options = {
615
+ /** The passkey-owned account. */
616
+ account: `0x${string}`;
617
+ /** The refusal's description, in place of the default that names the flows a passkey signs in. */
618
+ description?: string | undefined;
619
+ };
620
+ }
621
+ /**
622
+ * An app's key authorization request as sent: the shape of the Accounts SDK's `wallet_connect`
623
+ * `authorizeAccessKey` capability, with the user's Tempo Account it acts for.
624
+ */
625
+ declare const sent: z.ZodObject<{
626
+ account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
627
+ address: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
628
+ chainId: z.ZodOptional<z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>>;
629
+ expiry: z.ZodOptional<z.ZodNumber>;
630
+ keyType: z.ZodOptional<z.ZodEnum<{
631
+ p256: "p256";
632
+ secp256k1: "secp256k1";
633
+ webAuthn: "webAuthn";
634
+ }>>;
635
+ limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
636
+ limit: z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>;
637
+ period: z.ZodOptional<z.ZodNumber>;
638
+ token: z.ZodTemplateLiteral<`0x${string}`>;
639
+ }, z.core.$strip>>>>;
640
+ publicKey: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
641
+ scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
642
+ address: z.ZodTemplateLiteral<`0x${string}`>;
643
+ recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
644
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodString]>>;
645
+ }, z.core.$strip>>>>;
646
+ }, z.core.$strip>;
647
+ /** Zod schemas for key authorization requests, and for the API's responses about them. */
648
+ export declare namespace schema {
649
+ /** The Tempo Account a signed key acts for. */
650
+ const account: z.ZodTemplateLiteral<`0x${string}`>;
651
+ /** An app's key authorization request, with what it leaves out filled with the headless ceiling. */
652
+ const request: z.ZodOptional<z.ZodPipe<z.ZodObject<{
653
+ account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
654
+ address: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
655
+ chainId: z.ZodOptional<z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>>;
656
+ expiry: z.ZodOptional<z.ZodNumber>;
657
+ keyType: z.ZodOptional<z.ZodEnum<{
658
+ p256: "p256";
659
+ secp256k1: "secp256k1";
660
+ webAuthn: "webAuthn";
661
+ }>>;
662
+ limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
663
+ limit: z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>;
664
+ period: z.ZodOptional<z.ZodNumber>;
665
+ token: z.ZodTemplateLiteral<`0x${string}`>;
666
+ }, z.core.$strip>>>>;
667
+ publicKey: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
668
+ scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
669
+ address: z.ZodTemplateLiteral<`0x${string}`>;
670
+ recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
671
+ selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodString]>>;
672
+ }, z.core.$strip>>>>;
673
+ }, z.core.$strip>, z.ZodTransform<Defaulted, {
674
+ account?: `0x${string}` | undefined;
675
+ address?: `0x${string}` | undefined;
676
+ chainId?: bigint | undefined;
677
+ expiry?: number | undefined;
678
+ keyType?: "p256" | "secp256k1" | "webAuthn" | undefined;
679
+ limits?: readonly {
680
+ limit: bigint;
681
+ period?: number | undefined;
682
+ token: `0x${string}`;
683
+ }[] | undefined;
684
+ publicKey?: `0x${string}` | undefined;
685
+ scopes?: readonly {
686
+ address: `0x${string}`;
687
+ recipients?: readonly `0x${string}`[] | undefined;
688
+ selector?: string | undefined;
689
+ }[] | undefined;
690
+ }>>>;
691
+ /** What a key grants, as `describe` returns it for the approval screens. */
692
+ const description: z.ZodObject<{
693
+ account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
694
+ expiry: z.ZodNumber;
695
+ limits: z.ZodReadonly<z.ZodArray<z.ZodObject<{
696
+ amount: z.ZodString;
697
+ currency: z.ZodString;
698
+ period: z.ZodOptional<z.ZodNumber>;
699
+ tokens: z.ZodReadonly<z.ZodArray<z.ZodObject<{
700
+ amount: z.ZodString;
701
+ symbol: z.ZodString;
702
+ }, z.core.$strip>>>;
703
+ }, z.core.$strip>>>;
704
+ }, z.core.$strip>;
705
+ /** A signed key authorization in the node's RPC format, as `sign` returns it. */
706
+ const rpc: z.ZodObject<{
707
+ account: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`0x${string}`>>>;
708
+ allowedCalls: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
709
+ selectorRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
710
+ recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
711
+ selector: z.ZodTemplateLiteral<`0x${string}`>;
712
+ }, z.core.$strip>>>>;
713
+ target: z.ZodTemplateLiteral<`0x${string}`>;
714
+ }, z.core.$strip>>>>;
715
+ chainId: z.ZodTemplateLiteral<`0x${string}`>;
716
+ expiry: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`0x${string}`>>>;
717
+ keyId: z.ZodTemplateLiteral<`0x${string}`>;
718
+ keyType: z.ZodString;
719
+ limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
720
+ limit: z.ZodTemplateLiteral<`0x${string}`>;
721
+ period: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
722
+ token: z.ZodTemplateLiteral<`0x${string}`>;
723
+ }, z.core.$strip>>>>;
724
+ signature: z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodDiscriminatedUnion<[z.ZodObject<{
725
+ r: z.ZodTemplateLiteral<`0x${string}`>;
726
+ s: z.ZodTemplateLiteral<`0x${string}`>;
727
+ type: z.ZodLiteral<"secp256k1">;
728
+ v: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
729
+ yParity: z.ZodTemplateLiteral<`0x${string}`>;
730
+ }, z.core.$strip>, z.ZodObject<{
731
+ preHash: z.ZodBoolean;
732
+ pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
733
+ pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
734
+ r: z.ZodTemplateLiteral<`0x${string}`>;
735
+ s: z.ZodTemplateLiteral<`0x${string}`>;
736
+ type: z.ZodLiteral<"p256">;
737
+ }, z.core.$strip>, z.ZodObject<{
738
+ pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
739
+ pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
740
+ r: z.ZodTemplateLiteral<`0x${string}`>;
741
+ s: z.ZodTemplateLiteral<`0x${string}`>;
742
+ type: z.ZodLiteral<"webAuthn">;
743
+ webauthnData: z.ZodTemplateLiteral<`0x${string}`>;
744
+ }, z.core.$strip>], "type">, z.ZodObject<{
745
+ keyId: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
746
+ signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
747
+ r: z.ZodTemplateLiteral<`0x${string}`>;
748
+ s: z.ZodTemplateLiteral<`0x${string}`>;
749
+ type: z.ZodLiteral<"secp256k1">;
750
+ v: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
751
+ yParity: z.ZodTemplateLiteral<`0x${string}`>;
752
+ }, z.core.$strip>, z.ZodObject<{
753
+ preHash: z.ZodBoolean;
754
+ pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
755
+ pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
756
+ r: z.ZodTemplateLiteral<`0x${string}`>;
757
+ s: z.ZodTemplateLiteral<`0x${string}`>;
758
+ type: z.ZodLiteral<"p256">;
759
+ }, z.core.$strip>, z.ZodObject<{
760
+ pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
761
+ pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
762
+ r: z.ZodTemplateLiteral<`0x${string}`>;
763
+ s: z.ZodTemplateLiteral<`0x${string}`>;
764
+ type: z.ZodLiteral<"webAuthn">;
765
+ webauthnData: z.ZodTemplateLiteral<`0x${string}`>;
766
+ }, z.core.$strip>], "type">;
767
+ type: z.ZodLiteral<"keychain">;
768
+ userAddress: z.ZodTemplateLiteral<`0x${string}`>;
769
+ version: z.ZodOptional<z.ZodEnum<{
770
+ v1: "v1";
771
+ v2: "v2";
772
+ }>>;
773
+ }, z.core.$strip>]>;
774
+ witness: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
775
+ }, z.core.$strip>;
776
+ }
777
+ /** An app's key authorization request. */
778
+ export type Key = NonNullable<z.output<typeof schema.request>>;
779
+ /** A key authorization request as sent. */
780
+ type Request = z.output<typeof sent>;
781
+ /** A key authorization request with every default filled. */
782
+ type Defaulted = Request & {
783
+ chainId: bigint;
784
+ expiry: number;
785
+ limits: NonNullable<Request['limits']>;
786
+ scopes: NonNullable<Request['scopes']>;
787
+ /** The witness the owner's signature binds, which Tempo ID derives from a request's challenge. */
788
+ witness?: Hex.Hex | undefined;
789
+ };
790
+ /** The longest a headless key lasts, in seconds, and how long a key lasts when its request names no expiry. */
791
+ export declare const lifetime: number;
792
+ /** Tempo chains, whose token addresses Viem's token list holds. */
793
+ export declare const chains: ({
794
+ blockExplorers: {
795
+ readonly default: {
796
+ readonly name: "Tempo Explorer";
797
+ readonly url: "https://explore.devnet.tempo.xyz";
798
+ };
799
+ };
800
+ blockTime: 1000;
801
+ contracts?: {
802
+ [x: string]: import("viem").ChainContract | {
803
+ [sourceId: number]: import("viem").ChainContract | undefined;
804
+ } | undefined;
805
+ ensRegistry?: import("viem").ChainContract | undefined;
806
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
807
+ multicall3?: import("viem").ChainContract | undefined;
808
+ erc6492Verifier?: import("viem").ChainContract | undefined;
809
+ } | undefined;
810
+ ensTlds?: readonly string[] | undefined;
811
+ id: 31318;
812
+ name: "Tempo Devnet";
813
+ nativeCurrency: {
814
+ readonly name: "USD";
815
+ readonly symbol: "USD";
816
+ readonly decimals: 6;
817
+ };
818
+ experimental_preconfirmationTime?: number | undefined | undefined;
819
+ rpcUrls: {
820
+ readonly default: {
821
+ readonly http: readonly ["https://rpc.devnet.tempoxyz.dev"];
822
+ readonly webSocket: readonly ["wss://rpc.devnet.tempoxyz.dev"];
823
+ };
824
+ };
825
+ sourceId?: number | undefined | undefined;
826
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
827
+ testnet: true;
828
+ custom?: Record<string, unknown> | undefined;
829
+ extendSchema: {
830
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
831
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
832
+ };
833
+ fees?: import("viem").ChainFees<undefined> | undefined;
834
+ formatters: {
835
+ readonly transaction: {
836
+ exclude: never[] | undefined;
837
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
838
+ type: "transaction";
839
+ };
840
+ readonly transactionReceipt: {
841
+ exclude: [] | undefined;
842
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
843
+ type: "transactionReceipt";
844
+ };
845
+ readonly transactionRequest: {
846
+ exclude: [] | undefined;
847
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
848
+ type: "transactionRequest";
849
+ };
850
+ };
851
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
852
+ client: import("viem").Client;
853
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
854
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
855
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
856
+ }];
857
+ serializers: {
858
+ readonly transaction: import("viem").SerializeTransactionFn;
859
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
860
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
861
+ transaction: import("viem").TransactionSerializable;
862
+ }) => Promise<`0x${string}`>;
863
+ };
864
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
865
+ readonly hardfork: "t3";
866
+ extend: <const extended_1 extends {
867
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
868
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
869
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
870
+ readonly id: 31318;
871
+ readonly name: "Tempo Devnet";
872
+ readonly hardfork: "t3";
873
+ readonly blockExplorers: {
874
+ readonly default: {
875
+ readonly name: "Tempo Explorer";
876
+ readonly url: "https://explore.devnet.tempo.xyz";
877
+ };
878
+ };
879
+ readonly nativeCurrency: {
880
+ readonly name: "USD";
881
+ readonly symbol: "USD";
882
+ readonly decimals: 6;
883
+ };
884
+ readonly rpcUrls: {
885
+ readonly default: {
886
+ readonly http: readonly ["https://rpc.devnet.tempoxyz.dev"];
887
+ readonly webSocket: readonly ["wss://rpc.devnet.tempoxyz.dev"];
888
+ };
889
+ };
890
+ readonly testnet: true;
891
+ readonly blockTime: 1000;
892
+ readonly extendSchema: {
893
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
894
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
895
+ };
896
+ readonly formatters: {
897
+ readonly transaction: {
898
+ exclude: never[] | undefined;
899
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
900
+ type: "transaction";
901
+ };
902
+ readonly transactionReceipt: {
903
+ exclude: [] | undefined;
904
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
905
+ type: "transactionReceipt";
906
+ };
907
+ readonly transactionRequest: {
908
+ exclude: [] | undefined;
909
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
910
+ type: "transactionRequest";
911
+ };
912
+ };
913
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
914
+ client: import("viem").Client;
915
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
916
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
917
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
918
+ }];
919
+ readonly serializers: {
920
+ readonly transaction: import("viem").SerializeTransactionFn;
921
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
922
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
923
+ transaction: import("viem").TransactionSerializable;
924
+ }) => Promise<`0x${string}`>;
925
+ };
926
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
927
+ }>, extended_1>;
928
+ } | {
929
+ blockExplorers?: {
930
+ [key: string]: {
931
+ name: string;
932
+ url: string;
933
+ apiUrl?: string | undefined;
934
+ };
935
+ default: {
936
+ name: string;
937
+ url: string;
938
+ apiUrl?: string | undefined;
939
+ };
940
+ } | undefined | undefined;
941
+ blockTime: 1000;
942
+ contracts?: {
943
+ [x: string]: import("viem").ChainContract | {
944
+ [sourceId: number]: import("viem").ChainContract | undefined;
945
+ } | undefined;
946
+ ensRegistry?: import("viem").ChainContract | undefined;
947
+ ensUniversalResolver?: import("viem").ChainContract | undefined;
948
+ multicall3?: import("viem").ChainContract | undefined;
949
+ erc6492Verifier?: import("viem").ChainContract | undefined;
950
+ } | undefined;
951
+ ensTlds?: readonly string[] | undefined;
952
+ id: 1337;
953
+ name: "Tempo";
954
+ nativeCurrency: {
955
+ readonly name: "USD";
956
+ readonly symbol: "USD";
957
+ readonly decimals: 6;
958
+ };
959
+ experimental_preconfirmationTime?: number | undefined | undefined;
960
+ rpcUrls: {
961
+ readonly default: {
962
+ readonly http: readonly ["http://localhost:8545"];
963
+ };
964
+ };
965
+ sourceId?: number | undefined | undefined;
966
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
967
+ testnet?: boolean | undefined | undefined;
968
+ custom?: Record<string, unknown> | undefined;
969
+ extendSchema: {
970
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
971
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
972
+ };
973
+ fees?: import("viem").ChainFees<undefined> | undefined;
974
+ formatters: {
975
+ readonly transaction: {
976
+ exclude: never[] | undefined;
977
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
978
+ type: "transaction";
979
+ };
980
+ readonly transactionReceipt: {
981
+ exclude: [] | undefined;
982
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
983
+ type: "transactionReceipt";
984
+ };
985
+ readonly transactionRequest: {
986
+ exclude: [] | undefined;
987
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
988
+ type: "transactionRequest";
989
+ };
990
+ };
991
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
992
+ client: import("viem").Client;
993
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
994
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
995
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
996
+ }];
997
+ serializers: {
998
+ readonly transaction: import("viem").SerializeTransactionFn;
999
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1000
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1001
+ transaction: import("viem").TransactionSerializable;
1002
+ }) => Promise<`0x${string}`>;
1003
+ };
1004
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1005
+ readonly hardfork: "t3";
1006
+ extend: <const extended_1 extends {
1007
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1008
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1009
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
1010
+ readonly id: 1337;
1011
+ readonly name: "Tempo";
1012
+ readonly hardfork: "t3";
1013
+ readonly nativeCurrency: {
1014
+ readonly name: "USD";
1015
+ readonly symbol: "USD";
1016
+ readonly decimals: 6;
1017
+ };
1018
+ readonly rpcUrls: {
1019
+ readonly default: {
1020
+ readonly http: readonly ["http://localhost:8545"];
1021
+ };
1022
+ };
1023
+ readonly blockTime: 1000;
1024
+ readonly extendSchema: {
1025
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1026
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1027
+ };
1028
+ readonly formatters: {
1029
+ readonly transaction: {
1030
+ exclude: never[] | undefined;
1031
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
1032
+ type: "transaction";
1033
+ };
1034
+ readonly transactionReceipt: {
1035
+ exclude: [] | undefined;
1036
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
1037
+ type: "transactionReceipt";
1038
+ };
1039
+ readonly transactionRequest: {
1040
+ exclude: [] | undefined;
1041
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
1042
+ type: "transactionRequest";
1043
+ };
1044
+ };
1045
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1046
+ client: import("viem").Client;
1047
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1048
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1049
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1050
+ }];
1051
+ readonly serializers: {
1052
+ readonly transaction: import("viem").SerializeTransactionFn;
1053
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1054
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1055
+ transaction: import("viem").TransactionSerializable;
1056
+ }) => Promise<`0x${string}`>;
1057
+ };
1058
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1059
+ }>, extended_1>;
1060
+ } | {
1061
+ blockExplorers: {
1062
+ readonly default: {
1063
+ readonly name: "Tempo Explorer";
1064
+ readonly url: "https://explore.testnet.tempo.xyz";
1065
+ };
1066
+ };
1067
+ blockTime: 1000;
1068
+ contracts: {
1069
+ readonly earnFactory: {
1070
+ readonly address: "0x1de6B233984583F4d936ae4265f3b60282b70cc6";
1071
+ };
1072
+ readonly erc4626EngineFactory: {
1073
+ readonly address: "0x0d57c10249eb3a92b7d81bBA6221F80F2865448A";
1074
+ };
1075
+ };
1076
+ ensTlds?: readonly string[] | undefined;
1077
+ id: 42431;
1078
+ name: "Tempo Testnet (Moderato)";
1079
+ nativeCurrency: {
1080
+ readonly name: "USD";
1081
+ readonly symbol: "USD";
1082
+ readonly decimals: 6;
1083
+ };
1084
+ experimental_preconfirmationTime?: number | undefined | undefined;
1085
+ rpcUrls: {
1086
+ readonly default: {
1087
+ readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
1088
+ readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
1089
+ };
1090
+ };
1091
+ sourceId?: number | undefined | undefined;
1092
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
1093
+ testnet: true;
1094
+ custom?: Record<string, unknown> | undefined;
1095
+ extendSchema: {
1096
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1097
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1098
+ };
1099
+ fees?: import("viem").ChainFees<undefined> | undefined;
1100
+ formatters: {
1101
+ readonly transaction: {
1102
+ exclude: never[] | undefined;
1103
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
1104
+ type: "transaction";
1105
+ };
1106
+ readonly transactionReceipt: {
1107
+ exclude: [] | undefined;
1108
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
1109
+ type: "transactionReceipt";
1110
+ };
1111
+ readonly transactionRequest: {
1112
+ exclude: [] | undefined;
1113
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
1114
+ type: "transactionRequest";
1115
+ };
1116
+ };
1117
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1118
+ client: import("viem").Client;
1119
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1120
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1121
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1122
+ }];
1123
+ serializers: {
1124
+ readonly transaction: import("viem").SerializeTransactionFn;
1125
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1126
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1127
+ transaction: import("viem").TransactionSerializable;
1128
+ }) => Promise<`0x${string}`>;
1129
+ };
1130
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1131
+ readonly hardfork: "t5";
1132
+ extend: <const extended_1 extends {
1133
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1134
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1135
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
1136
+ readonly id: 42431;
1137
+ readonly hardfork: "t5";
1138
+ readonly blockExplorers: {
1139
+ readonly default: {
1140
+ readonly name: "Tempo Explorer";
1141
+ readonly url: "https://explore.testnet.tempo.xyz";
1142
+ };
1143
+ };
1144
+ readonly contracts: {
1145
+ readonly earnFactory: {
1146
+ readonly address: "0x1de6B233984583F4d936ae4265f3b60282b70cc6";
1147
+ };
1148
+ readonly erc4626EngineFactory: {
1149
+ readonly address: "0x0d57c10249eb3a92b7d81bBA6221F80F2865448A";
1150
+ };
1151
+ };
1152
+ readonly name: "Tempo Testnet (Moderato)";
1153
+ readonly nativeCurrency: {
1154
+ readonly name: "USD";
1155
+ readonly symbol: "USD";
1156
+ readonly decimals: 6;
1157
+ };
1158
+ readonly rpcUrls: {
1159
+ readonly default: {
1160
+ readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
1161
+ readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
1162
+ };
1163
+ };
1164
+ readonly testnet: true;
1165
+ readonly blockTime: 1000;
1166
+ readonly extendSchema: {
1167
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1168
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1169
+ };
1170
+ readonly formatters: {
1171
+ readonly transaction: {
1172
+ exclude: never[] | undefined;
1173
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
1174
+ type: "transaction";
1175
+ };
1176
+ readonly transactionReceipt: {
1177
+ exclude: [] | undefined;
1178
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
1179
+ type: "transactionReceipt";
1180
+ };
1181
+ readonly transactionRequest: {
1182
+ exclude: [] | undefined;
1183
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
1184
+ type: "transactionRequest";
1185
+ };
1186
+ };
1187
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1188
+ client: import("viem").Client;
1189
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1190
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1191
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1192
+ }];
1193
+ readonly serializers: {
1194
+ readonly transaction: import("viem").SerializeTransactionFn;
1195
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1196
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1197
+ transaction: import("viem").TransactionSerializable;
1198
+ }) => Promise<`0x${string}`>;
1199
+ };
1200
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1201
+ }>, extended_1>;
1202
+ } | {
1203
+ blockExplorers: {
1204
+ readonly default: {
1205
+ readonly name: "Tempo Explorer";
1206
+ readonly url: "https://explore.tempo.xyz";
1207
+ };
1208
+ };
1209
+ blockTime: 1000;
1210
+ contracts: {
1211
+ readonly earnFactory: {
1212
+ readonly address: "0x3085A8003f340CD51C72D9e1a1298CDafB171B02";
1213
+ };
1214
+ readonly erc4626EngineFactory: {
1215
+ readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
1216
+ };
1217
+ };
1218
+ ensTlds?: readonly string[] | undefined;
1219
+ id: 4217;
1220
+ name: "Tempo Mainnet";
1221
+ nativeCurrency: {
1222
+ readonly name: "USD";
1223
+ readonly symbol: "USD";
1224
+ readonly decimals: 6;
1225
+ };
1226
+ experimental_preconfirmationTime?: number | undefined | undefined;
1227
+ rpcUrls: {
1228
+ readonly default: {
1229
+ readonly http: readonly ["https://rpc.tempo.xyz"];
1230
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
1231
+ };
1232
+ };
1233
+ sourceId?: number | undefined | undefined;
1234
+ supportsTransactionReplacementDetection?: boolean | undefined | undefined;
1235
+ testnet?: boolean | undefined | undefined;
1236
+ custom?: Record<string, unknown> | undefined;
1237
+ extendSchema: {
1238
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1239
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1240
+ };
1241
+ fees?: import("viem").ChainFees<undefined> | undefined;
1242
+ formatters: {
1243
+ readonly transaction: {
1244
+ exclude: never[] | undefined;
1245
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
1246
+ type: "transaction";
1247
+ };
1248
+ readonly transactionReceipt: {
1249
+ exclude: [] | undefined;
1250
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
1251
+ type: "transactionReceipt";
1252
+ };
1253
+ readonly transactionRequest: {
1254
+ exclude: [] | undefined;
1255
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
1256
+ type: "transactionRequest";
1257
+ };
1258
+ };
1259
+ prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1260
+ client: import("viem").Client;
1261
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1262
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1263
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1264
+ }];
1265
+ serializers: {
1266
+ readonly transaction: import("viem").SerializeTransactionFn;
1267
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1268
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1269
+ transaction: import("viem").TransactionSerializable;
1270
+ }) => Promise<`0x${string}`>;
1271
+ };
1272
+ verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1273
+ extend: <const extended_1 extends {
1274
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1275
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1276
+ }>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
1277
+ readonly id: 4217;
1278
+ readonly blockExplorers: {
1279
+ readonly default: {
1280
+ readonly name: "Tempo Explorer";
1281
+ readonly url: "https://explore.tempo.xyz";
1282
+ };
1283
+ };
1284
+ readonly contracts: {
1285
+ readonly earnFactory: {
1286
+ readonly address: "0x3085A8003f340CD51C72D9e1a1298CDafB171B02";
1287
+ };
1288
+ readonly erc4626EngineFactory: {
1289
+ readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
1290
+ };
1291
+ };
1292
+ readonly name: "Tempo Mainnet";
1293
+ readonly nativeCurrency: {
1294
+ readonly name: "USD";
1295
+ readonly symbol: "USD";
1296
+ readonly decimals: 6;
1297
+ };
1298
+ readonly rpcUrls: {
1299
+ readonly default: {
1300
+ readonly http: readonly ["https://rpc.tempo.xyz"];
1301
+ readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
1302
+ };
1303
+ };
1304
+ readonly blockTime: 1000;
1305
+ readonly extendSchema: {
1306
+ feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
1307
+ hardfork?: ("genesis" | "t0" | "t1" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6") | undefined;
1308
+ };
1309
+ readonly formatters: {
1310
+ readonly transaction: {
1311
+ exclude: never[] | undefined;
1312
+ format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
1313
+ type: "transaction";
1314
+ };
1315
+ readonly transactionReceipt: {
1316
+ exclude: [] | undefined;
1317
+ format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
1318
+ type: "transactionReceipt";
1319
+ };
1320
+ readonly transactionRequest: {
1321
+ exclude: [] | undefined;
1322
+ format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
1323
+ type: "transactionRequest";
1324
+ };
1325
+ };
1326
+ readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
1327
+ client: import("viem").Client;
1328
+ phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
1329
+ }) => Promise<import("viem").PrepareTransactionRequestParameters>, {
1330
+ readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
1331
+ }];
1332
+ readonly serializers: {
1333
+ readonly transaction: import("viem").SerializeTransactionFn;
1334
+ readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
1335
+ serializedTransaction: import("viem").TransactionSerializedGeneric;
1336
+ transaction: import("viem").TransactionSerializable;
1337
+ }) => Promise<`0x${string}`>;
1338
+ };
1339
+ readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
1340
+ }>, extended_1>;
1341
+ })[];
1342
+ /** The ID of the chain that a key acts on when its request names none: Tempo mainnet. */
1343
+ export declare const defaultChainId: 4217;
1344
+ /**
1345
+ * Returns `key` with the witness of `challenge`: its EIP-191 hash, as `hashMessage` computes it, so
1346
+ * a verifier checks the witness against the message it issued. Returns `key` unchanged without one.
1347
+ */
1348
+ export declare function bind(key: Key, options: bind.Options): Key;
1349
+ export declare namespace bind {
1350
+ type Options = {
1351
+ /** The app's challenge, such as a sign-in message its backend issued. */
1352
+ challenge: string | undefined;
1353
+ };
1354
+ }
1355
+ /**
1356
+ * Why `key` breaks the rules every flow applies, with the field at fault and the values compared,
1357
+ * or `undefined` when the owner may sign it. Fields are request paths under `key_authorization`,
1358
+ * where every request carries the key.
1359
+ */
1360
+ export declare function check(key: Key): ErrorResponse.Instance<typeof check.errors> | undefined;
1361
+ export declare namespace check {
1362
+ /** The refusals `check` returns. Its return type admits no other. */
1363
+ const errors: readonly [typeof DuplicateLimitError, typeof DuplicateScopeError, typeof EmptyLimitsError, typeof EmptyScopesError, typeof ExpiryPassedError, typeof InvalidChainError, typeof InvalidExpiryError, typeof InvalidPeriodError, typeof InvalidPublicKeyError, typeof InvalidRecipientsError, typeof MissingKeyError, typeof MissingRecipientsError, typeof ScopeWithoutLimitError, typeof UnsupportedCallError, typeof UnsupportedTokenError];
1364
+ }
1365
+ /**
1366
+ * Why the request for `key` is refused for the app `app`. The request carries a challenge, which
1367
+ * became the key's witness, and the app does not hold the `tempo-id:sign` scope. Returns `undefined`
1368
+ * when the key has no witness or the app holds the scope. A browser request names a redirect URI on
1369
+ * its own origin, which the app registers, so the app's scope covers its pages.
1370
+ */
1371
+ export declare function checkChallenge(options: checkChallenge.Options): ErrorResponse.Instance<typeof checkChallenge.errors> | undefined;
1372
+ export declare namespace checkChallenge {
1373
+ type Options = {
1374
+ /** The app that requests the key, or `undefined` when no app has `clientId`. */
1375
+ app: Pick<Apps.App, 'sign'> | undefined;
1376
+ /** The client ID of the app that requests the key. */
1377
+ clientId: string;
1378
+ /** The requested key authorization. A key without a `witness`, or no key, passes. */
1379
+ key: Key | undefined;
1380
+ };
1381
+ /** The refusals `checkChallenge` returns. */
1382
+ const errors: readonly [typeof ChallengeNotPermittedError];
1383
+ }
1384
+ /**
1385
+ * Why `key` is refused in a flow that shows the user nothing: the rules `check` applies, then the
1386
+ * headless ceiling. Returns `undefined` when the owner may sign it.
1387
+ */
1388
+ export declare function checkHeadless(key: Key): ErrorResponse.Instance<typeof checkHeadless.errors> | undefined;
1389
+ export declare namespace checkHeadless {
1390
+ /** The refusals `checkHeadless` returns: `check`'s, then the headless ceiling's. */
1391
+ const errors: readonly [typeof DuplicateLimitError, typeof DuplicateScopeError, typeof EmptyLimitsError, typeof EmptyScopesError, typeof ExpiryPassedError, typeof InvalidChainError, typeof InvalidExpiryError, typeof InvalidPeriodError, typeof InvalidPublicKeyError, typeof InvalidRecipientsError, typeof MissingKeyError, typeof MissingRecipientsError, typeof ScopeWithoutLimitError, typeof UnsupportedCallError, typeof UnsupportedTokenError, typeof ExpiryExceedsMaximumError, typeof LimitExceedsMaximumError];
1392
+ }
1393
+ /**
1394
+ * What a `key` that passes `check` grants, as the approval screens show it: its limits totaled per
1395
+ * currency and period, and its expiry.
1396
+ */
1397
+ export declare function describe(key: Key): Description;
1398
+ /** What a key grants, as the approval screens show it. */
1399
+ export type Description = z.output<typeof schema.description>;
1400
+ /**
1401
+ * Returns the digest that an account's owner signs for `key`, which a passkey owner signs as its
1402
+ * WebAuthn challenge. An owner's digest binds no account, so it is known before the passkey is.
1403
+ * `witness` replaces the key's own, as a one-tap sign-in binds it.
1404
+ */
1405
+ export declare function digest(options: digest.Options): `0x${string}`;
1406
+ export declare namespace digest {
1407
+ type Options = {
1408
+ /** The key authorization the digest commits to. */
1409
+ key: Key;
1410
+ /** The witness the digest binds, in place of the key's own. Absent, the key's own applies. */
1411
+ witness?: Hex.Hex | undefined;
1412
+ };
1413
+ }
1414
+ /** Returns the access key's address, which `publicKey` stands in for when the request names none. */
1415
+ export declare function keyId(key: Key): `0x${string}`;
1416
+ /** Returns the tokens of Viem's token list on the chain with `chainId`, as keys limit them. */
1417
+ export declare function listings(options: listings.Options): {
1418
+ address: Address.Address;
1419
+ cap: bigint;
1420
+ currency: string;
1421
+ decimals: number;
1422
+ symbol: string;
1423
+ }[];
1424
+ export declare namespace listings {
1425
+ type Options = {
1426
+ /** The chain's ID. */
1427
+ chainId: number;
1428
+ };
1429
+ }
1430
+ /**
1431
+ * Signs `key` with `owner`, the account's owner key, and returns the signed authorization in the
1432
+ * node's RPC format. A Privy owner signs through Privy with the user's token.
1433
+ */
1434
+ export declare function sign(owner: Parameters<typeof Account.signKeyAuthorization>[0], options: sign.Options): Promise<KeyAuthorization.Rpc>;
1435
+ export declare namespace sign {
1436
+ type Options = {
1437
+ /** The key authorization to sign, which `check` accepts. */
1438
+ key: Key;
1439
+ };
1440
+ }
1441
+ /**
1442
+ * Signs `key` with `assertion`, a passkey's assertion over the key's {@link digest} that
1443
+ * `Passkey.verify` accepted, and returns the signed authorization in the node's RPC format. The
1444
+ * assertion becomes the authorization's WebAuthn signature envelope.
1445
+ */
1446
+ export declare function signWithAssertion(assertion: Passkey.Assertion, options: signWithAssertion.Options): Promise<KeyAuthorization.Rpc>;
1447
+ export declare namespace signWithAssertion {
1448
+ type Options = {
1449
+ /** The key authorization that the assertion signs. */
1450
+ key: Key;
1451
+ /** The passkey's uncompressed P256 public key, hex. */
1452
+ publicKey: Hex.Hex;
1453
+ };
1454
+ }
1455
+ export {};
1456
+ //# sourceMappingURL=KeyAuthorization.d.ts.map