@rhinestone/sdk 2.0.0-beta.9 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/src/accounts/adapter.d.ts +31 -0
- package/dist/src/accounts/adapter.d.ts.map +1 -0
- package/dist/src/accounts/adapters/eoa.d.ts +4 -0
- package/dist/src/accounts/adapters/eoa.d.ts.map +1 -0
- package/dist/src/accounts/adapters/eoa.js +45 -0
- package/dist/src/accounts/adapters/hca.d.ts +5 -0
- package/dist/src/accounts/adapters/hca.d.ts.map +1 -0
- package/dist/src/accounts/adapters/hca.js +121 -0
- package/dist/src/accounts/adapters/kernel.d.ts +9 -0
- package/dist/src/accounts/adapters/kernel.d.ts.map +1 -0
- package/dist/src/accounts/adapters/kernel.js +159 -0
- package/dist/src/accounts/adapters/nexus.d.ts +16 -0
- package/dist/src/accounts/adapters/nexus.d.ts.map +1 -0
- package/dist/src/accounts/adapters/nexus.js +212 -0
- package/dist/src/accounts/adapters/safe.d.ts +6 -0
- package/dist/src/accounts/adapters/safe.d.ts.map +1 -0
- package/dist/src/accounts/adapters/safe.js +194 -0
- package/dist/src/accounts/adapters/shared.d.ts +9 -0
- package/dist/src/accounts/adapters/shared.d.ts.map +1 -0
- package/dist/src/accounts/adapters/shared.js +62 -0
- package/dist/src/accounts/adapters/startale.d.ts +14 -0
- package/dist/src/accounts/adapters/startale.d.ts.map +1 -0
- package/dist/src/accounts/adapters/startale.js +165 -0
- package/dist/src/accounts/construction.d.ts +25 -0
- package/dist/src/accounts/construction.d.ts.map +1 -0
- package/dist/src/accounts/construction.js +34 -0
- package/dist/src/accounts/deployment.d.ts +12 -0
- package/dist/src/accounts/deployment.d.ts.map +1 -0
- package/dist/src/accounts/deployment.js +33 -0
- package/dist/src/accounts/erc7579-calls.d.ts +4 -0
- package/dist/src/accounts/erc7579-calls.d.ts.map +1 -0
- package/dist/src/accounts/erc7579-calls.js +57 -0
- package/dist/src/accounts/error.d.ts +3 -10
- package/dist/src/accounts/error.d.ts.map +1 -1
- package/dist/src/accounts/error.js +5 -11
- package/dist/src/accounts/legacy.d.ts +14 -0
- package/dist/src/accounts/legacy.d.ts.map +1 -0
- package/dist/src/accounts/legacy.js +40 -0
- package/dist/src/accounts/registry.d.ts +4 -0
- package/dist/src/accounts/registry.d.ts.map +1 -0
- package/dist/src/accounts/registry.js +22 -0
- package/dist/src/accounts/types.d.ts +131 -0
- package/dist/src/accounts/types.d.ts.map +1 -0
- package/dist/src/accounts/types.js +1 -0
- package/dist/src/accounts/wallet-account.d.ts +3 -0
- package/dist/src/accounts/wallet-account.d.ts.map +1 -0
- package/dist/src/accounts/wallet-account.js +12 -0
- package/dist/src/actions/deploy.d.ts +4 -0
- package/dist/src/actions/deploy.d.ts.map +1 -0
- package/dist/src/actions/deploy.js +8 -0
- package/dist/src/actions/ecdsa.d.ts +2 -2
- package/dist/src/actions/ecdsa.d.ts.map +1 -1
- package/dist/src/actions/ecdsa.js +12 -65
- package/dist/src/actions/index.d.ts +2 -16
- package/dist/src/actions/index.d.ts.map +1 -1
- package/dist/src/actions/index.js +3 -49
- package/dist/src/actions/mfa.d.ts +1 -1
- package/dist/src/actions/mfa.d.ts.map +1 -1
- package/dist/src/actions/mfa.js +30 -10
- package/dist/src/actions/modules.d.ts +4 -0
- package/dist/src/actions/modules.d.ts.map +1 -0
- package/dist/src/actions/modules.js +22 -0
- package/dist/src/actions/ownable.d.ts +6 -0
- package/dist/src/actions/ownable.d.ts.map +1 -0
- package/dist/src/actions/ownable.js +63 -0
- package/dist/src/actions/passkeys.d.ts +2 -2
- package/dist/src/actions/passkeys.d.ts.map +1 -1
- package/dist/src/actions/passkeys.js +23 -78
- package/dist/src/actions/recovery.d.ts +58 -24
- package/dist/src/actions/recovery.d.ts.map +1 -1
- package/dist/src/actions/recovery.js +107 -162
- package/dist/src/actions/runtime.d.ts +17 -0
- package/dist/src/actions/runtime.d.ts.map +1 -0
- package/dist/src/actions/runtime.js +182 -0
- package/dist/src/actions/smart-sessions.d.ts +30 -6
- package/dist/src/actions/smart-sessions.d.ts.map +1 -1
- package/dist/src/actions/smart-sessions.js +69 -18
- package/dist/src/actions/webauthn.d.ts +6 -0
- package/dist/src/actions/webauthn.d.ts.map +1 -0
- package/dist/src/actions/webauthn.js +67 -0
- package/dist/src/api/account.d.ts +265 -0
- package/dist/src/api/account.d.ts.map +1 -0
- package/dist/src/api/account.js +638 -0
- package/dist/src/api/accounts.d.ts +12 -0
- package/dist/src/api/accounts.d.ts.map +1 -0
- package/dist/src/api/accounts.js +17 -0
- package/dist/src/api/compose-types.d.ts +147 -0
- package/dist/src/api/compose-types.d.ts.map +1 -0
- package/dist/src/api/compose-types.js +1 -0
- package/dist/src/api/compose.d.ts +6 -0
- package/dist/src/api/compose.d.ts.map +1 -0
- package/dist/src/api/compose.js +772 -0
- package/dist/src/api/direct-signing.d.ts +27 -0
- package/dist/src/api/direct-signing.d.ts.map +1 -0
- package/dist/src/api/direct-signing.js +191 -0
- package/dist/src/api/project-mappers.d.ts +7 -0
- package/dist/src/api/project-mappers.d.ts.map +1 -0
- package/dist/src/api/project-mappers.js +23 -0
- package/dist/src/api/queries/app-fees.d.ts +4 -0
- package/dist/src/api/queries/app-fees.d.ts.map +1 -0
- package/dist/src/api/queries/app-fees.js +3 -0
- package/dist/src/api/queries/portfolio.d.ts +9 -0
- package/dist/src/api/queries/portfolio.d.ts.map +1 -0
- package/dist/src/api/queries/portfolio.js +28 -0
- package/dist/src/api/queries/session.d.ts +8 -0
- package/dist/src/api/queries/session.d.ts.map +1 -0
- package/dist/src/api/queries/session.js +15 -0
- package/dist/src/api/sdk.d.ts +80 -0
- package/dist/src/api/sdk.d.ts.map +1 -0
- package/dist/src/api/sdk.js +103 -0
- package/dist/src/api/signer-selection.d.ts +20 -0
- package/dist/src/api/signer-selection.d.ts.map +1 -0
- package/dist/src/api/signer-selection.js +159 -0
- package/dist/src/calls/normalize.d.ts +9 -0
- package/dist/src/calls/normalize.d.ts.map +1 -0
- package/dist/src/calls/normalize.js +17 -0
- package/dist/src/calls/resolve.d.ts +3 -0
- package/dist/src/calls/resolve.d.ts.map +1 -0
- package/dist/src/calls/resolve.js +15 -0
- package/dist/src/calls/types.d.ts +25 -0
- package/dist/src/calls/types.d.ts.map +1 -0
- package/dist/src/calls/types.js +1 -0
- package/dist/src/chains/caip2.d.ts +10 -0
- package/dist/src/chains/caip2.d.ts.map +1 -0
- package/dist/src/chains/caip2.js +85 -0
- package/dist/src/chains/catalog.d.ts +5 -0
- package/dist/src/chains/catalog.d.ts.map +1 -0
- package/dist/src/chains/catalog.js +41 -0
- package/dist/src/chains/errors.d.ts +15 -0
- package/dist/src/chains/errors.d.ts.map +1 -0
- package/dist/src/chains/errors.js +21 -0
- package/dist/src/{orchestrator/destinations.d.ts → chains/non-evm.d.ts} +9 -6
- package/dist/src/chains/non-evm.d.ts.map +1 -0
- package/dist/src/chains/non-evm.js +30 -0
- package/dist/src/chains/tokens.d.ts +4 -0
- package/dist/src/chains/tokens.d.ts.map +1 -0
- package/dist/src/chains/tokens.js +22 -0
- package/dist/src/chains/types.d.ts +25 -0
- package/dist/src/chains/types.d.ts.map +1 -0
- package/dist/src/chains/types.js +1 -0
- package/dist/src/clients/bundler/client.d.ts +10 -0
- package/dist/src/clients/bundler/client.d.ts.map +1 -0
- package/dist/src/clients/bundler/client.js +85 -0
- package/dist/src/clients/bundler/endpoints.d.ts +3 -0
- package/dist/src/clients/bundler/endpoints.d.ts.map +1 -0
- package/dist/src/clients/bundler/endpoints.js +18 -0
- package/dist/src/clients/bundler/port.d.ts +22 -0
- package/dist/src/clients/bundler/port.d.ts.map +1 -0
- package/dist/src/clients/bundler/port.js +1 -0
- package/dist/src/clients/json-rpc.d.ts +20 -0
- package/dist/src/clients/json-rpc.d.ts.map +1 -0
- package/dist/src/clients/json-rpc.js +56 -0
- package/dist/src/clients/orchestrator/auth.d.ts +7 -0
- package/dist/src/clients/orchestrator/auth.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/auth.js +27 -0
- package/dist/src/clients/orchestrator/chain-catalog.d.ts +36 -0
- package/dist/src/clients/orchestrator/chain-catalog.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/chain-catalog.js +67 -0
- package/dist/src/clients/orchestrator/client.d.ts +13 -0
- package/dist/src/clients/orchestrator/client.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/client.js +97 -0
- package/dist/src/clients/orchestrator/errors.d.ts +238 -0
- package/dist/src/clients/orchestrator/errors.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/errors.js +525 -0
- package/dist/src/clients/orchestrator/fetch.d.ts +7 -0
- package/dist/src/clients/orchestrator/fetch.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/fetch.js +37 -0
- package/dist/src/clients/orchestrator/mappers.d.ts +9 -0
- package/dist/src/clients/orchestrator/mappers.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/mappers.js +198 -0
- package/dist/src/clients/orchestrator/port.d.ts +26 -0
- package/dist/src/clients/orchestrator/port.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/port.js +1 -0
- package/dist/src/{orchestrator/types.d.ts → clients/orchestrator/public.d.ts} +113 -43
- package/dist/src/clients/orchestrator/public.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/public.js +14 -0
- package/dist/src/clients/orchestrator/types.d.ts +144 -0
- package/dist/src/clients/orchestrator/types.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/types.js +1 -0
- package/dist/src/clients/orchestrator/wire.d.ts +19 -0
- package/dist/src/clients/orchestrator/wire.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/wire.gen.d.ts +6463 -0
- package/dist/src/clients/orchestrator/wire.gen.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/wire.gen.js +1 -0
- package/dist/src/clients/orchestrator/wire.js +1 -0
- package/dist/src/clients/paymaster/client.d.ts +8 -0
- package/dist/src/clients/paymaster/client.d.ts.map +1 -0
- package/dist/src/clients/paymaster/client.js +38 -0
- package/dist/src/clients/paymaster/endpoints.d.ts +3 -0
- package/dist/src/clients/paymaster/endpoints.d.ts.map +1 -0
- package/dist/src/clients/paymaster/endpoints.js +16 -0
- package/dist/src/clients/paymaster/port.d.ts +17 -0
- package/dist/src/clients/paymaster/port.d.ts.map +1 -0
- package/dist/src/clients/paymaster/port.js +1 -0
- package/dist/src/clients/rpc/client.d.ts +6 -0
- package/dist/src/clients/rpc/client.d.ts.map +1 -0
- package/dist/src/clients/rpc/client.js +66 -0
- package/dist/src/clients/rpc/compatibility.d.ts +12 -0
- package/dist/src/clients/rpc/compatibility.d.ts.map +1 -0
- package/dist/src/clients/rpc/compatibility.js +16 -0
- package/dist/src/clients/rpc/port.d.ts +13 -0
- package/dist/src/clients/rpc/port.d.ts.map +1 -0
- package/dist/src/clients/rpc/port.js +1 -0
- package/dist/src/clients/rpc/providers.d.ts +3 -0
- package/dist/src/clients/rpc/providers.d.ts.map +1 -0
- package/dist/src/clients/rpc/providers.js +8 -0
- package/dist/src/clients/rpc/transport.d.ts +4 -0
- package/dist/src/clients/rpc/transport.d.ts.map +1 -0
- package/dist/src/clients/rpc/transport.js +5 -0
- package/dist/src/clients/rpc/types.d.ts +23 -0
- package/dist/src/clients/rpc/types.d.ts.map +1 -0
- package/dist/src/clients/rpc/types.js +1 -0
- package/dist/src/config/account-runtime.d.ts +7 -0
- package/dist/src/config/account-runtime.d.ts.map +1 -0
- package/dist/src/config/account-runtime.js +36 -0
- package/dist/src/config/account.d.ts +767 -0
- package/dist/src/config/account.d.ts.map +1 -0
- package/dist/src/config/account.js +10 -0
- package/dist/src/config/defaults.d.ts +14 -0
- package/dist/src/config/defaults.d.ts.map +1 -0
- package/dist/src/config/defaults.js +26 -0
- package/dist/src/config/input.d.ts +59 -0
- package/dist/src/config/input.d.ts.map +1 -0
- package/dist/src/config/input.js +1 -0
- package/dist/src/config/legacy.d.ts +22 -0
- package/dist/src/config/legacy.d.ts.map +1 -0
- package/dist/src/config/legacy.js +23 -0
- package/dist/src/config/resolve.d.ts +13 -0
- package/dist/src/config/resolve.d.ts.map +1 -0
- package/dist/src/config/resolve.js +200 -0
- package/dist/src/config/resolved.d.ts +77 -0
- package/dist/src/config/resolved.d.ts.map +1 -0
- package/dist/src/config/resolved.js +1 -0
- package/dist/src/config/validate.d.ts +3 -0
- package/dist/src/config/validate.d.ts.map +1 -0
- package/dist/src/config/validate.js +6 -0
- package/dist/src/{execution/error.d.ts → errors/execution.d.ts} +47 -9
- package/dist/src/errors/execution.d.ts.map +1 -0
- package/dist/src/errors/execution.js +131 -0
- package/dist/src/errors/index.d.ts +6 -4
- package/dist/src/errors/index.d.ts.map +1 -1
- package/dist/src/errors/index.js +7 -6
- package/dist/src/index.d.ts +14 -84
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +9 -293
- package/dist/src/jwt-server/jcs.d.ts +1 -1
- package/dist/src/jwt-server/jcs.js +4 -2
- package/dist/src/modules/erc7579-abi.d.ts +4 -0
- package/dist/src/modules/erc7579-abi.d.ts.map +1 -0
- package/dist/src/modules/erc7579-abi.js +12 -0
- package/dist/src/modules/intent-executor.d.ts +6 -0
- package/dist/src/modules/intent-executor.d.ts.map +1 -0
- package/dist/src/modules/intent-executor.js +13 -0
- package/dist/src/modules/legacy-core.d.ts +29 -0
- package/dist/src/modules/legacy-core.d.ts.map +1 -0
- package/dist/src/modules/legacy-core.js +80 -0
- package/dist/src/modules/normalize.d.ts +4 -0
- package/dist/src/modules/normalize.d.ts.map +1 -0
- package/dist/src/modules/normalize.js +15 -0
- package/dist/src/modules/plan.d.ts +16 -0
- package/dist/src/modules/plan.d.ts.map +1 -0
- package/dist/src/modules/plan.js +51 -0
- package/dist/src/modules/read-core.d.ts +62 -0
- package/dist/src/modules/read-core.d.ts.map +1 -0
- package/dist/src/modules/read-core.js +206 -0
- package/dist/src/modules/types.d.ts +46 -0
- package/dist/src/modules/types.d.ts.map +1 -0
- package/dist/src/modules/types.js +1 -0
- package/dist/src/modules/validators/capabilities.d.ts +4 -0
- package/dist/src/modules/validators/capabilities.d.ts.map +1 -0
- package/dist/src/modules/validators/capabilities.js +58 -0
- package/dist/src/modules/validators/contribution.d.ts +4 -0
- package/dist/src/modules/validators/contribution.d.ts.map +1 -0
- package/dist/src/modules/validators/contribution.js +64 -0
- package/dist/src/modules/validators/definition.d.ts +3 -0
- package/dist/src/modules/validators/definition.d.ts.map +1 -0
- package/dist/src/modules/validators/definition.js +68 -0
- package/dist/src/modules/validators/ens.d.ts +5 -0
- package/dist/src/modules/validators/ens.d.ts.map +1 -0
- package/dist/src/modules/validators/ens.js +34 -0
- package/dist/src/modules/validators/k1.d.ts +2 -0
- package/dist/src/modules/validators/k1.d.ts.map +1 -0
- package/dist/src/modules/validators/k1.js +1 -0
- package/dist/src/modules/validators/multi-factor.d.ts +18 -0
- package/dist/src/modules/validators/multi-factor.d.ts.map +1 -0
- package/dist/src/modules/validators/multi-factor.js +79 -0
- package/dist/src/modules/validators/ownable.d.ts +26 -0
- package/dist/src/modules/validators/ownable.d.ts.map +1 -0
- package/dist/src/modules/validators/ownable.js +84 -0
- package/dist/src/modules/validators/permissions.d.ts +2 -1
- package/dist/src/modules/validators/permissions.d.ts.map +1 -1
- package/dist/src/modules/validators/permissions.js +192 -18
- package/dist/src/modules/validators/policies/claim/arbiters.d.ts +19 -0
- package/dist/src/modules/validators/policies/claim/arbiters.d.ts.map +1 -0
- package/dist/src/modules/validators/policies/claim/arbiters.js +82 -0
- package/dist/src/modules/validators/resolve.d.ts +5 -0
- package/dist/src/modules/validators/resolve.d.ts.map +1 -0
- package/dist/src/modules/validators/resolve.js +22 -0
- package/dist/src/modules/validators/signer-id.d.ts +5 -0
- package/dist/src/modules/validators/signer-id.d.ts.map +1 -0
- package/dist/src/modules/validators/signer-id.js +8 -0
- package/dist/src/modules/validators/smart-session-signature-types.d.ts +35 -0
- package/dist/src/modules/validators/smart-session-signature-types.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-session-signature-types.js +1 -0
- package/dist/src/modules/validators/smart-sessions/authorization.d.ts +99 -0
- package/dist/src/modules/validators/smart-sessions/authorization.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/authorization.js +101 -0
- package/dist/src/modules/validators/smart-sessions/calls.d.ts +19 -0
- package/dist/src/modules/validators/smart-sessions/calls.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/calls.js +85 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.d.ts +4 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.js +77 -0
- package/dist/src/modules/validators/smart-sessions/digest.d.ts +5 -0
- package/dist/src/modules/validators/smart-sessions/digest.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/digest.js +30 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.d.ts +10 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.js +31 -0
- package/dist/src/modules/validators/smart-sessions/module.d.ts +11 -0
- package/dist/src/modules/validators/smart-sessions/module.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/module.js +18 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.d.ts +23 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.js +29 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.d.ts +10 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.js +106 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.d.ts +4 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.js +197 -0
- package/dist/src/modules/validators/smart-sessions/resolve.d.ts +16 -0
- package/dist/src/modules/validators/smart-sessions/resolve.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/resolve.js +120 -0
- package/dist/src/modules/validators/smart-sessions/signature.d.ts +14 -0
- package/dist/src/modules/validators/smart-sessions/signature.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/signature.js +167 -0
- package/dist/src/modules/validators/smart-sessions/state.d.ts +19 -0
- package/dist/src/modules/validators/smart-sessions/state.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/state.js +42 -0
- package/dist/src/modules/validators/smart-sessions/types.d.ts +227 -0
- package/dist/src/modules/validators/smart-sessions/types.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/types.js +1 -0
- package/dist/src/modules/validators/social-recovery.d.ts +16 -0
- package/dist/src/modules/validators/social-recovery.d.ts.map +1 -0
- package/dist/src/modules/validators/social-recovery.js +17 -0
- package/dist/src/modules/validators/types.d.ts +143 -0
- package/dist/src/modules/validators/types.d.ts.map +1 -0
- package/dist/src/modules/validators/types.js +1 -0
- package/dist/src/modules/validators/webauthn.d.ts +54 -0
- package/dist/src/modules/validators/webauthn.d.ts.map +1 -0
- package/dist/src/modules/validators/webauthn.js +159 -0
- package/dist/src/signing/context.d.ts +25 -0
- package/dist/src/signing/context.d.ts.map +1 -0
- package/dist/src/signing/context.js +163 -0
- package/dist/src/signing/contribution.d.ts +13 -0
- package/dist/src/signing/contribution.d.ts.map +1 -0
- package/dist/src/signing/contribution.js +83 -0
- package/dist/src/signing/eip7702.d.ts +41 -0
- package/dist/src/signing/eip7702.d.ts.map +1 -0
- package/dist/src/signing/eip7702.js +215 -0
- package/dist/src/signing/error.d.ts +27 -0
- package/dist/src/signing/error.d.ts.map +1 -0
- package/dist/src/signing/error.js +25 -0
- package/dist/src/signing/execute.d.ts +17 -0
- package/dist/src/signing/execute.d.ts.map +1 -0
- package/dist/src/signing/execute.js +138 -0
- package/dist/src/signing/intent-plans/assemble.d.ts +15 -0
- package/dist/src/signing/intent-plans/assemble.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/assemble.js +96 -0
- package/dist/src/signing/intent-plans/independent.d.ts +48 -0
- package/dist/src/signing/intent-plans/independent.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/independent.js +150 -0
- package/dist/src/signing/intent-plans/plan.d.ts +14 -0
- package/dist/src/signing/intent-plans/plan.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/plan.js +187 -0
- package/dist/src/signing/intent-plans/types.d.ts +63 -0
- package/dist/src/signing/intent-plans/types.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/types.js +1 -0
- package/dist/src/signing/message.d.ts +28 -0
- package/dist/src/signing/message.d.ts.map +1 -0
- package/dist/src/signing/message.js +90 -0
- package/dist/src/signing/passkeys.d.ts +28 -0
- package/dist/src/signing/passkeys.d.ts.map +1 -0
- package/dist/src/signing/passkeys.js +17 -0
- package/dist/src/signing/plan.d.ts +35 -0
- package/dist/src/signing/plan.d.ts.map +1 -0
- package/dist/src/signing/plan.js +377 -0
- package/dist/src/signing/protocols/erc6492.d.ts +11 -0
- package/dist/src/signing/protocols/erc6492.d.ts.map +1 -0
- package/dist/src/signing/protocols/erc6492.js +24 -0
- package/dist/src/signing/protocols/erc7739.d.ts +17 -0
- package/dist/src/signing/protocols/erc7739.d.ts.map +1 -0
- package/dist/src/signing/protocols/erc7739.js +84 -0
- package/dist/src/signing/session-enable.d.ts +35 -0
- package/dist/src/signing/session-enable.d.ts.map +1 -0
- package/dist/src/signing/session-enable.js +62 -0
- package/dist/src/signing/signers/compatibility.d.ts +4 -0
- package/dist/src/signing/signers/compatibility.d.ts.map +1 -0
- package/dist/src/signing/signers/compatibility.js +51 -0
- package/dist/src/signing/signers/ecdsa.d.ts +14 -0
- package/dist/src/signing/signers/ecdsa.d.ts.map +1 -0
- package/dist/src/signing/signers/ecdsa.js +54 -0
- package/dist/src/signing/signers/registry.d.ts +7 -0
- package/dist/src/signing/signers/registry.d.ts.map +1 -0
- package/dist/src/signing/signers/registry.js +33 -0
- package/dist/src/signing/signers/types.d.ts +16 -0
- package/dist/src/signing/signers/types.d.ts.map +1 -0
- package/dist/src/signing/signers/types.js +1 -0
- package/dist/src/signing/signers/wallet-chain.d.ts +9 -0
- package/dist/src/signing/signers/wallet-chain.d.ts.map +1 -0
- package/dist/src/signing/signers/wallet-chain.js +15 -0
- package/dist/src/signing/signers/webauthn.d.ts +11 -0
- package/dist/src/signing/signers/webauthn.d.ts.map +1 -0
- package/dist/src/signing/signers/webauthn.js +14 -0
- package/dist/src/signing/typed-data.d.ts +39 -0
- package/dist/src/signing/typed-data.d.ts.map +1 -0
- package/dist/src/signing/typed-data.js +135 -0
- package/dist/src/signing/types.d.ts +346 -0
- package/dist/src/signing/types.d.ts.map +1 -0
- package/dist/src/signing/types.js +1 -0
- package/dist/src/signing/user-operation.d.ts +23 -0
- package/dist/src/signing/user-operation.d.ts.map +1 -0
- package/dist/src/signing/user-operation.js +61 -0
- package/dist/src/smart-sessions/index.d.ts +16 -0
- package/dist/src/smart-sessions/index.d.ts.map +1 -0
- package/dist/src/smart-sessions/index.js +45 -0
- package/dist/src/transactions/intents/account.d.ts +15 -0
- package/dist/src/transactions/intents/account.d.ts.map +1 -0
- package/dist/src/transactions/intents/account.js +48 -0
- package/dist/src/transactions/intents/compatibility.d.ts +4 -0
- package/dist/src/transactions/intents/compatibility.d.ts.map +1 -0
- package/dist/src/transactions/intents/compatibility.js +19 -0
- package/dist/src/transactions/intents/normalize.d.ts +5 -0
- package/dist/src/transactions/intents/normalize.d.ts.map +1 -0
- package/dist/src/transactions/intents/normalize.js +48 -0
- package/dist/src/transactions/intents/prepare.d.ts +7 -0
- package/dist/src/transactions/intents/prepare.d.ts.map +1 -0
- package/dist/src/transactions/intents/prepare.js +249 -0
- package/dist/src/transactions/intents/quotes.d.ts +3 -0
- package/dist/src/transactions/intents/quotes.d.ts.map +1 -0
- package/dist/src/transactions/intents/quotes.js +11 -0
- package/dist/src/transactions/intents/request.d.ts +11 -0
- package/dist/src/transactions/intents/request.d.ts.map +1 -0
- package/dist/src/transactions/intents/request.js +55 -0
- package/dist/src/transactions/intents/send.d.ts +3 -0
- package/dist/src/transactions/intents/send.d.ts.map +1 -0
- package/dist/src/transactions/intents/send.js +22 -0
- package/dist/src/transactions/intents/session-signing.d.ts +7 -0
- package/dist/src/transactions/intents/session-signing.d.ts.map +1 -0
- package/dist/src/transactions/intents/session-signing.js +363 -0
- package/dist/src/transactions/intents/sessions.d.ts +17 -0
- package/dist/src/transactions/intents/sessions.d.ts.map +1 -0
- package/dist/src/transactions/intents/sessions.js +85 -0
- package/dist/src/transactions/intents/sign-transaction.d.ts +10 -0
- package/dist/src/transactions/intents/sign-transaction.d.ts.map +1 -0
- package/dist/src/transactions/intents/sign-transaction.js +386 -0
- package/dist/src/transactions/intents/split.d.ts +13 -0
- package/dist/src/transactions/intents/split.d.ts.map +1 -0
- package/dist/src/transactions/intents/split.js +3 -0
- package/dist/src/transactions/intents/status-policy.d.ts +13 -0
- package/dist/src/transactions/intents/status-policy.d.ts.map +1 -0
- package/dist/src/transactions/intents/status-policy.js +39 -0
- package/dist/src/transactions/intents/status.d.ts +4 -0
- package/dist/src/transactions/intents/status.d.ts.map +1 -0
- package/dist/src/transactions/intents/status.js +50 -0
- package/dist/src/transactions/intents/submit.d.ts +3 -0
- package/dist/src/transactions/intents/submit.d.ts.map +1 -0
- package/dist/src/transactions/intents/submit.js +32 -0
- package/dist/src/transactions/intents/types.d.ts +136 -0
- package/dist/src/transactions/intents/types.d.ts.map +1 -0
- package/dist/src/transactions/intents/types.js +1 -0
- package/dist/src/transactions/user-operations/hash.d.ts +5 -0
- package/dist/src/transactions/user-operations/hash.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/hash.js +9 -0
- package/dist/src/transactions/user-operations/nonce.d.ts +18 -0
- package/dist/src/transactions/user-operations/nonce.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/nonce.js +43 -0
- package/dist/src/transactions/user-operations/prepare.d.ts +12 -0
- package/dist/src/transactions/user-operations/prepare.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/prepare.js +136 -0
- package/dist/src/transactions/user-operations/reconstruct.d.ts +28 -0
- package/dist/src/transactions/user-operations/reconstruct.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/reconstruct.js +52 -0
- package/dist/src/transactions/user-operations/send.d.ts +3 -0
- package/dist/src/transactions/user-operations/send.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/send.js +8 -0
- package/dist/src/transactions/user-operations/sign.d.ts +3 -0
- package/dist/src/transactions/user-operations/sign.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/sign.js +14 -0
- package/dist/src/transactions/user-operations/status.d.ts +4 -0
- package/dist/src/transactions/user-operations/status.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/status.js +37 -0
- package/dist/src/transactions/user-operations/submit.d.ts +3 -0
- package/dist/src/transactions/user-operations/submit.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/submit.js +8 -0
- package/dist/src/transactions/user-operations/types.d.ts +68 -0
- package/dist/src/transactions/user-operations/types.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/types.js +1 -0
- package/dist/src/transactions/user-operations/validator-account.d.ts +5 -0
- package/dist/src/transactions/user-operations/validator-account.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/validator-account.js +26 -0
- package/dist/src/utils/index.d.ts +68 -4
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/index.js +113 -51
- package/package.json +10 -11
- package/dist/src/accounts/index.d.ts +0 -51
- package/dist/src/accounts/index.d.ts.map +0 -1
- package/dist/src/accounts/index.js +0 -589
- package/dist/src/accounts/json-rpc/index.d.ts +0 -5
- package/dist/src/accounts/json-rpc/index.d.ts.map +0 -1
- package/dist/src/accounts/json-rpc/index.js +0 -19
- package/dist/src/accounts/json-rpc/providers.d.ts +0 -5
- package/dist/src/accounts/json-rpc/providers.d.ts.map +0 -1
- package/dist/src/accounts/json-rpc/providers.js +0 -16
- package/dist/src/accounts/kernel.d.ts +0 -27
- package/dist/src/accounts/kernel.d.ts.map +0 -1
- package/dist/src/accounts/kernel.js +0 -272
- package/dist/src/accounts/nexus.d.ts +0 -33
- package/dist/src/accounts/nexus.d.ts.map +0 -1
- package/dist/src/accounts/nexus.js +0 -444
- package/dist/src/accounts/safe.d.ts +0 -33
- package/dist/src/accounts/safe.d.ts.map +0 -1
- package/dist/src/accounts/safe.js +0 -343
- package/dist/src/accounts/signing/common.d.ts +0 -32
- package/dist/src/accounts/signing/common.d.ts.map +0 -1
- package/dist/src/accounts/signing/common.js +0 -184
- package/dist/src/accounts/signing/message.d.ts +0 -7
- package/dist/src/accounts/signing/message.d.ts.map +0 -1
- package/dist/src/accounts/signing/message.js +0 -45
- package/dist/src/accounts/signing/passkeys.d.ts +0 -36
- package/dist/src/accounts/signing/passkeys.d.ts.map +0 -1
- package/dist/src/accounts/signing/passkeys.js +0 -119
- package/dist/src/accounts/signing/typedData.d.ts +0 -5
- package/dist/src/accounts/signing/typedData.d.ts.map +0 -1
- package/dist/src/accounts/signing/typedData.js +0 -33
- package/dist/src/accounts/startale.d.ts +0 -26
- package/dist/src/accounts/startale.d.ts.map +0 -1
- package/dist/src/accounts/startale.js +0 -191
- package/dist/src/accounts/utils.d.ts +0 -33
- package/dist/src/accounts/utils.d.ts.map +0 -1
- package/dist/src/accounts/utils.js +0 -202
- package/dist/src/auth/provider.d.ts +0 -7
- package/dist/src/auth/provider.d.ts.map +0 -1
- package/dist/src/auth/provider.js +0 -38
- package/dist/src/execution/compact.d.ts +0 -5
- package/dist/src/execution/compact.d.ts.map +0 -1
- package/dist/src/execution/compact.js +0 -4
- package/dist/src/execution/error.d.ts.map +0 -1
- package/dist/src/execution/error.js +0 -85
- package/dist/src/execution/index.d.ts +0 -42
- package/dist/src/execution/index.d.ts.map +0 -1
- package/dist/src/execution/index.js +0 -202
- package/dist/src/execution/utils.d.ts +0 -127
- package/dist/src/execution/utils.d.ts.map +0 -1
- package/dist/src/execution/utils.js +0 -1116
- package/dist/src/modules/abi/smart-sessions.d.ts +0 -104
- package/dist/src/modules/abi/smart-sessions.d.ts.map +0 -1
- package/dist/src/modules/abi/smart-sessions.js +0 -128
- package/dist/src/modules/chain-abstraction.d.ts +0 -5
- package/dist/src/modules/chain-abstraction.d.ts.map +0 -1
- package/dist/src/modules/chain-abstraction.js +0 -3
- package/dist/src/modules/common.d.ts +0 -30
- package/dist/src/modules/common.d.ts.map +0 -1
- package/dist/src/modules/common.js +0 -30
- package/dist/src/modules/index.d.ts +0 -11
- package/dist/src/modules/index.d.ts.map +0 -1
- package/dist/src/modules/index.js +0 -90
- package/dist/src/modules/legacy.d.ts +0 -10
- package/dist/src/modules/legacy.d.ts.map +0 -1
- package/dist/src/modules/legacy.js +0 -62
- package/dist/src/modules/read.d.ts +0 -10
- package/dist/src/modules/read.d.ts.map +0 -1
- package/dist/src/modules/read.js +0 -171
- package/dist/src/modules/validators/core.d.ts +0 -31
- package/dist/src/modules/validators/core.d.ts.map +0 -1
- package/dist/src/modules/validators/core.js +0 -266
- package/dist/src/modules/validators/index.d.ts +0 -4
- package/dist/src/modules/validators/index.d.ts.map +0 -1
- package/dist/src/modules/validators/index.js +0 -3
- package/dist/src/modules/validators/smart-sessions.d.ts +0 -196
- package/dist/src/modules/validators/smart-sessions.d.ts.map +0 -1
- package/dist/src/modules/validators/smart-sessions.js +0 -772
- package/dist/src/orchestrator/caip2.d.ts +0 -13
- package/dist/src/orchestrator/caip2.d.ts.map +0 -1
- package/dist/src/orchestrator/caip2.js +0 -52
- package/dist/src/orchestrator/client.d.ts +0 -29
- package/dist/src/orchestrator/client.d.ts.map +0 -1
- package/dist/src/orchestrator/client.js +0 -293
- package/dist/src/orchestrator/consts.d.ts +0 -6
- package/dist/src/orchestrator/consts.d.ts.map +0 -1
- package/dist/src/orchestrator/consts.js +0 -5
- package/dist/src/orchestrator/destinations.d.ts.map +0 -1
- package/dist/src/orchestrator/destinations.js +0 -36
- package/dist/src/orchestrator/error.d.ts +0 -97
- package/dist/src/orchestrator/error.d.ts.map +0 -1
- package/dist/src/orchestrator/error.js +0 -173
- package/dist/src/orchestrator/index.d.ts +0 -12
- package/dist/src/orchestrator/index.d.ts.map +0 -1
- package/dist/src/orchestrator/index.js +0 -10
- package/dist/src/orchestrator/registry.d.ts +0 -17
- package/dist/src/orchestrator/registry.d.ts.map +0 -1
- package/dist/src/orchestrator/registry.js +0 -100
- package/dist/src/orchestrator/types.d.ts.map +0 -1
- package/dist/src/orchestrator/types.js +0 -15
- package/dist/src/orchestrator/utils.d.ts +0 -3
- package/dist/src/orchestrator/utils.d.ts.map +0 -1
- package/dist/src/orchestrator/utils.js +0 -22
- package/dist/src/types.d.ts +0 -466
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/utils/walletClient.d.ts +0 -34
- package/dist/src/utils/walletClient.d.ts.map +0 -1
- package/dist/src/utils/walletClient.js +0 -117
- /package/dist/src/{types.js → accounts/adapter.js} +0 -0
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { encodeEnableSessionCall } from '../modules/validators/smart-sessions/calls.js';
|
|
2
|
+
import { resolveSmartSessionModule } from '../modules/validators/smart-sessions/module.js';
|
|
3
|
+
import { resolveModuleInstallation, resolveModuleUninstallation, resolveSessionDisable, } from './runtime.js';
|
|
4
|
+
function environment(useDevContracts) {
|
|
5
|
+
return useDevContracts === true ? 'development' : 'production';
|
|
6
|
+
}
|
|
7
|
+
function sessionModule(config) {
|
|
8
|
+
return resolveSmartSessionModule({
|
|
9
|
+
enabled: config.sessions?.enabled ?? false,
|
|
10
|
+
address: config.sessions?.module,
|
|
11
|
+
environment: environment(config.useDevContracts),
|
|
12
|
+
});
|
|
13
|
+
}
|
|
3
14
|
/**
|
|
4
15
|
* Enable smart sessions
|
|
5
16
|
* @returns Calls to enable smart sessions
|
|
6
17
|
*/
|
|
7
|
-
function
|
|
18
|
+
function enable() {
|
|
8
19
|
return {
|
|
9
|
-
async resolve(
|
|
10
|
-
const module =
|
|
20
|
+
async resolve(context) {
|
|
21
|
+
const module = sessionModule(context.config);
|
|
11
22
|
if (!module) {
|
|
12
23
|
return [];
|
|
13
24
|
}
|
|
14
|
-
return
|
|
25
|
+
return resolveModuleInstallation(context, module);
|
|
15
26
|
},
|
|
16
27
|
};
|
|
17
28
|
}
|
|
@@ -19,30 +30,70 @@ function experimental_enable() {
|
|
|
19
30
|
* Disable smart sessions
|
|
20
31
|
* @returns Calls to disable smart sessions
|
|
21
32
|
*/
|
|
22
|
-
function
|
|
33
|
+
function disable() {
|
|
23
34
|
return {
|
|
24
|
-
async resolve(
|
|
25
|
-
const module =
|
|
35
|
+
async resolve(context) {
|
|
36
|
+
const module = sessionModule(context.config);
|
|
26
37
|
if (!module) {
|
|
27
38
|
return [];
|
|
28
39
|
}
|
|
29
|
-
return
|
|
40
|
+
return resolveModuleUninstallation(context, module);
|
|
30
41
|
},
|
|
31
42
|
};
|
|
32
43
|
}
|
|
33
44
|
/**
|
|
34
45
|
* Enable a smart session
|
|
35
|
-
*
|
|
46
|
+
*
|
|
47
|
+
* The `session` must be a resolved `Session` (the return value of
|
|
48
|
+
* `toSession(...)`). Re-resolving it here would drop the explicit
|
|
49
|
+
* `permissions` — a `Session` only carries the derived `actions`, not the
|
|
50
|
+
* original `SessionDefinition.permissions` — which makes the on-chain digest
|
|
51
|
+
* computed by `SmartSessionLens.getAndVerifyDigest` diverge from the one
|
|
52
|
+
* signed in `getSessionDetails`, causing the emissary to reject the enable.
|
|
53
|
+
*
|
|
54
|
+
* @param session resolved session to enable
|
|
36
55
|
* @returns Calls to enable the smart session
|
|
37
56
|
*/
|
|
38
|
-
function
|
|
57
|
+
function enableSession(session, enableSessionSignature, hashesAndChainIds, sessionToEnableIndex) {
|
|
58
|
+
return {
|
|
59
|
+
async resolve({ accountAddress, config }) {
|
|
60
|
+
const call = encodeEnableSessionCall({
|
|
61
|
+
account: accountAddress,
|
|
62
|
+
session: session,
|
|
63
|
+
userSignature: enableSessionSignature,
|
|
64
|
+
hashesAndChainIds,
|
|
65
|
+
sessionToEnableIndex,
|
|
66
|
+
environment: environment(config.useDevContracts),
|
|
67
|
+
});
|
|
68
|
+
return { to: call.target, value: call.value, data: call.data };
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Disable a smart session
|
|
74
|
+
*
|
|
75
|
+
* Removes a single session from the smart-session emissary via `removeConfig`.
|
|
76
|
+
* The account executes the call itself, so the emissary skips the disable
|
|
77
|
+
* user-signature — the user authorizes it by signing the outer transaction as
|
|
78
|
+
* usual (no separate, blind session-digest signature). The `session` must be a
|
|
79
|
+
* resolved `Session` (the return value of `toSession(...)`) on the chain where
|
|
80
|
+
* the session is being disabled.
|
|
81
|
+
*
|
|
82
|
+
* @param session resolved session to disable
|
|
83
|
+
* @param expires optional deadline after which this disable call is no longer
|
|
84
|
+
* valid; must be in the future. Omit for no expiry.
|
|
85
|
+
* @returns Calls to disable the smart session
|
|
86
|
+
*/
|
|
87
|
+
function disableSession(session, expires) {
|
|
39
88
|
return {
|
|
40
|
-
async resolve(
|
|
41
|
-
return
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
89
|
+
async resolve(context) {
|
|
90
|
+
return resolveSessionDisable({
|
|
91
|
+
context,
|
|
92
|
+
account: context.accountAddress,
|
|
93
|
+
session,
|
|
94
|
+
...(expires ? { expires } : {}),
|
|
95
|
+
});
|
|
45
96
|
},
|
|
46
97
|
};
|
|
47
98
|
}
|
|
48
|
-
export {
|
|
99
|
+
export { disable, disableSession, enable, enableSession };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type Address } from 'viem';
|
|
2
|
+
import type { CalldataInput } from '../config/account.js';
|
|
3
|
+
export declare function addWebauthnCredential(validator: Address, pubKeyX: bigint, pubKeyY: bigint, requireUserVerification: boolean): CalldataInput;
|
|
4
|
+
export declare function removeWebauthnCredential(validator: Address, pubKeyX: bigint, pubKeyY: bigint): CalldataInput;
|
|
5
|
+
export declare function changeWebauthnThreshold(validator: Address, newThreshold: number): CalldataInput;
|
|
6
|
+
//# sourceMappingURL=webauthn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webauthn.d.ts","sourceRoot":"","sources":["../../../actions/webauthn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAsB,MAAM,MAAM,CAAA;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,EACf,uBAAuB,EAAE,OAAO,GAC/B,aAAa,CAsBf;AAED,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,EAAE,MAAM,GACd,aAAa,CAqBf;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,MAAM,GACnB,aAAa,CAoBf"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { encodeFunctionData } from 'viem';
|
|
2
|
+
export function addWebauthnCredential(validator, pubKeyX, pubKeyY, requireUserVerification) {
|
|
3
|
+
return {
|
|
4
|
+
to: validator,
|
|
5
|
+
value: 0n,
|
|
6
|
+
data: encodeFunctionData({
|
|
7
|
+
abi: [
|
|
8
|
+
{
|
|
9
|
+
inputs: [
|
|
10
|
+
{ name: 'pubKeyX', type: 'uint256' },
|
|
11
|
+
{ name: 'pubKeyY', type: 'uint256' },
|
|
12
|
+
{ name: 'requireUserVerification', type: 'bool' },
|
|
13
|
+
],
|
|
14
|
+
name: 'addCredential',
|
|
15
|
+
outputs: [],
|
|
16
|
+
stateMutability: 'nonpayable',
|
|
17
|
+
type: 'function',
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
functionName: 'addCredential',
|
|
21
|
+
args: [pubKeyX, pubKeyY, requireUserVerification],
|
|
22
|
+
}),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function removeWebauthnCredential(validator, pubKeyX, pubKeyY) {
|
|
26
|
+
return {
|
|
27
|
+
to: validator,
|
|
28
|
+
value: 0n,
|
|
29
|
+
data: encodeFunctionData({
|
|
30
|
+
abi: [
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{ name: 'pubKeyX', type: 'uint256' },
|
|
34
|
+
{ name: 'pubKeyY', type: 'uint256' },
|
|
35
|
+
],
|
|
36
|
+
name: 'removeCredential',
|
|
37
|
+
outputs: [],
|
|
38
|
+
stateMutability: 'nonpayable',
|
|
39
|
+
type: 'function',
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
functionName: 'removeCredential',
|
|
43
|
+
args: [pubKeyX, pubKeyY],
|
|
44
|
+
}),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function changeWebauthnThreshold(validator, newThreshold) {
|
|
48
|
+
return {
|
|
49
|
+
to: validator,
|
|
50
|
+
value: 0n,
|
|
51
|
+
data: encodeFunctionData({
|
|
52
|
+
abi: [
|
|
53
|
+
{
|
|
54
|
+
inputs: [
|
|
55
|
+
{ internalType: 'uint256', name: '_threshold', type: 'uint256' },
|
|
56
|
+
],
|
|
57
|
+
name: 'setThreshold',
|
|
58
|
+
outputs: [],
|
|
59
|
+
stateMutability: 'nonpayable',
|
|
60
|
+
type: 'function',
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
functionName: 'setThreshold',
|
|
64
|
+
args: [BigInt(newThreshold)],
|
|
65
|
+
}),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import type { Address, Chain, HashTypedDataParameters, Hex, SignableMessage, SignedAuthorizationList, TypedData, TypedDataDefinition } from 'viem';
|
|
2
|
+
import type { UserOperationReceipt } from 'viem/account-abstraction';
|
|
3
|
+
import type { DestinationChain } from '../chains/non-evm.js';
|
|
4
|
+
import type { OriginSignature, Portfolio, SignData } from '../clients/orchestrator/public.js';
|
|
5
|
+
import type { RhinestoneAccountConfig, Session, SignerSet, Transaction, UserOperationTransaction } from '../config/account.js';
|
|
6
|
+
import type { LegacyAccountConfig } from '../config/legacy.js';
|
|
7
|
+
import type { AccountInvocationContext } from '../config/resolved.js';
|
|
8
|
+
import type { SessionDetails } from '../modules/validators/smart-sessions/types.js';
|
|
9
|
+
import type { OwnerSignature, SignAsOwnerOptions } from '../signing/types.js';
|
|
10
|
+
import type { IntentInput, PreparedTransactionData, QuoteSelection, SignedTransactionData, TransactionResult, TransactionStatus } from '../transactions/intents/types.js';
|
|
11
|
+
import type { PreparedUserOperationData, SignedUserOperationData, UserOperationResult } from '../transactions/user-operations/types.js';
|
|
12
|
+
import type { CoreComposition } from './compose-types.js';
|
|
13
|
+
interface SubmitTransactionOptions {
|
|
14
|
+
authorizations?: SignedAuthorizationList;
|
|
15
|
+
/**
|
|
16
|
+
* When `true`, the orchestrator validates the intent without executing it
|
|
17
|
+
* onchain. Internal use only; the `internal_` prefix marks it as not part
|
|
18
|
+
* of the supported public API.
|
|
19
|
+
*/
|
|
20
|
+
internal_dryRun?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface SignedIntentData {
|
|
23
|
+
originSignatures: OriginSignature[];
|
|
24
|
+
destinationSignature: Hex;
|
|
25
|
+
targetExecutionSignature: Hex | undefined;
|
|
26
|
+
}
|
|
27
|
+
type Compat = LegacyAccountConfig<unknown>;
|
|
28
|
+
/**
|
|
29
|
+
* The account facade. Mirrors the published `RhinestoneAccount` surface, but
|
|
30
|
+
* every method materializes a fresh invocation context from the retained
|
|
31
|
+
* mutable compatibility config and delegates to the SDK-core composition.
|
|
32
|
+
*/
|
|
33
|
+
export interface RhinestoneAccount {
|
|
34
|
+
/** The resolved account configuration. */
|
|
35
|
+
config: RhinestoneAccountConfig;
|
|
36
|
+
/**
|
|
37
|
+
* Deploy the account on a given chain.
|
|
38
|
+
* @param chain Chain to deploy the account on
|
|
39
|
+
* @param params Optional deployment parameters (sponsorship)
|
|
40
|
+
* @returns `true` once the deployment is submitted
|
|
41
|
+
*/
|
|
42
|
+
deploy(chain: Chain, params?: {
|
|
43
|
+
sponsored?: boolean;
|
|
44
|
+
}): Promise<boolean>;
|
|
45
|
+
/**
|
|
46
|
+
* Check whether the account is deployed on a given chain.
|
|
47
|
+
* @param chain Chain to check
|
|
48
|
+
* @returns `true` if the account is deployed, `false` otherwise
|
|
49
|
+
*/
|
|
50
|
+
isDeployed(chain: Chain): Promise<boolean>;
|
|
51
|
+
/**
|
|
52
|
+
* Set up an existing account on a given chain by installing any missing modules.
|
|
53
|
+
* @param chain Chain to set the account up on
|
|
54
|
+
* @returns `true` once setup is submitted
|
|
55
|
+
*/
|
|
56
|
+
setup(chain: Chain): Promise<boolean>;
|
|
57
|
+
/**
|
|
58
|
+
* Get the account initialization data, used to deploy the account onchain.
|
|
59
|
+
* @returns The factory address and factory data
|
|
60
|
+
*/
|
|
61
|
+
getInitData(): {
|
|
62
|
+
factory: Address;
|
|
63
|
+
factoryData: Hex;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Prepare and sign the EIP-7702 account initialization data.
|
|
67
|
+
* @returns The init data signature
|
|
68
|
+
*/
|
|
69
|
+
signEip7702InitData(): Promise<Hex>;
|
|
70
|
+
/**
|
|
71
|
+
* Prepare a transaction for signing.
|
|
72
|
+
* @param transaction Transaction to prepare
|
|
73
|
+
* @returns The prepared transaction data
|
|
74
|
+
* @see {@link signTransaction} to sign the prepared transaction
|
|
75
|
+
* @see {@link submitTransaction} to submit the signed transaction
|
|
76
|
+
*/
|
|
77
|
+
prepareTransaction(transaction: Transaction): Promise<PreparedTransactionData>;
|
|
78
|
+
/**
|
|
79
|
+
* Get the typed-data messages to sign for a prepared transaction.
|
|
80
|
+
* @param preparedTransaction Prepared transaction data
|
|
81
|
+
* @param options Optional override; pass `{ intentId }` to inspect a specific quote from `preparedTransaction.quotes.all`
|
|
82
|
+
* @returns The origin, destination, and (when required) target-execution typed-data messages
|
|
83
|
+
* @see {@link prepareTransaction} to prepare the transaction data for signing
|
|
84
|
+
*/
|
|
85
|
+
getTransactionMessages(preparedTransaction: PreparedTransactionData, options?: QuoteSelection): {
|
|
86
|
+
origin: TypedDataDefinition[];
|
|
87
|
+
destination: TypedDataDefinition;
|
|
88
|
+
targetExecution?: TypedDataDefinition;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Sign a prepared transaction as one configured owner. The returned signature
|
|
92
|
+
* can be serialized and shared with the party coordinating submission.
|
|
93
|
+
* @param preparedTransaction Prepared transaction data
|
|
94
|
+
* @param options Owner account, optional quote, and multi-factor validator ID
|
|
95
|
+
* @returns This owner's signature contribution
|
|
96
|
+
* @see {@link prepareTransaction} to prepare the transaction data for signing
|
|
97
|
+
* @see {@link assembleTransaction} to combine independent owner signatures
|
|
98
|
+
*/
|
|
99
|
+
signTransaction(preparedTransaction: PreparedTransactionData, options: SignAsOwnerOptions): Promise<OwnerSignature>;
|
|
100
|
+
/**
|
|
101
|
+
* Sign a prepared transaction with the transaction's configured signers.
|
|
102
|
+
* @param preparedTransaction Prepared transaction data
|
|
103
|
+
* @param options Optional override; pass `{ intentId }` to sign a specific quote from `preparedTransaction.quotes.all`
|
|
104
|
+
* @returns The signed transaction data
|
|
105
|
+
* @see {@link prepareTransaction} to prepare the transaction data for signing
|
|
106
|
+
* @see {@link submitTransaction} to submit the signed transaction
|
|
107
|
+
*/
|
|
108
|
+
signTransaction(preparedTransaction: PreparedTransactionData, options?: QuoteSelection): Promise<SignedTransactionData>;
|
|
109
|
+
/**
|
|
110
|
+
* Assemble independently collected owner signatures into a signed transaction.
|
|
111
|
+
* Signatures are deduplicated and ordered according to the configured owner set.
|
|
112
|
+
* Account thresholds are read from the local configuration; an explicit
|
|
113
|
+
* transaction signer set determines active MFA IDs and contributing owners.
|
|
114
|
+
* Callers must keep these synchronized with onchain owner and threshold changes.
|
|
115
|
+
* @param preparedTransaction The prepared transaction every owner signed
|
|
116
|
+
* @param signatures Owner signatures returned by `signTransaction` with an `owner` option
|
|
117
|
+
* @returns Signed transaction data ready for submission
|
|
118
|
+
* @see {@link signTransaction} to create each owner signature
|
|
119
|
+
* @see {@link submitTransaction} to submit the result
|
|
120
|
+
*/
|
|
121
|
+
assembleTransaction(preparedTransaction: PreparedTransactionData, signatures: OwnerSignature[]): Promise<SignedTransactionData>;
|
|
122
|
+
/**
|
|
123
|
+
* Sign the EIP-7702 authorizations required for a transaction.
|
|
124
|
+
* @param preparedTransaction Prepared transaction data
|
|
125
|
+
* @returns The signed authorization list
|
|
126
|
+
* @see {@link prepareTransaction} to prepare the transaction data for signing
|
|
127
|
+
*/
|
|
128
|
+
signAuthorizations(preparedTransaction: PreparedTransactionData): Promise<SignedAuthorizationList>;
|
|
129
|
+
/**
|
|
130
|
+
* Sign a message (EIP-191).
|
|
131
|
+
* @param message Message to sign
|
|
132
|
+
* @param chain Chain to sign the message for
|
|
133
|
+
* @param signers Signers to use, or `undefined` for the account default
|
|
134
|
+
* @returns The signature
|
|
135
|
+
* @see {@link signTypedData} to sign EIP-712 typed data
|
|
136
|
+
*/
|
|
137
|
+
signMessage(message: SignableMessage, chain: Chain, signers: SignerSet | undefined): Promise<Hex>;
|
|
138
|
+
/**
|
|
139
|
+
* Sign typed data (EIP-712).
|
|
140
|
+
* @param parameters Typed-data parameters
|
|
141
|
+
* @param chain Chain to sign the typed data for
|
|
142
|
+
* @param signers Signers to use, or `undefined` for the account default
|
|
143
|
+
* @returns The signature
|
|
144
|
+
* @see {@link signMessage} to sign an EIP-191 message
|
|
145
|
+
*/
|
|
146
|
+
signTypedData<typedData extends TypedData | Record<string, unknown> = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData>(parameters: HashTypedDataParameters<typedData, primaryType>, chain: Chain, signers: SignerSet | undefined): Promise<Hex>;
|
|
147
|
+
/**
|
|
148
|
+
* Sign an orchestrator intent operation. Used by headless flows that prepare
|
|
149
|
+
* the intent outside the SDK but still need the SDK-owned smart-session
|
|
150
|
+
* signature packing and target-execution signature routing.
|
|
151
|
+
* @param signData Sign data returned by the orchestrator (origin/destination/targetExecution typed data)
|
|
152
|
+
* @param targetChain Chain where the destination execution runs
|
|
153
|
+
* @param signers Signers to use, or `undefined` for the account default
|
|
154
|
+
* @returns The intent signatures, ready for submission
|
|
155
|
+
* @see {@link signTransaction} for the canonical signing path
|
|
156
|
+
*/
|
|
157
|
+
signIntent(signData: SignData, targetChain: DestinationChain, signers?: SignerSet): Promise<SignedIntentData>;
|
|
158
|
+
/**
|
|
159
|
+
* Submit a signed transaction.
|
|
160
|
+
* @param signedTransaction Signed transaction data
|
|
161
|
+
* @param options Optional submission options (e.g. EIP-7702 `authorizations`)
|
|
162
|
+
* @returns The transaction result (an intent ID)
|
|
163
|
+
* @see {@link signTransaction} to sign the transaction data
|
|
164
|
+
* @see {@link signAuthorizations} to sign the required EIP-7702 authorizations
|
|
165
|
+
* @see {@link waitForExecution} to wait for the transaction to execute onchain
|
|
166
|
+
*/
|
|
167
|
+
submitTransaction(signedTransaction: SignedTransactionData, options?: SubmitTransactionOptions): Promise<TransactionResult>;
|
|
168
|
+
/**
|
|
169
|
+
* Prepare a user operation for signing.
|
|
170
|
+
* @param transaction User operation to prepare
|
|
171
|
+
* @returns The prepared user operation data
|
|
172
|
+
* @see {@link signUserOperation} to sign the prepared user operation
|
|
173
|
+
* @see {@link submitUserOperation} to submit the signed user operation
|
|
174
|
+
* @see {@link sendUserOperation} to prepare, sign, and submit in one call
|
|
175
|
+
*/
|
|
176
|
+
prepareUserOperation(transaction: UserOperationTransaction): Promise<PreparedUserOperationData>;
|
|
177
|
+
/**
|
|
178
|
+
* Sign a prepared user operation.
|
|
179
|
+
* @param preparedUserOperation Prepared user operation data
|
|
180
|
+
* @returns The signed user operation data
|
|
181
|
+
* @see {@link prepareUserOperation} to prepare the user operation data for signing
|
|
182
|
+
* @see {@link submitUserOperation} to submit the signed user operation
|
|
183
|
+
*/
|
|
184
|
+
signUserOperation(preparedUserOperation: PreparedUserOperationData): Promise<SignedUserOperationData>;
|
|
185
|
+
/**
|
|
186
|
+
* Submit a signed user operation.
|
|
187
|
+
* @param signedUserOperation Signed user operation data
|
|
188
|
+
* @returns The user operation result (a UserOp hash)
|
|
189
|
+
* @see {@link signUserOperation} to sign the user operation data
|
|
190
|
+
* @see {@link waitForExecution} to wait for the user operation to execute onchain
|
|
191
|
+
*/
|
|
192
|
+
submitUserOperation(signedUserOperation: SignedUserOperationData): Promise<UserOperationResult>;
|
|
193
|
+
/**
|
|
194
|
+
* Prepare, sign, and submit a user operation in a single call.
|
|
195
|
+
* @param transaction User operation to send
|
|
196
|
+
* @returns The user operation result (a UserOp hash)
|
|
197
|
+
* @see {@link waitForExecution} to wait for the user operation to execute onchain
|
|
198
|
+
*/
|
|
199
|
+
sendUserOperation(transaction: UserOperationTransaction): Promise<UserOperationResult>;
|
|
200
|
+
/**
|
|
201
|
+
* Wait for a submitted transaction or user operation to execute onchain.
|
|
202
|
+
* Polls the orchestrator until the intent reaches a terminal state; on failure
|
|
203
|
+
* an `IntentFailedError` is thrown.
|
|
204
|
+
* @param result The result returned by a submit/send call
|
|
205
|
+
* @returns The per-chain operation status (for intents) or a UserOp receipt
|
|
206
|
+
*/
|
|
207
|
+
waitForExecution(result: TransactionResult): Promise<TransactionStatus>;
|
|
208
|
+
waitForExecution(result: UserOperationResult): Promise<UserOperationReceipt>;
|
|
209
|
+
/**
|
|
210
|
+
* Get the account address.
|
|
211
|
+
* @returns The smart account address
|
|
212
|
+
*/
|
|
213
|
+
getAddress(): Address;
|
|
214
|
+
/**
|
|
215
|
+
* Get the account portfolio (token balances across chains).
|
|
216
|
+
* @param onTestnets Whether to query testnet balances (default is `false`)
|
|
217
|
+
* @returns The account balances
|
|
218
|
+
*/
|
|
219
|
+
getPortfolio(onTestnets?: boolean): Promise<Portfolio>;
|
|
220
|
+
/**
|
|
221
|
+
* Resolve the smart-session details for a set of sessions.
|
|
222
|
+
* @param sessions Sessions to resolve
|
|
223
|
+
* @returns The resolved session details
|
|
224
|
+
*/
|
|
225
|
+
getSessionDetails(sessions: Session[]): Promise<SessionDetails>;
|
|
226
|
+
/**
|
|
227
|
+
* Check whether a smart session is enabled on the account.
|
|
228
|
+
* @param session Session to check
|
|
229
|
+
* @returns `true` if the session is enabled
|
|
230
|
+
*/
|
|
231
|
+
isSessionEnabled(session: Session): Promise<boolean>;
|
|
232
|
+
/**
|
|
233
|
+
* Sign the data required to enable a smart session.
|
|
234
|
+
* @param details Session details to enable
|
|
235
|
+
* @returns The enable-session signature
|
|
236
|
+
*/
|
|
237
|
+
signEnableSession(details: SessionDetails): Promise<Hex>;
|
|
238
|
+
/**
|
|
239
|
+
* Get the account owners.
|
|
240
|
+
* @remarks Only returns ECDSA owners; owners managed by other validator types are not included.
|
|
241
|
+
* @param chain Chain to read the owners from
|
|
242
|
+
* @returns The owner addresses and threshold, or `null` if unavailable
|
|
243
|
+
*/
|
|
244
|
+
getOwners(chain: Chain): Promise<{
|
|
245
|
+
accounts: Address[];
|
|
246
|
+
threshold: number;
|
|
247
|
+
} | null>;
|
|
248
|
+
/**
|
|
249
|
+
* Get the account validator modules.
|
|
250
|
+
* @param chain Chain to read the validators from
|
|
251
|
+
* @returns The validator module addresses
|
|
252
|
+
*/
|
|
253
|
+
getValidators(chain: Chain): Promise<Address[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Get the account executor modules.
|
|
256
|
+
* @param chain Chain to read the executors from
|
|
257
|
+
* @returns The executor module addresses
|
|
258
|
+
*/
|
|
259
|
+
getExecutors(chain: Chain): Promise<Address[]>;
|
|
260
|
+
}
|
|
261
|
+
export declare function createAccountFacade(compatibilityConfig: LegacyAccountConfig<unknown>, composition: CoreComposition<LegacyAccountConfig<unknown>>): RhinestoneAccount;
|
|
262
|
+
export declare function adaptTransaction(context: AccountInvocationContext<Compat>, transaction: Transaction): IntentInput;
|
|
263
|
+
export declare function authorizationChains(input: IntentInput): readonly IntentInput['destination'][];
|
|
264
|
+
export {};
|
|
265
|
+
//# sourceMappingURL=account.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../api/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,KAAK,EACL,uBAAuB,EACvB,GAAG,EACH,eAAe,EACf,uBAAuB,EACvB,SAAS,EACT,mBAAmB,EACpB,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAGpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAEzD,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EAET,QAAQ,EACT,MAAM,gCAAgC,CAAA;AAKvC,OAAO,KAAK,EAEV,uBAAuB,EACvB,OAAO,EACP,SAAS,EAET,WAAW,EACX,wBAAwB,EACzB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAK3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAUlE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAChF,OAAO,KAAK,EACV,cAAc,EAEd,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AAUzB,OAAO,KAAK,EACV,WAAW,EAEX,uBAAuB,EACvB,cAAc,EAEd,qBAAqB,EACrB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAEV,yBAAyB,EACzB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAMtD,UAAU,wBAAwB;IAChC,cAAc,CAAC,EAAE,uBAAuB,CAAA;IACxC;;;;OAIG;IACH,eAAe,CAAC,E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