@otim/sdk-core 0.0.19 → 0.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/account/index.d.cts +1 -1
  3. package/dist/account/index.d.mts +1 -1
  4. package/dist/authorization-BnF84ABo.d.cts.map +1 -1
  5. package/dist/clients/index.cjs +1 -1
  6. package/dist/clients/index.d.cts +3 -3
  7. package/dist/clients/index.d.mts +3 -3
  8. package/dist/clients/index.mjs +1 -1
  9. package/dist/{clients-Dkt56jVn.mjs → clients-BpUkaSb-.mjs} +3 -3
  10. package/dist/clients-BpUkaSb-.mjs.map +1 -0
  11. package/dist/{clients-CAKAVAKd.cjs → clients-jegPyhCH.cjs} +2 -2
  12. package/dist/clients-jegPyhCH.cjs.map +1 -0
  13. package/dist/{index-D6ncjdSF.d.mts → index-BRCDIv2-.d.mts} +2 -2
  14. package/dist/{index-D6ncjdSF.d.mts.map → index-BRCDIv2-.d.mts.map} +1 -1
  15. package/dist/{index-Dclw8n-r.d.cts → index-BmrWgMvx.d.cts} +2 -2
  16. package/dist/{index-CT89rCH1.d.mts.map → index-BmrWgMvx.d.cts.map} +1 -1
  17. package/dist/{index-CT89rCH1.d.mts → index-nalKWiJB.d.mts} +2 -2
  18. package/dist/{index-Dclw8n-r.d.cts.map → index-nalKWiJB.d.mts.map} +1 -1
  19. package/dist/{index-_2bU9FSx.d.cts → index-tt-bw0Dh.d.cts} +2 -2
  20. package/dist/{index-_2bU9FSx.d.cts.map → index-tt-bw0Dh.d.cts.map} +1 -1
  21. package/dist/index.cjs +1 -1
  22. package/dist/index.d.cts +3 -3
  23. package/dist/index.d.mts +3 -3
  24. package/dist/index.mjs +1 -1
  25. package/dist/{rpc-C-51kawS.d.cts → rpc-B2EqDraY.d.cts} +13 -3
  26. package/dist/rpc-B2EqDraY.d.cts.map +1 -0
  27. package/dist/{rpc-BWDaWzVn.d.mts → rpc-CMGNtfHM.d.mts} +13 -3
  28. package/dist/rpc-CMGNtfHM.d.mts.map +1 -0
  29. package/dist/signing/index.d.cts +2 -2
  30. package/dist/signing/index.d.mts +2 -2
  31. package/package.json +4 -4
  32. package/dist/clients-CAKAVAKd.cjs.map +0 -1
  33. package/dist/clients-Dkt56jVn.mjs.map +0 -1
  34. package/dist/rpc-BWDaWzVn.d.mts.map +0 -1
  35. package/dist/rpc-C-51kawS.d.cts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index-_2bU9FSx.d.cts","names":["Address","ErrorType","Account","ParseAccount","Chain","PublicRpcSchema","RpcSchema","Prettify","Client","ClientConfig","CreateClientErrorType","PublicActions","Transport","PublicClientConfig","transport","chain","accountOrAddress","rpcSchema","Pick","PublicClient","CreatePublicClientErrorType","createPublicClient","Address","Account","ErrorType","ParseAccount","Chain","RpcSchema","WalletRpcSchema","Prettify","Client","ClientConfig","CreateClientErrorType","WalletActions","Transport","WalletClientConfig","transport","chain","accountOrAddress","rpcSchema","Pick","WalletClient","account","CreateWalletClientErrorType","createWalletClient"],"sources":["../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_types/clients/createPublicClient.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_types/clients/createWalletClient.d.ts","../src/signing/types.ts","../src/signing/services/api-key-client.ts","../src/signing/services/server-wallet.ts","../src/signing/unified-payment-signer.ts","../src/signing/utils/authorization-digest.ts","../src/signing/utils/instruction-digest.ts","../src/signing/utils/signature-formatter.ts","../src/signing/adapters/ethereum-wallet-adapter.ts"],"sourcesContent":["import type { Address } from 'abitype';\nimport type { ErrorType } from '../errors/utils.js';\nimport type { Account, ParseAccount } from '../types/account.js';\nimport type { Chain } from '../types/chain.js';\nimport type { PublicRpcSchema, RpcSchema } from '../types/eip1193.js';\nimport type { Prettify } from '../types/utils.js';\nimport { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';\nimport { type PublicActions } from './decorators/public.js';\nimport type { Transport } from './transports/createTransport.js';\nexport type PublicClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Pick<ClientConfig<transport, chain, accountOrAddress, rpcSchema>, 'batch' | 'cacheTime' | 'ccipRead' | 'chain' | 'experimental_blockTag' | 'key' | 'name' | 'pollingInterval' | 'rpcSchema' | 'transport'>>;\nexport type PublicClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Client<transport, chain, accountOrAddress, rpcSchema extends RpcSchema ? [...PublicRpcSchema, ...rpcSchema] : PublicRpcSchema, PublicActions<transport, chain>>>;\nexport type CreatePublicClientErrorType = CreateClientErrorType | ErrorType;\n/**\n * Creates a Public Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/clients/chains).\n *\n * - Docs: https://viem.sh/docs/clients/public\n *\n * A Public Client is an interface to \"public\" [JSON-RPC API](https://ethereum.org/en/developers/docs/apis/json-rpc/) methods such as retrieving block numbers, transactions, reading from smart contracts, etc through [Public Actions](/docs/actions/public/introduction).\n *\n * @param config - {@link PublicClientConfig}\n * @returns A Public Client. {@link PublicClient}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n */\nexport declare function createPublicClient<transport extends Transport, chain extends Chain | undefined = undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(parameters: PublicClientConfig<transport, chain, accountOrAddress, rpcSchema>): PublicClient<transport, chain, ParseAccount<accountOrAddress>, rpcSchema>;\n//# sourceMappingURL=createPublicClient.d.ts.map","import type { Address } from 'abitype';\nimport type { Account } from '../accounts/types.js';\nimport type { ErrorType } from '../errors/utils.js';\nimport type { ParseAccount } from '../types/account.js';\nimport type { Chain } from '../types/chain.js';\nimport type { RpcSchema, WalletRpcSchema } from '../types/eip1193.js';\nimport type { Prettify } from '../types/utils.js';\nimport { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';\nimport { type WalletActions } from './decorators/wallet.js';\nimport type { Transport } from './transports/createTransport.js';\nexport type WalletClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = Account | Address | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Pick<ClientConfig<transport, chain, accountOrAddress, rpcSchema>, 'account' | 'cacheTime' | 'ccipRead' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'rpcSchema' | 'transport'>>;\nexport type WalletClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Client<transport, chain, account, rpcSchema extends RpcSchema ? [...WalletRpcSchema, ...rpcSchema] : WalletRpcSchema, WalletActions<chain, account>>>;\nexport type CreateWalletClientErrorType = CreateClientErrorType | ErrorType;\n/**\n * Creates a Wallet Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/clients/chains).\n *\n * - Docs: https://viem.sh/docs/clients/wallet\n *\n * A Wallet Client is an interface to interact with [Ethereum Account(s)](https://ethereum.org/en/glossary/#account) and provides the ability to retrieve accounts, execute transactions, sign messages, etc. through [Wallet Actions](https://viem.sh/docs/actions/wallet/introduction).\n *\n * The Wallet Client supports signing over:\n * - [JSON-RPC Accounts](https://viem.sh/docs/clients/wallet#json-rpc-accounts) (e.g. Browser Extension Wallets, WalletConnect, etc).\n * - [Local Accounts](https://viem.sh/docs/clients/wallet#local-accounts-private-key-mnemonic-etc) (e.g. private key/mnemonic wallets).\n *\n * @param config - {@link WalletClientConfig}\n * @returns A Wallet Client. {@link WalletClient}\n *\n * @example\n * // JSON-RPC Account\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n *\n * @example\n * // Local Account\n * import { createWalletClient, custom } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…')\n * chain: mainnet,\n * transport: http(),\n * })\n */\nexport declare function createWalletClient<transport extends Transport, chain extends Chain | undefined = undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(parameters: WalletClientConfig<transport, chain, accountOrAddress, rpcSchema>): WalletClient<transport, chain, ParseAccount<accountOrAddress>, rpcSchema>;\n//# sourceMappingURL=createWalletClient.d.ts.map"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;;AAUuDY,KAA3CO,YAA2CP,CAAAA,kBAAZA,SAAYA,GAAAA,SAAAA,EAAAA,cAAyBR,KAAzBQ,GAAAA,SAAAA,GAA6CR,KAA7CQ,GAAAA,SAAAA,EAAAA,yBAAyFV,OAAzFU,GAAAA,SAAAA,GAAAA,SAAAA,EAAAA,kBAA4IN,SAA5IM,GAAAA,SAAAA,GAAAA,SAAAA,CAAAA,GAAiLL,QAAjLK,CAA0LJ,MAA1LI,CAAiME,SAAjMF,EAA4MG,KAA5MH,EAAmNI,gBAAnNJ,EAAqOK,SAArOL,SAAuPN,SAAvPM,GAAAA,CAAAA,GAAuQP,eAAvQO,EAAAA,GAA2RK,SAA3RL,CAAAA,GAAwSP,eAAxSO,EAAyTD,aAAzTC,CAAuUE,SAAvUF,EAAkVG,KAAlVH,CAAAA,CAAAA,CAAAA;;;AAAyBR,KCCpEqC,YDDoErC,CAAAA,kBCCrC8B,SDDqC9B,GCCzB8B,SDDyB9B,EAAAA,cCCAsB,KDDAtB,GAAAA,SAAAA,GC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AiC,uBTNkCA,CAAAA;EAAoBA,iBAAAA,YAAAA;EAA4CF,SAAAA,IAAAA,GSOjI,UAAA,CAAA,QAAA;ETPoLI,WAAAA,CAAAA,YAAAA,ESStJ,YTTsJA;EAAqDQ,WAAAA,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,ESiBlN,OTjBkNA,CAAAA,MAAAA,CAAAA;EAAWC,YAAAA,CAAAA,CAAAA,ESgC3O,OThC2OA,CAAAA,MAAAA,CAAAA;EAAOC,gBAAAA,CAAAA,OAAAA,EAAAA,MAAAA,EAAAA,SAAAA,EAAAA,MAAAA,CAAAA,ES6C5M,OT7C4MA,CAAAA,MAAAA,CAAAA"}
1
+ {"version":3,"file":"index-tt-bw0Dh.d.cts","names":["Address","ErrorType","Account","ParseAccount","Chain","PublicRpcSchema","RpcSchema","Prettify","Client","ClientConfig","CreateClientErrorType","PublicActions","Transport","PublicClientConfig","transport","chain","accountOrAddress","rpcSchema","Pick","PublicClient","CreatePublicClientErrorType","createPublicClient","Address","Account","ErrorType","ParseAccount","Chain","RpcSchema","WalletRpcSchema","Prettify","Client","ClientConfig","CreateClientErrorType","WalletActions","Transport","WalletClientConfig","transport","chain","accountOrAddress","rpcSchema","Pick","WalletClient","account","CreateWalletClientErrorType","createWalletClient"],"sources":["../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_types/clients/createPublicClient.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.3.6/node_modules/viem/_types/clients/createWalletClient.d.ts","../src/signing/types.ts","../src/signing/services/api-key-client.ts","../src/signing/services/server-wallet.ts","../src/signing/unified-payment-signer.ts","../src/signing/utils/authorization-digest.ts","../src/signing/utils/instruction-digest.ts","../src/signing/utils/signature-formatter.ts","../src/signing/adapters/ethereum-wallet-adapter.ts"],"sourcesContent":["import type { Address } from 'abitype';\nimport type { ErrorType } from '../errors/utils.js';\nimport type { Account, ParseAccount } from '../types/account.js';\nimport type { Chain } from '../types/chain.js';\nimport type { PublicRpcSchema, RpcSchema } from '../types/eip1193.js';\nimport type { Prettify } from '../types/utils.js';\nimport { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';\nimport { type PublicActions } from './decorators/public.js';\nimport type { Transport } from './transports/createTransport.js';\nexport type PublicClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Pick<ClientConfig<transport, chain, accountOrAddress, rpcSchema>, 'batch' | 'cacheTime' | 'ccipRead' | 'chain' | 'experimental_blockTag' | 'key' | 'name' | 'pollingInterval' | 'rpcSchema' | 'transport'>>;\nexport type PublicClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Client<transport, chain, accountOrAddress, rpcSchema extends RpcSchema ? [...PublicRpcSchema, ...rpcSchema] : PublicRpcSchema, PublicActions<transport, chain>>>;\nexport type CreatePublicClientErrorType = CreateClientErrorType | ErrorType;\n/**\n * Creates a Public Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/clients/chains).\n *\n * - Docs: https://viem.sh/docs/clients/public\n *\n * A Public Client is an interface to \"public\" [JSON-RPC API](https://ethereum.org/en/developers/docs/apis/json-rpc/) methods such as retrieving block numbers, transactions, reading from smart contracts, etc through [Public Actions](/docs/actions/public/introduction).\n *\n * @param config - {@link PublicClientConfig}\n * @returns A Public Client. {@link PublicClient}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n */\nexport declare function createPublicClient<transport extends Transport, chain extends Chain | undefined = undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(parameters: PublicClientConfig<transport, chain, accountOrAddress, rpcSchema>): PublicClient<transport, chain, ParseAccount<accountOrAddress>, rpcSchema>;\n//# sourceMappingURL=createPublicClient.d.ts.map","import type { Address } from 'abitype';\nimport type { Account } from '../accounts/types.js';\nimport type { ErrorType } from '../errors/utils.js';\nimport type { ParseAccount } from '../types/account.js';\nimport type { Chain } from '../types/chain.js';\nimport type { RpcSchema, WalletRpcSchema } from '../types/eip1193.js';\nimport type { Prettify } from '../types/utils.js';\nimport { type Client, type ClientConfig, type CreateClientErrorType } from './createClient.js';\nimport { type WalletActions } from './decorators/wallet.js';\nimport type { Transport } from './transports/createTransport.js';\nexport type WalletClientConfig<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, accountOrAddress extends Account | Address | undefined = Account | Address | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Pick<ClientConfig<transport, chain, accountOrAddress, rpcSchema>, 'account' | 'cacheTime' | 'ccipRead' | 'chain' | 'key' | 'name' | 'pollingInterval' | 'rpcSchema' | 'transport'>>;\nexport type WalletClient<transport extends Transport = Transport, chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, rpcSchema extends RpcSchema | undefined = undefined> = Prettify<Client<transport, chain, account, rpcSchema extends RpcSchema ? [...WalletRpcSchema, ...rpcSchema] : WalletRpcSchema, WalletActions<chain, account>>>;\nexport type CreateWalletClientErrorType = CreateClientErrorType | ErrorType;\n/**\n * Creates a Wallet Client with a given [Transport](https://viem.sh/docs/clients/intro) configured for a [Chain](https://viem.sh/docs/clients/chains).\n *\n * - Docs: https://viem.sh/docs/clients/wallet\n *\n * A Wallet Client is an interface to interact with [Ethereum Account(s)](https://ethereum.org/en/glossary/#account) and provides the ability to retrieve accounts, execute transactions, sign messages, etc. through [Wallet Actions](https://viem.sh/docs/actions/wallet/introduction).\n *\n * The Wallet Client supports signing over:\n * - [JSON-RPC Accounts](https://viem.sh/docs/clients/wallet#json-rpc-accounts) (e.g. Browser Extension Wallets, WalletConnect, etc).\n * - [Local Accounts](https://viem.sh/docs/clients/wallet#local-accounts-private-key-mnemonic-etc) (e.g. private key/mnemonic wallets).\n *\n * @param config - {@link WalletClientConfig}\n * @returns A Wallet Client. {@link WalletClient}\n *\n * @example\n * // JSON-RPC Account\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n *\n * @example\n * // Local Account\n * import { createWalletClient, custom } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…')\n * chain: mainnet,\n * transport: http(),\n * })\n */\nexport declare function createWalletClient<transport extends Transport, chain extends Chain | undefined = undefined, accountOrAddress extends Account | Address | undefined = undefined, rpcSchema extends RpcSchema | undefined = undefined>(parameters: WalletClientConfig<transport, chain, accountOrAddress, rpcSchema>): WalletClient<transport, chain, ParseAccount<accountOrAddress>, rpcSchema>;\n//# sourceMappingURL=createWalletClient.d.ts.map"],"x_google_ignoreList":[0,1],"mappings":";;;;;;;;;AAUuDY,KAA3CO,YAA2CP,CAAAA,kBAAZA,SAAYA,GAAAA,SAAAA,EAAAA,cAAyBR,KAAzBQ,GAAAA,SAAAA,GAA6CR,KAA7CQ,GAAAA,SAAAA,EAAAA,yBAAyFV,OAAzFU,GAAAA,SAAAA,GAAAA,SAAAA,EAAAA,kBAA4IN,SAA5IM,GAAAA,SAAAA,GAAAA,SAAAA,CAAAA,GAAiLL,QAAjLK,CAA0LJ,MAA1LI,CAAiME,SAAjMF,EAA4MG,KAA5MH,EAAmNI,gBAAnNJ,EAAqOK,SAArOL,SAAuPN,SAAvPM,GAAAA,CAAAA,GAAuQP,eAAvQO,EAAAA,GAA2RK,SAA3RL,CAAAA,GAAwSP,eAAxSO,EAAyTD,aAAzTC,CAAuUE,SAAvUF,EAAkVG,KAAlVH,CAAAA,CAAAA,CAA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W,gCACF,mDAEV;ENnGY,QAAA,eAAS;EAST,QAAA,WAAA;EASA,QAAA,aAAA;AAajB;;;;;;;;AF7BA;;;AAAgFjC,cSMnE,qBAAA,YAAiC,uBTNkCA,CAAAA;EAAoBA,iBAAAA,YAAAA;EAA4CF,SAAAA,IAAAA,GSOjI,UAAA,CAAA,QAAA;ETPoLI,WAAAA,CAAAA,YAAAA,ESStJ,YTTsJA;EAAqDQ,WAAAA,CAAAA,OAAAA,EAAAA,MAAAA,CAAAA,ESiBlN,OTjBkNA,CAAAA,MAAAA,CAAAA;EAAWC,YAAAA,CAAAA,CAAAA,ESgC3O,OThC2OA,CAAAA,MAAAA,CAAAA;EAAOC,gBAAAA,CAAAA,OAAAA,EAAAA,MAAAA,EAAAA,SAAAA,EAAAA,MAAAA,CAAAA,ES6C5M,OT7C4MA,CAAAA,MAAAA,CAAAA"}
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const require_account = require('./account-Bwm5PTcc.cjs');
2
- const require_clients = require('./clients-CAKAVAKd.cjs');
2
+ const require_clients = require('./clients-jegPyhCH.cjs');
3
3
  const require_signing = require('./signing-BaJMYH0K.cjs');
4
4
  const require_config = require('./config-BrvU6CD_.cjs');
5
5
  const require_context = require('./context-DK5bXjx4.cjs');
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./abi-C34qVuOe.cjs";
2
- import { a as Chain } from "./rpc-C-51kawS.cjs";
2
+ import { a as Chain } from "./rpc-B2EqDraY.cjs";
3
3
  import "./authorization-BnF84ABo.cjs";
4
- import { _ as Signature, a as InstructionDigestComputer, b as SignerConfig, c as ServerWalletSigningService, d as ActivityPollingConfig, f as ApiKeyClientActivationParameters, g as ServerWalletActivationParameters, h as ISigningService, i as createRlpEncodedAuthorization, l as ApiKeyClientSigningService, m as FormattedSignature, n as FormattedInstruction, o as AuthorizationDigestComputer, p as DigestComputationResult, r as SignatureFormatter, s as UnifiedPaymentSigner, t as EthereumWalletAdapter, u as ActivationResult, v as SignatureResult, y as SignedInstruction } from "./index-_2bU9FSx.cjs";
4
+ import { _ as Signature, a as InstructionDigestComputer, b as SignerConfig, c as ServerWalletSigningService, d as ActivityPollingConfig, f as ApiKeyClientActivationParameters, g as ServerWalletActivationParameters, h as ISigningService, i as createRlpEncodedAuthorization, l as ApiKeyClientSigningService, m as FormattedSignature, n as FormattedInstruction, o as AuthorizationDigestComputer, p as DigestComputationResult, r as SignatureFormatter, s as UnifiedPaymentSigner, t as EthereumWalletAdapter, u as ActivationResult, v as SignatureResult, y as SignedInstruction } from "./index-tt-bw0Dh.cjs";
5
5
  import { a as AccountType, c as OtimAccountSignMessageArgs, d as ServerAccountType, i as AccountConfig, l as PrivateKeyAccountConfig, n as isApiAccountConfig, o as ApiAccountConfig, r as isPrivateKeyAccountConfig, s as OtimAccount, t as createClientContext, u as ServerAccountConfig } from "./index-DcGsW5Uz.cjs";
6
- import { C as ActivityClient, S as LoginOptions, _ as CreateSettlementResponse, a as prepareVaultMigrateSettlement, b as ConfigClient, c as prepareVaultDepositSettlement, d as BuildSettlementRequest, f as OrchestrationParams, g as CreateRawConfig, h as prepareSettlement, i as VaultMigrateParams, l as PrepareVaultWithdrawSettlementParams, m as SettlementParams, n as createSettlementSigner, o as PrepareVaultDepositSettlementParams, p as PrepareSettlementParams, r as PrepareVaultMigrateSettlementParams, s as SettlementVaultDepositParams, t as CreateSettlementSignerParams, u as prepareVaultWithdrawSettlement, v as OrchestrationClient, x as AuthClient, y as DelegationClient } from "./index-Dclw8n-r.cjs";
6
+ import { C as ActivityClient, S as LoginOptions, _ as CreateSettlementResponse, a as prepareVaultMigrateSettlement, b as ConfigClient, c as prepareVaultDepositSettlement, d as BuildSettlementRequest, f as OrchestrationParams, g as CreateRawConfig, h as prepareSettlement, i as VaultMigrateParams, l as PrepareVaultWithdrawSettlementParams, m as SettlementParams, n as createSettlementSigner, o as PrepareVaultDepositSettlementParams, p as PrepareSettlementParams, r as PrepareVaultMigrateSettlementParams, s as SettlementVaultDepositParams, t as CreateSettlementSignerParams, u as prepareVaultWithdrawSettlement, v as OrchestrationClient, x as AuthClient, y as DelegationClient } from "./index-BmrWgMvx.cjs";
7
7
  import { a as OtimReactClientContext, i as OtimClientContext, n as assertRequiresAuth, o as OtimServerClientContext, r as assertServerContext, t as isServerContext } from "./index-CUbzbOtB.cjs";
8
8
  import { a as env, c as isEnvironment, i as Environment, n as SIWE_VERSION, o as getApiUrl, r as createLoginSiweMessage, s as getTurnkeyApiUrl, t as SIWE_CHAIN_ID } from "./index-BnmB_Auh.cjs";
9
9
  import { i as normalizeYParityValue, n as parseSignatureToVRS, t as createEIP2098Signature } from "./vrs-w6WBVdSJ.cjs";
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./abi-DJLWbdqc.mjs";
2
- import { a as Chain } from "./rpc-BWDaWzVn.mjs";
2
+ import { a as Chain } from "./rpc-CMGNtfHM.mjs";
3
3
  import "./authorization-C5pDhI13.mjs";
4
- import { _ as Signature, a as InstructionDigestComputer, b as SignerConfig, c as ServerWalletSigningService, d as ActivityPollingConfig, f as ApiKeyClientActivationParameters, g as ServerWalletActivationParameters, h as ISigningService, i as createRlpEncodedAuthorization, l as ApiKeyClientSigningService, m as FormattedSignature, n as FormattedInstruction, o as AuthorizationDigestComputer, p as DigestComputationResult, r as SignatureFormatter, s as UnifiedPaymentSigner, t as EthereumWalletAdapter, u as ActivationResult, v as SignatureResult, y as SignedInstruction } from "./index-D6ncjdSF.mjs";
4
+ import { _ as Signature, a as InstructionDigestComputer, b as SignerConfig, c as ServerWalletSigningService, d as ActivityPollingConfig, f as ApiKeyClientActivationParameters, g as ServerWalletActivationParameters, h as ISigningService, i as createRlpEncodedAuthorization, l as ApiKeyClientSigningService, m as FormattedSignature, n as FormattedInstruction, o as AuthorizationDigestComputer, p as DigestComputationResult, r as SignatureFormatter, s as UnifiedPaymentSigner, t as EthereumWalletAdapter, u as ActivationResult, v as SignatureResult, y as SignedInstruction } from "./index-BRCDIv2-.mjs";
5
5
  import { a as AccountType, c as OtimAccountSignMessageArgs, d as ServerAccountType, i as AccountConfig, l as PrivateKeyAccountConfig, n as isApiAccountConfig, o as ApiAccountConfig, r as isPrivateKeyAccountConfig, s as OtimAccount, t as createClientContext, u as ServerAccountConfig } from "./index-CChHQZDA.mjs";
6
- import { C as ActivityClient, S as LoginOptions, _ as CreateSettlementResponse, a as prepareVaultMigrateSettlement, b as ConfigClient, c as prepareVaultDepositSettlement, d as BuildSettlementRequest, f as OrchestrationParams, g as CreateRawConfig, h as prepareSettlement, i as VaultMigrateParams, l as PrepareVaultWithdrawSettlementParams, m as SettlementParams, n as createSettlementSigner, o as PrepareVaultDepositSettlementParams, p as PrepareSettlementParams, r as PrepareVaultMigrateSettlementParams, s as SettlementVaultDepositParams, t as CreateSettlementSignerParams, u as prepareVaultWithdrawSettlement, v as OrchestrationClient, x as AuthClient, y as DelegationClient } from "./index-CT89rCH1.mjs";
6
+ import { C as ActivityClient, S as LoginOptions, _ as CreateSettlementResponse, a as prepareVaultMigrateSettlement, b as ConfigClient, c as prepareVaultDepositSettlement, d as BuildSettlementRequest, f as OrchestrationParams, g as CreateRawConfig, h as prepareSettlement, i as VaultMigrateParams, l as PrepareVaultWithdrawSettlementParams, m as SettlementParams, n as createSettlementSigner, o as PrepareVaultDepositSettlementParams, p as PrepareSettlementParams, r as PrepareVaultMigrateSettlementParams, s as SettlementVaultDepositParams, t as CreateSettlementSignerParams, u as prepareVaultWithdrawSettlement, v as OrchestrationClient, x as AuthClient, y as DelegationClient } from "./index-nalKWiJB.mjs";
7
7
  import { a as OtimReactClientContext, i as OtimClientContext, n as assertRequiresAuth, o as OtimServerClientContext, r as assertServerContext, t as isServerContext } from "./index-Bii-p3Pv.mjs";
8
8
  import { a as env, c as isEnvironment, i as Environment, n as SIWE_VERSION, o as getApiUrl, r as createLoginSiweMessage, s as getTurnkeyApiUrl, t as SIWE_CHAIN_ID } from "./index-bgGeSOyj.mjs";
9
9
  import { i as normalizeYParityValue, n as parseSignatureToVRS, t as createEIP2098Signature } from "./vrs-DlTE_vd4.mjs";
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as ServerAccountType, i as AccountType, n as isApiAccountConfig, r as isPrivateKeyAccountConfig, t as createClientContext } from "./account-DTvmNvta.mjs";
2
- import { a as OrchestrationClient, c as ConfigClient, i as prepareSettlement, l as AuthClient, n as prepareVaultDepositSettlement, o as createSettlementSigner, r as prepareVaultWithdrawSettlement, s as DelegationClient, t as prepareVaultMigrateSettlement, u as ActivityClient } from "./clients-Dkt56jVn.mjs";
2
+ import { a as OrchestrationClient, c as ConfigClient, i as prepareSettlement, l as AuthClient, n as prepareVaultDepositSettlement, o as createSettlementSigner, r as prepareVaultWithdrawSettlement, s as DelegationClient, t as prepareVaultMigrateSettlement, u as ActivityClient } from "./clients-BpUkaSb-.mjs";
3
3
  import { a as AuthorizationDigestComputer, c as ApiKeyClientSigningService, i as InstructionDigestComputer, n as SignatureFormatter, o as ServerWalletSigningService, r as createRlpEncodedAuthorization, s as EthereumWalletAdapter, t as UnifiedPaymentSigner } from "./signing-BGCR53df.mjs";
4
4
  import { a as env, c as isEnvironment, i as Environment, n as SIWE_VERSION, o as getApiUrl, r as createLoginSiweMessage, s as getTurnkeyApiUrl, t as SIWE_CHAIN_ID } from "./config-C6ygfZaM.mjs";
5
5
  import { n as assertRequiresAuth, r as assertServerContext, t as isServerContext } from "./context-GO0kqi9m.mjs";
@@ -168,7 +168,7 @@ type _TypedDataParametersToAbiParameters<typedDataParameters extends readonly Ty
168
168
  components: type extends keyof keyReferences ? Error$1<`Circular reference detected. '${typedDataParameter['type']}' is a circular reference.`> : _TypedDataParametersToAbiParameters<typedData[type], typedData, keyReferences & { [_ in type]: true }>;
169
169
  } : typedDataParameter : never };
170
170
  //#endregion
171
- //#region ../../node_modules/.pnpm/abitype@1.1.2_typescript@5.9.3_zod@4.3.6/node_modules/abitype/dist/types/register.d.ts
171
+ //#region ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@4.3.6/node_modules/abitype/dist/types/register.d.ts
172
172
  interface Register$1 {}
173
173
  type ResolvedRegister$2 = {
174
174
  /**
@@ -244,6 +244,14 @@ type ResolvedRegister$2 = {
244
244
  } ? type : Register$1 extends {
245
245
  FixedArrayMaxLength: infer type extends number;
246
246
  } ? type : DefaultRegister$1['fixedArrayMaxLength'];
247
+ /**
248
+ * Enables named tuple generation in {@link AbiParametersToPrimitiveTypes} for common ABI parameter names.
249
+ *
250
+ * @default false
251
+ */
252
+ experimental_namedTuples: Register$1 extends {
253
+ experimental_namedTuples: infer type extends boolean;
254
+ } ? type : DefaultRegister$1['experimental_namedTuples'];
247
255
  /**
248
256
  * When set, validates {@link AbiParameter}'s `type` against {@link AbiType}
249
257
  *
@@ -294,6 +302,8 @@ type DefaultRegister$1 = {
294
302
  bigIntType: bigint;
295
303
  /** TypeScript type to use for `int<M>` and `uint<M>` values, where `M <= 48` */
296
304
  intType: number;
305
+ /** Enables named tuple generation in {@link AbiParametersToPrimitiveTypes} for common ABI parameter names */
306
+ experimental_namedTuples: false;
297
307
  /** When set, validates {@link AbiParameter}'s `type` against {@link AbiType} */
298
308
  strictAbiType: false;
299
309
  /** @deprecated Use `arrayMaxDepth` instead */
@@ -317,7 +327,7 @@ type DefaultRegister$1 = {
317
327
  StrictAbiType: DefaultRegister$1['strictAbiType'];
318
328
  };
319
329
  //#endregion
320
- //#region ../../node_modules/.pnpm/abitype@1.1.2_typescript@5.9.3_zod@4.3.6/node_modules/abitype/dist/types/abi.d.ts
330
+ //#region ../../node_modules/.pnpm/abitype@1.2.3_typescript@5.9.3_zod@4.3.6/node_modules/abitype/dist/types/abi.d.ts
321
331
  type Address$1 = ResolvedRegister$2['addressType'];
322
332
  //#endregion
323
333
  //#region ../../node_modules/.pnpm/ox@0.9.6_typescript@5.9.3_zod@4.3.6/node_modules/ox/_types/core/Hex.d.ts
@@ -6882,4 +6892,4 @@ type RpcUserOperation<entryPointVersion extends EntryPointVersion = EntryPointVe
6882
6892
  type RpcUserOperationReceipt<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperationReceipt<entryPointVersion, Hex, Hex, Hex>;
6883
6893
  //#endregion
6884
6894
  export { Chain as a, RpcSchema as c, WalletActions as i, WalletRpcSchema as l, Client as n, Transport as o, PublicActions as r, PublicRpcSchema as s, Account as t };
6885
- //# sourceMappingURL=rpc-C-51kawS.d.cts.map
6895
+ //# sourceMappingURL=rpc-B2EqDraY.d.cts.map