accounts 0.21.1 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -5
- package/README.md +64 -56
- package/dist/Accounts.d.ts +392 -0
- package/dist/Accounts.d.ts.map +1 -0
- package/dist/Accounts.js +413 -0
- package/dist/Accounts.js.map +1 -0
- package/dist/Permissions.d.ts +189 -0
- package/dist/Permissions.d.ts.map +1 -0
- package/dist/Permissions.js +212 -0
- package/dist/Permissions.js.map +1 -0
- package/dist/Plugin.d.ts +135 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Plugin.js +27 -0
- package/dist/Plugin.js.map +1 -0
- package/dist/Session.d.ts +75 -0
- package/dist/Session.d.ts.map +1 -0
- package/dist/Session.js +32 -0
- package/dist/Session.js.map +1 -0
- package/dist/Store.d.ts +45 -0
- package/dist/Store.d.ts.map +1 -0
- package/dist/Store.js +21 -0
- package/dist/Store.js.map +1 -0
- package/dist/actions/account.d.ts +457 -0
- package/dist/actions/account.d.ts.map +1 -0
- package/dist/actions/account.js +463 -0
- package/dist/actions/account.js.map +1 -0
- package/dist/actions/backend/email.d.ts +65 -0
- package/dist/actions/backend/email.d.ts.map +1 -0
- package/dist/actions/backend/email.js +93 -0
- package/dist/actions/backend/email.js.map +1 -0
- package/dist/actions/backend.d.ts +7 -0
- package/dist/actions/backend.d.ts.map +1 -0
- package/dist/actions/backend.js +7 -0
- package/dist/actions/backend.js.map +1 -0
- package/dist/actions/connections.d.ts +85 -0
- package/dist/actions/connections.d.ts.map +1 -0
- package/dist/actions/connections.js +82 -0
- package/dist/actions/connections.js.map +1 -0
- package/dist/actions/device.d.ts +64 -0
- package/dist/actions/device.d.ts.map +1 -0
- package/dist/actions/device.js +116 -0
- package/dist/actions/device.js.map +1 -0
- package/dist/actions/dialog.d.ts +280 -0
- package/dist/actions/dialog.d.ts.map +1 -0
- package/dist/actions/dialog.js +587 -0
- package/dist/actions/dialog.js.map +1 -0
- package/dist/actions/email.d.ts +111 -0
- package/dist/actions/email.d.ts.map +1 -0
- package/dist/actions/email.js +132 -0
- package/dist/actions/email.js.map +1 -0
- package/dist/actions/funding.d.ts +157 -0
- package/dist/actions/funding.d.ts.map +1 -0
- package/dist/actions/funding.js +360 -0
- package/dist/actions/funding.js.map +1 -0
- package/dist/actions/oauth.d.ts +126 -0
- package/dist/actions/oauth.d.ts.map +1 -0
- package/dist/actions/oauth.js +120 -0
- package/dist/actions/oauth.js.map +1 -0
- package/dist/actions/passkey.d.ts +229 -0
- package/dist/actions/passkey.d.ts.map +1 -0
- package/dist/actions/passkey.js +372 -0
- package/dist/actions/passkey.js.map +1 -0
- package/dist/actions/realm.d.ts +25 -0
- package/dist/actions/realm.d.ts.map +1 -0
- package/dist/actions/realm.js +16 -0
- package/dist/actions/realm.js.map +1 -0
- package/dist/actions/redirect.d.ts +169 -0
- package/dist/actions/redirect.d.ts.map +1 -0
- package/dist/actions/redirect.js +286 -0
- package/dist/actions/redirect.js.map +1 -0
- package/dist/cloudflare/DurableObject.d.ts +109 -0
- package/dist/cloudflare/DurableObject.d.ts.map +1 -0
- package/dist/cloudflare/DurableObject.js +151 -0
- package/dist/cloudflare/DurableObject.js.map +1 -0
- package/dist/cloudflare/index.d.ts +10 -0
- package/dist/cloudflare/index.d.ts.map +1 -0
- package/dist/cloudflare/index.js +10 -0
- package/dist/cloudflare/index.js.map +1 -0
- package/dist/expo/index.d.ts +10 -0
- package/dist/expo/index.d.ts.map +1 -0
- package/dist/expo/index.js +11 -0
- package/dist/expo/index.js.map +1 -0
- package/dist/index.d.ts +11 -29
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -29
- package/dist/index.js.map +1 -1
- package/dist/index.native.d.ts +9 -0
- package/dist/index.native.d.ts.map +1 -0
- package/dist/index.native.js +10 -0
- package/dist/index.native.js.map +1 -0
- package/dist/internal/AccessKey.d.ts +108 -0
- package/dist/internal/AccessKey.d.ts.map +1 -0
- package/dist/internal/AccessKey.js +114 -0
- package/dist/internal/AccessKey.js.map +1 -0
- package/dist/internal/AccessToken.d.ts +164 -0
- package/dist/internal/AccessToken.d.ts.map +1 -0
- package/dist/internal/AccessToken.js +203 -0
- package/dist/internal/AccessToken.js.map +1 -0
- package/dist/internal/Actions.d.ts +141 -0
- package/dist/internal/Actions.d.ts.map +1 -0
- package/dist/internal/Actions.js +179 -0
- package/dist/internal/Actions.js.map +1 -0
- package/dist/internal/Api.d.ts +194 -0
- package/dist/internal/Api.d.ts.map +1 -0
- package/dist/internal/Api.js +281 -0
- package/dist/internal/Api.js.map +1 -0
- package/dist/internal/Authorization.d.ts +33 -0
- package/dist/internal/Authorization.d.ts.map +1 -0
- package/dist/internal/Authorization.js +12 -0
- package/dist/internal/Authorization.js.map +1 -0
- package/dist/internal/BackendSessions.d.ts +141 -0
- package/dist/internal/BackendSessions.d.ts.map +1 -0
- package/dist/internal/BackendSessions.js +326 -0
- package/dist/internal/BackendSessions.js.map +1 -0
- package/dist/internal/Callback.d.ts +38 -0
- package/dist/internal/Callback.d.ts.map +1 -0
- package/dist/internal/Callback.js +40 -0
- package/dist/internal/Callback.js.map +1 -0
- package/dist/internal/Chains.d.ts +22 -0
- package/dist/internal/Chains.d.ts.map +1 -0
- package/dist/internal/Chains.js +16 -0
- package/dist/internal/Chains.js.map +1 -0
- package/dist/internal/ClientAssertion.d.ts +79 -0
- package/dist/internal/ClientAssertion.d.ts.map +1 -0
- package/dist/internal/ClientAssertion.js +77 -0
- package/dist/internal/ClientAssertion.js.map +1 -0
- package/dist/internal/ClientId.d.ts +12 -0
- package/dist/internal/ClientId.d.ts.map +1 -0
- package/dist/internal/ClientId.js +14 -0
- package/dist/internal/ClientId.js.map +1 -0
- package/dist/internal/Connections.d.ts +301 -0
- package/dist/internal/Connections.d.ts.map +1 -0
- package/dist/internal/Connections.js +470 -0
- package/dist/internal/Connections.js.map +1 -0
- package/dist/internal/Core.d.ts +98 -0
- package/dist/internal/Core.d.ts.map +1 -0
- package/dist/internal/Core.js +260 -0
- package/dist/internal/Core.js.map +1 -0
- package/dist/internal/DefaultDialog.d.ts +14 -0
- package/dist/internal/DefaultDialog.d.ts.map +1 -0
- package/dist/internal/DefaultDialog.js +61 -0
- package/dist/internal/DefaultDialog.js.map +1 -0
- package/dist/internal/DefaultStore.d.ts +11 -0
- package/dist/internal/DefaultStore.d.ts.map +1 -0
- package/dist/internal/DefaultStore.js +15 -0
- package/dist/internal/DefaultStore.js.map +1 -0
- package/dist/internal/Dpop.d.ts +105 -0
- package/dist/internal/Dpop.d.ts.map +1 -0
- package/dist/internal/Dpop.js +121 -0
- package/dist/internal/Dpop.js.map +1 -0
- package/dist/internal/Expiry.d.ts +15 -0
- package/dist/internal/Expiry.d.ts.map +1 -0
- package/dist/internal/Expiry.js +5 -0
- package/dist/internal/Expiry.js.map +1 -0
- package/dist/internal/Funding.d.ts +30 -0
- package/dist/internal/Funding.d.ts.map +1 -0
- package/dist/internal/Funding.js +12 -0
- package/dist/internal/Funding.js.map +1 -0
- package/dist/internal/Handler.d.ts +13 -0
- package/dist/internal/Handler.d.ts.map +1 -0
- package/dist/internal/Handler.js +10 -0
- package/dist/internal/Handler.js.map +1 -0
- package/dist/internal/Headless.d.ts +167 -0
- package/dist/internal/Headless.d.ts.map +1 -0
- package/dist/internal/Headless.js +207 -0
- package/dist/internal/Headless.js.map +1 -0
- package/dist/internal/IndexedDb.d.ts +8 -0
- package/dist/internal/IndexedDb.d.ts.map +1 -0
- package/dist/internal/IndexedDb.js +34 -0
- package/dist/internal/IndexedDb.js.map +1 -0
- package/dist/internal/LogoutToken.d.ts +87 -0
- package/dist/internal/LogoutToken.d.ts.map +1 -0
- package/dist/internal/LogoutToken.js +107 -0
- package/dist/internal/LogoutToken.js.map +1 -0
- package/dist/internal/Pending.d.ts +42 -0
- package/dist/internal/Pending.d.ts.map +1 -0
- package/dist/internal/Pending.js +12 -0
- package/dist/internal/Pending.js.map +1 -0
- package/dist/internal/Popup.d.ts +57 -0
- package/dist/internal/Popup.d.ts.map +1 -0
- package/dist/internal/Popup.js +102 -0
- package/dist/internal/Popup.js.map +1 -0
- package/dist/internal/Registration.d.ts +52 -0
- package/dist/internal/Registration.d.ts.map +1 -0
- package/dist/internal/Registration.js +45 -0
- package/dist/internal/Registration.js.map +1 -0
- package/dist/internal/Request.d.ts +108 -0
- package/dist/internal/Request.d.ts.map +1 -0
- package/dist/internal/Request.js +137 -0
- package/dist/internal/Request.js.map +1 -0
- package/dist/internal/Rpc.d.ts +52 -0
- package/dist/internal/Rpc.d.ts.map +1 -0
- package/dist/internal/Rpc.js +68 -0
- package/dist/internal/Rpc.js.map +1 -0
- package/dist/internal/Session.d.ts +529 -0
- package/dist/internal/Session.d.ts.map +1 -0
- package/dist/internal/Session.js +1054 -0
- package/dist/internal/Session.js.map +1 -0
- package/dist/internal/Sheet.d.ts +447 -0
- package/dist/internal/Sheet.d.ts.map +1 -0
- package/dist/internal/Sheet.js +1040 -0
- package/dist/internal/Sheet.js.map +1 -0
- package/dist/internal/SignIn.d.ts +41 -0
- package/dist/internal/SignIn.d.ts.map +1 -0
- package/dist/internal/SignIn.js +66 -0
- package/dist/internal/SignIn.js.map +1 -0
- package/dist/internal/Signer.d.ts +43 -0
- package/dist/internal/Signer.d.ts.map +1 -0
- package/dist/internal/Signer.js +237 -0
- package/dist/internal/Signer.js.map +1 -0
- package/dist/internal/TempoAccount.d.ts +120 -0
- package/dist/internal/TempoAccount.d.ts.map +1 -0
- package/dist/internal/TempoAccount.js +58 -0
- package/dist/internal/TempoAccount.js.map +1 -0
- package/dist/internal/Tokens.d.ts +25 -0
- package/dist/internal/Tokens.d.ts.map +1 -0
- package/dist/internal/Tokens.js +12 -0
- package/dist/internal/Tokens.js.map +1 -0
- package/dist/internal/User.d.ts +21 -0
- package/dist/internal/User.d.ts.map +1 -0
- package/dist/internal/User.js +12 -0
- package/dist/internal/User.js.map +1 -0
- package/dist/internal/Verifier.d.ts +37 -0
- package/dist/internal/Verifier.d.ts.map +1 -0
- package/dist/internal/Verifier.js +68 -0
- package/dist/internal/Verifier.js.map +1 -0
- package/dist/internal/handlers/KeyEndpoint.d.ts +30 -0
- package/dist/internal/handlers/KeyEndpoint.d.ts.map +1 -0
- package/dist/internal/handlers/KeyEndpoint.js +56 -0
- package/dist/internal/handlers/KeyEndpoint.js.map +1 -0
- package/dist/internal/handlers/Relay.d.ts +36 -0
- package/dist/internal/handlers/Relay.d.ts.map +1 -0
- package/dist/internal/handlers/Relay.js +58 -0
- package/dist/internal/handlers/Relay.js.map +1 -0
- package/dist/internal/handlers/Server.d.ts +35 -0
- package/dist/internal/handlers/Server.d.ts.map +1 -0
- package/dist/internal/handlers/Server.js +38 -0
- package/dist/internal/handlers/Server.js.map +1 -0
- package/dist/internal/index.d.ts +20 -0
- package/dist/internal/index.d.ts.map +1 -0
- package/dist/internal/index.js +20 -0
- package/dist/internal/index.js.map +1 -0
- package/dist/internal/viem/AccessKey.d.ts +88 -0
- package/dist/internal/viem/AccessKey.d.ts.map +1 -0
- package/dist/internal/viem/AccessKey.js +140 -0
- package/dist/internal/viem/AccessKey.js.map +1 -0
- package/dist/internal/viem/Retry.d.ts +69 -0
- package/dist/internal/viem/Retry.d.ts.map +1 -0
- package/dist/internal/viem/Retry.js +174 -0
- package/dist/internal/viem/Retry.js.map +1 -0
- package/dist/internal/viem/Verify.d.ts +43 -0
- package/dist/internal/viem/Verify.d.ts.map +1 -0
- package/dist/internal/viem/Verify.js +85 -0
- package/dist/internal/viem/Verify.js.map +1 -0
- package/dist/mpp/index.d.ts +156 -0
- package/dist/mpp/index.d.ts.map +1 -0
- package/dist/mpp/index.js +206 -0
- package/dist/mpp/index.js.map +1 -0
- package/dist/plugins/backend.d.ts +159 -0
- package/dist/plugins/backend.d.ts.map +1 -0
- package/dist/plugins/backend.js +160 -0
- package/dist/plugins/backend.js.map +1 -0
- package/dist/plugins/device.d.ts +60 -0
- package/dist/plugins/device.d.ts.map +1 -0
- package/dist/plugins/device.js +57 -0
- package/dist/plugins/device.js.map +1 -0
- package/dist/plugins/dialog.d.ts +59 -0
- package/dist/plugins/dialog.d.ts.map +1 -0
- package/dist/plugins/dialog.js +72 -0
- package/dist/plugins/dialog.js.map +1 -0
- package/dist/plugins/email.d.ts +81 -0
- package/dist/plugins/email.d.ts.map +1 -0
- package/dist/plugins/email.js +94 -0
- package/dist/plugins/email.js.map +1 -0
- package/dist/plugins/expo.d.ts +35 -0
- package/dist/plugins/expo.d.ts.map +1 -0
- package/dist/plugins/expo.js +56 -0
- package/dist/plugins/expo.js.map +1 -0
- package/dist/plugins/funding.d.ts +61 -0
- package/dist/plugins/funding.d.ts.map +1 -0
- package/dist/plugins/funding.js +110 -0
- package/dist/plugins/funding.js.map +1 -0
- package/dist/plugins/index.d.ts +23 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +23 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/index.native.d.ts +10 -0
- package/dist/plugins/index.native.d.ts.map +1 -0
- package/dist/plugins/index.native.js +11 -0
- package/dist/plugins/index.native.js.map +1 -0
- package/dist/plugins/passkey.d.ts +136 -0
- package/dist/plugins/passkey.d.ts.map +1 -0
- package/dist/plugins/passkey.js +126 -0
- package/dist/plugins/passkey.js.map +1 -0
- package/dist/plugins/redirect.d.ts +63 -0
- package/dist/plugins/redirect.d.ts.map +1 -0
- package/dist/plugins/redirect.js +192 -0
- package/dist/plugins/redirect.js.map +1 -0
- package/dist/plugins/relay.d.ts +73 -0
- package/dist/plugins/relay.d.ts.map +1 -0
- package/dist/plugins/relay.js +77 -0
- package/dist/plugins/relay.js.map +1 -0
- package/dist/plugins/viem.d.ts +251 -0
- package/dist/plugins/viem.d.ts.map +1 -0
- package/dist/plugins/viem.js +464 -0
- package/dist/plugins/viem.js.map +1 -0
- package/dist/react/index.d.ts +178 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/index.js +295 -1
- package/dist/react/index.js.map +1 -1
- package/dist/stores/DurableObject.d.ts +42 -0
- package/dist/stores/DurableObject.d.ts.map +1 -0
- package/dist/stores/DurableObject.js +79 -0
- package/dist/stores/DurableObject.js.map +1 -0
- package/dist/stores/File.d.ts +15 -0
- package/dist/stores/File.d.ts.map +1 -0
- package/dist/stores/File.js +183 -0
- package/dist/stores/File.js.map +1 -0
- package/dist/stores/Memory.d.ts +12 -0
- package/dist/stores/Memory.d.ts.map +1 -0
- package/dist/stores/Memory.js +37 -0
- package/dist/stores/Memory.js.map +1 -0
- package/dist/stores/Postgres.d.ts +30 -0
- package/dist/stores/Postgres.d.ts.map +1 -0
- package/dist/stores/Postgres.js +68 -0
- package/dist/stores/Postgres.js.map +1 -0
- package/dist/stores/Redis.d.ts +26 -0
- package/dist/stores/Redis.d.ts.map +1 -0
- package/dist/stores/Redis.js +44 -0
- package/dist/stores/Redis.js.map +1 -0
- package/dist/wagmi/index.d.ts +206 -25
- package/dist/wagmi/index.d.ts.map +1 -1
- package/dist/wagmi/index.js +556 -22
- package/dist/wagmi/index.js.map +1 -1
- package/package.json +93 -121
- package/src/Accounts.ts +927 -0
- package/src/Permissions.ts +407 -0
- package/src/Plugin.ts +198 -0
- package/src/Session.ts +87 -0
- package/src/Store.ts +53 -0
- package/src/actions/account.ts +863 -0
- package/src/actions/backend/email.ts +168 -0
- package/src/actions/backend.ts +6 -0
- package/src/actions/connections.ts +154 -0
- package/src/actions/device.ts +184 -0
- package/src/actions/dialog.ts +830 -0
- package/src/actions/email.ts +237 -0
- package/src/actions/funding.ts +567 -0
- package/src/actions/oauth.ts +199 -0
- package/src/actions/passkey.ts +658 -0
- package/src/actions/realm.ts +37 -0
- package/src/actions/redirect.ts +484 -0
- package/src/cloudflare/DurableObject.ts +254 -0
- package/src/cloudflare/index.ts +9 -0
- package/src/cloudflare/workers.d.ts +20 -0
- package/src/expo/index.ts +11 -0
- package/src/index.native.ts +10 -0
- package/src/index.ts +11 -31
- package/src/internal/AccessKey.ts +188 -0
- package/src/internal/AccessToken.ts +391 -0
- package/src/internal/Actions.ts +291 -0
- package/src/internal/Api.ts +466 -0
- package/src/internal/Authorization.ts +38 -0
- package/src/internal/BackendSessions.ts +518 -0
- package/src/internal/Callback.ts +67 -0
- package/src/internal/Chains.ts +26 -0
- package/src/internal/ClientAssertion.ts +131 -0
- package/src/internal/ClientId.ts +14 -0
- package/src/internal/Connections.ts +914 -0
- package/src/internal/Core.ts +364 -0
- package/src/internal/DefaultDialog.ts +85 -0
- package/src/internal/DefaultStore.ts +20 -0
- package/src/internal/Dpop.ts +184 -0
- package/src/internal/Expiry.ts +17 -0
- package/src/internal/Funding.ts +32 -0
- package/src/internal/Handler.ts +16 -0
- package/src/internal/Headless.ts +320 -0
- package/src/internal/IndexedDb.ts +46 -0
- package/src/internal/LogoutToken.ts +194 -0
- package/src/internal/Pending.ts +49 -0
- package/src/internal/Popup.ts +134 -0
- package/src/internal/Registration.ts +102 -0
- package/src/internal/Request.ts +220 -0
- package/src/internal/Rpc.ts +104 -0
- package/src/internal/Session.ts +1554 -0
- package/src/internal/Sheet.ts +1382 -0
- package/src/internal/SignIn.ts +113 -0
- package/src/internal/Signer.ts +334 -0
- package/src/internal/TempoAccount.ts +146 -0
- package/src/internal/Tokens.ts +27 -0
- package/src/internal/User.ts +23 -0
- package/src/internal/Verifier.ts +99 -0
- package/src/internal/handlers/KeyEndpoint.ts +80 -0
- package/src/internal/handlers/Relay.ts +88 -0
- package/src/internal/handlers/Server.ts +49 -0
- package/src/internal/index.ts +19 -0
- package/src/internal/viem/AccessKey.ts +205 -0
- package/src/internal/viem/Retry.ts +256 -0
- package/src/internal/viem/Verify.ts +141 -0
- package/src/mpp/index.ts +360 -0
- package/src/plugins/backend.ts +304 -0
- package/src/plugins/device.ts +98 -0
- package/src/plugins/dialog.ts +114 -0
- package/src/plugins/email.ts +156 -0
- package/src/plugins/expo.ts +76 -0
- package/src/plugins/funding.ts +159 -0
- package/src/plugins/index.native.ts +11 -0
- package/src/plugins/index.ts +22 -0
- package/src/plugins/passkey.ts +254 -0
- package/src/plugins/redirect.ts +219 -0
- package/src/plugins/relay.ts +134 -0
- package/src/plugins/viem.ts +705 -0
- package/src/react/index.ts +427 -1
- package/src/stores/DurableObject.ts +103 -0
- package/src/stores/File.ts +207 -0
- package/src/stores/Memory.ts +36 -0
- package/src/stores/Postgres.ts +106 -0
- package/src/stores/Redis.ts +56 -0
- package/src/wagmi/index.ts +835 -27
- package/dist/cli/Provider.d.ts +0 -15
- package/dist/cli/Provider.d.ts.map +0 -1
- package/dist/cli/Provider.js +0 -33
- package/dist/cli/Provider.js.map +0 -1
- package/dist/cli/adapter.d.ts +0 -33
- package/dist/cli/adapter.d.ts.map +0 -1
- package/dist/cli/adapter.js +0 -102
- package/dist/cli/adapter.js.map +0 -1
- package/dist/cli/index.d.ts +0 -5
- package/dist/cli/index.d.ts.map +0 -1
- package/dist/cli/index.js +0 -5
- package/dist/cli/index.js.map +0 -1
- package/dist/cli/storage.d.ts +0 -15
- package/dist/cli/storage.d.ts.map +0 -1
- package/dist/cli/storage.js +0 -128
- package/dist/cli/storage.js.map +0 -1
- package/dist/core/AccessKey.d.ts +0 -326
- package/dist/core/AccessKey.d.ts.map +0 -1
- package/dist/core/AccessKey.js +0 -559
- package/dist/core/AccessKey.js.map +0 -1
- package/dist/core/Account.d.ts +0 -77
- package/dist/core/Account.d.ts.map +0 -1
- package/dist/core/Account.js +0 -70
- package/dist/core/Account.js.map +0 -1
- package/dist/core/Adapter.d.ts +0 -405
- package/dist/core/Adapter.d.ts.map +0 -1
- package/dist/core/Adapter.js +0 -7
- package/dist/core/Adapter.js.map +0 -1
- package/dist/core/Client.d.ts +0 -26
- package/dist/core/Client.d.ts.map +0 -1
- package/dist/core/Client.js +0 -259
- package/dist/core/Client.js.map +0 -1
- package/dist/core/Dialog.d.ts +0 -79
- package/dist/core/Dialog.d.ts.map +0 -1
- package/dist/core/Dialog.js +0 -460
- package/dist/core/Dialog.js.map +0 -1
- package/dist/core/ExecutionError.d.ts +0 -25
- package/dist/core/ExecutionError.d.ts.map +0 -1
- package/dist/core/ExecutionError.js +0 -448
- package/dist/core/ExecutionError.js.map +0 -1
- package/dist/core/Expiry.d.ts +0 -15
- package/dist/core/Expiry.d.ts.map +0 -1
- package/dist/core/Expiry.js +0 -29
- package/dist/core/Expiry.js.map +0 -1
- package/dist/core/Handoff.d.ts +0 -55
- package/dist/core/Handoff.d.ts.map +0 -1
- package/dist/core/Handoff.js +0 -95
- package/dist/core/Handoff.js.map +0 -1
- package/dist/core/IntersectionObserver.d.ts +0 -3
- package/dist/core/IntersectionObserver.d.ts.map +0 -1
- package/dist/core/IntersectionObserver.js +0 -6
- package/dist/core/IntersectionObserver.js.map +0 -1
- package/dist/core/Keystore.d.ts +0 -121
- package/dist/core/Keystore.d.ts.map +0 -1
- package/dist/core/Keystore.js +0 -27
- package/dist/core/Keystore.js.map +0 -1
- package/dist/core/Mach.d.ts +0 -45
- package/dist/core/Mach.d.ts.map +0 -1
- package/dist/core/Mach.js +0 -61
- package/dist/core/Mach.js.map +0 -1
- package/dist/core/Messenger.d.ts +0 -108
- package/dist/core/Messenger.d.ts.map +0 -1
- package/dist/core/Messenger.js +0 -127
- package/dist/core/Messenger.js.map +0 -1
- package/dist/core/Provider.d.ts +0 -246
- package/dist/core/Provider.d.ts.map +0 -1
- package/dist/core/Provider.js +0 -1954
- package/dist/core/Provider.js.map +0 -1
- package/dist/core/ProviderRequest.d.ts +0 -34
- package/dist/core/ProviderRequest.d.ts.map +0 -1
- package/dist/core/ProviderRequest.js +0 -42
- package/dist/core/ProviderRequest.js.map +0 -1
- package/dist/core/Remote.d.ts +0 -195
- package/dist/core/Remote.d.ts.map +0 -1
- package/dist/core/Remote.js +0 -215
- package/dist/core/Remote.js.map +0 -1
- package/dist/core/Schema.d.ts +0 -1857
- package/dist/core/Schema.d.ts.map +0 -1
- package/dist/core/Schema.js +0 -44
- package/dist/core/Schema.js.map +0 -1
- package/dist/core/Storage.d.ts +0 -46
- package/dist/core/Storage.d.ts.map +0 -1
- package/dist/core/Storage.js +0 -188
- package/dist/core/Storage.js.map +0 -1
- package/dist/core/Store.d.ts +0 -107
- package/dist/core/Store.d.ts.map +0 -1
- package/dist/core/Store.js +0 -222
- package/dist/core/Store.js.map +0 -1
- package/dist/core/Tokenlist.d.ts +0 -48
- package/dist/core/Tokenlist.d.ts.map +0 -1
- package/dist/core/Tokenlist.js +0 -52
- package/dist/core/Tokenlist.js.map +0 -1
- package/dist/core/TrustedHosts.d.ts +0 -20
- package/dist/core/TrustedHosts.d.ts.map +0 -1
- package/dist/core/TrustedHosts.js +0 -39
- package/dist/core/TrustedHosts.js.map +0 -1
- package/dist/core/WebAuthnCeremony.d.ts +0 -243
- package/dist/core/WebAuthnCeremony.d.ts.map +0 -1
- package/dist/core/WebAuthnCeremony.js +0 -630
- package/dist/core/WebAuthnCeremony.js.map +0 -1
- package/dist/core/adapters/deviceCode/deviceCode.d.ts +0 -66
- package/dist/core/adapters/deviceCode/deviceCode.d.ts.map +0 -1
- package/dist/core/adapters/deviceCode/deviceCode.js +0 -94
- package/dist/core/adapters/deviceCode/deviceCode.js.map +0 -1
- package/dist/core/adapters/deviceCode/index.d.ts +0 -3
- package/dist/core/adapters/deviceCode/index.d.ts.map +0 -1
- package/dist/core/adapters/deviceCode/index.js +0 -3
- package/dist/core/adapters/deviceCode/index.js.map +0 -1
- package/dist/core/adapters/deviceCode/tempoWallet.d.ts +0 -9
- package/dist/core/adapters/deviceCode/tempoWallet.d.ts.map +0 -1
- package/dist/core/adapters/deviceCode/tempoWallet.js +0 -11
- package/dist/core/adapters/deviceCode/tempoWallet.js.map +0 -1
- package/dist/core/adapters/dialog.d.ts +0 -36
- package/dist/core/adapters/dialog.d.ts.map +0 -1
- package/dist/core/adapters/dialog.js +0 -157
- package/dist/core/adapters/dialog.js.map +0 -1
- package/dist/core/adapters/internal/fromRequest.d.ts +0 -79
- package/dist/core/adapters/internal/fromRequest.d.ts.map +0 -1
- package/dist/core/adapters/internal/fromRequest.js +0 -142
- package/dist/core/adapters/internal/fromRequest.js.map +0 -1
- package/dist/core/adapters/local.d.ts +0 -33
- package/dist/core/adapters/local.d.ts.map +0 -1
- package/dist/core/adapters/local.js +0 -277
- package/dist/core/adapters/local.js.map +0 -1
- package/dist/core/adapters/mobileWebAuth/index.d.ts +0 -3
- package/dist/core/adapters/mobileWebAuth/index.d.ts.map +0 -1
- package/dist/core/adapters/mobileWebAuth/index.js +0 -3
- package/dist/core/adapters/mobileWebAuth/index.js.map +0 -1
- package/dist/core/adapters/mobileWebAuth/mobileWebAuth.d.ts +0 -31
- package/dist/core/adapters/mobileWebAuth/mobileWebAuth.d.ts.map +0 -1
- package/dist/core/adapters/mobileWebAuth/mobileWebAuth.js +0 -61
- package/dist/core/adapters/mobileWebAuth/mobileWebAuth.js.map +0 -1
- package/dist/core/adapters/mobileWebAuth/tempoWallet.d.ts +0 -9
- package/dist/core/adapters/mobileWebAuth/tempoWallet.d.ts.map +0 -1
- package/dist/core/adapters/mobileWebAuth/tempoWallet.js +0 -11
- package/dist/core/adapters/mobileWebAuth/tempoWallet.js.map +0 -1
- package/dist/core/adapters/postMessage/index.d.ts +0 -5
- package/dist/core/adapters/postMessage/index.d.ts.map +0 -1
- package/dist/core/adapters/postMessage/index.js +0 -5
- package/dist/core/adapters/postMessage/index.js.map +0 -1
- package/dist/core/adapters/postMessage/mount.d.ts +0 -76
- package/dist/core/adapters/postMessage/mount.d.ts.map +0 -1
- package/dist/core/adapters/postMessage/mount.js +0 -249
- package/dist/core/adapters/postMessage/mount.js.map +0 -1
- package/dist/core/adapters/postMessage/postMessage.d.ts +0 -56
- package/dist/core/adapters/postMessage/postMessage.d.ts.map +0 -1
- package/dist/core/adapters/postMessage/postMessage.js +0 -322
- package/dist/core/adapters/postMessage/postMessage.js.map +0 -1
- package/dist/core/adapters/postMessage/tempoWallet.d.ts +0 -29
- package/dist/core/adapters/postMessage/tempoWallet.d.ts.map +0 -1
- package/dist/core/adapters/postMessage/tempoWallet.js +0 -32
- package/dist/core/adapters/postMessage/tempoWallet.js.map +0 -1
- package/dist/core/adapters/privy.d.ts +0 -163
- package/dist/core/adapters/privy.d.ts.map +0 -1
- package/dist/core/adapters/privy.js +0 -568
- package/dist/core/adapters/privy.js.map +0 -1
- package/dist/core/adapters/secp256k1.d.ts +0 -45
- package/dist/core/adapters/secp256k1.d.ts.map +0 -1
- package/dist/core/adapters/secp256k1.js +0 -70
- package/dist/core/adapters/secp256k1.js.map +0 -1
- package/dist/core/adapters/turnkey.d.ts +0 -138
- package/dist/core/adapters/turnkey.d.ts.map +0 -1
- package/dist/core/adapters/turnkey.js +0 -339
- package/dist/core/adapters/turnkey.js.map +0 -1
- package/dist/core/adapters/webAuthn.d.ts +0 -46
- package/dist/core/adapters/webAuthn.d.ts.map +0 -1
- package/dist/core/adapters/webAuthn.js +0 -528
- package/dist/core/adapters/webAuthn.js.map +0 -1
- package/dist/core/internal/AccessKeyTransaction.d.ts +0 -65
- package/dist/core/internal/AccessKeyTransaction.d.ts.map +0 -1
- package/dist/core/internal/AccessKeyTransaction.js +0 -184
- package/dist/core/internal/AccessKeyTransaction.js.map +0 -1
- package/dist/core/internal/RemoteRequests.d.ts +0 -31
- package/dist/core/internal/RemoteRequests.d.ts.map +0 -1
- package/dist/core/internal/RemoteRequests.js +0 -141
- package/dist/core/internal/RemoteRequests.js.map +0 -1
- package/dist/core/internal/address.d.ts +0 -5
- package/dist/core/internal/address.d.ts.map +0 -1
- package/dist/core/internal/address.js +0 -14
- package/dist/core/internal/address.js.map +0 -1
- package/dist/core/internal/schema.d.ts +0 -7
- package/dist/core/internal/schema.d.ts.map +0 -1
- package/dist/core/internal/schema.js +0 -9
- package/dist/core/internal/schema.js.map +0 -1
- package/dist/core/internal/withDedupe.d.ts +0 -13
- package/dist/core/internal/withDedupe.d.ts.map +0 -1
- package/dist/core/internal/withDedupe.js +0 -13
- package/dist/core/internal/withDedupe.js.map +0 -1
- package/dist/core/internal/zodIssues.d.ts +0 -18
- package/dist/core/internal/zodIssues.d.ts.map +0 -1
- package/dist/core/internal/zodIssues.js +0 -47
- package/dist/core/internal/zodIssues.js.map +0 -1
- package/dist/core/keystores/p256.d.ts +0 -11
- package/dist/core/keystores/p256.d.ts.map +0 -1
- package/dist/core/keystores/p256.js +0 -31
- package/dist/core/keystores/p256.js.map +0 -1
- package/dist/core/keystores/secp256k1.d.ts +0 -10
- package/dist/core/keystores/secp256k1.d.ts.map +0 -1
- package/dist/core/keystores/secp256k1.js +0 -30
- package/dist/core/keystores/secp256k1.js.map +0 -1
- package/dist/core/keystores/webCryptoP256.d.ts +0 -40
- package/dist/core/keystores/webCryptoP256.d.ts.map +0 -1
- package/dist/core/keystores/webCryptoP256.js +0 -80
- package/dist/core/keystores/webCryptoP256.js.map +0 -1
- package/dist/core/zod/request.d.ts +0 -31
- package/dist/core/zod/request.d.ts.map +0 -1
- package/dist/core/zod/request.js +0 -41
- package/dist/core/zod/request.js.map +0 -1
- package/dist/core/zod/rpc.d.ts +0 -1602
- package/dist/core/zod/rpc.d.ts.map +0 -1
- package/dist/core/zod/rpc.js +0 -926
- package/dist/core/zod/rpc.js.map +0 -1
- package/dist/core/zod/utils.d.ts +0 -18
- package/dist/core/zod/utils.d.ts.map +0 -1
- package/dist/core/zod/utils.js +0 -21
- package/dist/core/zod/utils.js.map +0 -1
- package/dist/internal/types.d.ts +0 -284
- package/dist/internal/types.d.ts.map +0 -1
- package/dist/internal/types.js +0 -2
- package/dist/internal/types.js.map +0 -1
- package/dist/react/Remote.d.ts +0 -34
- package/dist/react/Remote.d.ts.map +0 -1
- package/dist/react/Remote.js +0 -147
- package/dist/react/Remote.js.map +0 -1
- package/dist/react/privy.d.ts +0 -23
- package/dist/react/privy.d.ts.map +0 -1
- package/dist/react/privy.js +0 -223
- package/dist/react/privy.js.map +0 -1
- package/dist/react-native/asyncStorage.d.ts +0 -8
- package/dist/react-native/asyncStorage.d.ts.map +0 -1
- package/dist/react-native/asyncStorage.js +0 -28
- package/dist/react-native/asyncStorage.js.map +0 -1
- package/dist/react-native/expoSecureStore.d.ts +0 -13
- package/dist/react-native/expoSecureStore.d.ts.map +0 -1
- package/dist/react-native/expoSecureStore.js +0 -21
- package/dist/react-native/expoSecureStore.js.map +0 -1
- package/dist/react-native/expoWebBrowser.d.ts +0 -4
- package/dist/react-native/expoWebBrowser.d.ts.map +0 -1
- package/dist/react-native/expoWebBrowser.js +0 -9
- package/dist/react-native/expoWebBrowser.js.map +0 -1
- package/dist/react-native/secureMmkv.d.ts +0 -24
- package/dist/react-native/secureMmkv.d.ts.map +0 -1
- package/dist/react-native/secureMmkv.js +0 -61
- package/dist/react-native/secureMmkv.js.map +0 -1
- package/dist/server/CliAuth.d.ts +0 -1566
- package/dist/server/CliAuth.d.ts.map +0 -1
- package/dist/server/CliAuth.js +0 -964
- package/dist/server/CliAuth.js.map +0 -1
- package/dist/server/Handler.d.ts +0 -92
- package/dist/server/Handler.d.ts.map +0 -1
- package/dist/server/Handler.js +0 -88
- package/dist/server/Handler.js.map +0 -1
- package/dist/server/Identity.d.ts +0 -31
- package/dist/server/Identity.d.ts.map +0 -1
- package/dist/server/Identity.js +0 -47
- package/dist/server/Identity.js.map +0 -1
- package/dist/server/Kv.d.ts +0 -177
- package/dist/server/Kv.d.ts.map +0 -1
- package/dist/server/Kv.js +0 -246
- package/dist/server/Kv.js.map +0 -1
- package/dist/server/index.d.ts +0 -7
- package/dist/server/index.d.ts.map +0 -1
- package/dist/server/index.js +0 -7
- package/dist/server/index.js.map +0 -1
- package/dist/server/internal/handlers/auth.d.ts +0 -221
- package/dist/server/internal/handlers/auth.d.ts.map +0 -1
- package/dist/server/internal/handlers/auth.js +0 -400
- package/dist/server/internal/handlers/auth.js.map +0 -1
- package/dist/server/internal/handlers/codeAuth.d.ts +0 -48
- package/dist/server/internal/handlers/codeAuth.d.ts.map +0 -1
- package/dist/server/internal/handlers/codeAuth.js +0 -159
- package/dist/server/internal/handlers/codeAuth.js.map +0 -1
- package/dist/server/internal/handlers/deviceCode.d.ts +0 -60
- package/dist/server/internal/handlers/deviceCode.d.ts.map +0 -1
- package/dist/server/internal/handlers/deviceCode.js +0 -218
- package/dist/server/internal/handlers/deviceCode.js.map +0 -1
- package/dist/server/internal/handlers/exchange.d.ts +0 -275
- package/dist/server/internal/handlers/exchange.d.ts.map +0 -1
- package/dist/server/internal/handlers/exchange.js +0 -312
- package/dist/server/internal/handlers/exchange.js.map +0 -1
- package/dist/server/internal/handlers/feeLiquidity.d.ts +0 -28
- package/dist/server/internal/handlers/feeLiquidity.d.ts.map +0 -1
- package/dist/server/internal/handlers/feeLiquidity.js +0 -80
- package/dist/server/internal/handlers/feeLiquidity.js.map +0 -1
- package/dist/server/internal/handlers/oidcProvider.d.ts +0 -110
- package/dist/server/internal/handlers/oidcProvider.d.ts.map +0 -1
- package/dist/server/internal/handlers/oidcProvider.js +0 -147
- package/dist/server/internal/handlers/oidcProvider.js.map +0 -1
- package/dist/server/internal/handlers/relay.d.ts +0 -122
- package/dist/server/internal/handlers/relay.d.ts.map +0 -1
- package/dist/server/internal/handlers/relay.js +0 -1304
- package/dist/server/internal/handlers/relay.js.map +0 -1
- package/dist/server/internal/handlers/session.d.ts +0 -93
- package/dist/server/internal/handlers/session.d.ts.map +0 -1
- package/dist/server/internal/handlers/session.js +0 -138
- package/dist/server/internal/handlers/session.js.map +0 -1
- package/dist/server/internal/handlers/sponsorship.d.ts +0 -81
- package/dist/server/internal/handlers/sponsorship.d.ts.map +0 -1
- package/dist/server/internal/handlers/sponsorship.js +0 -102
- package/dist/server/internal/handlers/sponsorship.js.map +0 -1
- package/dist/server/internal/handlers/utils.d.ts +0 -34
- package/dist/server/internal/handlers/utils.d.ts.map +0 -1
- package/dist/server/internal/handlers/utils.js +0 -141
- package/dist/server/internal/handlers/utils.js.map +0 -1
- package/dist/server/internal/handlers/webAuthn.d.ts +0 -151
- package/dist/server/internal/handlers/webAuthn.d.ts.map +0 -1
- package/dist/server/internal/handlers/webAuthn.js +0 -358
- package/dist/server/internal/handlers/webAuthn.js.map +0 -1
- package/dist/server/internal/hono.d.ts +0 -20
- package/dist/server/internal/hono.d.ts.map +0 -1
- package/dist/server/internal/hono.js +0 -24
- package/dist/server/internal/hono.js.map +0 -1
- package/dist/server/internal/kv.d.ts +0 -22
- package/dist/server/internal/kv.d.ts.map +0 -1
- package/dist/server/internal/kv.js +0 -82
- package/dist/server/internal/kv.js.map +0 -1
- package/dist/server/internal/requestListener.d.ts +0 -124
- package/dist/server/internal/requestListener.d.ts.map +0 -1
- package/dist/server/internal/requestListener.js +0 -202
- package/dist/server/internal/requestListener.js.map +0 -1
- package/dist/server/internal/tokenlist.d.ts +0 -53
- package/dist/server/internal/tokenlist.d.ts.map +0 -1
- package/dist/server/internal/tokenlist.js +0 -38
- package/dist/server/internal/tokenlist.js.map +0 -1
- package/dist/server/internal/zod.d.ts +0 -30
- package/dist/server/internal/zod.d.ts.map +0 -1
- package/dist/server/internal/zod.js +0 -53
- package/dist/server/internal/zod.js.map +0 -1
- package/dist/trusted-hosts.json +0 -22
- package/src/cli/Provider.localnet.test.ts +0 -1153
- package/src/cli/Provider.test-d.ts +0 -30
- package/src/cli/Provider.test.ts +0 -57
- package/src/cli/Provider.ts +0 -54
- package/src/cli/adapter.test.ts +0 -184
- package/src/cli/adapter.ts +0 -144
- package/src/cli/index.ts +0 -4
- package/src/cli/storage.test.ts +0 -141
- package/src/cli/storage.ts +0 -159
- package/src/core/AccessKey.permissions.test.ts +0 -73
- package/src/core/AccessKey.test.ts +0 -1420
- package/src/core/AccessKey.ts +0 -938
- package/src/core/Account.test.ts +0 -237
- package/src/core/Account.ts +0 -141
- package/src/core/Adapter.ts +0 -498
- package/src/core/Client.test.ts +0 -604
- package/src/core/Client.ts +0 -318
- package/src/core/Dialog.browser.test.ts +0 -355
- package/src/core/Dialog.test-d.ts +0 -32
- package/src/core/Dialog.ts +0 -598
- package/src/core/ExecutionError.test.ts +0 -205
- package/src/core/ExecutionError.ts +0 -476
- package/src/core/Expiry.ts +0 -34
- package/src/core/Handoff.test.ts +0 -94
- package/src/core/Handoff.ts +0 -130
- package/src/core/IntersectionObserver.ts +0 -6
- package/src/core/Keystore.test.ts +0 -171
- package/src/core/Keystore.ts +0 -139
- package/src/core/Mach.test-d.ts +0 -31
- package/src/core/Mach.test.ts +0 -187
- package/src/core/Mach.ts +0 -94
- package/src/core/Messenger.ts +0 -226
- package/src/core/Provider.browser.test.ts +0 -891
- package/src/core/Provider.connect.browser.test.ts +0 -436
- package/src/core/Provider.localnet.test.ts +0 -3924
- package/src/core/Provider.revocation.test.ts +0 -57
- package/src/core/Provider.test-d.ts +0 -115
- package/src/core/Provider.test.ts +0 -1296
- package/src/core/Provider.ts +0 -2511
- package/src/core/ProviderRequest.test-d.ts +0 -33
- package/src/core/ProviderRequest.test.ts +0 -107
- package/src/core/ProviderRequest.ts +0 -97
- package/src/core/Remote.test.ts +0 -382
- package/src/core/Remote.ts +0 -437
- package/src/core/Schema.test-d.ts +0 -332
- package/src/core/Schema.ts +0 -143
- package/src/core/Storage.ts +0 -235
- package/src/core/Store.test.ts +0 -691
- package/src/core/Store.ts +0 -404
- package/src/core/Tokenlist.ts +0 -89
- package/src/core/TrustedHosts.ts +0 -40
- package/src/core/WebAuthnCeremony.browser.test.ts +0 -239
- package/src/core/WebAuthnCeremony.test.ts +0 -829
- package/src/core/WebAuthnCeremony.ts +0 -832
- package/src/core/adapters/deviceCode/deviceCode.localnet.test.ts +0 -229
- package/src/core/adapters/deviceCode/deviceCode.test-d.ts +0 -19
- package/src/core/adapters/deviceCode/deviceCode.test.ts +0 -284
- package/src/core/adapters/deviceCode/deviceCode.ts +0 -166
- package/src/core/adapters/deviceCode/index.ts +0 -2
- package/src/core/adapters/deviceCode/tempoWallet.ts +0 -17
- package/src/core/adapters/dialog.test.ts +0 -639
- package/src/core/adapters/dialog.ts +0 -205
- package/src/core/adapters/internal/fromRequest.test.ts +0 -129
- package/src/core/adapters/internal/fromRequest.ts +0 -234
- package/src/core/adapters/local.test.ts +0 -340
- package/src/core/adapters/local.ts +0 -355
- package/src/core/adapters/mobileWebAuth/index.ts +0 -2
- package/src/core/adapters/mobileWebAuth/mobileWebAuth.localnet.test.ts +0 -664
- package/src/core/adapters/mobileWebAuth/mobileWebAuth.ts +0 -87
- package/src/core/adapters/mobileWebAuth/tempoWallet.ts +0 -17
- package/src/core/adapters/postMessage/index.ts +0 -4
- package/src/core/adapters/postMessage/mount.test.ts +0 -156
- package/src/core/adapters/postMessage/mount.ts +0 -330
- package/src/core/adapters/postMessage/postMessage.localnet.test.ts +0 -993
- package/src/core/adapters/postMessage/postMessage.test.ts +0 -136
- package/src/core/adapters/postMessage/postMessage.ts +0 -390
- package/src/core/adapters/postMessage/tempoWallet.ts +0 -62
- package/src/core/adapters/privy.test-d.ts +0 -132
- package/src/core/adapters/privy.test.ts +0 -1189
- package/src/core/adapters/privy.ts +0 -808
- package/src/core/adapters/secp256k1.test.ts +0 -65
- package/src/core/adapters/secp256k1.ts +0 -87
- package/src/core/adapters/turnkey.test.ts +0 -315
- package/src/core/adapters/turnkey.ts +0 -516
- package/src/core/adapters/webAuthn.localnet.test.ts +0 -332
- package/src/core/adapters/webAuthn.test.ts +0 -1700
- package/src/core/adapters/webAuthn.ts +0 -625
- package/src/core/internal/AccessKeyTransaction.ts +0 -282
- package/src/core/internal/RemoteRequests.ts +0 -216
- package/src/core/internal/address.ts +0 -15
- package/src/core/internal/schema.ts +0 -13
- package/src/core/internal/withDedupe.test.ts +0 -133
- package/src/core/internal/withDedupe.ts +0 -22
- package/src/core/internal/zodIssues.ts +0 -55
- package/src/core/keystores/p256.ts +0 -41
- package/src/core/keystores/secp256k1.ts +0 -40
- package/src/core/keystores/webCryptoP256.ts +0 -120
- package/src/core/mppx.localnet.test.ts +0 -335
- package/src/core/zod/request.test.ts +0 -436
- package/src/core/zod/request.ts +0 -70
- package/src/core/zod/rpc.test-d.ts +0 -56
- package/src/core/zod/rpc.test.ts +0 -1015
- package/src/core/zod/rpc.ts +0 -1134
- package/src/core/zod/utils.test.ts +0 -69
- package/src/core/zod/utils.ts +0 -41
- package/src/internal/types.ts +0 -378
- package/src/react/Remote.test.ts +0 -153
- package/src/react/Remote.ts +0 -211
- package/src/react/privy.test-d.ts +0 -22
- package/src/react/privy.ts +0 -282
- package/src/react-native/asyncStorage.ts +0 -35
- package/src/react-native/expoSecureStore.test.ts +0 -87
- package/src/react-native/expoSecureStore.ts +0 -35
- package/src/react-native/expoWebBrowser.ts +0 -12
- package/src/react-native/secureMmkv.test.ts +0 -160
- package/src/react-native/secureMmkv.ts +0 -82
- package/src/server/CliAuth.test-d.ts +0 -122
- package/src/server/CliAuth.test.ts +0 -1848
- package/src/server/CliAuth.ts +0 -1307
- package/src/server/Handler.test-d.ts +0 -123
- package/src/server/Handler.test.ts +0 -729
- package/src/server/Handler.ts +0 -159
- package/src/server/Identity.test-d.ts +0 -23
- package/src/server/Identity.ts +0 -74
- package/src/server/Kv.test.ts +0 -367
- package/src/server/Kv.ts +0 -362
- package/src/server/index.ts +0 -7
- package/src/server/internal/handlers/auth.test.ts +0 -1562
- package/src/server/internal/handlers/auth.ts +0 -649
- package/src/server/internal/handlers/codeAuth.ts +0 -211
- package/src/server/internal/handlers/deviceCode.test.ts +0 -140
- package/src/server/internal/handlers/deviceCode.ts +0 -323
- package/src/server/internal/handlers/exchange.localnet.test.ts +0 -635
- package/src/server/internal/handlers/exchange.test-d.ts +0 -164
- package/src/server/internal/handlers/exchange.ts +0 -474
- package/src/server/internal/handlers/feeLiquidity.localnet.test.ts +0 -400
- package/src/server/internal/handlers/feeLiquidity.ts +0 -117
- package/src/server/internal/handlers/oidcProvider.test-d.ts +0 -34
- package/src/server/internal/handlers/oidcProvider.test.ts +0 -212
- package/src/server/internal/handlers/oidcProvider.ts +0 -247
- package/src/server/internal/handlers/relay.localnet.test.ts +0 -2220
- package/src/server/internal/handlers/relay.ts +0 -1673
- package/src/server/internal/handlers/session.test.ts +0 -217
- package/src/server/internal/handlers/session.ts +0 -174
- package/src/server/internal/handlers/sponsorship.ts +0 -183
- package/src/server/internal/handlers/utils.test.ts +0 -53
- package/src/server/internal/handlers/utils.ts +0 -169
- package/src/server/internal/handlers/webAuthn.test.ts +0 -844
- package/src/server/internal/handlers/webAuthn.ts +0 -550
- package/src/server/internal/hono.ts +0 -30
- package/src/server/internal/kv.test.ts +0 -172
- package/src/server/internal/kv.ts +0 -106
- package/src/server/internal/requestListener.test.ts +0 -139
- package/src/server/internal/requestListener.ts +0 -298
- package/src/server/internal/tokenlist.ts +0 -91
- package/src/server/internal/zod.ts +0 -65
- package/src/trusted-hosts.json +0 -22
- package/src/tsconfig.json +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,78 @@
|
|
|
1
1
|
# accounts
|
|
2
2
|
|
|
3
|
+
## 1.0.0-alpha.2
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f562817: Added `accessKey` to `passkey.register` and `Actions.passkey.register`. The new passkey's proof signs the access key for the account that it owns, so a sign-up after an emailed code takes two prompts: the creation, then the proof. `Actions.passkey.register` returns the authorization in `authorization`, and `passkey.register` sets the session and returns it, as `passkey.signIn` does.
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
await accounts.email.signIn({ accessKey: false, code, email })
|
|
11
|
+
|
|
12
|
+
const session = await accounts.passkey.register({ accessKey: permissions })
|
|
13
|
+
```
|
|
14
|
+
- 05f577b: Added `chainId` to `tempoId` of `accounts/wagmi`. The connector's instance, `getChainId`, `switchChain`, and wagmi's connection use the config's chain of `chainId`, which defaults to the config's first chain. A `chainId` that names no chain of the config throws `wagmi.ChainNotConfiguredError`.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { createConfig, http } from '@wagmi/core'
|
|
18
|
+
import { tempoId } from 'accounts/wagmi'
|
|
19
|
+
import { tempo, tempoDevnet } from 'viem/tempo/chains'
|
|
20
|
+
|
|
21
|
+
const config = createConfig({
|
|
22
|
+
chains: [tempo, tempoDevnet],
|
|
23
|
+
connectors: [tempoId({ chainId: tempoDevnet.id })],
|
|
24
|
+
transports: { [tempo.id]: http(), [tempoDevnet.id]: http() },
|
|
25
|
+
})
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 1.0.0-alpha.1
|
|
29
|
+
|
|
30
|
+
### Major Changes
|
|
31
|
+
|
|
32
|
+
- Initial release.
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- e698723: Added `audience` to `AccessToken.create` of `accounts/internal`, which verifies the access tokens of a registered resource, such as an MCP server, whose `aud` names the resource's identifier. `Actions.oauth.introspect` returns the token's `aud` as `audience`.
|
|
37
|
+
- 2e01ee5: Added `redirect`, `redirectUri`, and `state` to `Actions.account.revokeAccessKey` of `accounts/internal`. With `redirect: true`, it returns the `url` of Tempo ID's approval page at `/access-keys/revoke`, where any owner of the account signs the revocation, a passkey included.
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
import { Actions } from 'accounts/internal'
|
|
41
|
+
|
|
42
|
+
const { url } = await Actions.account.revokeAccessKey(accounts.config, {
|
|
43
|
+
accessKey: session.key.keyAuthorization.keyId,
|
|
44
|
+
account: session.key.account,
|
|
45
|
+
chainId: 4217,
|
|
46
|
+
redirect: true,
|
|
47
|
+
})
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- 690f13b: Added `allowance_redeemed` and `unknown_allowance` to `Accounts.RequestError.Reason`, the refusals of Tempo ID's `POST /v1/access-keys/connect`.
|
|
53
|
+
|
|
54
|
+
## 1.0.0-alpha.0
|
|
55
|
+
|
|
56
|
+
### Major Changes
|
|
57
|
+
|
|
58
|
+
- dcdbf50: Initial release.
|
|
59
|
+
|
|
3
60
|
## 0.21.1
|
|
4
61
|
|
|
5
62
|
### Patch Changes
|
|
6
63
|
|
|
7
64
|
- b2535d3: Reclaim expired in-memory KV entries on writes and propagate finite cache TTLs to backing storage. Capacity remains unlimited by default; opt in with `Kv.memory({ maxEntries })` to reject new keys at a chosen capacity without evicting live authentication state. Deployments must size an explicit cap and apply admission controls to avoid blocking legitimate writes.
|
|
8
|
-
|
|
65
|
+
|
|
9
66
|
Validate the current adapter account before local access-key transaction paths and discard keys belonging to accounts omitted by a new wallet selection. Privy revocation now waits for successful execution before deleting local key state, retaining keys on pending or failed revocations.
|
|
10
|
-
|
|
67
|
+
|
|
11
68
|
Upgrade Hono to 4.13.11 to fix double-decoding of static paths that could bypass middleware.
|
|
69
|
+
|
|
12
70
|
- 00b6ee3: Updated `viem` to 2.57.12 and `ox` to 0.14.59, which derive configurable account addresses from the hash of the initial config. The `viem` peer range now starts at 2.57.12, since an earlier Viem derives other addresses.
|
|
13
71
|
- 80bdb13: `Handler.relay` no longer signs as its own fee payer when a request names an app's fee payer URL and that relay returns an unsigned fill. It answers with an invalid-params error instead, so an app's URL can no longer make the relay's fee payer pay without its `validate`.
|
|
14
72
|
- b38af80: Treat a retried `eth_sendRawTransaction` or `eth_sendRawTransactionSync` that the node rejects with `already known` or `nonce too low` as successful when the node knows the transaction's hash. viem's transports retry a submission after a timeout, a network error or a 5xx response, so a transaction that landed on the first attempt could previously fail the send.
|
|
15
|
-
|
|
73
|
+
|
|
16
74
|
An access-key send that times out or loses its response no longer falls back to signing the same calls with the root account, which could send them twice.
|
|
75
|
+
|
|
17
76
|
- 581bf10: Fixed `Handler` listeners to respond with a 400 to requests with an unparseable `Host` header or request target.
|
|
18
77
|
- 9c6dee1: Fixed Node request listeners to safely cancel oversized uploads and close unfinished connections after sending the response.
|
|
19
78
|
- 51f3b65: Added `handoff` to the postMessage `tempoWallet()` adapter and `Handoff.read()`. Tempo Wallet shows a QR code so someone without a passkey on the computer can approve the request with their phone. By default the requesting tab receives the result. With `handoff.url`, the phone's browser opens that page on the app's origin instead, and it receives the result and an access key the phone generated, which `Handoff.read()` returns. `handoff: false` hides the QR code.
|
|
@@ -24,8 +83,9 @@
|
|
|
24
83
|
- 7b24e3e: Added `WebAuthnCeremony.deferred`, a `WebAuthnCeremony.server` variant that answers registration as soon as the passkey is created and verifies it with the server in the background, retrying requests that fail in transit. The `webAuthn` adapter makes logins and disconnects wait for that verification for up to 10 s, then cancels it, so it can't replace the session that follows. A registration whose server-parsed public key differs from the client's is refused, and one acknowledged without its session ends the session in place. If the server rejects the registration while the page is open, the adapter removes the account and its access keys and keeps the public key in storage; a later login with the passkey restores the account. `WebAuthnCeremony.server` now also ends its session on `wallet_disconnect` when passed as `ceremony`. `WebAuthnCeremony.server`'s `logout` now fails on an error response other than 404. `Handler.webAuthn`'s `/register` revokes the session presented with it when it issues a new one, and answers a retry after a stored registration with `Credential already exists` even when the challenge was already used.
|
|
25
84
|
- 904e9b0: `WebAuthnCeremony.deferred` now also answers a login with a known passkey as soon as its signature checks out against the stored public key, and verifies it with the server (`POST /login`) in the background. `verifyAuthentication` takes an optional `credential` (the signed challenge, public key and RP ID) and `signal`, and may return `verified`, which resolves `{ session }`. The `webAuthn` adapter passes its stored credential and makes later logins, sign-ups and disconnects wait for the verification. A login the server refuses (it doesn't know the credential, the signature fails, or a hook denies it with 401 or 403) ends the session in place and drops the account. A login whose outcome stays unknown (it failed in transit, a retry found its challenge consumed, or the server failed for another reason) ends the session in place (retrying the logout until it succeeds or a later login, sign-up or disconnect cancels it) and keeps the account. `WebAuthnCeremony.server`'s `verifyAuthentication` now returns only its declared fields. Signing a digest with the latest registration's own credential (e.g. an access key authorized right after sign-up) no longer waits for that registration to land, since it needs no server login. `verifyAuthentication` also takes `ready`, a promise a server-backed ceremony waits for before sending `/login`: the adapter passes its wait for earlier registrations, so a deferred login answers at once and only its background `/login` waits. `verifyRegistration` takes `ready` too: a sign-up answers at once, and its background `/register` waits for logins and registrations still verifying, so it still sets the session last.
|
|
26
85
|
- 84d2087: Added `prefetch` to `WebAuthnCeremony.server` and `WebAuthnCeremony.deferred`. It fetches a login and a registration challenge ahead of the ceremonies that use them, so their options are built locally instead of waiting for the server to store a challenge. Each challenge taken is replaced in the background. The `webAuthn` adapter's login with a known passkey uses a prefetched challenge (`takeChallenge`) instead of registering a random one. `Handler.webAuthn`'s `/register/options` issues a challenge without a `name`, and `/register` then takes the name sent with the credential. It binds a random `userId` when none is sent, so `Provider` no longer generates one for `wallet_connect` sign-ups; `WebAuthnCeremony.local`, and `WebAuthnCeremony.server` when it requests its own options, generate a random one instead. The `webAuthn` adapter still passes a random one to ceremonies that don't prefetch.
|
|
27
|
-
|
|
86
|
+
|
|
28
87
|
`Handler.webAuthn`'s `/register/options` and `/login/options` now return the challenge `ttl` (seconds) alongside `options`, and `/register` rejects a login challenge.
|
|
88
|
+
|
|
29
89
|
- 6a163eb: `Handler.webAuthn`: `/register` reads the challenge and checks for a duplicate credential in parallel, and deletes the challenge after responding when the runtime exposes `waitUntil` (pass the execution context to `handler.fetch`). Stores with `take` (e.g. `Kv.memory`, `Kv.durableObject`) now consume register and login challenges atomically, so each is single-use.
|
|
30
90
|
|
|
31
91
|
## 0.21.0
|
|
@@ -33,8 +93,9 @@
|
|
|
33
93
|
### Minor Changes
|
|
34
94
|
|
|
35
95
|
- a60b2c6: Added `provider.ready()`, which resolves once the provider has loaded its stored state and rejects with `Store.HydrationError` when the storage read fails or takes longer than the new `hydrationTimeout` option (default 10 seconds). `request` now waits for the load instead of continuing with an empty store after 100ms, and rejects with an `RpcResponse.InternalError` caused by the `Store.HydrationError` when the load fails. `getAccount` throws `Store.HydrationError` until the load finishes instead of reporting no accounts.
|
|
36
|
-
|
|
96
|
+
|
|
37
97
|
The default storage now uses IndexedDB only where `indexedDB` exists, so React Native gets memory storage, and keeps state in memory when IndexedDB fails.
|
|
98
|
+
|
|
38
99
|
- 4008d21: Add an optional `chainId` to `wallet_revokeAccessKey` so callers can revoke an access key on a specific chain. The provider rejects a chain it is not configured for. Local, Privy, dialog, device-code (including CLI), postMessage and mobile web auth revocations target that chain and remove the local key for it only after the revocation succeeds. Other JSON-RPC adapters reject a `chainId` other than the active chain. Omitting `chainId` keeps revoking on the active chain.
|
|
39
100
|
|
|
40
101
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</picture>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
|
-
<p align="center"><b>
|
|
9
|
+
<p align="center"><b>Accounts SDK for Apps building on Tempo</b></p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="https://accounts.tempo.xyz">Website</a> · <a href="https://accounts.tempo.xyz/docs">Docs</a> · <a href="#install">Install</a> · <a href="#examples">Examples</a> · <a href="#development">Development</a>
|
|
@@ -14,26 +14,50 @@
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
> [!WARNING]
|
|
18
|
+
> `accounts@1` is in alpha, under the `alpha` dist-tag. Its API is not stable yet.
|
|
19
|
+
|
|
17
20
|
## Quick Prompt
|
|
18
21
|
|
|
19
22
|
Prompt your agent:
|
|
20
23
|
|
|
21
24
|
```
|
|
22
|
-
Read accounts.tempo.xyz
|
|
25
|
+
Read accounts.tempo.xyz and integrate Tempo into my application
|
|
23
26
|
```
|
|
24
27
|
|
|
25
28
|
## Install
|
|
26
29
|
|
|
27
30
|
```bash
|
|
28
|
-
npm i accounts
|
|
31
|
+
npm i accounts@alpha viem
|
|
29
32
|
```
|
|
30
33
|
|
|
31
34
|
```bash
|
|
32
|
-
pnpm i accounts
|
|
35
|
+
pnpm i accounts@alpha viem
|
|
33
36
|
```
|
|
34
37
|
|
|
35
38
|
```bash
|
|
36
|
-
bun i accounts
|
|
39
|
+
bun i accounts@alpha viem
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Usage
|
|
43
|
+
|
|
44
|
+
Create an instance with `Accounts.create`, and add a plugin from `accounts/plugins` for each sign-in method. Without a sign-in plugin, users sign in through Tempo ID in a dialog on the page:
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
import { Accounts } from 'accounts'
|
|
48
|
+
import { viem } from 'accounts/plugins'
|
|
49
|
+
|
|
50
|
+
const accounts = Accounts.create({
|
|
51
|
+
// Each sign-in requests an access key that may spend up to 10 OUSD for a day.
|
|
52
|
+
accessKey: {
|
|
53
|
+
expiry: '1d',
|
|
54
|
+
limits: [{ limit: '10', token: 'ousd' }],
|
|
55
|
+
},
|
|
56
|
+
plugins: [viem()],
|
|
57
|
+
})
|
|
58
|
+
|
|
59
|
+
await accounts.dialog.signIn()
|
|
60
|
+
await accounts.token.transferSync({ amount, to, token })
|
|
37
61
|
```
|
|
38
62
|
|
|
39
63
|
## Documentation
|
|
@@ -48,67 +72,51 @@ Join the Telegram group to chat with the team and other devs: [@mpp_devs](https:
|
|
|
48
72
|
|
|
49
73
|
## Examples
|
|
50
74
|
|
|
51
|
-
| Example
|
|
52
|
-
|
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [
|
|
57
|
-
| [
|
|
58
|
-
| [access-key-and-webauthn](./examples/access-key-and-webauthn) | Authorize access keys using domain-bound Passkeys. |
|
|
59
|
-
| [fee-payer](./examples/fee-payer) | Sponsor transactions via Tempo Wallet. |
|
|
60
|
-
| [fee-payer-and-webauthn](./examples/fee-payer-and-webauthn) | Sponsor transactions using a Cloudflare Worker with domain-bound Passkeys. |
|
|
61
|
-
| [mpp](./examples/mpp) | Auto-pay HTTP `402` responses served by a Hono server using `mppx/hono`. |
|
|
75
|
+
| Example | Description |
|
|
76
|
+
| ----------------------------- | ------------------------------------------------------------------------ |
|
|
77
|
+
| [web](./examples/web) | Sign in through a dialog on the page, and send OUSD with the access key. |
|
|
78
|
+
| [wagmi](./examples/wagmi) | Sign in through wagmi's `connect`, with the `tempoId` connector. |
|
|
79
|
+
| [backend](./examples/backend) | Sign in through a redirect, with the session on a Cloudflare Worker. |
|
|
80
|
+
| [cli](./examples/cli) | Sign in through the device grant, with a code approved in a browser. |
|
|
81
|
+
| [mobile](./examples/mobile) | Sign in through the system browser in an Expo app. |
|
|
62
82
|
|
|
63
|
-
##
|
|
83
|
+
## Playgrounds
|
|
84
|
+
|
|
85
|
+
[`tempoxyz/id`](https://github.com/tempoxyz/id) holds one playground per flow, which uses `accounts`, deployed beside `https://id.tempo.xyz`.
|
|
86
|
+
|
|
87
|
+
| Playground | Directory | URL |
|
|
88
|
+
| ------------ | --------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
|
|
89
|
+
| API | [`playgrounds/api`](https://github.com/tempoxyz/id/tree/main/playgrounds/api) | [id-playground-api.tempo.xyz/me](https://id-playground-api.tempo.xyz/me) |
|
|
90
|
+
| Backend | [`playgrounds/backend`](https://github.com/tempoxyz/id/tree/main/playgrounds/backend) | [id-playground-backend.tempo.xyz](https://id-playground-backend.tempo.xyz) |
|
|
91
|
+
| CLI | [`playgrounds/cli`](https://github.com/tempoxyz/id/tree/main/playgrounds/cli) | none |
|
|
92
|
+
| Mobile | [`playgrounds/mobile`](https://github.com/tempoxyz/id/tree/main/playgrounds/mobile) | none |
|
|
93
|
+
| Third-party | [`playgrounds/third-party`](https://github.com/tempoxyz/id/tree/main/playgrounds/third-party) | [id-playground-third-party.porto.workers.dev](https://id-playground-third-party.porto.workers.dev) |
|
|
94
|
+
| Wagmi | [`playgrounds/wagmi`](https://github.com/tempoxyz/id/tree/main/playgrounds/wagmi) | [id-playground-wagmi.tempo.xyz](https://id-playground-wagmi.tempo.xyz) |
|
|
95
|
+
| Web | [`playgrounds/web`](https://github.com/tempoxyz/id/tree/main/playgrounds/web) | [id-playground-web.tempo.xyz](https://id-playground-web.tempo.xyz) |
|
|
96
|
+
| Web (Cash) | [`playgrounds/web`](https://github.com/tempoxyz/id/tree/main/playgrounds/web) | [id-playground-web-cash.tempo.xyz](https://id-playground-web-cash.tempo.xyz) |
|
|
97
|
+
| Web (Shared) | [`playgrounds/web`](https://github.com/tempoxyz/id/tree/main/playgrounds/web) | [id-playground-web-shared.tempo.xyz](https://id-playground-web-shared.tempo.xyz) |
|
|
98
|
+
|
|
99
|
+
Web (Cash) signs in to the Tempo Cash realm, and Web (Shared) to both realms.
|
|
64
100
|
|
|
65
|
-
|
|
101
|
+
To run the CLI playground against `https://id.tempo.xyz`, run its `main` prerelease with `pnpx`:
|
|
102
|
+
|
|
103
|
+
```sh
|
|
104
|
+
export TEMPO_ID_URL=https://id.tempo.xyz
|
|
105
|
+
pnpx @tempoxyz/example-id-cli@main login # approve the code on /device
|
|
106
|
+
pnpx @tempoxyz/example-id-cli@main whoami # print the signed-in account
|
|
107
|
+
pnpx @tempoxyz/example-id-cli@main fund # fund the Tempo Account from the testnet faucet
|
|
108
|
+
pnpx @tempoxyz/example-id-cli@main send 0x000000000000000000000000000000000000dEaD 0.01
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Development
|
|
66
112
|
|
|
67
113
|
```sh
|
|
68
|
-
pnpm dev # start all dev services via docker compose
|
|
69
114
|
pnpm build # build library
|
|
70
115
|
pnpm check # lint + format
|
|
71
116
|
pnpm check:types # type checks
|
|
72
117
|
pnpm test # run tests
|
|
73
118
|
```
|
|
74
119
|
|
|
75
|
-
### Services
|
|
76
|
-
|
|
77
|
-
| Service | OrbStack URL |
|
|
78
|
-
| ---------------- | ----------------------------------- |
|
|
79
|
-
| Playground | `https://playground.accounts.local` |
|
|
80
|
-
| Dialog Reference | `https://dialog-ref.accounts.local` |
|
|
81
|
-
| Docs | `https://docs.accounts.local` |
|
|
82
|
-
| Wagmi Playground | `https://wagmi.accounts.local` |
|
|
83
|
-
|
|
84
|
-
## Deployment
|
|
85
|
-
|
|
86
|
-
The docs site is configured for Vercel as a monorepo project.
|
|
87
|
-
|
|
88
|
-
| Setting | Value |
|
|
89
|
-
| -------------- | ------------ |
|
|
90
|
-
| Root Directory | `site` |
|
|
91
|
-
| Build Command | `pnpm build` |
|
|
92
|
-
| Dev Command | `pnpm dev` |
|
|
93
|
-
|
|
94
|
-
Set `VITE_BASE_URL` to the production docs origin when using a custom domain.
|
|
95
|
-
|
|
96
|
-
### Playgrounds
|
|
97
|
-
|
|
98
|
-
| Playground | Command | Description |
|
|
99
|
-
| ---------------------------- | ---------------- | -------------------------------------------- |
|
|
100
|
-
| [web](./playgrounds/web) | `pnpm dev` | Web playground for dialog + adapter testing. |
|
|
101
|
-
| [wagmi](./playgrounds/wagmi) | `pnpm dev:wagmi` | Wagmi-based playground with connectors. |
|
|
102
|
-
| [cli](./playgrounds/cli) | `pnpm dev:cli` | CLI playground for device-code auth flow. |
|
|
103
|
-
|
|
104
|
-
### Reference Implementations
|
|
105
|
-
|
|
106
|
-
The `ref-impls/` directory contains reference implementations for building with Tempo Accounts SDK:
|
|
107
|
-
|
|
108
|
-
| Directory | Description |
|
|
109
|
-
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
110
|
-
| `ref-impls/dialog/` | Minimal, unstyled embed dialog app demonstrating how to build a custom embed using the `Remote` API. Select `dialogRefImpl` in the web playground's adapter dropdown to test against it. |
|
|
111
|
-
|
|
112
120
|
## License
|
|
113
121
|
|
|
114
122
|
<sup>
|