@tempoxyz/id 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +121 -2
- package/dist/App.d.ts +121 -0
- package/dist/App.d.ts.map +1 -0
- package/dist/App.js +132 -0
- package/dist/App.js.map +1 -0
- package/dist/app/client/.assetsignore +2 -0
- package/dist/app/client/_headers +4 -0
- package/dist/app/client/assets/Account-BYLpNFf3.css +1 -0
- package/dist/app/client/assets/Account-BllJah07.js +1 -0
- package/dist/app/client/assets/Amount-E_7snI0-.js +1 -0
- package/dist/app/client/assets/Amount-ZdtluGf-.css +1 -0
- package/dist/app/client/assets/Approval-CgV5JHlb.css +1 -0
- package/dist/app/client/assets/Approval-yKflypU2.js +1 -0
- package/dist/app/client/assets/ArrowUp-CRvqfMNU.js +1 -0
- package/dist/app/client/assets/Authentication-BAXhOh_4.js +2 -0
- package/dist/app/client/assets/BRLA-CZvVDNYr.png +0 -0
- package/dist/app/client/assets/BRZ-Cn3jEi9t.svg +1 -0
- package/dist/app/client/assets/CHFAU-DCedc4aH.png +0 -0
- package/dist/app/client/assets/Callout-B736759d.js +1 -0
- package/dist/app/client/assets/Callout-DBfEmP7q.css +1 -0
- package/dist/app/client/assets/Check-DVgD8tDG.js +1 -0
- package/dist/app/client/assets/ChevronRight-CsXtIZCB.js +1 -0
- package/dist/app/client/assets/ChooseAccount-BjxfQjPK.js +1 -0
- package/dist/app/client/assets/ChooseAccount-DL3wgJhE.css +1 -0
- package/dist/app/client/assets/Client-JrABNovb.js +1 -0
- package/dist/app/client/assets/Close-CRvWlhqc.js +1 -0
- package/dist/app/client/assets/Cloud-DgJsrqpQ.js +1 -0
- package/dist/app/client/assets/CodeInput-79Ctx8ZA.js +1 -0
- package/dist/app/client/assets/CodeInput-BqRteSwD.css +1 -0
- package/dist/app/client/assets/DLUSD-BnRXm3EI.png +0 -0
- package/dist/app/client/assets/Deposit-CclrAoXL.css +1 -0
- package/dist/app/client/assets/Deposit-c7uYn2Eb.js +1 -0
- package/dist/app/client/assets/DevTools-BYkmtuV5.css +1 -0
- package/dist/app/client/assets/DevTools-BgnzDGo2.js +1 -0
- package/dist/app/client/assets/DeviceApproval-BBUVv58e.js +1 -0
- package/dist/app/client/assets/DeviceApproval-BffFLD8F.css +1 -0
- package/dist/app/client/assets/EURAU-sjieTTB9.svg +1 -0
- package/dist/app/client/assets/EURC.e-CxYiiwkz.svg +1 -0
- package/dist/app/client/assets/Fingerprint-BNCA6qOJ.js +1 -0
- package/dist/app/client/assets/GBPA-DI_25xSG.svg +4 -0
- package/dist/app/client/assets/GUSD-BDEP2Qb-.svg +1 -0
- package/dist/app/client/assets/GeistMono-Variable-BRXCGrxA.woff2 +0 -0
- package/dist/app/client/assets/Globe-f0eWzcEI.js +1 -0
- package/dist/app/client/assets/Grant-5a-n1gJH.css +1 -0
- package/dist/app/client/assets/Grant-Dp7mpcEi.js +1 -0
- package/dist/app/client/assets/Hex-C9KeV7_9.css +1 -0
- package/dist/app/client/assets/Hex-CSp2U46W.js +10 -0
- package/dist/app/client/assets/IconChip-DpZHa1JW.js +1 -0
- package/dist/app/client/assets/IconChip-yqaQ2y_d.css +1 -0
- package/dist/app/client/assets/InputGroup-BlZvt9In.css +1 -0
- package/dist/app/client/assets/InputGroup-CsOeBnpB.js +1 -0
- package/dist/app/client/assets/Inter-cyrillic-e3OmmzmJ.woff2 +0 -0
- package/dist/app/client/assets/Inter-cyrillic-ext-DOWZeO4Q.woff2 +0 -0
- package/dist/app/client/assets/Inter-greek-BD3ujQlX.woff2 +0 -0
- package/dist/app/client/assets/Inter-greek-ext-CXEwbus4.woff2 +0 -0
- package/dist/app/client/assets/Inter-latin-BDFm4vTb.woff2 +0 -0
- package/dist/app/client/assets/Inter-latin-ext-E7a9JEPe.woff2 +0 -0
- package/dist/app/client/assets/Inter-symbols-DEch7Rxr.woff2 +0 -0
- package/dist/app/client/assets/Inter-vietnamese-Bg9723vR.woff2 +0 -0
- package/dist/app/client/assets/Loader-Cm9YJNNJ.js +1 -0
- package/dist/app/client/assets/MACH-sK0r79kQ.svg +4 -0
- package/dist/app/client/assets/OUSD-BFXgVo-Z.svg +5 -0
- package/dist/app/client/assets/OUSD.dark-BbbjMvA1.svg +17 -0
- package/dist/app/client/assets/OUSD.light-B_zpSz_c.svg +17 -0
- package/dist/app/client/assets/PRIME-CiFp2-3e.svg +14 -0
- package/dist/app/client/assets/PopoverPopup-DprRXRQe.js +1 -0
- package/dist/app/client/assets/Rows-DPGTUdA8.css +1 -0
- package/dist/app/client/assets/Rows-Qqo3evtk.js +1 -0
- package/dist/app/client/assets/SBC-BTYkbkiD.svg +1 -0
- package/dist/app/client/assets/SEKAU-CB5Fc6o8.svg +5 -0
- package/dist/app/client/assets/Separator-CZUjVQOL.js +1 -0
- package/dist/app/client/assets/SignIn-HdaDzFmq.js +1 -0
- package/dist/app/client/assets/SignIn-mlBTwUq4.css +1 -0
- package/dist/app/client/assets/Stack-CkkvkOzj.js +1 -0
- package/dist/app/client/assets/Stack-D7Yt22Ed.css +1 -0
- package/dist/app/client/assets/Tag-BMh6ajrW.css +1 -0
- package/dist/app/client/assets/Tag-CLOVANTX.js +1 -0
- package/dist/app/client/assets/ToolbarRootContext-Zty_Dh3J.js +1 -0
- package/dist/app/client/assets/Tooltip-CLATV6YU.js +1 -0
- package/dist/app/client/assets/Tooltip-d3y9ESUJ.css +1 -0
- package/dist/app/client/assets/USD1-COVcO_PB.svg +30 -0
- package/dist/app/client/assets/USDB-Ckwb6UQw.svg +11 -0
- package/dist/app/client/assets/USDC.e-3nMsKAMC.svg +1 -0
- package/dist/app/client/assets/USDT0-ia60Dw0e.svg +1 -0
- package/dist/app/client/assets/USDY-CB4iet2q.svg +16 -0
- package/dist/app/client/assets/USDe-BXHQCd92.svg +1 -0
- package/dist/app/client/assets/Upgrade-D0_aO5AP.js +1 -0
- package/dist/app/client/assets/WalletUpgrade-BPsPNQsd.js +1 -0
- package/dist/app/client/assets/WalletUpgrade-C04kW0Jl.css +1 -0
- package/dist/app/client/assets/YLDS-CRh8Zw0g.svg +3 -0
- package/dist/app/client/assets/___-I98bns4o.css +1 -0
- package/dist/app/client/assets/___.flows-XOlLwMIy.js +5 -0
- package/dist/app/client/assets/alphaUSD-CpCFoVuh.svg +1 -0
- package/dist/app/client/assets/authorize-C-MlCyaM.js +1 -0
- package/dist/app/client/assets/betaUSD-9A8AjgYg.svg +1 -0
- package/dist/app/client/assets/cUSD-WsQfa-iC.svg +1 -0
- package/dist/app/client/assets/cbBTC-DvUDqrDi.svg +1 -0
- package/dist/app/client/assets/choose-account-nXR-SKa2.js +1 -0
- package/dist/app/client/assets/deposit-G8tiLPN4.js +1 -0
- package/dist/app/client/assets/device-BojBF7hZ.js +1 -0
- package/dist/app/client/assets/error-KiOpX7GD.js +1 -0
- package/dist/app/client/assets/frxUSD-n9pTpinR.svg +1 -0
- package/dist/app/client/assets/getPseudoElementBounds-BsLy4zf_.js +1 -0
- package/dist/app/client/assets/goUSD-D9kUvHsF.svg +5 -0
- package/dist/app/client/assets/iUSD-CWCJAq9X.svg +1 -0
- package/dist/app/client/assets/index-BZH0M7Nf.js +13 -0
- package/dist/app/client/assets/index-CIYxHmYA.css +1 -0
- package/dist/app/client/assets/login-DUjpk60p.js +1 -0
- package/dist/app/client/assets/pathUSD-BvaO6ooS.svg +25 -0
- package/dist/app/client/assets/preload-helper-Bs9KvdYl.js +1 -0
- package/dist/app/client/assets/rUSD-B-xuFS7T.svg +1 -0
- package/dist/app/client/assets/reUSD-CkIUs0Lx.svg +1 -0
- package/dist/app/client/assets/removable-DMiA3t_o.js +1 -0
- package/dist/app/client/assets/reset-co-CHrff.css +1 -0
- package/dist/app/client/assets/rolldown-runtime-WkwZ5CU-.js +1 -0
- package/dist/app/client/assets/routes-CK8cthzA.js +1 -0
- package/dist/app/client/assets/sUSDe-j9GOnH7I.svg +1 -0
- package/dist/app/client/assets/siUSD-C10QUNYS.svg +1 -0
- package/dist/app/client/assets/stcUSD-DIntDJeh.svg +1 -0
- package/dist/app/client/assets/syrupUSDC-DhYwZqdM.svg +5 -0
- package/dist/app/client/assets/thetaUSD-Dgmksf6G.svg +1 -0
- package/dist/app/client/assets/useNavigate-CB6S2u4J.js +1 -0
- package/dist/app/client/assets/useQuery-BpHfPhTT.js +1 -0
- package/dist/app/client/assets/useRegisterFieldControl-DsslqY-V.js +1 -0
- package/dist/app/client/assets/wYLDS-CaCKDrO-.svg +10 -0
- package/dist/app/client/assets/wsrUSD-B2Ey0bDQ.svg +1 -0
- package/dist/app/client/assets/zyzz-DYC-X0_B.css +1 -0
- package/dist/app/client/assets/zyzz.config-DX_D_7j3.js +2 -0
- package/dist/app/db/auth.d.ts +3412 -0
- package/dist/app/db/auth.d.ts.map +1 -0
- package/dist/app/db/auth.js +349 -0
- package/dist/app/db/auth.js.map +1 -0
- package/dist/app/db/schema.d.ts +1091 -0
- package/dist/app/db/schema.d.ts.map +1 -0
- package/dist/app/db/schema.js +183 -0
- package/dist/app/db/schema.js.map +1 -0
- package/dist/app/db/table.d.ts +8 -0
- package/dist/app/db/table.d.ts.map +1 -0
- package/dist/app/db/table.js +28 -0
- package/dist/app/db/table.js.map +1 -0
- package/dist/app/server/.vite/manifest.json +2093 -0
- package/dist/app/server/assets/Account-BYLpNFf3.css +1 -0
- package/dist/app/server/assets/Account-G_SUeRU3.js +2 -0
- package/dist/app/server/assets/Account-G_SUeRU3.js.map +1 -0
- package/dist/app/server/assets/Amount-Cgwdr3Xt.js +2 -0
- package/dist/app/server/assets/Amount-Cgwdr3Xt.js.map +1 -0
- package/dist/app/server/assets/Amount-ZdtluGf-.css +1 -0
- package/dist/app/server/assets/Approval-CgV5JHlb.css +1 -0
- package/dist/app/server/assets/Approval-DvkB9tWA.js +2 -0
- package/dist/app/server/assets/Approval-DvkB9tWA.js.map +1 -0
- package/dist/app/server/assets/ArrowUp-DpK_zNgZ.js +2 -0
- package/dist/app/server/assets/ArrowUp-DpK_zNgZ.js.map +1 -0
- package/dist/app/server/assets/Authentication-BOkhlNQu.js +2 -0
- package/dist/app/server/assets/Authentication-BOkhlNQu.js.map +1 -0
- package/dist/app/server/assets/Authentication-C3oNZAVX.js +2 -0
- package/dist/app/server/assets/Authentication-C3oNZAVX.js.map +1 -0
- package/dist/app/server/assets/BRLA-CZvVDNYr.png +0 -0
- package/dist/app/server/assets/BRZ-Cn3jEi9t.svg +1 -0
- package/dist/app/server/assets/Bytes-C7CRVS3J.js +4 -0
- package/dist/app/server/assets/Bytes-C7CRVS3J.js.map +1 -0
- package/dist/app/server/assets/CHFAU-DCedc4aH.png +0 -0
- package/dist/app/server/assets/Callout-DBfEmP7q.css +1 -0
- package/dist/app/server/assets/Callout-tQoAitWq.js +2 -0
- package/dist/app/server/assets/Callout-tQoAitWq.js.map +1 -0
- package/dist/app/server/assets/ChainList-C4A_7e-9.js +6 -0
- package/dist/app/server/assets/ChainList-C4A_7e-9.js.map +1 -0
- package/dist/app/server/assets/ChainName-BMnJyJrd.js +2 -0
- package/dist/app/server/assets/ChainName-BMnJyJrd.js.map +1 -0
- package/dist/app/server/assets/Check-DU_oR3Ev.js +2 -0
- package/dist/app/server/assets/Check-DU_oR3Ev.js.map +1 -0
- package/dist/app/server/assets/ChevronRight-DTBnw-W6.js +2 -0
- package/dist/app/server/assets/ChevronRight-DTBnw-W6.js.map +1 -0
- package/dist/app/server/assets/ChooseAccount-BizJvMrY.js +2 -0
- package/dist/app/server/assets/ChooseAccount-BizJvMrY.js.map +1 -0
- package/dist/app/server/assets/ChooseAccount-DL3wgJhE.css +1 -0
- package/dist/app/server/assets/Client-Dx3KrpJZ.js +2 -0
- package/dist/app/server/assets/Client-Dx3KrpJZ.js.map +1 -0
- package/dist/app/server/assets/ClientOnly-CKLiu67O.js +2 -0
- package/dist/app/server/assets/ClientOnly-CKLiu67O.js.map +1 -0
- package/dist/app/server/assets/Close-DUeE37ev.js +2 -0
- package/dist/app/server/assets/Close-DUeE37ev.js.map +1 -0
- package/dist/app/server/assets/Cloud-CLB3rTTy.js +2 -0
- package/dist/app/server/assets/Cloud-CLB3rTTy.js.map +1 -0
- package/dist/app/server/assets/CodeInput-BqRteSwD.css +1 -0
- package/dist/app/server/assets/CodeInput-FsPzVuLU.js +2 -0
- package/dist/app/server/assets/CodeInput-FsPzVuLU.js.map +1 -0
- package/dist/app/server/assets/Credential-DFjcrdyI.js +2 -0
- package/dist/app/server/assets/Credential-DFjcrdyI.js.map +1 -0
- package/dist/app/server/assets/DLUSD-BnRXm3EI.png +0 -0
- package/dist/app/server/assets/Deposit-CclrAoXL.css +1 -0
- package/dist/app/server/assets/Deposit-ChYGRfW2.js +2 -0
- package/dist/app/server/assets/Deposit-ChYGRfW2.js.map +1 -0
- package/dist/app/server/assets/DevTools-BYkmtuV5.css +1 -0
- package/dist/app/server/assets/DevTools-ZJVXqrIK.js +2 -0
- package/dist/app/server/assets/DevTools-ZJVXqrIK.js.map +1 -0
- package/dist/app/server/assets/DeviceApproval-BffFLD8F.css +1 -0
- package/dist/app/server/assets/DeviceApproval-Bqe3Mi78.js +2 -0
- package/dist/app/server/assets/DeviceApproval-Bqe3Mi78.js.map +1 -0
- package/dist/app/server/assets/EURAU-sjieTTB9.svg +1 -0
- package/dist/app/server/assets/EURC.e-CxYiiwkz.svg +1 -0
- package/dist/app/server/assets/ExecutionError-CDszGSF1.js +9 -0
- package/dist/app/server/assets/ExecutionError-CDszGSF1.js.map +1 -0
- package/dist/app/server/assets/Fingerprint-DhOPOdRr.js +2 -0
- package/dist/app/server/assets/Fingerprint-DhOPOdRr.js.map +1 -0
- package/dist/app/server/assets/GBPA-DI_25xSG.svg +4 -0
- package/dist/app/server/assets/GUSD-BDEP2Qb-.svg +1 -0
- package/dist/app/server/assets/GeistMono-Variable-BRXCGrxA.woff2 +0 -0
- package/dist/app/server/assets/Globe-2CxqxU-7.js +2 -0
- package/dist/app/server/assets/Globe-2CxqxU-7.js.map +1 -0
- package/dist/app/server/assets/Grant-5a-n1gJH.css +1 -0
- package/dist/app/server/assets/Grant-D_tun0mF.js +2 -0
- package/dist/app/server/assets/Grant-D_tun0mF.js.map +1 -0
- package/dist/app/server/assets/Hex-C9KeV7_9.css +1 -0
- package/dist/app/server/assets/Hex-Z6m_0Y0m.js +11 -0
- package/dist/app/server/assets/Hex-Z6m_0Y0m.js.map +1 -0
- package/dist/app/server/assets/IconChip-C9ZrmGB5.js +2 -0
- package/dist/app/server/assets/IconChip-C9ZrmGB5.js.map +1 -0
- package/dist/app/server/assets/IconChip-yqaQ2y_d.css +1 -0
- package/dist/app/server/assets/InputGroup-BlZvt9In.css +1 -0
- package/dist/app/server/assets/InputGroup-hpjuLuR7.js +2 -0
- package/dist/app/server/assets/InputGroup-hpjuLuR7.js.map +1 -0
- package/dist/app/server/assets/Inter-cyrillic-e3OmmzmJ.woff2 +0 -0
- package/dist/app/server/assets/Inter-cyrillic-ext-DOWZeO4Q.woff2 +0 -0
- package/dist/app/server/assets/Inter-greek-BD3ujQlX.woff2 +0 -0
- package/dist/app/server/assets/Inter-greek-ext-CXEwbus4.woff2 +0 -0
- package/dist/app/server/assets/Inter-latin-BDFm4vTb.woff2 +0 -0
- package/dist/app/server/assets/Inter-latin-ext-E7a9JEPe.woff2 +0 -0
- package/dist/app/server/assets/Inter-symbols-DEch7Rxr.woff2 +0 -0
- package/dist/app/server/assets/Inter-vietnamese-Bg9723vR.woff2 +0 -0
- package/dist/app/server/assets/Loader-DnKC9P5p.js +2 -0
- package/dist/app/server/assets/Loader-DnKC9P5p.js.map +1 -0
- package/dist/app/server/assets/MACH-sK0r79kQ.svg +4 -0
- package/dist/app/server/assets/Match-CyVdYcSf.js +2 -0
- package/dist/app/server/assets/Match-CyVdYcSf.js.map +1 -0
- package/dist/app/server/assets/OUSD-BFXgVo-Z.svg +5 -0
- package/dist/app/server/assets/OUSD.dark-BbbjMvA1.svg +17 -0
- package/dist/app/server/assets/OUSD.light-B_zpSz_c.svg +17 -0
- package/dist/app/server/assets/PRIME-CiFp2-3e.svg +14 -0
- package/dist/app/server/assets/PopoverPopup-CwqeQelI.js +2 -0
- package/dist/app/server/assets/PopoverPopup-CwqeQelI.js.map +1 -0
- package/dist/app/server/assets/Rows-CQKQwTI1.js +2 -0
- package/dist/app/server/assets/Rows-CQKQwTI1.js.map +1 -0
- package/dist/app/server/assets/Rows-DPGTUdA8.css +1 -0
- package/dist/app/server/assets/SBC-BTYkbkiD.svg +1 -0
- package/dist/app/server/assets/SEKAU-CB5Fc6o8.svg +5 -0
- package/dist/app/server/assets/Separator-DrI7KRAs.js +2 -0
- package/dist/app/server/assets/Separator-DrI7KRAs.js.map +1 -0
- package/dist/app/server/assets/SignIn-DfeeLEmN.js +2 -0
- package/dist/app/server/assets/SignIn-DfeeLEmN.js.map +1 -0
- package/dist/app/server/assets/SignIn-mlBTwUq4.css +1 -0
- package/dist/app/server/assets/Stack-D7Yt22Ed.css +1 -0
- package/dist/app/server/assets/Stack-DGktaLZc.js +2 -0
- package/dist/app/server/assets/Stack-DGktaLZc.js.map +1 -0
- package/dist/app/server/assets/Tag-9vSRBpph.js +2 -0
- package/dist/app/server/assets/Tag-9vSRBpph.js.map +1 -0
- package/dist/app/server/assets/Tag-BMh6ajrW.css +1 -0
- package/dist/app/server/assets/ToolbarRootContext-BH_CFSWd.js +2 -0
- package/dist/app/server/assets/ToolbarRootContext-BH_CFSWd.js.map +1 -0
- package/dist/app/server/assets/Tooltip-DLX41peb.js +2 -0
- package/dist/app/server/assets/Tooltip-DLX41peb.js.map +1 -0
- package/dist/app/server/assets/Tooltip-d3y9ESUJ.css +1 -0
- package/dist/app/server/assets/USD1-COVcO_PB.svg +30 -0
- package/dist/app/server/assets/USDB-Ckwb6UQw.svg +11 -0
- package/dist/app/server/assets/USDC.e-3nMsKAMC.svg +1 -0
- package/dist/app/server/assets/USDT0-ia60Dw0e.svg +1 -0
- package/dist/app/server/assets/USDY-CB4iet2q.svg +16 -0
- package/dist/app/server/assets/USDe-BXHQCd92.svg +1 -0
- package/dist/app/server/assets/Upgrade-Dbfm2nm0.js +2 -0
- package/dist/app/server/assets/Upgrade-Dbfm2nm0.js.map +1 -0
- package/dist/app/server/assets/WalletUpgrade-C04kW0Jl.css +1 -0
- package/dist/app/server/assets/WalletUpgrade-CWKc5fYt.js +2 -0
- package/dist/app/server/assets/WalletUpgrade-CWKc5fYt.js.map +1 -0
- package/dist/app/server/assets/YLDS-CRh8Zw0g.svg +3 -0
- package/dist/app/server/assets/___-I98bns4o.css +1 -0
- package/dist/app/server/assets/___.flows-Cc-awUoC.js +6 -0
- package/dist/app/server/assets/___.flows-Cc-awUoC.js.map +1 -0
- package/dist/app/server/assets/_tanstack-start-manifest_v-U7TrtUSA.js +1 -0
- package/dist/app/server/assets/_zyzz__2Fhome_2Frunner_2Fwork_2Fid_2Fid_2Fsrc_2Fapp_2Froutes_2F_5B__5D.flows-B1pPOqsM.css +1 -0
- package/dist/app/server/assets/_zyzz__2Fhome_2Frunner_2Fwork_2Fid_2Fid_2Fsrc_2Fapp_2Froutes_2F_5B__5D.flows.tsx-CKALi9oD.js +2 -0
- package/dist/app/server/assets/_zyzz__2Fhome_2Frunner_2Fwork_2Fid_2Fid_2Fsrc_2Fapp_2Froutes_2F_5B__5D.flows.tsx-CKALi9oD.js.map +1 -0
- package/dist/app/server/assets/_zyzz_shared-BbDIEd_j.css +1 -0
- package/dist/app/server/assets/alphaUSD-CpCFoVuh.svg +1 -0
- package/dist/app/server/assets/arktype-aI7TBD0R-D1R3Byo5.js +2 -0
- package/dist/app/server/assets/arktype-aI7TBD0R-D1R3Byo5.js.map +1 -0
- package/dist/app/server/assets/async-local-storage-DlOvwxXd.js +2 -0
- package/dist/app/server/assets/async-local-storage-DlOvwxXd.js.map +1 -0
- package/dist/app/server/assets/authorize-BXzTo2Pb.js +2 -0
- package/dist/app/server/assets/authorize-BXzTo2Pb.js.map +1 -0
- package/dist/app/server/assets/authorize-BzoUqOdA.js +2 -0
- package/dist/app/server/assets/authorize-BzoUqOdA.js.map +1 -0
- package/dist/app/server/assets/authorize-DXYo-K2n-rmQQ42x1.js +56 -0
- package/dist/app/server/assets/authorize-DXYo-K2n-rmQQ42x1.js.map +1 -0
- package/dist/app/server/assets/authorize-DfjPYJqS.css +1 -0
- package/dist/app/server/assets/betaUSD-9A8AjgYg.svg +1 -0
- package/dist/app/server/assets/bun-sqlite-dialect-DoOVo4ja-CtyBkVMb.js +2 -0
- package/dist/app/server/assets/bun-sqlite-dialect-DoOVo4ja-CtyBkVMb.js.map +1 -0
- package/dist/app/server/assets/cUSD-WsQfa-iC.svg +1 -0
- package/dist/app/server/assets/call-dzi0xjZd.js +31 -0
- package/dist/app/server/assets/call-dzi0xjZd.js.map +1 -0
- package/dist/app/server/assets/cbBTC-DvUDqrDi.svg +1 -0
- package/dist/app/server/assets/ccip-DjD8z_3B.js +2 -0
- package/dist/app/server/assets/ccip-DjD8z_3B.js.map +1 -0
- package/dist/app/server/assets/choose-account-_X7xq5am.js +2 -0
- package/dist/app/server/assets/choose-account-_X7xq5am.js.map +1 -0
- package/dist/app/server/assets/choose-account-lqA5SLx9.css +1 -0
- package/dist/app/server/assets/choose-account-zm-5Qs3e.js +2 -0
- package/dist/app/server/assets/choose-account-zm-5Qs3e.js.map +1 -0
- package/dist/app/server/assets/compiled-query-Ds2NVcFT.js +2 -0
- package/dist/app/server/assets/compiled-query-Ds2NVcFT.js.map +1 -0
- package/dist/app/server/assets/convert-BIC8n32x.js +2 -0
- package/dist/app/server/assets/convert-BIC8n32x.js.map +1 -0
- package/dist/app/server/assets/cookie-DxViaO10.js +2 -0
- package/dist/app/server/assets/cookie-DxViaO10.js.map +1 -0
- package/dist/app/server/assets/core-BBrZXfrB.js +56 -0
- package/dist/app/server/assets/core-BBrZXfrB.js.map +1 -0
- package/dist/app/server/assets/d1-sqlite-dialect-m0f01-4z-Cv-csE1u.js +2 -0
- package/dist/app/server/assets/d1-sqlite-dialect-m0f01-4z-Cv-csE1u.js.map +1 -0
- package/dist/app/server/assets/decodeFunctionData-bP6V2ai4.js +2 -0
- package/dist/app/server/assets/decodeFunctionData-bP6V2ai4.js.map +1 -0
- package/dist/app/server/assets/default-u_dwuiYb-DOrMMcg9.js +2 -0
- package/dist/app/server/assets/default-u_dwuiYb-DOrMMcg9.js.map +1 -0
- package/dist/app/server/assets/deposit-BBaNI01u.js +2 -0
- package/dist/app/server/assets/deposit-BBaNI01u.js.map +1 -0
- package/dist/app/server/assets/deposit-LWS6ZTuf.js +2 -0
- package/dist/app/server/assets/deposit-LWS6ZTuf.js.map +1 -0
- package/dist/app/server/assets/deposit-oFx15XCA.css +1 -0
- package/dist/app/server/assets/device-CrXlusjr.js +2 -0
- package/dist/app/server/assets/device-CrXlusjr.js.map +1 -0
- package/dist/app/server/assets/device-DdFMgYe2.js +2 -0
- package/dist/app/server/assets/device-DdFMgYe2.js.map +1 -0
- package/dist/app/server/assets/device-tMCpu5zk.css +1 -0
- package/dist/app/server/assets/dist-CR6FW-yS.js +1 -0
- package/dist/app/server/assets/dist-CoH0hD1s.js +15 -0
- package/dist/app/server/assets/dist-CoH0hD1s.js.map +1 -0
- package/dist/app/server/assets/dist-DcICI3fd.js +2 -0
- package/dist/app/server/assets/dist-DcICI3fd.js.map +1 -0
- package/dist/app/server/assets/effect-QlVUlMFu-mXPkuQTb.js +2 -0
- package/dist/app/server/assets/effect-QlVUlMFu-mXPkuQTb.js.map +1 -0
- package/dist/app/server/assets/empty-plugin-adapters-BaGcmrjC.js +2 -0
- package/dist/app/server/assets/empty-plugin-adapters-BaGcmrjC.js.map +1 -0
- package/dist/app/server/assets/error-CXy8gqdE.css +1 -0
- package/dist/app/server/assets/error-DXDT2AHy.js +2 -0
- package/dist/app/server/assets/error-DXDT2AHy.js.map +1 -0
- package/dist/app/server/assets/error-bnVzy9tx.js +2 -0
- package/dist/app/server/assets/error-bnVzy9tx.js.map +1 -0
- package/dist/app/server/assets/esm-C6SW--yt.js +4 -0
- package/dist/app/server/assets/esm-C6SW--yt.js.map +1 -0
- package/dist/app/server/assets/factory-dvoOlKer.js +5 -0
- package/dist/app/server/assets/factory-dvoOlKer.js.map +1 -0
- package/dist/app/server/assets/frxUSD-n9pTpinR.svg +1 -0
- package/dist/app/server/assets/get-id-field-OwLpfjj2.js +6 -0
- package/dist/app/server/assets/get-id-field-OwLpfjj2.js.map +1 -0
- package/dist/app/server/assets/getPseudoElementBounds-PkWU72kn.js +2 -0
- package/dist/app/server/assets/getPseudoElementBounds-PkWU72kn.js.map +1 -0
- package/dist/app/server/assets/goUSD-D9kUvHsF.svg +5 -0
- package/dist/app/server/assets/iUSD-CWCJAq9X.svg +1 -0
- package/dist/app/server/assets/index-CLddUTqr-CC33CMvS.js +2 -0
- package/dist/app/server/assets/index-CLddUTqr-CC33CMvS.js.map +1 -0
- package/dist/app/server/assets/index-DZEfthgZ-Ec2MMQ_e.js +2 -0
- package/dist/app/server/assets/index-DZEfthgZ-Ec2MMQ_e.js.map +1 -0
- package/dist/app/server/assets/kysely-adapter-B8tQwTcu.js +1 -0
- package/dist/app/server/assets/lazyRouteComponent-DPOOPZw_.js +2 -0
- package/dist/app/server/assets/lazyRouteComponent-DPOOPZw_.js.map +1 -0
- package/dist/app/server/assets/load-server-Dr0IlySo.js +3 -0
- package/dist/app/server/assets/load-server-Dr0IlySo.js.map +1 -0
- package/dist/app/server/assets/login-BLq3tEEr.js +2 -0
- package/dist/app/server/assets/login-BLq3tEEr.js.map +1 -0
- package/dist/app/server/assets/login-DCIrAbED.js +2 -0
- package/dist/app/server/assets/login-DCIrAbED.js.map +1 -0
- package/dist/app/server/assets/login-msDnt3yT.css +1 -0
- package/dist/app/server/assets/matchContext-ByrIUj4L.js +2 -0
- package/dist/app/server/assets/matchContext-ByrIUj4L.js.map +1 -0
- package/dist/app/server/assets/node-sqlite-dialect-BowWLXvK.js +2 -0
- package/dist/app/server/assets/node-sqlite-dialect-BowWLXvK.js.map +1 -0
- package/dist/app/server/assets/pathUSD-BvaO6ooS.svg +25 -0
- package/dist/app/server/assets/rUSD-B-xuFS7T.svg +1 -0
- package/dist/app/server/assets/reUSD-CkIUs0Lx.svg +1 -0
- package/dist/app/server/assets/react-dom-DYzj0HXX.js +2 -0
- package/dist/app/server/assets/react-dom-DYzj0HXX.js.map +1 -0
- package/dist/app/server/assets/removable-BCLTvPOx.js +2 -0
- package/dist/app/server/assets/removable-BCLTvPOx.js.map +1 -0
- package/dist/app/server/assets/reset-DZWeTZeQ.js +2 -0
- package/dist/app/server/assets/reset-DZWeTZeQ.js.map +1 -0
- package/dist/app/server/assets/reset-co-CHrff.css +1 -0
- package/dist/app/server/assets/resolveError-CZXXvCJR.js +2 -0
- package/dist/app/server/assets/resolveError-CZXXvCJR.js.map +1 -0
- package/dist/app/server/assets/rolldown-runtime-BWaJ3C7D.js +1 -0
- package/dist/app/server/assets/router-Bqz5X4Qw.js +2 -0
- package/dist/app/server/assets/router-Bqz5X4Qw.js.map +1 -0
- package/dist/app/server/assets/router-CclzitkY.css +1 -0
- package/dist/app/server/assets/routes-BLQdKqcZ.js +2 -0
- package/dist/app/server/assets/routes-BLQdKqcZ.js.map +1 -0
- package/dist/app/server/assets/routes-BgiIzrOt.css +1 -0
- package/dist/app/server/assets/routes-Bv6WzsSR.js +2 -0
- package/dist/app/server/assets/routes-Bv6WzsSR.js.map +1 -0
- package/dist/app/server/assets/sUSDe-j9GOnH7I.svg +1 -0
- package/dist/app/server/assets/schema-check-oLqvHR8y.js +9 -0
- package/dist/app/server/assets/schema-check-oLqvHR8y.js.map +1 -0
- package/dist/app/server/assets/secp256k1-yg8eeIYU.js +2 -0
- package/dist/app/server/assets/secp256k1-yg8eeIYU.js.map +1 -0
- package/dist/app/server/assets/server-RRUiOef2.js +76 -0
- package/dist/app/server/assets/server-RRUiOef2.js.map +1 -0
- package/dist/app/server/assets/siUSD-C10QUNYS.svg +1 -0
- package/dist/app/server/assets/sqlite-adapter-C_LAV4e3.js +2 -0
- package/dist/app/server/assets/sqlite-adapter-C_LAV4e3.js.map +1 -0
- package/dist/app/server/assets/sqlite-introspector-DSCAP82F-Crx7Ny14.js +6 -0
- package/dist/app/server/assets/sqlite-introspector-DSCAP82F-Crx7Ny14.js.map +1 -0
- package/dist/app/server/assets/standard-json-DY77efq0.js +2 -0
- package/dist/app/server/assets/standard-json-DY77efq0.js.map +1 -0
- package/dist/app/server/assets/standard-json-ig2t0wRt.js +2 -0
- package/dist/app/server/assets/standard-json-ig2t0wRt.js.map +1 -0
- package/dist/app/server/assets/standard-json-t-LNckA6.js +2 -0
- package/dist/app/server/assets/standard-json-t-LNckA6.js.map +1 -0
- package/dist/app/server/assets/standard-openapi-CONmVRl8.js +2 -0
- package/dist/app/server/assets/standard-openapi-CONmVRl8.js.map +1 -0
- package/dist/app/server/assets/start-C63VetBp.js +2 -0
- package/dist/app/server/assets/start-C63VetBp.js.map +1 -0
- package/dist/app/server/assets/stcUSD-DIntDJeh.svg +1 -0
- package/dist/app/server/assets/sury-CWZTCd75-CDaOS2oM.js +2 -0
- package/dist/app/server/assets/sury-CWZTCd75-CDaOS2oM.js.map +1 -0
- package/dist/app/server/assets/syrupUSDC-DhYwZqdM.svg +5 -0
- package/dist/app/server/assets/thetaUSD-Dgmksf6G.svg +1 -0
- package/dist/app/server/assets/typebox-Dei93FPO-D_lCVdAz.js +2 -0
- package/dist/app/server/assets/typebox-Dei93FPO-D_lCVdAz.js.map +1 -0
- package/dist/app/server/assets/useNavigate-D6d1w7KE.js +2 -0
- package/dist/app/server/assets/useNavigate-D6d1w7KE.js.map +1 -0
- package/dist/app/server/assets/useQuery-BRpCr5vj.js +2 -0
- package/dist/app/server/assets/useQuery-BRpCr5vj.js.map +1 -0
- package/dist/app/server/assets/useRegisterFieldControl-cJesrOWK.js +2 -0
- package/dist/app/server/assets/useRegisterFieldControl-cJesrOWK.js.map +1 -0
- package/dist/app/server/assets/utils-C4ZXZIZW.js +2 -0
- package/dist/app/server/assets/utils-C4ZXZIZW.js.map +1 -0
- package/dist/app/server/assets/utils-D57zfcg-.js +2 -0
- package/dist/app/server/assets/utils-D57zfcg-.js.map +1 -0
- package/dist/app/server/assets/valibot--1zFm7rT-CIKoH3MS.js +2 -0
- package/dist/app/server/assets/valibot--1zFm7rT-CIKoH3MS.js.map +1 -0
- package/dist/app/server/assets/valibot-D_HTw1Gn-BdPyLkXt.js +2 -0
- package/dist/app/server/assets/valibot-D_HTw1Gn-BdPyLkXt.js.map +1 -0
- package/dist/app/server/assets/wYLDS-CaCKDrO-.svg +10 -0
- package/dist/app/server/assets/wsrUSD-B2Ey0bDQ.svg +1 -0
- package/dist/app/server/assets/zod-Bwrt9trS-BezI5Gi1.js +2 -0
- package/dist/app/server/assets/zod-Bwrt9trS-BezI5Gi1.js.map +1 -0
- package/dist/app/server/assets/zod-DSgpEGAE-DZ7M_Q33.js +2 -0
- package/dist/app/server/assets/zod-DSgpEGAE-DZ7M_Q33.js.map +1 -0
- package/dist/app/server/assets/zyzz-6R2K52xP.css +1 -0
- package/dist/app/server/assets/zyzz.config-CJRpjn0E.js +3 -0
- package/dist/app/server/assets/zyzz.config-CJRpjn0E.js.map +1 -0
- package/dist/app/server/index.js +532 -0
- package/dist/app/server/index.js.map +1 -0
- package/dist/app/server/wrangler.json +1 -0
- package/dist/cli/Admin.d.ts +34 -0
- package/dist/cli/Admin.d.ts.map +1 -0
- package/dist/cli/Admin.js +61 -0
- package/dist/cli/Admin.js.map +1 -0
- package/dist/cli/Apps.d.ts +9 -0
- package/dist/cli/Apps.d.ts.map +1 -0
- package/dist/cli/Apps.js +34 -0
- package/dist/cli/Apps.js.map +1 -0
- package/dist/cli/Cli.d.ts +13 -0
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +26 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/Project.d.ts +17 -0
- package/dist/cli/Project.d.ts.map +1 -0
- package/dist/cli/Project.js +90 -0
- package/dist/cli/Project.js.map +1 -0
- package/dist/cli/Realms.d.ts +24 -0
- package/dist/cli/Realms.d.ts.map +1 -0
- package/dist/cli/Realms.js +48 -0
- package/dist/cli/Realms.js.map +1 -0
- package/dist/cli/Session.d.ts +79 -0
- package/dist/cli/Session.d.ts.map +1 -0
- package/dist/cli/Session.js +229 -0
- package/dist/cli/Session.js.map +1 -0
- package/dist/cli/User.d.ts +24 -0
- package/dist/cli/User.d.ts.map +1 -0
- package/dist/cli/User.js +34 -0
- package/dist/cli/User.js.map +1 -0
- package/dist/cli/V1.d.ts +32 -0
- package/dist/cli/V1.d.ts.map +1 -0
- package/dist/cli/V1.js +38 -0
- package/dist/cli/V1.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +46 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin/apps/create.d.ts +23 -0
- package/dist/cli/commands/admin/apps/create.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/create.js +84 -0
- package/dist/cli/commands/admin/apps/create.js.map +1 -0
- package/dist/cli/commands/admin/apps/delete.d.ts +15 -0
- package/dist/cli/commands/admin/apps/delete.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/delete.js +41 -0
- package/dist/cli/commands/admin/apps/delete.js.map +1 -0
- package/dist/cli/commands/admin/apps/index.d.ts +5 -0
- package/dist/cli/commands/admin/apps/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/index.js +14 -0
- package/dist/cli/commands/admin/apps/index.js.map +1 -0
- package/dist/cli/commands/admin/apps/list.d.ts +10 -0
- package/dist/cli/commands/admin/apps/list.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/list.js +26 -0
- package/dist/cli/commands/admin/apps/list.js.map +1 -0
- package/dist/cli/commands/admin/apps/rotate-secret.d.ts +17 -0
- package/dist/cli/commands/admin/apps/rotate-secret.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/rotate-secret.js +47 -0
- package/dist/cli/commands/admin/apps/rotate-secret.js.map +1 -0
- package/dist/cli/commands/admin/apps/update.d.ts +20 -0
- package/dist/cli/commands/admin/apps/update.d.ts.map +1 -0
- package/dist/cli/commands/admin/apps/update.js +71 -0
- package/dist/cli/commands/admin/apps/update.js.map +1 -0
- package/dist/cli/commands/admin/index.d.ts +5 -0
- package/dist/cli/commands/admin/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/index.js +13 -0
- package/dist/cli/commands/admin/index.js.map +1 -0
- package/dist/cli/commands/admin/migrate.d.ts +10 -0
- package/dist/cli/commands/admin/migrate.d.ts.map +1 -0
- package/dist/cli/commands/admin/migrate.js +20 -0
- package/dist/cli/commands/admin/migrate.js.map +1 -0
- package/dist/cli/commands/admin/realms/add.d.ts +13 -0
- package/dist/cli/commands/admin/realms/add.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/add.js +42 -0
- package/dist/cli/commands/admin/realms/add.js.map +1 -0
- package/dist/cli/commands/admin/realms/index.d.ts +5 -0
- package/dist/cli/commands/admin/realms/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/index.js +13 -0
- package/dist/cli/commands/admin/realms/index.js.map +1 -0
- package/dist/cli/commands/admin/realms/list.d.ts +14 -0
- package/dist/cli/commands/admin/realms/list.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/list.js +36 -0
- package/dist/cli/commands/admin/realms/list.js.map +1 -0
- package/dist/cli/commands/admin/realms/passkeys/index.d.ts +5 -0
- package/dist/cli/commands/admin/realms/passkeys/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/passkeys/index.js +13 -0
- package/dist/cli/commands/admin/realms/passkeys/index.js.map +1 -0
- package/dist/cli/commands/admin/realms/passkeys/set.d.ts +17 -0
- package/dist/cli/commands/admin/realms/passkeys/set.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/passkeys/set.js +46 -0
- package/dist/cli/commands/admin/realms/passkeys/set.js.map +1 -0
- package/dist/cli/commands/admin/realms/privy/index.d.ts +5 -0
- package/dist/cli/commands/admin/realms/privy/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/privy/index.js +13 -0
- package/dist/cli/commands/admin/realms/privy/index.js.map +1 -0
- package/dist/cli/commands/admin/realms/privy/set.d.ts +19 -0
- package/dist/cli/commands/admin/realms/privy/set.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/privy/set.js +66 -0
- package/dist/cli/commands/admin/realms/privy/set.js.map +1 -0
- package/dist/cli/commands/admin/realms/remove.d.ts +12 -0
- package/dist/cli/commands/admin/realms/remove.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/remove.js +35 -0
- package/dist/cli/commands/admin/realms/remove.js.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/disable.d.ts +16 -0
- package/dist/cli/commands/admin/realms/secp256k1/disable.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/disable.js +42 -0
- package/dist/cli/commands/admin/realms/secp256k1/disable.js.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/enable.d.ts +16 -0
- package/dist/cli/commands/admin/realms/secp256k1/enable.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/enable.js +42 -0
- package/dist/cli/commands/admin/realms/secp256k1/enable.js.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/index.d.ts +9 -0
- package/dist/cli/commands/admin/realms/secp256k1/index.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/secp256k1/index.js +17 -0
- package/dist/cli/commands/admin/realms/secp256k1/index.js.map +1 -0
- package/dist/cli/commands/admin/realms/set.d.ts +17 -0
- package/dist/cli/commands/admin/realms/set.d.ts.map +1 -0
- package/dist/cli/commands/admin/realms/set.js +46 -0
- package/dist/cli/commands/admin/realms/set.js.map +1 -0
- package/dist/cli/commands/admin/rotate-key.d.ts +16 -0
- package/dist/cli/commands/admin/rotate-key.d.ts.map +1 -0
- package/dist/cli/commands/admin/rotate-key.js +46 -0
- package/dist/cli/commands/admin/rotate-key.js.map +1 -0
- package/dist/cli/commands/init.d.ts +11 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +34 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/login.d.ts +12 -0
- package/dist/cli/commands/login.d.ts.map +1 -0
- package/dist/cli/commands/login.js +29 -0
- package/dist/cli/commands/login.js.map +1 -0
- package/dist/cli/commands/logout.d.ts +8 -0
- package/dist/cli/commands/logout.d.ts.map +1 -0
- package/dist/cli/commands/logout.js +19 -0
- package/dist/cli/commands/logout.js.map +1 -0
- package/dist/cli/commands/whoami.d.ts +12 -0
- package/dist/cli/commands/whoami.d.ts.map +1 -0
- package/dist/cli/commands/whoami.js +24 -0
- package/dist/cli/commands/whoami.js.map +1 -0
- package/dist/client/Actions.d.ts +108 -0
- package/dist/client/Actions.d.ts.map +1 -0
- package/dist/client/Actions.js +94 -0
- package/dist/client/Actions.js.map +1 -0
- package/dist/client/Auth.d.ts +143 -0
- package/dist/client/Auth.d.ts.map +1 -0
- package/dist/client/Auth.js +106 -0
- package/dist/client/Auth.js.map +1 -0
- package/dist/client/Authorization.d.ts +29 -0
- package/dist/client/Authorization.d.ts.map +1 -0
- package/dist/client/Authorization.js +12 -0
- package/dist/client/Authorization.js.map +1 -0
- package/dist/client/Decorator.d.ts +172 -0
- package/dist/client/Decorator.d.ts.map +1 -0
- package/dist/client/Decorator.js +241 -0
- package/dist/client/Decorator.js.map +1 -0
- package/dist/client/Key.d.ts +82 -0
- package/dist/client/Key.d.ts.map +1 -0
- package/dist/client/Key.js +81 -0
- package/dist/client/Key.js.map +1 -0
- package/dist/client/Pending.d.ts +38 -0
- package/dist/client/Pending.d.ts.map +1 -0
- package/dist/client/Pending.js +12 -0
- package/dist/client/Pending.js.map +1 -0
- package/dist/client/Permissions.d.ts +36 -0
- package/dist/client/Permissions.d.ts.map +1 -0
- package/dist/client/Permissions.js +16 -0
- package/dist/client/Permissions.js.map +1 -0
- package/dist/client/Storage.d.ts +27 -0
- package/dist/client/Storage.d.ts.map +1 -0
- package/dist/client/Storage.js +16 -0
- package/dist/client/Storage.js.map +1 -0
- package/dist/client/TempoAccount.d.ts +52 -0
- package/dist/client/TempoAccount.d.ts.map +1 -0
- package/dist/client/TempoAccount.js +17 -0
- package/dist/client/TempoAccount.js.map +1 -0
- package/dist/client/Tokens.d.ts +25 -0
- package/dist/client/Tokens.d.ts.map +1 -0
- package/dist/client/Tokens.js +12 -0
- package/dist/client/Tokens.js.map +1 -0
- package/dist/client/User.d.ts +21 -0
- package/dist/client/User.d.ts.map +1 -0
- package/dist/client/User.js +12 -0
- package/dist/client/User.js.map +1 -0
- package/dist/client/actions/account.d.ts +75 -0
- package/dist/client/actions/account.d.ts.map +1 -0
- package/dist/client/actions/account.js +102 -0
- package/dist/client/actions/account.js.map +1 -0
- package/dist/client/actions/device.d.ts +52 -0
- package/dist/client/actions/device.d.ts.map +1 -0
- package/dist/client/actions/device.js +103 -0
- package/dist/client/actions/device.js.map +1 -0
- package/dist/client/actions/email.d.ts +89 -0
- package/dist/client/actions/email.d.ts.map +1 -0
- package/dist/client/actions/email.js +86 -0
- package/dist/client/actions/email.js.map +1 -0
- package/dist/client/actions/oauth.d.ts +112 -0
- package/dist/client/actions/oauth.d.ts.map +1 -0
- package/dist/client/actions/oauth.js +103 -0
- package/dist/client/actions/oauth.js.map +1 -0
- package/dist/client/actions/passkey.d.ts +140 -0
- package/dist/client/actions/passkey.d.ts.map +1 -0
- package/dist/client/actions/passkey.js +170 -0
- package/dist/client/actions/passkey.js.map +1 -0
- package/dist/client/actions/realm.d.ts +25 -0
- package/dist/client/actions/realm.d.ts.map +1 -0
- package/dist/client/actions/realm.js +16 -0
- package/dist/client/actions/realm.js.map +1 -0
- package/dist/client/actions/redirect.d.ts +152 -0
- package/dist/client/actions/redirect.d.ts.map +1 -0
- package/dist/client/actions/redirect.js +311 -0
- package/dist/client/actions/redirect.js.map +1 -0
- package/dist/client/internal/accessKey.d.ts +21 -0
- package/dist/client/internal/accessKey.d.ts.map +1 -0
- package/dist/client/internal/accessKey.js +38 -0
- package/dist/client/internal/accessKey.js.map +1 -0
- package/dist/client/internal/account.d.ts +17 -0
- package/dist/client/internal/account.d.ts.map +1 -0
- package/dist/client/internal/account.js +3 -0
- package/dist/client/internal/account.js.map +1 -0
- package/dist/client/internal/api.d.ts +110 -0
- package/dist/client/internal/api.d.ts.map +1 -0
- package/dist/client/internal/api.js +136 -0
- package/dist/client/internal/api.js.map +1 -0
- package/dist/client/internal/headless.d.ts +159 -0
- package/dist/client/internal/headless.d.ts.map +1 -0
- package/dist/client/internal/headless.js +196 -0
- package/dist/client/internal/headless.js.map +1 -0
- package/dist/client/internal/indexedDb.d.ts +8 -0
- package/dist/client/internal/indexedDb.d.ts.map +1 -0
- package/dist/client/internal/indexedDb.js +32 -0
- package/dist/client/internal/indexedDb.js.map +1 -0
- package/dist/client/internal/request.d.ts +56 -0
- package/dist/client/internal/request.d.ts.map +1 -0
- package/dist/client/internal/request.js +44 -0
- package/dist/client/internal/request.js.map +1 -0
- package/dist/client/internal/store.d.ts +12 -0
- package/dist/client/internal/store.d.ts.map +1 -0
- package/dist/client/internal/store.js +15 -0
- package/dist/client/internal/store.js.map +1 -0
- package/dist/client/internal/verifier.d.ts +25 -0
- package/dist/client/internal/verifier.d.ts.map +1 -0
- package/dist/client/internal/verifier.js +52 -0
- package/dist/client/internal/verifier.js.map +1 -0
- package/dist/client.d.ts +18 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +18 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/Apps.d.ts +3169 -0
- package/dist/internal/Apps.d.ts.map +1 -0
- package/dist/internal/Apps.js +948 -0
- package/dist/internal/Apps.js.map +1 -0
- package/dist/internal/Auth.d.ts +4287 -0
- package/dist/internal/Auth.d.ts.map +1 -0
- package/dist/internal/Auth.js +185 -0
- package/dist/internal/Auth.js.map +1 -0
- package/dist/internal/Authorize.d.ts +526 -0
- package/dist/internal/Authorize.d.ts.map +1 -0
- package/dist/internal/Authorize.js +330 -0
- package/dist/internal/Authorize.js.map +1 -0
- package/dist/internal/Cache.d.ts +56 -0
- package/dist/internal/Cache.d.ts.map +1 -0
- package/dist/internal/Cache.js +65 -0
- package/dist/internal/Cache.js.map +1 -0
- package/dist/internal/Chain.d.ts +738 -0
- package/dist/internal/Chain.d.ts.map +1 -0
- package/dist/internal/Chain.js +65 -0
- package/dist/internal/Chain.js.map +1 -0
- package/dist/internal/ChainList.d.ts +117 -0
- package/dist/internal/ChainList.d.ts.map +1 -0
- package/dist/internal/ChainList.js +148 -0
- package/dist/internal/ChainList.js.map +1 -0
- package/dist/internal/ChainName.d.ts +11 -0
- package/dist/internal/ChainName.d.ts.map +1 -0
- package/dist/internal/ChainName.js +13 -0
- package/dist/internal/ChainName.js.map +1 -0
- package/dist/internal/CodeEmail.d.ts +38 -0
- package/dist/internal/CodeEmail.d.ts.map +1 -0
- package/dist/internal/CodeEmail.js +85 -0
- package/dist/internal/CodeEmail.js.map +1 -0
- package/dist/internal/ConfigurableAccount.d.ts +600 -0
- package/dist/internal/ConfigurableAccount.d.ts.map +1 -0
- package/dist/internal/ConfigurableAccount.js +795 -0
- package/dist/internal/ConfigurableAccount.js.map +1 -0
- package/dist/internal/Device.d.ts +246 -0
- package/dist/internal/Device.d.ts.map +1 -0
- package/dist/internal/Device.js +257 -0
- package/dist/internal/Device.js.map +1 -0
- package/dist/internal/Env.d.ts +97 -0
- package/dist/internal/Env.d.ts.map +1 -0
- package/dist/internal/Env.js +2 -0
- package/dist/internal/Env.js.map +1 -0
- package/dist/internal/ErrorResponse.d.ts +608 -0
- package/dist/internal/ErrorResponse.d.ts.map +1 -0
- package/dist/internal/ErrorResponse.js +701 -0
- package/dist/internal/ErrorResponse.js.map +1 -0
- package/dist/internal/Id.d.ts +10 -0
- package/dist/internal/Id.d.ts.map +1 -0
- package/dist/internal/Id.js +34 -0
- package/dist/internal/Id.js.map +1 -0
- package/dist/internal/KeyAuthorization.d.ts +1650 -0
- package/dist/internal/KeyAuthorization.d.ts.map +1 -0
- package/dist/internal/KeyAuthorization.js +1187 -0
- package/dist/internal/KeyAuthorization.js.map +1 -0
- package/dist/internal/Limits.d.ts +70 -0
- package/dist/internal/Limits.d.ts.map +1 -0
- package/dist/internal/Limits.js +36 -0
- package/dist/internal/Limits.js.map +1 -0
- package/dist/internal/Log.d.ts +34 -0
- package/dist/internal/Log.d.ts.map +1 -0
- package/dist/internal/Log.js +99 -0
- package/dist/internal/Log.js.map +1 -0
- package/dist/internal/LogLine.d.ts +29 -0
- package/dist/internal/LogLine.d.ts.map +1 -0
- package/dist/internal/LogLine.js +50 -0
- package/dist/internal/LogLine.js.map +1 -0
- package/dist/internal/Migrations.d.ts +28 -0
- package/dist/internal/Migrations.d.ts.map +1 -0
- package/dist/internal/Migrations.js +82 -0
- package/dist/internal/Migrations.js.map +1 -0
- package/dist/internal/Owner.d.ts +230 -0
- package/dist/internal/Owner.d.ts.map +1 -0
- package/dist/internal/Owner.js +101 -0
- package/dist/internal/Owner.js.map +1 -0
- package/dist/internal/Passkey.d.ts +901 -0
- package/dist/internal/Passkey.d.ts.map +1 -0
- package/dist/internal/Passkey.js +1185 -0
- package/dist/internal/Passkey.js.map +1 -0
- package/dist/internal/PendingKey.d.ts +49 -0
- package/dist/internal/PendingKey.d.ts.map +1 -0
- package/dist/internal/PendingKey.js +58 -0
- package/dist/internal/PendingKey.js.map +1 -0
- package/dist/internal/Privy.d.ts +138 -0
- package/dist/internal/Privy.d.ts.map +1 -0
- package/dist/internal/Privy.js +285 -0
- package/dist/internal/Privy.js.map +1 -0
- package/dist/internal/RateLimit.d.ts +218 -0
- package/dist/internal/RateLimit.d.ts.map +1 -0
- package/dist/internal/RateLimit.js +209 -0
- package/dist/internal/RateLimit.js.map +1 -0
- package/dist/internal/Realm.d.ts +290 -0
- package/dist/internal/Realm.d.ts.map +1 -0
- package/dist/internal/Realm.js +502 -0
- package/dist/internal/Realm.js.map +1 -0
- package/dist/internal/RequestId.d.ts +16 -0
- package/dist/internal/RequestId.d.ts.map +1 -0
- package/dist/internal/RequestId.js +78 -0
- package/dist/internal/RequestId.js.map +1 -0
- package/dist/internal/SigningKey.d.ts +126 -0
- package/dist/internal/SigningKey.d.ts.map +1 -0
- package/dist/internal/SigningKey.js +221 -0
- package/dist/internal/SigningKey.js.map +1 -0
- package/dist/internal/TempoAccount.d.ts +181 -0
- package/dist/internal/TempoAccount.d.ts.map +1 -0
- package/dist/internal/TempoAccount.js +369 -0
- package/dist/internal/TempoAccount.js.map +1 -0
- package/dist/internal/TestInbox.d.ts +42 -0
- package/dist/internal/TestInbox.d.ts.map +1 -0
- package/dist/internal/TestInbox.js +20 -0
- package/dist/internal/TestInbox.js.map +1 -0
- package/dist/internal/Timing.d.ts +52 -0
- package/dist/internal/Timing.d.ts.map +1 -0
- package/dist/internal/Timing.js +116 -0
- package/dist/internal/Timing.js.map +1 -0
- package/dist/internal/Validation.d.ts +52 -0
- package/dist/internal/Validation.d.ts.map +1 -0
- package/dist/internal/Validation.js +22 -0
- package/dist/internal/Validation.js.map +1 -0
- package/dist/internal/Verification.d.ts +24 -0
- package/dist/internal/Verification.d.ts.map +1 -0
- package/dist/internal/Verification.js +37 -0
- package/dist/internal/Verification.js.map +1 -0
- package/dist/internal/Wallet.d.ts +66 -0
- package/dist/internal/Wallet.d.ts.map +1 -0
- package/dist/internal/Wallet.js +59 -0
- package/dist/internal/Wallet.js.map +1 -0
- package/dist/internal/owners/Passkey.d.ts +9 -0
- package/dist/internal/owners/Passkey.d.ts.map +1 -0
- package/dist/internal/owners/Passkey.js +58 -0
- package/dist/internal/owners/Passkey.js.map +1 -0
- package/dist/internal/owners/Privy.d.ts +13 -0
- package/dist/internal/owners/Privy.d.ts.map +1 -0
- package/dist/internal/owners/Privy.js +59 -0
- package/dist/internal/owners/Privy.js.map +1 -0
- package/dist/internal/owners/Secp256k1.d.ts +12 -0
- package/dist/internal/owners/Secp256k1.d.ts.map +1 -0
- package/dist/internal/owners/Secp256k1.js +99 -0
- package/dist/internal/owners/Secp256k1.js.map +1 -0
- package/dist/worker.d.ts +18 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +18 -0
- package/dist/worker.js.map +1 -0
- package/package.json +83 -3
- package/src/Api.ts +157 -0
- package/src/App.ts +316 -0
- package/src/api/account.ts +2266 -0
- package/src/api/authenticate.ts +1662 -0
- package/src/api/authorize.ts +1086 -0
- package/src/api/device.ts +516 -0
- package/src/api/health.ts +72 -0
- package/src/api/lib/AccountStep.ts +485 -0
- package/src/api/lib/Auth.ts +164 -0
- package/src/api/lib/Configure.ts +921 -0
- package/src/api/lib/Consent.ts +388 -0
- package/src/api/lib/Cors.ts +160 -0
- package/src/api/lib/Database.ts +10 -0
- package/src/api/lib/DeviceRequest.ts +244 -0
- package/src/api/lib/FirstAccount.ts +136 -0
- package/src/api/lib/Headless.ts +616 -0
- package/src/api/lib/IsolateCache.ts +28 -0
- package/src/api/lib/KeySigner.ts +690 -0
- package/src/api/lib/PasskeyLink.ts +162 -0
- package/src/api/lib/Session.ts +64 -0
- package/src/api/lib/SignInConsent.ts +393 -0
- package/src/api/oauth.ts +1796 -0
- package/src/app/components/CodeInput.tsx +153 -0
- package/src/app/components/DevTools.tsx +1071 -0
- package/src/app/components/Grant.tsx +476 -0
- package/src/app/components/icons/BRLA.png +0 -0
- package/src/app/components/icons/BRZ.svg +1 -0
- package/src/app/components/icons/CHFAU.png +0 -0
- package/src/app/components/icons/DLUSD.png +0 -0
- package/src/app/components/icons/EURAU.svg +1 -0
- package/src/app/components/icons/EURC.e.svg +1 -0
- package/src/app/components/icons/GBPA.svg +4 -0
- package/src/app/components/icons/GUSD.svg +1 -0
- package/src/app/components/icons/MACH.svg +4 -0
- package/src/app/components/icons/OUSD.svg +5 -0
- package/src/app/components/icons/PRIME.svg +14 -0
- package/src/app/components/icons/SBC.svg +1 -0
- package/src/app/components/icons/SEKAU.svg +5 -0
- package/src/app/components/icons/USD1.svg +30 -0
- package/src/app/components/icons/USDB.svg +11 -0
- package/src/app/components/icons/USDC.e.svg +1 -0
- package/src/app/components/icons/USDT0.svg +1 -0
- package/src/app/components/icons/USDY.svg +16 -0
- package/src/app/components/icons/USDe.svg +1 -0
- package/src/app/components/icons/YLDS.svg +3 -0
- package/src/app/components/icons/alphaUSD.svg +1 -0
- package/src/app/components/icons/betaUSD.svg +1 -0
- package/src/app/components/icons/cUSD.svg +1 -0
- package/src/app/components/icons/cbBTC.svg +1 -0
- package/src/app/components/icons/frxUSD.svg +1 -0
- package/src/app/components/icons/goUSD.svg +5 -0
- package/src/app/components/icons/iUSD.svg +1 -0
- package/src/app/components/icons/pathUSD.svg +25 -0
- package/src/app/components/icons/rUSD.svg +1 -0
- package/src/app/components/icons/reUSD.svg +1 -0
- package/src/app/components/icons/sUSDe.svg +1 -0
- package/src/app/components/icons/siUSD.svg +1 -0
- package/src/app/components/icons/stcUSD.svg +1 -0
- package/src/app/components/icons/syrupUSDC.svg +5 -0
- package/src/app/components/icons/thetaUSD.svg +1 -0
- package/src/app/components/icons/wYLDS.svg +10 -0
- package/src/app/components/icons/wsrUSD.svg +1 -0
- package/src/app/components/logos/OUSD.dark.svg +17 -0
- package/src/app/components/logos/OUSD.light.svg +17 -0
- package/src/app/coverage.server.ts +73 -0
- package/src/app/coverage.ts +69 -0
- package/src/app/crons/cleanup.ts +104 -0
- package/src/app/db/auth.ts +440 -0
- package/src/app/db/migrations/0000_better_auth.sql +53 -0
- package/src/app/db/migrations/0001_oauth_provider.sql +162 -0
- package/src/app/db/migrations/0002_device_code.sql +17 -0
- package/src/app/db/migrations/0003_realms.sql +27 -0
- package/src/app/db/migrations/0004_default_realm.sql +2 -0
- package/src/app/db/migrations/0005_passkeys.sql +30 -0
- package/src/app/db/migrations/0006_first_accounts.sql +9 -0
- package/src/app/db/migrations/0007_pending_keys.sql +13 -0
- package/src/app/db/migrations/0008_secp256k1_owners.sql +18 -0
- package/src/app/db/migrations/0009_device_requests.sql +8 -0
- package/src/app/db/migrations/0010_device_keys.sql +4 -0
- package/src/app/db/migrations/0011_registered_passkeys.sql +2 -0
- package/src/app/db/migrations/0012_passkey_accounts.sql +7 -0
- package/src/app/db/migrations/0013_first_party_apps.sql +4 -0
- package/src/app/db/migrations/0014_logout_revokes_tokens.sql +17 -0
- package/src/app/db/migrations/0015_expiry_indexes.sql +9 -0
- package/src/app/db/migrations/0016_configurable_accounts.sql +15 -0
- package/src/app/db/migrations/0017_account_config_keys.sql +3 -0
- package/src/app/db/migrations/0018_better_auth_1_8.sql +9 -0
- package/src/app/db/migrations/0019_drop_provider_account_index.sql +1 -0
- package/src/app/db/migrations/meta/0000_snapshot.json +362 -0
- package/src/app/db/migrations/meta/0001_snapshot.json +1487 -0
- package/src/app/db/migrations/meta/0002_snapshot.json +1603 -0
- package/src/app/db/migrations/meta/0003_snapshot.json +1760 -0
- package/src/app/db/migrations/meta/0004_snapshot.json +1760 -0
- package/src/app/db/migrations/meta/0005_snapshot.json +1911 -0
- package/src/app/db/migrations/meta/0006_snapshot.json +1967 -0
- package/src/app/db/migrations/meta/0007_snapshot.json +2047 -0
- package/src/app/db/migrations/meta/0008_snapshot.json +2157 -0
- package/src/app/db/migrations/meta/0009_snapshot.json +2207 -0
- package/src/app/db/migrations/meta/0010_snapshot.json +2231 -0
- package/src/app/db/migrations/meta/0011_snapshot.json +2231 -0
- package/src/app/db/migrations/meta/0012_snapshot.json +2231 -0
- package/src/app/db/migrations/meta/0013_snapshot.json +2231 -0
- package/src/app/db/migrations/meta/0014_snapshot.json +2231 -0
- package/src/app/db/migrations/meta/0015_snapshot.json +2375 -0
- package/src/app/db/migrations/meta/0016_snapshot.json +2475 -0
- package/src/app/db/migrations/meta/0017_snapshot.json +2481 -0
- package/src/app/db/migrations/meta/0018_snapshot.json +2535 -0
- package/src/app/db/migrations/meta/0019_snapshot.json +2514 -0
- package/src/app/db/migrations/meta/_journal.json +146 -0
- package/src/app/db/schema.ts +241 -0
- package/src/app/db/table.ts +31 -0
- package/src/app/env.ts +57 -0
- package/src/app/inbox.ts +190 -0
- package/src/app/lib/Client.ts +82 -0
- package/src/app/lib/Inbox.ts +11 -0
- package/src/app/lib/Loader.ts +21 -0
- package/src/app/lib/Upgrade.ts +221 -0
- package/src/app/package.json +8 -0
- package/src/app/public/_headers +4 -0
- package/src/app/routeTree.gen.ts +219 -0
- package/src/app/router.tsx +47 -0
- package/src/app/routes/[_].flows.tsx +4254 -0
- package/src/app/routes/__root.tsx +172 -0
- package/src/app/routes/authorize.tsx +379 -0
- package/src/app/routes/choose-account.tsx +144 -0
- package/src/app/routes/deposit.tsx +107 -0
- package/src/app/routes/device.tsx +273 -0
- package/src/app/routes/error.tsx +62 -0
- package/src/app/routes/index.tsx +511 -0
- package/src/app/routes/login.tsx +577 -0
- package/src/app/screens/Account.tsx +559 -0
- package/src/app/screens/Approval.tsx +444 -0
- package/src/app/screens/ChooseAccount.tsx +206 -0
- package/src/app/screens/Deposit.tsx +523 -0
- package/src/app/screens/DeviceApproval.tsx +500 -0
- package/src/app/screens/NotFound.tsx +62 -0
- package/src/app/screens/SignIn.tsx +372 -0
- package/src/app/screens/WalletUpgrade.tsx +121 -0
- package/src/app/screens/chains/base.svg +3 -0
- package/src/app/screens/chains/ethereum.svg +11 -0
- package/src/app/screens/chains/solana.svg +4 -0
- package/src/app/screens/chains/tempo.svg +4 -0
- package/src/app/server.ts +342 -0
- package/src/app/vite.config.ts +128 -0
- package/src/app/void.config.ts +36 -0
- package/src/app/wallet.ts +69 -0
- package/src/app/zyzz.config.ts +52 -0
- package/src/cli/Admin.ts +74 -0
- package/src/cli/Apps.ts +27 -0
- package/src/cli/Cli.ts +41 -0
- package/src/cli/Project.ts +119 -0
- package/src/cli/Realms.ts +49 -0
- package/src/cli/Session.ts +290 -0
- package/src/cli/User.ts +40 -0
- package/src/cli/V1.ts +54 -0
- package/src/cli/bin.ts +44 -0
- package/src/cli/commands/admin/apps/create.ts +96 -0
- package/src/cli/commands/admin/apps/delete.ts +38 -0
- package/src/cli/commands/admin/apps/index.ts +15 -0
- package/src/cli/commands/admin/apps/list.ts +25 -0
- package/src/cli/commands/admin/apps/rotate-secret.ts +47 -0
- package/src/cli/commands/admin/apps/update.ts +79 -0
- package/src/cli/commands/admin/index.ts +14 -0
- package/src/cli/commands/admin/migrate.ts +19 -0
- package/src/cli/commands/admin/realms/add.ts +40 -0
- package/src/cli/commands/admin/realms/index.ts +14 -0
- package/src/cli/commands/admin/realms/list.ts +38 -0
- package/src/cli/commands/admin/realms/passkeys/index.ts +15 -0
- package/src/cli/commands/admin/realms/passkeys/set.ts +44 -0
- package/src/cli/commands/admin/realms/privy/index.ts +14 -0
- package/src/cli/commands/admin/realms/privy/set.ts +69 -0
- package/src/cli/commands/admin/realms/remove.ts +33 -0
- package/src/cli/commands/admin/realms/secp256k1/disable.ts +40 -0
- package/src/cli/commands/admin/realms/secp256k1/enable.ts +40 -0
- package/src/cli/commands/admin/realms/secp256k1/index.ts +19 -0
- package/src/cli/commands/admin/realms/set.ts +46 -0
- package/src/cli/commands/admin/rotate-key.ts +47 -0
- package/src/cli/commands/init.ts +42 -0
- package/src/cli/commands/login.ts +32 -0
- package/src/cli/commands/logout.ts +19 -0
- package/src/cli/commands/whoami.ts +23 -0
- package/src/client/Actions.ts +180 -0
- package/src/client/Auth.ts +267 -0
- package/src/client/Authorization.ts +34 -0
- package/src/client/Decorator.ts +444 -0
- package/src/client/Key.ts +137 -0
- package/src/client/Pending.ts +45 -0
- package/src/client/Permissions.ts +41 -0
- package/src/client/Storage.ts +29 -0
- package/src/client/TempoAccount.ts +55 -0
- package/src/client/Tokens.ts +27 -0
- package/src/client/User.ts +23 -0
- package/src/client/actions/account.ts +171 -0
- package/src/client/actions/device.ts +166 -0
- package/src/client/actions/email.ts +164 -0
- package/src/client/actions/oauth.ts +179 -0
- package/src/client/actions/passkey.ts +333 -0
- package/src/client/actions/realm.ts +37 -0
- package/src/client/actions/redirect.ts +502 -0
- package/src/client/internal/accessKey.ts +54 -0
- package/src/client/internal/account.ts +18 -0
- package/src/client/internal/api.ts +242 -0
- package/src/client/internal/headless.ts +308 -0
- package/src/client/internal/indexedDb.ts +44 -0
- package/src/client/internal/request.ts +70 -0
- package/src/client/internal/store.ts +20 -0
- package/src/client/internal/verifier.ts +75 -0
- package/src/client.ts +17 -0
- package/src/index.ts +5 -0
- package/src/internal/Apps.ts +1283 -0
- package/src/internal/Auth.ts +273 -0
- package/src/internal/Authorize.ts +433 -0
- package/src/internal/Balance.ts +144 -0
- package/src/internal/BodyLimit.ts +31 -0
- package/src/internal/Cache.ts +119 -0
- package/src/internal/Chain.ts +99 -0
- package/src/internal/ChainList.ts +270 -0
- package/src/internal/ChainName.ts +14 -0
- package/src/internal/ChainStatus.ts +65 -0
- package/src/internal/CodeEmail.ts +138 -0
- package/src/internal/ConfigurableAccount.ts +1315 -0
- package/src/internal/Device.ts +471 -0
- package/src/internal/Env.ts +92 -0
- package/src/internal/ErrorResponse.ts +896 -0
- package/src/internal/Faucet.ts +43 -0
- package/src/internal/Id.ts +41 -0
- package/src/internal/KeyAuthorization.ts +1536 -0
- package/src/internal/Limits.ts +40 -0
- package/src/internal/Log.ts +166 -0
- package/src/internal/LogLine.ts +81 -0
- package/src/internal/Logout.ts +356 -0
- package/src/internal/Migrations.ts +120 -0
- package/src/internal/OpenApi.ts +300 -0
- package/src/internal/Owner.ts +310 -0
- package/src/internal/Passkey.ts +1904 -0
- package/src/internal/PendingKey.ts +104 -0
- package/src/internal/Privy.ts +536 -0
- package/src/internal/RateLimit.ts +346 -0
- package/src/internal/Realm.ts +814 -0
- package/src/internal/RequestId.ts +118 -0
- package/src/internal/SignInGrant.ts +175 -0
- package/src/internal/SigningKey.ts +319 -0
- package/src/internal/TempoAccount.ts +545 -0
- package/src/internal/TestInbox.ts +51 -0
- package/src/internal/Timing.ts +172 -0
- package/src/internal/Validation.ts +52 -0
- package/src/internal/Verification.ts +58 -0
- package/src/internal/Wallet.ts +101 -0
- package/src/internal/owners/Passkey.ts +76 -0
- package/src/internal/owners/Privy.ts +82 -0
- package/src/internal/owners/Secp256k1.ts +139 -0
- package/src/types/app.d.ts +39 -0
- package/src/worker.ts +17 -0
|
@@ -0,0 +1,1650 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Access keys (TIP-1011) that apps hold on a user's Tempo Account, in the shape of the Accounts
|
|
3
|
+
* SDK's `wallet_connect` capability. The user approves a key on a page, or it fits the headless
|
|
4
|
+
* ceiling. A challenge becomes the key's witness (TIP-1053).
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import { Address, Hex } from 'ox';
|
|
8
|
+
import { AccountConfig, KeyAuthorization } from 'ox/tempo';
|
|
9
|
+
import { Account } from 'viem/tempo';
|
|
10
|
+
import { z } from 'zod';
|
|
11
|
+
import * as Apps from './Apps.js';
|
|
12
|
+
import * as ErrorResponse from './ErrorResponse.js';
|
|
13
|
+
import type * as Passkey from './Passkey.js';
|
|
14
|
+
declare const ChallengeNotPermittedError_base: {
|
|
15
|
+
new (options: ErrorResponse.define.Options): {
|
|
16
|
+
message: string;
|
|
17
|
+
stack?: string;
|
|
18
|
+
cause?: unknown;
|
|
19
|
+
readonly res?: Response;
|
|
20
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
21
|
+
getResponse(): Response;
|
|
22
|
+
readonly name: string;
|
|
23
|
+
readonly response: Omit<{
|
|
24
|
+
error: string;
|
|
25
|
+
error_description: string;
|
|
26
|
+
error_uri: string;
|
|
27
|
+
field?: string | undefined;
|
|
28
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
29
|
+
reason: string;
|
|
30
|
+
request_id?: string | undefined;
|
|
31
|
+
}, "error" | "reason"> & {
|
|
32
|
+
error: "unauthorized_client";
|
|
33
|
+
reason: "challenge_not_permitted";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
readonly reason: "challenge_not_permitted";
|
|
37
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
38
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
39
|
+
stackTraceLimit: number;
|
|
40
|
+
};
|
|
41
|
+
/** The request carries a challenge, which its app may not bind. */
|
|
42
|
+
export declare class ChallengeNotPermittedError extends ChallengeNotPermittedError_base {
|
|
43
|
+
readonly name = "KeyAuthorization.ChallengeNotPermittedError";
|
|
44
|
+
constructor(options: ChallengeNotPermittedError.Options);
|
|
45
|
+
}
|
|
46
|
+
export declare namespace ChallengeNotPermittedError {
|
|
47
|
+
type Options = {
|
|
48
|
+
/** The app's client ID. */
|
|
49
|
+
clientId: string;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
declare const DuplicateLimitError_base: {
|
|
53
|
+
new (options: ErrorResponse.define.Options): {
|
|
54
|
+
message: string;
|
|
55
|
+
stack?: string;
|
|
56
|
+
cause?: unknown;
|
|
57
|
+
readonly res?: Response;
|
|
58
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
59
|
+
getResponse(): Response;
|
|
60
|
+
readonly name: string;
|
|
61
|
+
readonly response: Omit<{
|
|
62
|
+
error: string;
|
|
63
|
+
error_description: string;
|
|
64
|
+
error_uri: string;
|
|
65
|
+
field?: string | undefined;
|
|
66
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
67
|
+
reason: string;
|
|
68
|
+
request_id?: string | undefined;
|
|
69
|
+
}, "error" | "reason"> & {
|
|
70
|
+
error: "invalid_authorization_details";
|
|
71
|
+
reason: "duplicate_limit";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly reason: "duplicate_limit";
|
|
75
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
76
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
77
|
+
stackTraceLimit: number;
|
|
78
|
+
};
|
|
79
|
+
/** Two limits name the same token. */
|
|
80
|
+
export declare class DuplicateLimitError extends DuplicateLimitError_base {
|
|
81
|
+
readonly name = "KeyAuthorization.DuplicateLimitError";
|
|
82
|
+
}
|
|
83
|
+
declare const DuplicateScopeError_base: {
|
|
84
|
+
new (options: ErrorResponse.define.Options): {
|
|
85
|
+
message: string;
|
|
86
|
+
stack?: string;
|
|
87
|
+
cause?: unknown;
|
|
88
|
+
readonly res?: Response;
|
|
89
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
90
|
+
getResponse(): Response;
|
|
91
|
+
readonly name: string;
|
|
92
|
+
readonly response: Omit<{
|
|
93
|
+
error: string;
|
|
94
|
+
error_description: string;
|
|
95
|
+
error_uri: string;
|
|
96
|
+
field?: string | undefined;
|
|
97
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
98
|
+
reason: string;
|
|
99
|
+
request_id?: string | undefined;
|
|
100
|
+
}, "error" | "reason"> & {
|
|
101
|
+
error: "invalid_authorization_details";
|
|
102
|
+
reason: "duplicate_scope";
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
readonly reason: "duplicate_scope";
|
|
106
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
107
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
108
|
+
stackTraceLimit: number;
|
|
109
|
+
};
|
|
110
|
+
/** Two scopes name one call on a target, or one target mixes any function with named ones. */
|
|
111
|
+
export declare class DuplicateScopeError extends DuplicateScopeError_base {
|
|
112
|
+
readonly name = "KeyAuthorization.DuplicateScopeError";
|
|
113
|
+
}
|
|
114
|
+
declare const EmptyLimitsError_base: {
|
|
115
|
+
new (options: ErrorResponse.define.Options): {
|
|
116
|
+
message: string;
|
|
117
|
+
stack?: string;
|
|
118
|
+
cause?: unknown;
|
|
119
|
+
readonly res?: Response;
|
|
120
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
121
|
+
getResponse(): Response;
|
|
122
|
+
readonly name: string;
|
|
123
|
+
readonly response: Omit<{
|
|
124
|
+
error: string;
|
|
125
|
+
error_description: string;
|
|
126
|
+
error_uri: string;
|
|
127
|
+
field?: string | undefined;
|
|
128
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
129
|
+
reason: string;
|
|
130
|
+
request_id?: string | undefined;
|
|
131
|
+
}, "error" | "reason"> & {
|
|
132
|
+
error: "invalid_authorization_details";
|
|
133
|
+
reason: "empty_limits";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly reason: "empty_limits";
|
|
137
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
138
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
139
|
+
stackTraceLimit: number;
|
|
140
|
+
};
|
|
141
|
+
/** `limits` is an empty list. */
|
|
142
|
+
export declare class EmptyLimitsError extends EmptyLimitsError_base {
|
|
143
|
+
readonly name = "KeyAuthorization.EmptyLimitsError";
|
|
144
|
+
}
|
|
145
|
+
declare const EmptyScopesError_base: {
|
|
146
|
+
new (options: ErrorResponse.define.Options): {
|
|
147
|
+
message: string;
|
|
148
|
+
stack?: string;
|
|
149
|
+
cause?: unknown;
|
|
150
|
+
readonly res?: Response;
|
|
151
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
152
|
+
getResponse(): Response;
|
|
153
|
+
readonly name: string;
|
|
154
|
+
readonly response: Omit<{
|
|
155
|
+
error: string;
|
|
156
|
+
error_description: string;
|
|
157
|
+
error_uri: string;
|
|
158
|
+
field?: string | undefined;
|
|
159
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
160
|
+
reason: string;
|
|
161
|
+
request_id?: string | undefined;
|
|
162
|
+
}, "error" | "reason"> & {
|
|
163
|
+
error: "invalid_authorization_details";
|
|
164
|
+
reason: "empty_scopes";
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
readonly reason: "empty_scopes";
|
|
168
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
169
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
170
|
+
stackTraceLimit: number;
|
|
171
|
+
};
|
|
172
|
+
/** `scopes` is an empty list. */
|
|
173
|
+
export declare class EmptyScopesError extends EmptyScopesError_base {
|
|
174
|
+
readonly name = "KeyAuthorization.EmptyScopesError";
|
|
175
|
+
}
|
|
176
|
+
declare const ExpiryExceedsMaximumError_base: {
|
|
177
|
+
new (options: ErrorResponse.define.Options): {
|
|
178
|
+
message: string;
|
|
179
|
+
stack?: string;
|
|
180
|
+
cause?: unknown;
|
|
181
|
+
readonly res?: Response;
|
|
182
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
183
|
+
getResponse(): Response;
|
|
184
|
+
readonly name: string;
|
|
185
|
+
readonly response: Omit<{
|
|
186
|
+
error: string;
|
|
187
|
+
error_description: string;
|
|
188
|
+
error_uri: string;
|
|
189
|
+
field?: string | undefined;
|
|
190
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
191
|
+
reason: string;
|
|
192
|
+
request_id?: string | undefined;
|
|
193
|
+
}, "error" | "reason"> & {
|
|
194
|
+
error: "invalid_authorization_details";
|
|
195
|
+
reason: "expiry_exceeds_maximum";
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly reason: "expiry_exceeds_maximum";
|
|
199
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
200
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
201
|
+
stackTraceLimit: number;
|
|
202
|
+
};
|
|
203
|
+
/** A headless key lasts longer than a year. */
|
|
204
|
+
export declare class ExpiryExceedsMaximumError extends ExpiryExceedsMaximumError_base {
|
|
205
|
+
readonly name = "KeyAuthorization.ExpiryExceedsMaximumError";
|
|
206
|
+
}
|
|
207
|
+
declare const ExpiryPassedError_base: {
|
|
208
|
+
new (options: ErrorResponse.define.Options): {
|
|
209
|
+
message: string;
|
|
210
|
+
stack?: string;
|
|
211
|
+
cause?: unknown;
|
|
212
|
+
readonly res?: Response;
|
|
213
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
214
|
+
getResponse(): Response;
|
|
215
|
+
readonly name: string;
|
|
216
|
+
readonly response: Omit<{
|
|
217
|
+
error: string;
|
|
218
|
+
error_description: string;
|
|
219
|
+
error_uri: string;
|
|
220
|
+
field?: string | undefined;
|
|
221
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
222
|
+
reason: string;
|
|
223
|
+
request_id?: string | undefined;
|
|
224
|
+
}, "error" | "reason"> & {
|
|
225
|
+
error: "invalid_authorization_details";
|
|
226
|
+
reason: "expiry_passed";
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
readonly reason: "expiry_passed";
|
|
230
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
231
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
232
|
+
stackTraceLimit: number;
|
|
233
|
+
};
|
|
234
|
+
/** The key expiry is in the past. */
|
|
235
|
+
export declare class ExpiryPassedError extends ExpiryPassedError_base {
|
|
236
|
+
readonly name = "KeyAuthorization.ExpiryPassedError";
|
|
237
|
+
}
|
|
238
|
+
declare const InvalidChainError_base: {
|
|
239
|
+
new (options: ErrorResponse.define.Options): {
|
|
240
|
+
message: string;
|
|
241
|
+
stack?: string;
|
|
242
|
+
cause?: unknown;
|
|
243
|
+
readonly res?: Response;
|
|
244
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
245
|
+
getResponse(): Response;
|
|
246
|
+
readonly name: string;
|
|
247
|
+
readonly response: Omit<{
|
|
248
|
+
error: string;
|
|
249
|
+
error_description: string;
|
|
250
|
+
error_uri: string;
|
|
251
|
+
field?: string | undefined;
|
|
252
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
253
|
+
reason: string;
|
|
254
|
+
request_id?: string | undefined;
|
|
255
|
+
}, "error" | "reason"> & {
|
|
256
|
+
error: "invalid_authorization_details";
|
|
257
|
+
reason: "invalid_chain";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
readonly reason: "invalid_chain";
|
|
261
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
262
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
263
|
+
stackTraceLimit: number;
|
|
264
|
+
};
|
|
265
|
+
/** The key chain ID is 0. */
|
|
266
|
+
export declare class InvalidChainError extends InvalidChainError_base {
|
|
267
|
+
readonly name = "KeyAuthorization.InvalidChainError";
|
|
268
|
+
}
|
|
269
|
+
declare const InvalidExpiryError_base: {
|
|
270
|
+
new (options: ErrorResponse.define.Options): {
|
|
271
|
+
message: string;
|
|
272
|
+
stack?: string;
|
|
273
|
+
cause?: unknown;
|
|
274
|
+
readonly res?: Response;
|
|
275
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
276
|
+
getResponse(): Response;
|
|
277
|
+
readonly name: string;
|
|
278
|
+
readonly response: Omit<{
|
|
279
|
+
error: string;
|
|
280
|
+
error_description: string;
|
|
281
|
+
error_uri: string;
|
|
282
|
+
field?: string | undefined;
|
|
283
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
284
|
+
reason: string;
|
|
285
|
+
request_id?: string | undefined;
|
|
286
|
+
}, "error" | "reason"> & {
|
|
287
|
+
error: "invalid_authorization_details";
|
|
288
|
+
reason: "invalid_expiry";
|
|
289
|
+
};
|
|
290
|
+
};
|
|
291
|
+
readonly reason: "invalid_expiry";
|
|
292
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
293
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
294
|
+
stackTraceLimit: number;
|
|
295
|
+
};
|
|
296
|
+
/** The key expiry is 0, which never expires. */
|
|
297
|
+
export declare class InvalidExpiryError extends InvalidExpiryError_base {
|
|
298
|
+
readonly name = "KeyAuthorization.InvalidExpiryError";
|
|
299
|
+
}
|
|
300
|
+
declare const InvalidPeriodError_base: {
|
|
301
|
+
new (options: ErrorResponse.define.Options): {
|
|
302
|
+
message: string;
|
|
303
|
+
stack?: string;
|
|
304
|
+
cause?: unknown;
|
|
305
|
+
readonly res?: Response;
|
|
306
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
307
|
+
getResponse(): Response;
|
|
308
|
+
readonly name: string;
|
|
309
|
+
readonly response: Omit<{
|
|
310
|
+
error: string;
|
|
311
|
+
error_description: string;
|
|
312
|
+
error_uri: string;
|
|
313
|
+
field?: string | undefined;
|
|
314
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
315
|
+
reason: string;
|
|
316
|
+
request_id?: string | undefined;
|
|
317
|
+
}, "error" | "reason"> & {
|
|
318
|
+
error: "invalid_authorization_details";
|
|
319
|
+
reason: "invalid_period";
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
readonly reason: "invalid_period";
|
|
323
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
324
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
325
|
+
stackTraceLimit: number;
|
|
326
|
+
};
|
|
327
|
+
/** A limit's `period` is not a whole number of seconds. */
|
|
328
|
+
export declare class InvalidPeriodError extends InvalidPeriodError_base {
|
|
329
|
+
readonly name = "KeyAuthorization.InvalidPeriodError";
|
|
330
|
+
}
|
|
331
|
+
declare const InvalidPublicKeyError_base: {
|
|
332
|
+
new (options: ErrorResponse.define.Options): {
|
|
333
|
+
message: string;
|
|
334
|
+
stack?: string;
|
|
335
|
+
cause?: unknown;
|
|
336
|
+
readonly res?: Response;
|
|
337
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
338
|
+
getResponse(): Response;
|
|
339
|
+
readonly name: string;
|
|
340
|
+
readonly response: Omit<{
|
|
341
|
+
error: string;
|
|
342
|
+
error_description: string;
|
|
343
|
+
error_uri: string;
|
|
344
|
+
field?: string | undefined;
|
|
345
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
346
|
+
reason: string;
|
|
347
|
+
request_id?: string | undefined;
|
|
348
|
+
}, "error" | "reason"> & {
|
|
349
|
+
error: "invalid_authorization_details";
|
|
350
|
+
reason: "invalid_public_key";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
readonly reason: "invalid_public_key";
|
|
354
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
355
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
356
|
+
stackTraceLimit: number;
|
|
357
|
+
};
|
|
358
|
+
/** The key public key is not a valid point. */
|
|
359
|
+
export declare class InvalidPublicKeyError extends InvalidPublicKeyError_base {
|
|
360
|
+
readonly name = "KeyAuthorization.InvalidPublicKeyError";
|
|
361
|
+
}
|
|
362
|
+
declare const InvalidRecipientsError_base: {
|
|
363
|
+
new (options: ErrorResponse.define.Options): {
|
|
364
|
+
message: string;
|
|
365
|
+
stack?: string;
|
|
366
|
+
cause?: unknown;
|
|
367
|
+
readonly res?: Response;
|
|
368
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
369
|
+
getResponse(): Response;
|
|
370
|
+
readonly name: string;
|
|
371
|
+
readonly response: Omit<{
|
|
372
|
+
error: string;
|
|
373
|
+
error_description: string;
|
|
374
|
+
error_uri: string;
|
|
375
|
+
field?: string | undefined;
|
|
376
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
377
|
+
reason: string;
|
|
378
|
+
request_id?: string | undefined;
|
|
379
|
+
}, "error" | "reason"> & {
|
|
380
|
+
error: "invalid_authorization_details";
|
|
381
|
+
reason: "invalid_recipients";
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
readonly reason: "invalid_recipients";
|
|
385
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
386
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
387
|
+
stackTraceLimit: number;
|
|
388
|
+
};
|
|
389
|
+
/** A scope's `recipients` repeats an address, names the zero address, or is on the wrong call. */
|
|
390
|
+
export declare class InvalidRecipientsError extends InvalidRecipientsError_base {
|
|
391
|
+
readonly name = "KeyAuthorization.InvalidRecipientsError";
|
|
392
|
+
}
|
|
393
|
+
declare const LimitExceedsMaximumError_base: {
|
|
394
|
+
new (options: ErrorResponse.define.Options): {
|
|
395
|
+
message: string;
|
|
396
|
+
stack?: string;
|
|
397
|
+
cause?: unknown;
|
|
398
|
+
readonly res?: Response;
|
|
399
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
400
|
+
getResponse(): Response;
|
|
401
|
+
readonly name: string;
|
|
402
|
+
readonly response: Omit<{
|
|
403
|
+
error: string;
|
|
404
|
+
error_description: string;
|
|
405
|
+
error_uri: string;
|
|
406
|
+
field?: string | undefined;
|
|
407
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
408
|
+
reason: string;
|
|
409
|
+
request_id?: string | undefined;
|
|
410
|
+
}, "error" | "reason"> & {
|
|
411
|
+
error: "invalid_authorization_details";
|
|
412
|
+
reason: "limit_exceeds_maximum";
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
readonly reason: "limit_exceeds_maximum";
|
|
416
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
417
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
418
|
+
stackTraceLimit: number;
|
|
419
|
+
};
|
|
420
|
+
/** A headless key limit exceeds the token’s ceiling. */
|
|
421
|
+
export declare class LimitExceedsMaximumError extends LimitExceedsMaximumError_base {
|
|
422
|
+
readonly name = "KeyAuthorization.LimitExceedsMaximumError";
|
|
423
|
+
}
|
|
424
|
+
declare const MissingKeyError_base: {
|
|
425
|
+
new (options: ErrorResponse.define.Options): {
|
|
426
|
+
message: string;
|
|
427
|
+
stack?: string;
|
|
428
|
+
cause?: unknown;
|
|
429
|
+
readonly res?: Response;
|
|
430
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
431
|
+
getResponse(): Response;
|
|
432
|
+
readonly name: string;
|
|
433
|
+
readonly response: Omit<{
|
|
434
|
+
error: string;
|
|
435
|
+
error_description: string;
|
|
436
|
+
error_uri: string;
|
|
437
|
+
field?: string | undefined;
|
|
438
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
439
|
+
reason: string;
|
|
440
|
+
request_id?: string | undefined;
|
|
441
|
+
}, "error" | "reason"> & {
|
|
442
|
+
error: "invalid_authorization_details";
|
|
443
|
+
reason: "missing_key";
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
readonly reason: "missing_key";
|
|
447
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
448
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
449
|
+
stackTraceLimit: number;
|
|
450
|
+
};
|
|
451
|
+
/** The key authorization names no key. */
|
|
452
|
+
export declare class MissingKeyError extends MissingKeyError_base {
|
|
453
|
+
readonly name = "KeyAuthorization.MissingKeyError";
|
|
454
|
+
}
|
|
455
|
+
declare const MissingPermissionsError_base: {
|
|
456
|
+
new (options: ErrorResponse.define.Options): {
|
|
457
|
+
message: string;
|
|
458
|
+
stack?: string;
|
|
459
|
+
cause?: unknown;
|
|
460
|
+
readonly res?: Response;
|
|
461
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
462
|
+
getResponse(): Response;
|
|
463
|
+
readonly name: string;
|
|
464
|
+
readonly response: Omit<{
|
|
465
|
+
error: string;
|
|
466
|
+
error_description: string;
|
|
467
|
+
error_uri: string;
|
|
468
|
+
field?: string | undefined;
|
|
469
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
470
|
+
reason: string;
|
|
471
|
+
request_id?: string | undefined;
|
|
472
|
+
}, "error" | "reason"> & {
|
|
473
|
+
error: "invalid_authorization_details";
|
|
474
|
+
reason: "missing_permissions";
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
readonly reason: "missing_permissions";
|
|
478
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
479
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
480
|
+
stackTraceLimit: number;
|
|
481
|
+
};
|
|
482
|
+
/** A third-party app's key request leaves out `expiry`, `limits`, or `scopes`. */
|
|
483
|
+
export declare class MissingPermissionsError extends MissingPermissionsError_base {
|
|
484
|
+
readonly name = "KeyAuthorization.MissingPermissionsError";
|
|
485
|
+
}
|
|
486
|
+
declare const MissingRecipientsError_base: {
|
|
487
|
+
new (options: ErrorResponse.define.Options): {
|
|
488
|
+
message: string;
|
|
489
|
+
stack?: string;
|
|
490
|
+
cause?: unknown;
|
|
491
|
+
readonly res?: Response;
|
|
492
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
493
|
+
getResponse(): Response;
|
|
494
|
+
readonly name: string;
|
|
495
|
+
readonly response: Omit<{
|
|
496
|
+
error: string;
|
|
497
|
+
error_description: string;
|
|
498
|
+
error_uri: string;
|
|
499
|
+
field?: string | undefined;
|
|
500
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
501
|
+
reason: string;
|
|
502
|
+
request_id?: string | undefined;
|
|
503
|
+
}, "error" | "reason"> & {
|
|
504
|
+
error: "invalid_authorization_details";
|
|
505
|
+
reason: "missing_recipients";
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
readonly reason: "missing_recipients";
|
|
509
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
510
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
511
|
+
stackTraceLimit: number;
|
|
512
|
+
};
|
|
513
|
+
/** An `approve` scope names no spenders. */
|
|
514
|
+
export declare class MissingRecipientsError extends MissingRecipientsError_base {
|
|
515
|
+
readonly name = "KeyAuthorization.MissingRecipientsError";
|
|
516
|
+
}
|
|
517
|
+
declare const ScopeWithoutLimitError_base: {
|
|
518
|
+
new (options: ErrorResponse.define.Options): {
|
|
519
|
+
message: string;
|
|
520
|
+
stack?: string;
|
|
521
|
+
cause?: unknown;
|
|
522
|
+
readonly res?: Response;
|
|
523
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
524
|
+
getResponse(): Response;
|
|
525
|
+
readonly name: string;
|
|
526
|
+
readonly response: Omit<{
|
|
527
|
+
error: string;
|
|
528
|
+
error_description: string;
|
|
529
|
+
error_uri: string;
|
|
530
|
+
field?: string | undefined;
|
|
531
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
532
|
+
reason: string;
|
|
533
|
+
request_id?: string | undefined;
|
|
534
|
+
}, "error" | "reason"> & {
|
|
535
|
+
error: "invalid_authorization_details";
|
|
536
|
+
reason: "scope_without_limit";
|
|
537
|
+
};
|
|
538
|
+
};
|
|
539
|
+
readonly reason: "scope_without_limit";
|
|
540
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
541
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
542
|
+
stackTraceLimit: number;
|
|
543
|
+
};
|
|
544
|
+
/** A scope calls a listed token that no limit names. */
|
|
545
|
+
export declare class ScopeWithoutLimitError extends ScopeWithoutLimitError_base {
|
|
546
|
+
readonly name = "KeyAuthorization.ScopeWithoutLimitError";
|
|
547
|
+
}
|
|
548
|
+
declare const UnsupportedCallError_base: {
|
|
549
|
+
new (options: ErrorResponse.define.Options): {
|
|
550
|
+
message: string;
|
|
551
|
+
stack?: string;
|
|
552
|
+
cause?: unknown;
|
|
553
|
+
readonly res?: Response;
|
|
554
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
555
|
+
getResponse(): Response;
|
|
556
|
+
readonly name: string;
|
|
557
|
+
readonly response: Omit<{
|
|
558
|
+
error: string;
|
|
559
|
+
error_description: string;
|
|
560
|
+
error_uri: string;
|
|
561
|
+
field?: string | undefined;
|
|
562
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
563
|
+
reason: string;
|
|
564
|
+
request_id?: string | undefined;
|
|
565
|
+
}, "error" | "reason"> & {
|
|
566
|
+
error: "invalid_authorization_details";
|
|
567
|
+
reason: "unsupported_call";
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
readonly reason: "unsupported_call";
|
|
571
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
572
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
573
|
+
stackTraceLimit: number;
|
|
574
|
+
};
|
|
575
|
+
/** A selector does not parse, a TIP-20 scope allows any function, or a headless call is unknown. */
|
|
576
|
+
export declare class UnsupportedCallError extends UnsupportedCallError_base {
|
|
577
|
+
readonly name = "KeyAuthorization.UnsupportedCallError";
|
|
578
|
+
}
|
|
579
|
+
declare const UnsupportedTokenError_base: {
|
|
580
|
+
new (options: ErrorResponse.define.Options): {
|
|
581
|
+
message: string;
|
|
582
|
+
stack?: string;
|
|
583
|
+
cause?: unknown;
|
|
584
|
+
readonly res?: Response;
|
|
585
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
586
|
+
getResponse(): Response;
|
|
587
|
+
readonly name: string;
|
|
588
|
+
readonly response: Omit<{
|
|
589
|
+
error: string;
|
|
590
|
+
error_description: string;
|
|
591
|
+
error_uri: string;
|
|
592
|
+
field?: string | undefined;
|
|
593
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
594
|
+
reason: string;
|
|
595
|
+
request_id?: string | undefined;
|
|
596
|
+
}, "error" | "reason"> & {
|
|
597
|
+
error: "invalid_authorization_details";
|
|
598
|
+
reason: "unsupported_token";
|
|
599
|
+
};
|
|
600
|
+
};
|
|
601
|
+
readonly reason: "unsupported_token";
|
|
602
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
603
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
604
|
+
stackTraceLimit: number;
|
|
605
|
+
};
|
|
606
|
+
/** A limit names a token that is not supported on the chain. */
|
|
607
|
+
export declare class UnsupportedTokenError extends UnsupportedTokenError_base {
|
|
608
|
+
readonly name = "KeyAuthorization.UnsupportedTokenError";
|
|
609
|
+
}
|
|
610
|
+
declare const WebAuthnRequiredError_base: {
|
|
611
|
+
new (options: ErrorResponse.define.Options): {
|
|
612
|
+
message: string;
|
|
613
|
+
stack?: string;
|
|
614
|
+
cause?: unknown;
|
|
615
|
+
readonly res?: Response;
|
|
616
|
+
readonly status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
617
|
+
getResponse(): Response;
|
|
618
|
+
readonly name: string;
|
|
619
|
+
readonly response: Omit<{
|
|
620
|
+
error: string;
|
|
621
|
+
error_description: string;
|
|
622
|
+
error_uri: string;
|
|
623
|
+
field?: string | undefined;
|
|
624
|
+
meta?: Readonly<Record<string, string | number>> | undefined;
|
|
625
|
+
reason: string;
|
|
626
|
+
request_id?: string | undefined;
|
|
627
|
+
}, "error" | "reason"> & {
|
|
628
|
+
error: "interaction_required";
|
|
629
|
+
reason: "webauthn_required";
|
|
630
|
+
};
|
|
631
|
+
};
|
|
632
|
+
readonly reason: "webauthn_required";
|
|
633
|
+
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
634
|
+
prepareStackTrace(err: Error, stackTraces: NodeJS.CallSite[]): any;
|
|
635
|
+
stackTraceLimit: number;
|
|
636
|
+
};
|
|
637
|
+
/** The key names a passkey-owned Tempo Account, whose passkey signs only on a Tempo ID page. */
|
|
638
|
+
export declare class WebAuthnRequiredError extends WebAuthnRequiredError_base {
|
|
639
|
+
readonly name = "KeyAuthorization.WebAuthnRequiredError";
|
|
640
|
+
constructor(options: WebAuthnRequiredError.Options);
|
|
641
|
+
}
|
|
642
|
+
export declare namespace WebAuthnRequiredError {
|
|
643
|
+
type Options = {
|
|
644
|
+
/** The passkey-owned account. */
|
|
645
|
+
account: `0x${string}`;
|
|
646
|
+
/** Replaces the default `error_description`. */
|
|
647
|
+
description?: string | undefined;
|
|
648
|
+
};
|
|
649
|
+
}
|
|
650
|
+
/** An app's key authorization request as sent, with the Tempo Account it acts for. */
|
|
651
|
+
declare const sent: z.ZodObject<{
|
|
652
|
+
account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
653
|
+
address: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
654
|
+
chainId: z.ZodOptional<z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>>;
|
|
655
|
+
expiry: z.ZodOptional<z.ZodNumber>;
|
|
656
|
+
keyType: z.ZodOptional<z.ZodEnum<{
|
|
657
|
+
p256: "p256";
|
|
658
|
+
secp256k1: "secp256k1";
|
|
659
|
+
webAuthn: "webAuthn";
|
|
660
|
+
}>>;
|
|
661
|
+
limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
662
|
+
limit: z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>;
|
|
663
|
+
period: z.ZodOptional<z.ZodNumber>;
|
|
664
|
+
token: z.ZodTemplateLiteral<`0x${string}`>;
|
|
665
|
+
}, z.core.$strip>>>>;
|
|
666
|
+
publicKey: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
667
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
668
|
+
address: z.ZodTemplateLiteral<`0x${string}`>;
|
|
669
|
+
recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
|
|
670
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodString]>>;
|
|
671
|
+
}, z.core.$strip>>>>;
|
|
672
|
+
}, z.core.$strip>;
|
|
673
|
+
/** Zod schemas for key authorization requests and responses. */
|
|
674
|
+
export declare namespace schema {
|
|
675
|
+
/** The Tempo Account a signed key acts for. */
|
|
676
|
+
const account: z.ZodTemplateLiteral<`0x${string}`>;
|
|
677
|
+
/** An app's key authorization request, with the headless ceiling as its defaults. */
|
|
678
|
+
const request: z.ZodOptional<z.ZodPipe<z.ZodObject<{
|
|
679
|
+
account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
680
|
+
address: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
681
|
+
chainId: z.ZodOptional<z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>>;
|
|
682
|
+
expiry: z.ZodOptional<z.ZodNumber>;
|
|
683
|
+
keyType: z.ZodOptional<z.ZodEnum<{
|
|
684
|
+
p256: "p256";
|
|
685
|
+
secp256k1: "secp256k1";
|
|
686
|
+
webAuthn: "webAuthn";
|
|
687
|
+
}>>;
|
|
688
|
+
limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
689
|
+
limit: z.ZodCodec<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodBigInt]>, z.ZodBigInt>;
|
|
690
|
+
period: z.ZodOptional<z.ZodNumber>;
|
|
691
|
+
token: z.ZodTemplateLiteral<`0x${string}`>;
|
|
692
|
+
}, z.core.$strip>>>>;
|
|
693
|
+
publicKey: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
694
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
695
|
+
address: z.ZodTemplateLiteral<`0x${string}`>;
|
|
696
|
+
recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
|
|
697
|
+
selector: z.ZodOptional<z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodString]>>;
|
|
698
|
+
}, z.core.$strip>>>>;
|
|
699
|
+
}, z.core.$strip>, z.ZodTransform<Defaulted, {
|
|
700
|
+
account?: `0x${string}` | undefined;
|
|
701
|
+
address?: `0x${string}` | undefined;
|
|
702
|
+
chainId?: bigint | undefined;
|
|
703
|
+
expiry?: number | undefined;
|
|
704
|
+
keyType?: "p256" | "secp256k1" | "webAuthn" | undefined;
|
|
705
|
+
limits?: readonly {
|
|
706
|
+
limit: bigint;
|
|
707
|
+
period?: number | undefined;
|
|
708
|
+
token: `0x${string}`;
|
|
709
|
+
}[] | undefined;
|
|
710
|
+
publicKey?: `0x${string}` | undefined;
|
|
711
|
+
scopes?: readonly {
|
|
712
|
+
address: `0x${string}`;
|
|
713
|
+
recipients?: readonly `0x${string}`[] | undefined;
|
|
714
|
+
selector?: string | undefined;
|
|
715
|
+
}[] | undefined;
|
|
716
|
+
}>>>;
|
|
717
|
+
/** What a key grants, as `describe` returns it. */
|
|
718
|
+
const description: z.ZodObject<{
|
|
719
|
+
account: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
720
|
+
calls: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
721
|
+
call: z.ZodEnum<{
|
|
722
|
+
open: "open";
|
|
723
|
+
topUp: "topUp";
|
|
724
|
+
}>;
|
|
725
|
+
}, z.core.$strip>>>;
|
|
726
|
+
expiry: z.ZodNumber;
|
|
727
|
+
limits: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
728
|
+
amount: z.ZodString;
|
|
729
|
+
currency: z.ZodString;
|
|
730
|
+
period: z.ZodOptional<z.ZodNumber>;
|
|
731
|
+
tokens: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
732
|
+
amount: z.ZodString;
|
|
733
|
+
symbol: z.ZodString;
|
|
734
|
+
}, z.core.$strip>>>;
|
|
735
|
+
}, z.core.$strip>>>;
|
|
736
|
+
unrecognized: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
737
|
+
address: z.ZodTemplateLiteral<`0x${string}`>;
|
|
738
|
+
selector: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
739
|
+
}, z.core.$strip>>>;
|
|
740
|
+
}, z.core.$strip>;
|
|
741
|
+
/** A signed key authorization in the node's RPC format, as `sign` returns it. */
|
|
742
|
+
const rpc: z.ZodObject<{
|
|
743
|
+
account: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`0x${string}`>>>;
|
|
744
|
+
allowedCalls: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
745
|
+
selectorRules: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
746
|
+
recipients: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodTemplateLiteral<`0x${string}`>>>>;
|
|
747
|
+
selector: z.ZodTemplateLiteral<`0x${string}`>;
|
|
748
|
+
}, z.core.$strip>>>>;
|
|
749
|
+
target: z.ZodTemplateLiteral<`0x${string}`>;
|
|
750
|
+
}, z.core.$strip>>>>;
|
|
751
|
+
chainId: z.ZodTemplateLiteral<`0x${string}`>;
|
|
752
|
+
expiry: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`0x${string}`>>>;
|
|
753
|
+
keyId: z.ZodTemplateLiteral<`0x${string}`>;
|
|
754
|
+
keyType: z.ZodString;
|
|
755
|
+
limits: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
756
|
+
limit: z.ZodTemplateLiteral<`0x${string}`>;
|
|
757
|
+
period: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
758
|
+
token: z.ZodTemplateLiteral<`0x${string}`>;
|
|
759
|
+
}, z.core.$strip>>>>;
|
|
760
|
+
signature: z.ZodUnion<readonly [z.ZodTemplateLiteral<`0x${string}`>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
761
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
762
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
763
|
+
type: z.ZodLiteral<"secp256k1">;
|
|
764
|
+
v: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
765
|
+
yParity: z.ZodTemplateLiteral<`0x${string}`>;
|
|
766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
+
preHash: z.ZodBoolean;
|
|
768
|
+
pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
|
|
769
|
+
pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
|
|
770
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
771
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
772
|
+
type: z.ZodLiteral<"p256">;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
|
|
775
|
+
pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
|
|
776
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
777
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
778
|
+
type: z.ZodLiteral<"webAuthn">;
|
|
779
|
+
webauthnData: z.ZodTemplateLiteral<`0x${string}`>;
|
|
780
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
781
|
+
keyId: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
782
|
+
signature: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
783
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
784
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
785
|
+
type: z.ZodLiteral<"secp256k1">;
|
|
786
|
+
v: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
787
|
+
yParity: z.ZodTemplateLiteral<`0x${string}`>;
|
|
788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
789
|
+
preHash: z.ZodBoolean;
|
|
790
|
+
pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
|
|
791
|
+
pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
|
|
792
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
793
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
794
|
+
type: z.ZodLiteral<"p256">;
|
|
795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
796
|
+
pubKeyX: z.ZodTemplateLiteral<`0x${string}`>;
|
|
797
|
+
pubKeyY: z.ZodTemplateLiteral<`0x${string}`>;
|
|
798
|
+
r: z.ZodTemplateLiteral<`0x${string}`>;
|
|
799
|
+
s: z.ZodTemplateLiteral<`0x${string}`>;
|
|
800
|
+
type: z.ZodLiteral<"webAuthn">;
|
|
801
|
+
webauthnData: z.ZodTemplateLiteral<`0x${string}`>;
|
|
802
|
+
}, z.core.$strip>], "type">;
|
|
803
|
+
type: z.ZodLiteral<"keychain">;
|
|
804
|
+
userAddress: z.ZodTemplateLiteral<`0x${string}`>;
|
|
805
|
+
version: z.ZodOptional<z.ZodEnum<{
|
|
806
|
+
v1: "v1";
|
|
807
|
+
v2: "v2";
|
|
808
|
+
}>>;
|
|
809
|
+
}, z.core.$strip>]>;
|
|
810
|
+
witness: z.ZodOptional<z.ZodTemplateLiteral<`0x${string}`>>;
|
|
811
|
+
}, z.core.$strip>;
|
|
812
|
+
}
|
|
813
|
+
/** An app's key authorization request. */
|
|
814
|
+
export type Key = NonNullable<z.output<typeof schema.request>>;
|
|
815
|
+
/** A key authorization request as sent. */
|
|
816
|
+
type Request = z.output<typeof sent>;
|
|
817
|
+
/** A key authorization request with every default filled. */
|
|
818
|
+
type Defaulted = Request & {
|
|
819
|
+
chainId: bigint;
|
|
820
|
+
expiry: number;
|
|
821
|
+
limits: NonNullable<Request['limits']>;
|
|
822
|
+
scopes: NonNullable<Request['scopes']>;
|
|
823
|
+
/** The witness that the owner's signature binds, from the request's challenge. */
|
|
824
|
+
witness?: Hex.Hex | undefined;
|
|
825
|
+
};
|
|
826
|
+
/** A key's default lifetime, and a headless key's longest, in seconds. */
|
|
827
|
+
export declare const lifetime: number;
|
|
828
|
+
/** Tempo chains, whose token addresses Viem's token list holds. */
|
|
829
|
+
export declare const chains: readonly [{
|
|
830
|
+
blockExplorers: {
|
|
831
|
+
readonly default: {
|
|
832
|
+
readonly name: "Tempo Explorer";
|
|
833
|
+
readonly url: "https://explore.tempo.xyz";
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
blockTime: 1000;
|
|
837
|
+
contracts: {
|
|
838
|
+
readonly earnFactory: {
|
|
839
|
+
readonly address: "0x3085A8003f340CD51C72D9e1a1298CDafB171B02";
|
|
840
|
+
};
|
|
841
|
+
readonly erc4626EngineFactory: {
|
|
842
|
+
readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
ensTlds?: readonly string[] | undefined;
|
|
846
|
+
id: 4217;
|
|
847
|
+
name: "Tempo Mainnet";
|
|
848
|
+
nativeCurrency: {
|
|
849
|
+
readonly name: "USD";
|
|
850
|
+
readonly symbol: "USD";
|
|
851
|
+
readonly decimals: 6;
|
|
852
|
+
};
|
|
853
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
854
|
+
rpcUrls: {
|
|
855
|
+
readonly default: {
|
|
856
|
+
readonly http: readonly ["https://rpc.tempo.xyz"];
|
|
857
|
+
readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
sourceId?: number | undefined | undefined;
|
|
861
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
862
|
+
testnet?: boolean | undefined | undefined;
|
|
863
|
+
custom?: Record<string, unknown> | undefined;
|
|
864
|
+
extendSchema: {
|
|
865
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
866
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
867
|
+
};
|
|
868
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
869
|
+
formatters: {
|
|
870
|
+
readonly transaction: {
|
|
871
|
+
exclude: never[] | undefined;
|
|
872
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
873
|
+
type: "transaction";
|
|
874
|
+
};
|
|
875
|
+
readonly transactionReceipt: {
|
|
876
|
+
exclude: [] | undefined;
|
|
877
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
878
|
+
type: "transactionReceipt";
|
|
879
|
+
};
|
|
880
|
+
readonly transactionRequest: {
|
|
881
|
+
exclude: [] | undefined;
|
|
882
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
883
|
+
type: "transactionRequest";
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
887
|
+
client: import("viem").Client;
|
|
888
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
889
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
890
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
891
|
+
}];
|
|
892
|
+
serializers: {
|
|
893
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
894
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
895
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
896
|
+
transaction: import("viem").TransactionSerializable;
|
|
897
|
+
}) => Promise<`0x${string}`>;
|
|
898
|
+
};
|
|
899
|
+
transactionReplacement: {
|
|
900
|
+
readonly getKey: (transaction: {
|
|
901
|
+
from: import("viem").Address;
|
|
902
|
+
hash: `0x${string}`;
|
|
903
|
+
nonce: number;
|
|
904
|
+
}) => string;
|
|
905
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
906
|
+
replaced: {
|
|
907
|
+
from: import("viem").Address;
|
|
908
|
+
hash: `0x${string}`;
|
|
909
|
+
nonce: number;
|
|
910
|
+
};
|
|
911
|
+
replacement: {
|
|
912
|
+
from: import("viem").Address;
|
|
913
|
+
hash: `0x${string}`;
|
|
914
|
+
nonce: number;
|
|
915
|
+
};
|
|
916
|
+
}) => import("viem").ReplacementReason;
|
|
917
|
+
};
|
|
918
|
+
verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
919
|
+
extend: <const extended_1 extends {
|
|
920
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
921
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
922
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
923
|
+
readonly id: 4217;
|
|
924
|
+
readonly blockExplorers: {
|
|
925
|
+
readonly default: {
|
|
926
|
+
readonly name: "Tempo Explorer";
|
|
927
|
+
readonly url: "https://explore.tempo.xyz";
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
readonly contracts: {
|
|
931
|
+
readonly earnFactory: {
|
|
932
|
+
readonly address: "0x3085A8003f340CD51C72D9e1a1298CDafB171B02";
|
|
933
|
+
};
|
|
934
|
+
readonly erc4626EngineFactory: {
|
|
935
|
+
readonly address: "0xd43D00981222a8db444A528E69f19E3cE5A7D2Ff";
|
|
936
|
+
};
|
|
937
|
+
};
|
|
938
|
+
readonly name: "Tempo Mainnet";
|
|
939
|
+
readonly nativeCurrency: {
|
|
940
|
+
readonly name: "USD";
|
|
941
|
+
readonly symbol: "USD";
|
|
942
|
+
readonly decimals: 6;
|
|
943
|
+
};
|
|
944
|
+
readonly rpcUrls: {
|
|
945
|
+
readonly default: {
|
|
946
|
+
readonly http: readonly ["https://rpc.tempo.xyz"];
|
|
947
|
+
readonly webSocket: readonly ["wss://rpc.tempo.xyz"];
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
readonly blockTime: 1000;
|
|
951
|
+
readonly extendSchema: {
|
|
952
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
953
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
954
|
+
};
|
|
955
|
+
readonly formatters: {
|
|
956
|
+
readonly transaction: {
|
|
957
|
+
exclude: never[] | undefined;
|
|
958
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
959
|
+
type: "transaction";
|
|
960
|
+
};
|
|
961
|
+
readonly transactionReceipt: {
|
|
962
|
+
exclude: [] | undefined;
|
|
963
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
964
|
+
type: "transactionReceipt";
|
|
965
|
+
};
|
|
966
|
+
readonly transactionRequest: {
|
|
967
|
+
exclude: [] | undefined;
|
|
968
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
969
|
+
type: "transactionRequest";
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
973
|
+
client: import("viem").Client;
|
|
974
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
975
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
976
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
977
|
+
}];
|
|
978
|
+
readonly serializers: {
|
|
979
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
980
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
981
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
982
|
+
transaction: import("viem").TransactionSerializable;
|
|
983
|
+
}) => Promise<`0x${string}`>;
|
|
984
|
+
};
|
|
985
|
+
readonly transactionReplacement: {
|
|
986
|
+
readonly getKey: (transaction: {
|
|
987
|
+
from: import("viem").Address;
|
|
988
|
+
hash: `0x${string}`;
|
|
989
|
+
nonce: number;
|
|
990
|
+
}) => string;
|
|
991
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
992
|
+
replaced: {
|
|
993
|
+
from: import("viem").Address;
|
|
994
|
+
hash: `0x${string}`;
|
|
995
|
+
nonce: number;
|
|
996
|
+
};
|
|
997
|
+
replacement: {
|
|
998
|
+
from: import("viem").Address;
|
|
999
|
+
hash: `0x${string}`;
|
|
1000
|
+
nonce: number;
|
|
1001
|
+
};
|
|
1002
|
+
}) => import("viem").ReplacementReason;
|
|
1003
|
+
};
|
|
1004
|
+
readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1005
|
+
}>, extended_1>;
|
|
1006
|
+
}, {
|
|
1007
|
+
blockExplorers: {
|
|
1008
|
+
readonly default: {
|
|
1009
|
+
readonly name: "Tempo Explorer";
|
|
1010
|
+
readonly url: "https://explore.testnet.tempo.xyz";
|
|
1011
|
+
};
|
|
1012
|
+
};
|
|
1013
|
+
blockTime: 1000;
|
|
1014
|
+
contracts: {
|
|
1015
|
+
readonly earnFactory: {
|
|
1016
|
+
readonly address: "0x1de6B233984583F4d936ae4265f3b60282b70cc6";
|
|
1017
|
+
};
|
|
1018
|
+
readonly erc4626EngineFactory: {
|
|
1019
|
+
readonly address: "0x0d57c10249eb3a92b7d81bBA6221F80F2865448A";
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
ensTlds?: readonly string[] | undefined;
|
|
1023
|
+
id: 42431;
|
|
1024
|
+
name: "Tempo Testnet (Moderato)";
|
|
1025
|
+
nativeCurrency: {
|
|
1026
|
+
readonly name: "USD";
|
|
1027
|
+
readonly symbol: "USD";
|
|
1028
|
+
readonly decimals: 6;
|
|
1029
|
+
};
|
|
1030
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1031
|
+
rpcUrls: {
|
|
1032
|
+
readonly default: {
|
|
1033
|
+
readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
|
|
1034
|
+
readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
sourceId?: number | undefined | undefined;
|
|
1038
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
1039
|
+
testnet: true;
|
|
1040
|
+
custom?: Record<string, unknown> | undefined;
|
|
1041
|
+
extendSchema: {
|
|
1042
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1043
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1044
|
+
};
|
|
1045
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1046
|
+
formatters: {
|
|
1047
|
+
readonly transaction: {
|
|
1048
|
+
exclude: never[] | undefined;
|
|
1049
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1050
|
+
type: "transaction";
|
|
1051
|
+
};
|
|
1052
|
+
readonly transactionReceipt: {
|
|
1053
|
+
exclude: [] | undefined;
|
|
1054
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1055
|
+
type: "transactionReceipt";
|
|
1056
|
+
};
|
|
1057
|
+
readonly transactionRequest: {
|
|
1058
|
+
exclude: [] | undefined;
|
|
1059
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1060
|
+
type: "transactionRequest";
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1063
|
+
prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1064
|
+
client: import("viem").Client;
|
|
1065
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1066
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1067
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1068
|
+
}];
|
|
1069
|
+
serializers: {
|
|
1070
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1071
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1072
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1073
|
+
transaction: import("viem").TransactionSerializable;
|
|
1074
|
+
}) => Promise<`0x${string}`>;
|
|
1075
|
+
};
|
|
1076
|
+
transactionReplacement: {
|
|
1077
|
+
readonly getKey: (transaction: {
|
|
1078
|
+
from: import("viem").Address;
|
|
1079
|
+
hash: `0x${string}`;
|
|
1080
|
+
nonce: number;
|
|
1081
|
+
}) => string;
|
|
1082
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1083
|
+
replaced: {
|
|
1084
|
+
from: import("viem").Address;
|
|
1085
|
+
hash: `0x${string}`;
|
|
1086
|
+
nonce: number;
|
|
1087
|
+
};
|
|
1088
|
+
replacement: {
|
|
1089
|
+
from: import("viem").Address;
|
|
1090
|
+
hash: `0x${string}`;
|
|
1091
|
+
nonce: number;
|
|
1092
|
+
};
|
|
1093
|
+
}) => import("viem").ReplacementReason;
|
|
1094
|
+
};
|
|
1095
|
+
verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1096
|
+
readonly hardfork: "t5";
|
|
1097
|
+
extend: <const extended_1 extends {
|
|
1098
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1099
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1100
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
1101
|
+
readonly id: 42431;
|
|
1102
|
+
readonly hardfork: "t5";
|
|
1103
|
+
readonly blockExplorers: {
|
|
1104
|
+
readonly default: {
|
|
1105
|
+
readonly name: "Tempo Explorer";
|
|
1106
|
+
readonly url: "https://explore.testnet.tempo.xyz";
|
|
1107
|
+
};
|
|
1108
|
+
};
|
|
1109
|
+
readonly contracts: {
|
|
1110
|
+
readonly earnFactory: {
|
|
1111
|
+
readonly address: "0x1de6B233984583F4d936ae4265f3b60282b70cc6";
|
|
1112
|
+
};
|
|
1113
|
+
readonly erc4626EngineFactory: {
|
|
1114
|
+
readonly address: "0x0d57c10249eb3a92b7d81bBA6221F80F2865448A";
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
readonly name: "Tempo Testnet (Moderato)";
|
|
1118
|
+
readonly nativeCurrency: {
|
|
1119
|
+
readonly name: "USD";
|
|
1120
|
+
readonly symbol: "USD";
|
|
1121
|
+
readonly decimals: 6;
|
|
1122
|
+
};
|
|
1123
|
+
readonly rpcUrls: {
|
|
1124
|
+
readonly default: {
|
|
1125
|
+
readonly http: readonly ["https://rpc.moderato.tempo.xyz"];
|
|
1126
|
+
readonly webSocket: readonly ["wss://rpc.moderato.tempo.xyz"];
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
readonly testnet: true;
|
|
1130
|
+
readonly blockTime: 1000;
|
|
1131
|
+
readonly extendSchema: {
|
|
1132
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1133
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
readonly formatters: {
|
|
1136
|
+
readonly transaction: {
|
|
1137
|
+
exclude: never[] | undefined;
|
|
1138
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1139
|
+
type: "transaction";
|
|
1140
|
+
};
|
|
1141
|
+
readonly transactionReceipt: {
|
|
1142
|
+
exclude: [] | undefined;
|
|
1143
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1144
|
+
type: "transactionReceipt";
|
|
1145
|
+
};
|
|
1146
|
+
readonly transactionRequest: {
|
|
1147
|
+
exclude: [] | undefined;
|
|
1148
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1149
|
+
type: "transactionRequest";
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1153
|
+
client: import("viem").Client;
|
|
1154
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1155
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1156
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1157
|
+
}];
|
|
1158
|
+
readonly serializers: {
|
|
1159
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1160
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1161
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1162
|
+
transaction: import("viem").TransactionSerializable;
|
|
1163
|
+
}) => Promise<`0x${string}`>;
|
|
1164
|
+
};
|
|
1165
|
+
readonly transactionReplacement: {
|
|
1166
|
+
readonly getKey: (transaction: {
|
|
1167
|
+
from: import("viem").Address;
|
|
1168
|
+
hash: `0x${string}`;
|
|
1169
|
+
nonce: number;
|
|
1170
|
+
}) => string;
|
|
1171
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1172
|
+
replaced: {
|
|
1173
|
+
from: import("viem").Address;
|
|
1174
|
+
hash: `0x${string}`;
|
|
1175
|
+
nonce: number;
|
|
1176
|
+
};
|
|
1177
|
+
replacement: {
|
|
1178
|
+
from: import("viem").Address;
|
|
1179
|
+
hash: `0x${string}`;
|
|
1180
|
+
nonce: number;
|
|
1181
|
+
};
|
|
1182
|
+
}) => import("viem").ReplacementReason;
|
|
1183
|
+
};
|
|
1184
|
+
readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1185
|
+
}>, extended_1>;
|
|
1186
|
+
}, {
|
|
1187
|
+
blockExplorers: {
|
|
1188
|
+
readonly default: {
|
|
1189
|
+
readonly name: "Tempo Explorer";
|
|
1190
|
+
readonly url: "https://explore.devnet.tempo.xyz";
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
blockTime: 1000;
|
|
1194
|
+
contracts?: {
|
|
1195
|
+
[x: string]: import("viem").ChainContract | {
|
|
1196
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
1199
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
1200
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
1201
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
1202
|
+
} | undefined;
|
|
1203
|
+
ensTlds?: readonly string[] | undefined;
|
|
1204
|
+
id: 31318;
|
|
1205
|
+
name: "Tempo Devnet";
|
|
1206
|
+
nativeCurrency: {
|
|
1207
|
+
readonly name: "USD";
|
|
1208
|
+
readonly symbol: "USD";
|
|
1209
|
+
readonly decimals: 6;
|
|
1210
|
+
};
|
|
1211
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1212
|
+
rpcUrls: {
|
|
1213
|
+
readonly default: {
|
|
1214
|
+
readonly http: readonly ["https://rpc.devnet.tempoxyz.dev"];
|
|
1215
|
+
readonly webSocket: readonly ["wss://rpc.devnet.tempoxyz.dev"];
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
sourceId?: number | undefined | undefined;
|
|
1219
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
1220
|
+
testnet: true;
|
|
1221
|
+
custom?: Record<string, unknown> | undefined;
|
|
1222
|
+
extendSchema: {
|
|
1223
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1224
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1225
|
+
};
|
|
1226
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1227
|
+
formatters: {
|
|
1228
|
+
readonly transaction: {
|
|
1229
|
+
exclude: never[] | undefined;
|
|
1230
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1231
|
+
type: "transaction";
|
|
1232
|
+
};
|
|
1233
|
+
readonly transactionReceipt: {
|
|
1234
|
+
exclude: [] | undefined;
|
|
1235
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1236
|
+
type: "transactionReceipt";
|
|
1237
|
+
};
|
|
1238
|
+
readonly transactionRequest: {
|
|
1239
|
+
exclude: [] | undefined;
|
|
1240
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1241
|
+
type: "transactionRequest";
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1245
|
+
client: import("viem").Client;
|
|
1246
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1247
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1248
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1249
|
+
}];
|
|
1250
|
+
serializers: {
|
|
1251
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1252
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1253
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1254
|
+
transaction: import("viem").TransactionSerializable;
|
|
1255
|
+
}) => Promise<`0x${string}`>;
|
|
1256
|
+
};
|
|
1257
|
+
transactionReplacement: {
|
|
1258
|
+
readonly getKey: (transaction: {
|
|
1259
|
+
from: import("viem").Address;
|
|
1260
|
+
hash: `0x${string}`;
|
|
1261
|
+
nonce: number;
|
|
1262
|
+
}) => string;
|
|
1263
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1264
|
+
replaced: {
|
|
1265
|
+
from: import("viem").Address;
|
|
1266
|
+
hash: `0x${string}`;
|
|
1267
|
+
nonce: number;
|
|
1268
|
+
};
|
|
1269
|
+
replacement: {
|
|
1270
|
+
from: import("viem").Address;
|
|
1271
|
+
hash: `0x${string}`;
|
|
1272
|
+
nonce: number;
|
|
1273
|
+
};
|
|
1274
|
+
}) => import("viem").ReplacementReason;
|
|
1275
|
+
};
|
|
1276
|
+
verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1277
|
+
readonly hardfork: "t3";
|
|
1278
|
+
extend: <const extended_1 extends {
|
|
1279
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1280
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1281
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
1282
|
+
readonly id: 31318;
|
|
1283
|
+
readonly name: "Tempo Devnet";
|
|
1284
|
+
readonly hardfork: "t3";
|
|
1285
|
+
readonly blockExplorers: {
|
|
1286
|
+
readonly default: {
|
|
1287
|
+
readonly name: "Tempo Explorer";
|
|
1288
|
+
readonly url: "https://explore.devnet.tempo.xyz";
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
readonly nativeCurrency: {
|
|
1292
|
+
readonly name: "USD";
|
|
1293
|
+
readonly symbol: "USD";
|
|
1294
|
+
readonly decimals: 6;
|
|
1295
|
+
};
|
|
1296
|
+
readonly rpcUrls: {
|
|
1297
|
+
readonly default: {
|
|
1298
|
+
readonly http: readonly ["https://rpc.devnet.tempoxyz.dev"];
|
|
1299
|
+
readonly webSocket: readonly ["wss://rpc.devnet.tempoxyz.dev"];
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
readonly testnet: true;
|
|
1303
|
+
readonly blockTime: 1000;
|
|
1304
|
+
readonly extendSchema: {
|
|
1305
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1306
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1307
|
+
};
|
|
1308
|
+
readonly formatters: {
|
|
1309
|
+
readonly transaction: {
|
|
1310
|
+
exclude: never[] | undefined;
|
|
1311
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1312
|
+
type: "transaction";
|
|
1313
|
+
};
|
|
1314
|
+
readonly transactionReceipt: {
|
|
1315
|
+
exclude: [] | undefined;
|
|
1316
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1317
|
+
type: "transactionReceipt";
|
|
1318
|
+
};
|
|
1319
|
+
readonly transactionRequest: {
|
|
1320
|
+
exclude: [] | undefined;
|
|
1321
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1322
|
+
type: "transactionRequest";
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1326
|
+
client: import("viem").Client;
|
|
1327
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1328
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1329
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1330
|
+
}];
|
|
1331
|
+
readonly serializers: {
|
|
1332
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1333
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1334
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1335
|
+
transaction: import("viem").TransactionSerializable;
|
|
1336
|
+
}) => Promise<`0x${string}`>;
|
|
1337
|
+
};
|
|
1338
|
+
readonly transactionReplacement: {
|
|
1339
|
+
readonly getKey: (transaction: {
|
|
1340
|
+
from: import("viem").Address;
|
|
1341
|
+
hash: `0x${string}`;
|
|
1342
|
+
nonce: number;
|
|
1343
|
+
}) => string;
|
|
1344
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1345
|
+
replaced: {
|
|
1346
|
+
from: import("viem").Address;
|
|
1347
|
+
hash: `0x${string}`;
|
|
1348
|
+
nonce: number;
|
|
1349
|
+
};
|
|
1350
|
+
replacement: {
|
|
1351
|
+
from: import("viem").Address;
|
|
1352
|
+
hash: `0x${string}`;
|
|
1353
|
+
nonce: number;
|
|
1354
|
+
};
|
|
1355
|
+
}) => import("viem").ReplacementReason;
|
|
1356
|
+
};
|
|
1357
|
+
readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1358
|
+
}>, extended_1>;
|
|
1359
|
+
}, {
|
|
1360
|
+
blockExplorers?: {
|
|
1361
|
+
[key: string]: {
|
|
1362
|
+
name: string;
|
|
1363
|
+
url: string;
|
|
1364
|
+
apiUrl?: string | undefined;
|
|
1365
|
+
};
|
|
1366
|
+
default: {
|
|
1367
|
+
name: string;
|
|
1368
|
+
url: string;
|
|
1369
|
+
apiUrl?: string | undefined;
|
|
1370
|
+
};
|
|
1371
|
+
} | undefined | undefined;
|
|
1372
|
+
blockTime: 1000;
|
|
1373
|
+
contracts?: {
|
|
1374
|
+
[x: string]: import("viem").ChainContract | {
|
|
1375
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
1376
|
+
} | undefined;
|
|
1377
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
1378
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
1379
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
1380
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
ensTlds?: readonly string[] | undefined;
|
|
1383
|
+
id: 1337;
|
|
1384
|
+
name: "Tempo";
|
|
1385
|
+
nativeCurrency: {
|
|
1386
|
+
readonly name: "USD";
|
|
1387
|
+
readonly symbol: "USD";
|
|
1388
|
+
readonly decimals: 6;
|
|
1389
|
+
};
|
|
1390
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
1391
|
+
rpcUrls: {
|
|
1392
|
+
readonly default: {
|
|
1393
|
+
readonly http: readonly ["http://localhost:8545"];
|
|
1394
|
+
};
|
|
1395
|
+
};
|
|
1396
|
+
sourceId?: number | undefined | undefined;
|
|
1397
|
+
supportsTransactionReplacementDetection?: boolean | undefined | undefined;
|
|
1398
|
+
testnet?: boolean | undefined | undefined;
|
|
1399
|
+
custom?: Record<string, unknown> | undefined;
|
|
1400
|
+
extendSchema: {
|
|
1401
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1402
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1403
|
+
};
|
|
1404
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
1405
|
+
formatters: {
|
|
1406
|
+
readonly transaction: {
|
|
1407
|
+
exclude: never[] | undefined;
|
|
1408
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1409
|
+
type: "transaction";
|
|
1410
|
+
};
|
|
1411
|
+
readonly transactionReceipt: {
|
|
1412
|
+
exclude: [] | undefined;
|
|
1413
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1414
|
+
type: "transactionReceipt";
|
|
1415
|
+
};
|
|
1416
|
+
readonly transactionRequest: {
|
|
1417
|
+
exclude: [] | undefined;
|
|
1418
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1419
|
+
type: "transactionRequest";
|
|
1420
|
+
};
|
|
1421
|
+
};
|
|
1422
|
+
prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1423
|
+
client: import("viem").Client;
|
|
1424
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1425
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1426
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1427
|
+
}];
|
|
1428
|
+
serializers: {
|
|
1429
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1430
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1431
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1432
|
+
transaction: import("viem").TransactionSerializable;
|
|
1433
|
+
}) => Promise<`0x${string}`>;
|
|
1434
|
+
};
|
|
1435
|
+
transactionReplacement: {
|
|
1436
|
+
readonly getKey: (transaction: {
|
|
1437
|
+
from: import("viem").Address;
|
|
1438
|
+
hash: `0x${string}`;
|
|
1439
|
+
nonce: number;
|
|
1440
|
+
}) => string;
|
|
1441
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1442
|
+
replaced: {
|
|
1443
|
+
from: import("viem").Address;
|
|
1444
|
+
hash: `0x${string}`;
|
|
1445
|
+
nonce: number;
|
|
1446
|
+
};
|
|
1447
|
+
replacement: {
|
|
1448
|
+
from: import("viem").Address;
|
|
1449
|
+
hash: `0x${string}`;
|
|
1450
|
+
nonce: number;
|
|
1451
|
+
};
|
|
1452
|
+
}) => import("viem").ReplacementReason;
|
|
1453
|
+
};
|
|
1454
|
+
verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1455
|
+
readonly hardfork: "t3";
|
|
1456
|
+
extend: <const extended_1 extends {
|
|
1457
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1458
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1459
|
+
}>(extended: extended_1) => import("viem").Assign<import("viem").Assign<import("viem").Chain<undefined>, {
|
|
1460
|
+
readonly id: 1337;
|
|
1461
|
+
readonly name: "Tempo";
|
|
1462
|
+
readonly hardfork: "t3";
|
|
1463
|
+
readonly nativeCurrency: {
|
|
1464
|
+
readonly name: "USD";
|
|
1465
|
+
readonly symbol: "USD";
|
|
1466
|
+
readonly decimals: 6;
|
|
1467
|
+
};
|
|
1468
|
+
readonly rpcUrls: {
|
|
1469
|
+
readonly default: {
|
|
1470
|
+
readonly http: readonly ["http://localhost:8545"];
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
readonly blockTime: 1000;
|
|
1474
|
+
readonly extendSchema: {
|
|
1475
|
+
feeToken?: import("viem/chains").TokenIdOrAddress | undefined;
|
|
1476
|
+
hardfork?: ("genesis" | "t0" | "t1" | "t10" | "t11" | "t12" | "t13" | "t14" | "t1a" | "t1b" | "t1c" | "t2" | "t3" | "t4" | "t5" | "t6" | "t7" | "t8" | "t9") | undefined;
|
|
1477
|
+
};
|
|
1478
|
+
readonly formatters: {
|
|
1479
|
+
readonly transaction: {
|
|
1480
|
+
exclude: never[] | undefined;
|
|
1481
|
+
format: (args: import("viem/tempo").z_TransactionRpc, action?: string | undefined) => import("viem/tempo").z_Transaction<bigint, number, boolean>;
|
|
1482
|
+
type: "transaction";
|
|
1483
|
+
};
|
|
1484
|
+
readonly transactionReceipt: {
|
|
1485
|
+
exclude: [] | undefined;
|
|
1486
|
+
format: (args: import("viem/tempo").z_TransactionReceiptRpc, action?: string | undefined) => import("viem/tempo").z_TransactionReceipt;
|
|
1487
|
+
type: "transactionReceipt";
|
|
1488
|
+
};
|
|
1489
|
+
readonly transactionRequest: {
|
|
1490
|
+
exclude: [] | undefined;
|
|
1491
|
+
format: (args: import("viem/tempo").z_TransactionRequest, action?: string | undefined) => import("viem/tempo").z_TransactionRequestRpc;
|
|
1492
|
+
type: "transactionRequest";
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
readonly prepareTransactionRequest: [(r: import("viem").PrepareTransactionRequestParameters, { client, phase }: {
|
|
1496
|
+
client: import("viem").Client;
|
|
1497
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
1498
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>, {
|
|
1499
|
+
readonly runAt: readonly ["beforeFillTransaction", "afterFillParameters"];
|
|
1500
|
+
}];
|
|
1501
|
+
readonly serializers: {
|
|
1502
|
+
readonly transaction: import("viem").SerializeTransactionFn;
|
|
1503
|
+
readonly transactionEnvelope: ({ serializedTransaction, transaction }: {
|
|
1504
|
+
serializedTransaction: import("viem").TransactionSerializedGeneric;
|
|
1505
|
+
transaction: import("viem").TransactionSerializable;
|
|
1506
|
+
}) => Promise<`0x${string}`>;
|
|
1507
|
+
};
|
|
1508
|
+
readonly transactionReplacement: {
|
|
1509
|
+
readonly getKey: (transaction: {
|
|
1510
|
+
from: import("viem").Address;
|
|
1511
|
+
hash: `0x${string}`;
|
|
1512
|
+
nonce: number;
|
|
1513
|
+
}) => string;
|
|
1514
|
+
readonly getReason: ({ replaced, replacement }: {
|
|
1515
|
+
replaced: {
|
|
1516
|
+
from: import("viem").Address;
|
|
1517
|
+
hash: `0x${string}`;
|
|
1518
|
+
nonce: number;
|
|
1519
|
+
};
|
|
1520
|
+
replacement: {
|
|
1521
|
+
from: import("viem").Address;
|
|
1522
|
+
hash: `0x${string}`;
|
|
1523
|
+
nonce: number;
|
|
1524
|
+
};
|
|
1525
|
+
}) => import("viem").ReplacementReason;
|
|
1526
|
+
};
|
|
1527
|
+
readonly verifyHash: (client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>;
|
|
1528
|
+
}>, extended_1>;
|
|
1529
|
+
}];
|
|
1530
|
+
/** The default chain of a key: Tempo mainnet. */
|
|
1531
|
+
export declare const defaultChainId: 4217;
|
|
1532
|
+
/** Returns `key` with the EIP-191 hash of `challenge` as its witness, or unchanged without one. */
|
|
1533
|
+
export declare function bind(key: Key, options: bind.Options): Key;
|
|
1534
|
+
export declare namespace bind {
|
|
1535
|
+
type Options = {
|
|
1536
|
+
/** The app's challenge, such as a sign-in message from its backend. */
|
|
1537
|
+
challenge: string | undefined;
|
|
1538
|
+
};
|
|
1539
|
+
}
|
|
1540
|
+
/**
|
|
1541
|
+
* Returns the refusal for a `key` that breaks the rules of every flow, or `undefined`. Its `field`
|
|
1542
|
+
* is a path under `key_authorization`.
|
|
1543
|
+
*/
|
|
1544
|
+
export declare function check(key: Key): ErrorResponse.Instance<typeof check.errors> | undefined;
|
|
1545
|
+
export declare namespace check {
|
|
1546
|
+
/** The refusals `check` returns. Its return type admits no other. */
|
|
1547
|
+
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];
|
|
1548
|
+
}
|
|
1549
|
+
/** Returns `ChallengeNotPermittedError` if `key` has a witness that the app may not bind. */
|
|
1550
|
+
export declare function checkChallenge(options: checkChallenge.Options): ErrorResponse.Instance<typeof checkChallenge.errors> | undefined;
|
|
1551
|
+
export declare namespace checkChallenge {
|
|
1552
|
+
type Options = {
|
|
1553
|
+
/** The app, or `undefined` when no app has `clientId`. */
|
|
1554
|
+
app: Pick<Apps.App, 'sign'> | undefined;
|
|
1555
|
+
/** The requesting app's client ID. */
|
|
1556
|
+
clientId: string;
|
|
1557
|
+
/** A key without a `witness`, or no key, passes. */
|
|
1558
|
+
key: Key | undefined;
|
|
1559
|
+
};
|
|
1560
|
+
/** The refusals `checkChallenge` returns. */
|
|
1561
|
+
const errors: readonly [typeof ChallengeNotPermittedError];
|
|
1562
|
+
}
|
|
1563
|
+
/**
|
|
1564
|
+
* Returns `MissingPermissionsError` when a third-party app's raw request `sent` leaves out
|
|
1565
|
+
* `expiry`, `limits`, or `scopes`, else `undefined`. A third-party app receives no defaults.
|
|
1566
|
+
*/
|
|
1567
|
+
export declare function checkExplicit(sent: unknown): ErrorResponse.Instance<typeof checkExplicit.errors> | undefined;
|
|
1568
|
+
export declare namespace checkExplicit {
|
|
1569
|
+
/** The refusals `checkExplicit` returns. Its return type admits no other. */
|
|
1570
|
+
const errors: readonly [typeof MissingPermissionsError];
|
|
1571
|
+
}
|
|
1572
|
+
/** Returns the refusal for `key` in a flow without a page, from `check` or the headless ceiling. */
|
|
1573
|
+
export declare function checkHeadless(key: Key, options: checkHeadless.Options): ErrorResponse.Instance<typeof checkHeadless.errors> | undefined;
|
|
1574
|
+
export declare namespace checkHeadless {
|
|
1575
|
+
type Options = {
|
|
1576
|
+
/** Whether the app holds `tempo-id:sign`, which permits unrecognized calls. */
|
|
1577
|
+
sign: boolean;
|
|
1578
|
+
};
|
|
1579
|
+
/** The refusals `checkHeadless` returns: `check`'s, then the headless ceiling's. */
|
|
1580
|
+
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];
|
|
1581
|
+
}
|
|
1582
|
+
/** Returns what a `key` that passes `check` grants, with limits totaled per currency and period. */
|
|
1583
|
+
export declare function describe(key: Key): Description;
|
|
1584
|
+
/** What a key grants, as the approval screens show it. */
|
|
1585
|
+
export type Description = z.output<typeof schema.description>;
|
|
1586
|
+
/**
|
|
1587
|
+
* Returns the digest that the account's owner signs for `key`, which is a passkey's WebAuthn
|
|
1588
|
+
* challenge. An owner's digest binds no account, so it is known before the passkey is. `witness`
|
|
1589
|
+
* replaces the key's own. For a configurable account, each owner signs its configuration's digest.
|
|
1590
|
+
*/
|
|
1591
|
+
export declare function digest(options: digest.Options): `0x${string}`;
|
|
1592
|
+
export declare namespace digest {
|
|
1593
|
+
type Options = {
|
|
1594
|
+
/** The configurable account that the key acts for. Absent, the owner key is the account. */
|
|
1595
|
+
account?: Account.ConfigurableAccount<AccountConfig.Config> | undefined;
|
|
1596
|
+
/** The key authorization to commit to. */
|
|
1597
|
+
key: Key;
|
|
1598
|
+
/** Replaces the key's own witness, as a sign-in with key signature binds it. */
|
|
1599
|
+
witness?: Hex.Hex | undefined;
|
|
1600
|
+
};
|
|
1601
|
+
}
|
|
1602
|
+
/** Returns the access key's address, or the address of its `publicKey`. */
|
|
1603
|
+
export declare function keyId(key: Key): `0x${string}`;
|
|
1604
|
+
/** Returns the listed tokens on the chain with `chainId`. */
|
|
1605
|
+
export declare function listings(options: listings.Options): {
|
|
1606
|
+
address: Address.Address;
|
|
1607
|
+
cap: bigint;
|
|
1608
|
+
currency: string;
|
|
1609
|
+
decimals: number;
|
|
1610
|
+
symbol: string;
|
|
1611
|
+
}[];
|
|
1612
|
+
export declare namespace listings {
|
|
1613
|
+
type Options = {
|
|
1614
|
+
/** The chain's ID. */
|
|
1615
|
+
chainId: number;
|
|
1616
|
+
};
|
|
1617
|
+
}
|
|
1618
|
+
/**
|
|
1619
|
+
* Signs `key` with `owner`, the account's owner key, and returns it in the node's RPC format. A
|
|
1620
|
+
* configurable account signs through one of its owners, and its authorization binds the account.
|
|
1621
|
+
*/
|
|
1622
|
+
export declare function sign(owner: Parameters<typeof Account.signKeyAuthorization>[0], options: sign.Options): Promise<KeyAuthorization.Rpc>;
|
|
1623
|
+
export declare namespace sign {
|
|
1624
|
+
type Options = {
|
|
1625
|
+
/** A key authorization that `check` accepts. */
|
|
1626
|
+
key: Key;
|
|
1627
|
+
};
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Signs `key` with a verified passkey `assertion` over its {@link digest}, in the RPC format. For a
|
|
1631
|
+
* configurable account, the assertion is the passkey owner's approval in the account's envelope.
|
|
1632
|
+
*/
|
|
1633
|
+
export declare function signWithAssertion(assertion: Passkey.Assertion, options: signWithAssertion.Options): Promise<KeyAuthorization.Rpc>;
|
|
1634
|
+
export declare namespace signWithAssertion {
|
|
1635
|
+
type Options = {
|
|
1636
|
+
/**
|
|
1637
|
+
* The configurable account that the key acts for, on the chain where it is configurable. Absent,
|
|
1638
|
+
* the passkey itself acts as the account.
|
|
1639
|
+
*/
|
|
1640
|
+
account?: Account.ConfigurableAccount<AccountConfig.Config> | undefined;
|
|
1641
|
+
/** The key authorization that the assertion signs. */
|
|
1642
|
+
key: Key;
|
|
1643
|
+
/** The passkey's uncompressed P256 public key. */
|
|
1644
|
+
publicKey: Hex.Hex;
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
/** Whether `address` has the full 12-byte TIP-20 prefix, which no other contract shares. */
|
|
1648
|
+
export declare function tip20(address: string): boolean;
|
|
1649
|
+
export {};
|
|
1650
|
+
//# sourceMappingURL=KeyAuthorization.d.ts.map
|