@trustware/sdk-staging 1.1.8-staging.8 → 1.1.9-staging.3

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 (46) hide show
  1. package/README.md +0 -2
  2. package/dist/{blockchain-BONedEsU.d.cts → blockchain-BxAFzp0s.d.cts} +5 -1
  3. package/dist/{blockchain-BONedEsU.d.ts → blockchain-BxAFzp0s.d.ts} +5 -1
  4. package/dist/constants.cjs +1 -1
  5. package/dist/constants.cjs.map +1 -1
  6. package/dist/constants.mjs +1 -1
  7. package/dist/constants.mjs.map +1 -1
  8. package/dist/{core-BQ0mFnLc.d.ts → core-CwT8Wd1x.d.ts} +32 -4
  9. package/dist/{core-BjQwlpoI.d.cts → core-Dy_rZl5y.d.cts} +32 -4
  10. package/dist/core.cjs +69 -32
  11. package/dist/core.cjs.map +1 -1
  12. package/dist/core.d.cts +4 -4
  13. package/dist/core.d.ts +4 -4
  14. package/dist/core.mjs +69 -32
  15. package/dist/core.mjs.map +1 -1
  16. package/dist/{detect-DlbgTrkm.d.cts → detect-DVpECOTa.d.cts} +2 -2
  17. package/dist/{detect-MWKHLhn9.d.ts → detect-d2PUaxE_.d.ts} +2 -2
  18. package/dist/index.cjs +699 -333
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +9 -10
  21. package/dist/index.d.ts +9 -10
  22. package/dist/index.mjs +653 -287
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/{manager-aOd3vkF9.d.ts → manager-B5aklGtm.d.cts} +2 -4
  25. package/dist/{manager-DKVW7zeh.d.cts → manager-xFiq0SHr.d.ts} +2 -4
  26. package/dist/smart-account.cjs +1 -2
  27. package/dist/smart-account.cjs.map +1 -1
  28. package/dist/smart-account.d.cts +31 -3
  29. package/dist/smart-account.d.ts +31 -3
  30. package/dist/smart-account.mjs +1 -2
  31. package/dist/smart-account.mjs.map +1 -1
  32. package/dist/{types-MtdjJgwT.d.ts → types-BJY9r-mz.d.ts} +1 -1
  33. package/dist/{types-B3nKHW6H.d.cts → types-DX3HtFcn.d.cts} +1 -1
  34. package/dist/wallet.cjs +124 -53
  35. package/dist/wallet.cjs.map +1 -1
  36. package/dist/wallet.d.cts +4 -4
  37. package/dist/wallet.d.ts +4 -4
  38. package/dist/wallet.mjs +124 -53
  39. package/dist/wallet.mjs.map +1 -1
  40. package/dist/widget.cjs +672 -306
  41. package/dist/widget.cjs.map +1 -1
  42. package/dist/widget.d.cts +2 -2
  43. package/dist/widget.d.ts +2 -2
  44. package/dist/widget.mjs +626 -260
  45. package/dist/widget.mjs.map +1 -1
  46. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import * as node_modules__account_kit_smart_contracts_dist_types_src_light_account_actions_transferOwnership from 'node_modules/@account-kit/smart-contracts/dist/types/src/light-account/actions/transferOwnership';
2
+ import * as node_modules_viem__types_actions_token from 'node_modules/viem/_types/actions/token';
2
3
  import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
3
4
  import * as node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData from 'node_modules/@aa-sdk/core/dist/types/actions/smartAccount/signTypedData';
4
5
  import * as node_modules__aa_sdk_core_dist_types_actions_smartAccount_signMessage from 'node_modules/@aa-sdk/core/dist/types/actions/smartAccount/signMessage';
@@ -173,6 +174,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
173
174
  Method: "eth_getProof";
174
175
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
175
176
  ReturnType: viem.RpcProof;
177
+ }, {
178
+ Method: "eth_getRawTransactionByHash";
179
+ Parameters: [hash: viem.Hash];
180
+ ReturnType: viem.Hex | null;
176
181
  }, {
177
182
  Method: "eth_getStorageAt";
178
183
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -280,6 +285,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
280
285
  Parameters: [filterId: viem.Quantity];
281
286
  ReturnType: boolean;
282
287
  }]>;
288
+ tokens: viem.Tokens | undefined;
283
289
  transport: viem.TransportConfig<"custom", viem.EIP1193RequestFn>;
284
290
  type: string;
285
291
  uid: string;
@@ -913,6 +919,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
913
919
  estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: {
914
920
  chain: chainOverride | null;
915
921
  } | undefined) => Promise<viem.EstimateMaxPriorityFeePerGasReturnType>;
922
+ getRawTransaction: (args: viem.GetRawTransactionParameters) => Promise<viem.GetRawTransactionReturnType>;
916
923
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
917
924
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
918
925
  type: "legacy";
@@ -2448,6 +2455,18 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2448
2455
  watchContractEvent: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem.WatchContractEventParameters<abi, eventName, strict, viem.Transport>) => viem.WatchContractEventReturnType;
2449
2456
  watchEvent: <const abiEvent extends viem.AbiEvent | undefined = undefined, const abiEvents extends readonly viem.AbiEvent[] | readonly unknown[] | undefined = abiEvent extends viem.AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined>(args: viem.WatchEventParameters<abiEvent, abiEvents, strict, viem.Transport>) => viem.WatchEventReturnType;
2450
2457
  watchPendingTransactions: (args: viem.WatchPendingTransactionsParameters<viem.Transport>) => viem.WatchPendingTransactionsReturnType;
2458
+ token: {
2459
+ getAllowance: ((parameters: node_modules_viem__types_actions_token.getAllowance.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getAllowance.ReturnValue>) & {
2460
+ call: (args: node_modules_viem__types_actions_token.getAllowance.Args<Chain | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getAllowance.call>;
2461
+ };
2462
+ getBalance: ((parameters: node_modules_viem__types_actions_token.getBalance.Parameters<Chain | undefined, viem.Account | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getBalance.ReturnValue>) & {
2463
+ call: (args: node_modules_viem__types_actions_token.getBalance.Args<Chain | undefined, viem.Account | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getBalance.call>;
2464
+ };
2465
+ getMetadata: (parameters: node_modules_viem__types_actions_token.getMetadata.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getMetadata.ReturnValue>;
2466
+ getTotalSupply: ((parameters: node_modules_viem__types_actions_token.getTotalSupply.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getTotalSupply.ReturnValue>) & {
2467
+ call: (args: node_modules_viem__types_actions_token.getTotalSupply.Args<Chain | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getTotalSupply.call>;
2468
+ };
2469
+ };
2451
2470
  transferOwnership: (args: node_modules__account_kit_smart_contracts_dist_types_src_light_account_actions_transferOwnership.TransferLightAccountOwnershipParams<WalletClientSigner, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
2452
2471
  extend: <const client extends {
2453
2472
  [x: string]: unknown;
@@ -2462,10 +2481,11 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2462
2481
  name?: undefined;
2463
2482
  pollingInterval?: undefined;
2464
2483
  request?: undefined;
2484
+ tokens?: undefined;
2465
2485
  transport?: undefined;
2466
2486
  type?: undefined;
2467
2487
  uid?: undefined;
2468
- } & viem.ExactPartial<Pick<viem.PublicActions<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
2488
+ } & viem.ExactPartial<Pick<viem.PublicActions<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, viem.Tokens | undefined>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, viem.Tokens | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
2469
2489
  Method: "eth_sendUserOperation";
2470
2490
  Parameters: [_aa_sdk_core.UserOperationRequest, viem.Address];
2471
2491
  ReturnType: viem.Hash;
@@ -2608,6 +2628,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2608
2628
  Method: "eth_getProof";
2609
2629
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
2610
2630
  ReturnType: viem.RpcProof;
2631
+ }, {
2632
+ Method: "eth_getRawTransactionByHash";
2633
+ Parameters: [hash: viem.Hash];
2634
+ ReturnType: viem.Hex | null;
2611
2635
  }, {
2612
2636
  Method: "eth_getStorageAt";
2613
2637
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -3158,7 +3182,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3158
3182
  } | {
3159
3183
  [key: string]: unknown;
3160
3184
  }, TPrimaryType extends string = string>(args: node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
3161
- }>) => client) => viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
3185
+ }, viem.Tokens | undefined>) => client) => viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
3162
3186
  Method: "eth_sendUserOperation";
3163
3187
  Parameters: [_aa_sdk_core.UserOperationRequest, viem.Address];
3164
3188
  ReturnType: viem.Hash;
@@ -3301,6 +3325,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3301
3325
  Method: "eth_getProof";
3302
3326
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
3303
3327
  ReturnType: viem.RpcProof;
3328
+ }, {
3329
+ Method: "eth_getRawTransactionByHash";
3330
+ Parameters: [hash: viem.Hash];
3331
+ ReturnType: viem.Hex | null;
3304
3332
  }, {
3305
3333
  Method: "eth_getStorageAt";
3306
3334
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -3851,7 +3879,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3851
3879
  } | {
3852
3880
  [key: string]: unknown;
3853
3881
  }, TPrimaryType extends string = string>(args: node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
3854
- }>;
3882
+ }, viem.Tokens | undefined>;
3855
3883
  };
3856
3884
  getSponsorshipRequestId: () => string | undefined;
3857
3885
  }>;
@@ -1,4 +1,5 @@
1
1
  import * as node_modules__account_kit_smart_contracts_dist_types_src_light_account_actions_transferOwnership from 'node_modules/@account-kit/smart-contracts/dist/types/src/light-account/actions/transferOwnership';
2
+ import * as node_modules_viem__types_actions_token from 'node_modules/viem/_types/actions/token';
2
3
  import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
3
4
  import * as node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData from 'node_modules/@aa-sdk/core/dist/types/actions/smartAccount/signTypedData';
4
5
  import * as node_modules__aa_sdk_core_dist_types_actions_smartAccount_signMessage from 'node_modules/@aa-sdk/core/dist/types/actions/smartAccount/signMessage';
@@ -173,6 +174,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
173
174
  Method: "eth_getProof";
174
175
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
175
176
  ReturnType: viem.RpcProof;
177
+ }, {
178
+ Method: "eth_getRawTransactionByHash";
179
+ Parameters: [hash: viem.Hash];
180
+ ReturnType: viem.Hex | null;
176
181
  }, {
177
182
  Method: "eth_getStorageAt";
178
183
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -280,6 +285,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
280
285
  Parameters: [filterId: viem.Quantity];
281
286
  ReturnType: boolean;
282
287
  }]>;
288
+ tokens: viem.Tokens | undefined;
283
289
  transport: viem.TransportConfig<"custom", viem.EIP1193RequestFn>;
284
290
  type: string;
285
291
  uid: string;
@@ -913,6 +919,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
913
919
  estimateMaxPriorityFeePerGas: <chainOverride extends Chain | undefined = undefined>(args?: {
914
920
  chain: chainOverride | null;
915
921
  } | undefined) => Promise<viem.EstimateMaxPriorityFeePerGasReturnType>;
922
+ getRawTransaction: (args: viem.GetRawTransactionParameters) => Promise<viem.GetRawTransactionReturnType>;
916
923
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
917
924
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
918
925
  type: "legacy";
@@ -2448,6 +2455,18 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2448
2455
  watchContractEvent: <const abi extends viem.Abi | readonly unknown[], eventName extends viem.ContractEventName<abi>, strict extends boolean | undefined = undefined>(args: viem.WatchContractEventParameters<abi, eventName, strict, viem.Transport>) => viem.WatchContractEventReturnType;
2449
2456
  watchEvent: <const abiEvent extends viem.AbiEvent | undefined = undefined, const abiEvents extends readonly viem.AbiEvent[] | readonly unknown[] | undefined = abiEvent extends viem.AbiEvent ? [abiEvent] : undefined, strict extends boolean | undefined = undefined>(args: viem.WatchEventParameters<abiEvent, abiEvents, strict, viem.Transport>) => viem.WatchEventReturnType;
2450
2457
  watchPendingTransactions: (args: viem.WatchPendingTransactionsParameters<viem.Transport>) => viem.WatchPendingTransactionsReturnType;
2458
+ token: {
2459
+ getAllowance: ((parameters: node_modules_viem__types_actions_token.getAllowance.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getAllowance.ReturnValue>) & {
2460
+ call: (args: node_modules_viem__types_actions_token.getAllowance.Args<Chain | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getAllowance.call>;
2461
+ };
2462
+ getBalance: ((parameters: node_modules_viem__types_actions_token.getBalance.Parameters<Chain | undefined, viem.Account | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getBalance.ReturnValue>) & {
2463
+ call: (args: node_modules_viem__types_actions_token.getBalance.Args<Chain | undefined, viem.Account | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getBalance.call>;
2464
+ };
2465
+ getMetadata: (parameters: node_modules_viem__types_actions_token.getMetadata.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getMetadata.ReturnValue>;
2466
+ getTotalSupply: ((parameters: node_modules_viem__types_actions_token.getTotalSupply.Parameters<Chain | undefined, viem.Tokens | undefined>) => Promise<node_modules_viem__types_actions_token.getTotalSupply.ReturnValue>) & {
2467
+ call: (args: node_modules_viem__types_actions_token.getTotalSupply.Args<Chain | undefined, viem.Tokens | undefined>) => ReturnType<typeof node_modules_viem__types_actions_token.getTotalSupply.call>;
2468
+ };
2469
+ };
2451
2470
  transferOwnership: (args: node_modules__account_kit_smart_contracts_dist_types_src_light_account_actions_transferOwnership.TransferLightAccountOwnershipParams<WalletClientSigner, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
2452
2471
  extend: <const client extends {
2453
2472
  [x: string]: unknown;
@@ -2462,10 +2481,11 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2462
2481
  name?: undefined;
2463
2482
  pollingInterval?: undefined;
2464
2483
  request?: undefined;
2484
+ tokens?: undefined;
2465
2485
  transport?: undefined;
2466
2486
  type?: undefined;
2467
2487
  uid?: undefined;
2468
- } & viem.ExactPartial<Pick<viem.PublicActions<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
2488
+ } & viem.ExactPartial<Pick<viem.PublicActions<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, viem.Tokens | undefined>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, viem.Tokens | undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
2469
2489
  Method: "eth_sendUserOperation";
2470
2490
  Parameters: [_aa_sdk_core.UserOperationRequest, viem.Address];
2471
2491
  ReturnType: viem.Hash;
@@ -2608,6 +2628,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
2608
2628
  Method: "eth_getProof";
2609
2629
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
2610
2630
  ReturnType: viem.RpcProof;
2631
+ }, {
2632
+ Method: "eth_getRawTransactionByHash";
2633
+ Parameters: [hash: viem.Hash];
2634
+ ReturnType: viem.Hex | null;
2611
2635
  }, {
2612
2636
  Method: "eth_getStorageAt";
2613
2637
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -3158,7 +3182,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3158
3182
  } | {
3159
3183
  [key: string]: unknown;
3160
3184
  }, TPrimaryType extends string = string>(args: node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
3161
- }>) => client) => viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
3185
+ }, viem.Tokens | undefined>) => client) => viem.Client<viem.CustomTransport, Chain | undefined, _account_kit_smart_contracts.LightAccount<WalletClientSigner>, [{
3162
3186
  Method: "eth_sendUserOperation";
3163
3187
  Parameters: [_aa_sdk_core.UserOperationRequest, viem.Address];
3164
3188
  ReturnType: viem.Hash;
@@ -3301,6 +3325,10 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3301
3325
  Method: "eth_getProof";
3302
3326
  Parameters: [address: viem.Address, storageKeys: viem.Hash[], block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
3303
3327
  ReturnType: viem.RpcProof;
3328
+ }, {
3329
+ Method: "eth_getRawTransactionByHash";
3330
+ Parameters: [hash: viem.Hash];
3331
+ ReturnType: viem.Hex | null;
3304
3332
  }, {
3305
3333
  Method: "eth_getStorageAt";
3306
3334
  Parameters: [address: viem.Address, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
@@ -3851,7 +3879,7 @@ declare function createTrustwareSmartAccountClient(eoaAddress: `0x${string}`, ch
3851
3879
  } | {
3852
3880
  [key: string]: unknown;
3853
3881
  }, TPrimaryType extends string = string>(args: node_modules__aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.LightAccount<WalletClientSigner>>) => Promise<viem.Hex>;
3854
- }>;
3882
+ }, viem.Tokens | undefined>;
3855
3883
  };
3856
3884
  getSponsorshipRequestId: () => string | undefined;
3857
3885
  }>;
@@ -12241,7 +12241,7 @@ var init_constants = __esm({
12241
12241
  "src/constants.ts"() {
12242
12242
  "use strict";
12243
12243
  SDK_NAME = "@trustware/sdk";
12244
- SDK_VERSION = "1.1.8-staging.8";
12244
+ SDK_VERSION = "1.1.9-staging.3";
12245
12245
  API_ROOT = "https://bv-staging-api.trustware.io";
12246
12246
  API_PREFIX = "/api";
12247
12247
  }
@@ -13468,7 +13468,6 @@ function resolveConfig(input) {
13468
13468
  defaultSlippage: normalizeSlippage(
13469
13469
  input.routes.defaultSlippage ?? DEFAULT_SLIPPAGE
13470
13470
  ),
13471
- routeType: input.routes.routeType ?? "swap",
13472
13471
  options: {
13473
13472
  ...input.routes.options
13474
13473
  }