@rhinestone/sdk 0.0.0-dev-20260917224650 → 0.0.0-dev-20260921165705

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 (75) hide show
  1. package/README.md +11 -26
  2. package/dist/src/actions/runtime.d.ts.map +1 -1
  3. package/dist/src/api/account.d.ts +62 -91
  4. package/dist/src/api/account.d.ts.map +1 -1
  5. package/dist/src/api/account.js +47 -736
  6. package/dist/src/api/accounts.d.ts +1 -1
  7. package/dist/src/api/accounts.d.ts.map +1 -1
  8. package/dist/src/api/accounts.js +3 -121
  9. package/dist/src/api/compose-types.d.ts +0 -9
  10. package/dist/src/api/compose-types.d.ts.map +1 -1
  11. package/dist/src/api/compose.d.ts.map +1 -1
  12. package/dist/src/api/compose.js +5 -50
  13. package/dist/src/api/sdk.d.ts +2 -2
  14. package/dist/src/api/sdk.d.ts.map +1 -1
  15. package/dist/src/api/sdk.js +1 -1
  16. package/dist/src/chains/caip2.d.ts.map +1 -1
  17. package/dist/src/chains/caip2.js +0 -5
  18. package/dist/src/chains/non-evm.d.ts +12 -132
  19. package/dist/src/chains/non-evm.d.ts.map +1 -1
  20. package/dist/src/chains/non-evm.js +1 -30
  21. package/dist/src/clients/orchestrator/auth.d.ts +1 -1
  22. package/dist/src/clients/orchestrator/auth.d.ts.map +1 -1
  23. package/dist/src/clients/orchestrator/auth.js +2 -2
  24. package/dist/src/clients/orchestrator/client.js +6 -6
  25. package/dist/src/clients/orchestrator/errors.d.ts +2 -22
  26. package/dist/src/clients/orchestrator/errors.d.ts.map +1 -1
  27. package/dist/src/clients/orchestrator/errors.js +6 -61
  28. package/dist/src/clients/orchestrator/mappers.d.ts +0 -2
  29. package/dist/src/clients/orchestrator/mappers.d.ts.map +1 -1
  30. package/dist/src/clients/orchestrator/mappers.js +2 -87
  31. package/dist/src/clients/orchestrator/port.d.ts +3 -3
  32. package/dist/src/clients/orchestrator/port.d.ts.map +1 -1
  33. package/dist/src/clients/orchestrator/public.d.ts +7 -55
  34. package/dist/src/clients/orchestrator/public.d.ts.map +1 -1
  35. package/dist/src/clients/orchestrator/types.d.ts +5 -23
  36. package/dist/src/clients/orchestrator/types.d.ts.map +1 -1
  37. package/dist/src/clients/orchestrator/wire.d.ts +19 -1
  38. package/dist/src/clients/orchestrator/wire.d.ts.map +1 -1
  39. package/dist/src/config/account.d.ts +13 -216
  40. package/dist/src/config/account.d.ts.map +1 -1
  41. package/dist/src/errors/execution.d.ts +1 -11
  42. package/dist/src/errors/execution.d.ts.map +1 -1
  43. package/dist/src/errors/execution.js +1 -27
  44. package/dist/src/errors/index.d.ts +3 -4
  45. package/dist/src/errors/index.d.ts.map +1 -1
  46. package/dist/src/errors/index.js +4 -7
  47. package/dist/src/hypercore/market.d.ts +1 -1
  48. package/dist/src/hypercore/market.js +1 -1
  49. package/dist/src/index.d.ts +7 -7
  50. package/dist/src/index.d.ts.map +1 -1
  51. package/dist/src/index.js +2 -2
  52. package/dist/src/transactions/intents/normalize.d.ts.map +1 -1
  53. package/dist/src/transactions/intents/normalize.js +2 -9
  54. package/dist/src/transactions/intents/prepare.d.ts.map +1 -1
  55. package/dist/src/transactions/intents/prepare.js +6 -11
  56. package/dist/src/transactions/intents/submit.d.ts.map +1 -1
  57. package/dist/src/transactions/intents/submit.js +0 -4
  58. package/dist/src/transactions/intents/types.d.ts +3 -61
  59. package/dist/src/transactions/intents/types.d.ts.map +1 -1
  60. package/dist/src/utils/index.d.ts +9 -9
  61. package/dist/src/utils/index.d.ts.map +1 -1
  62. package/dist/src/utils/index.js +6 -6
  63. package/package.json +13 -8
  64. package/dist/src/accounts/solana/address.d.ts +0 -28
  65. package/dist/src/accounts/solana/address.d.ts.map +0 -1
  66. package/dist/src/accounts/solana/address.js +0 -105
  67. package/dist/src/errors/capability.d.ts +0 -23
  68. package/dist/src/errors/capability.d.ts.map +0 -1
  69. package/dist/src/errors/capability.js +0 -41
  70. package/dist/src/transactions/intents/solana-instructions.d.ts +0 -14
  71. package/dist/src/transactions/intents/solana-instructions.d.ts.map +0 -1
  72. package/dist/src/transactions/intents/solana-instructions.js +0 -114
  73. package/dist/src/transactions/intents/solana.d.ts +0 -89
  74. package/dist/src/transactions/intents/solana.d.ts.map +0 -1
  75. package/dist/src/transactions/intents/solana.js +0 -305
package/README.md CHANGED
@@ -1,25 +1,28 @@
1
1
  # Rhinestone SDK
2
2
 
3
- > End-to-end chain abstraction and modularity toolkit
3
+ > Smart wallets and multichain transactions for your application
4
4
 
5
- Rhinestone is a vertically integrated smart wallet and crosschain liquidity platform. The SDK provides a unified interface for deploying and managing self-custodial smart accounts, powered by an intent-based transaction infrastructure that enables seamless crosschain execution without bridging or gas tokens.
5
+ Rhinestone is self-custodial stablecoin infrastructure for fintechs. Give users an account they control, help them fund it, and move value across chains, tokens, and currencies through one integration. This SDK covers two of its products:
6
6
 
7
- The platform combines modular [smart account tooling](https://docs.rhinestone.dev/smart-wallet/core/create-account) with an intent engine ([Warp](https://docs.rhinestone.dev/home/introduction/rhinestone-intents)) that aggregates settlement layers through a unified relayer market. This handles routing, token liquidity, and crosschain orchestration across all [supported chains](https://docs.rhinestone.dev/home/resources/supported-chains).
7
+ - **Wallets** — smart wallets inside your application, approved with a passkey, with session keys and recovery.
8
+ - **Transactions** — payments, swaps, and contract calls funded from any [supported chain](https://docs.rhinestone.dev/home/resources/supported-chains), with fees you can sponsor.
9
+
10
+ Deposits have their own integration: see the [docs](https://docs.rhinestone.dev/deposits/overview).
8
11
 
9
12
  [Documentation](https://docs.rhinestone.dev)
10
13
 
11
14
  ## Features
12
15
 
13
16
 
14
- - **Crosschain Transactions** - Execute transactions on any target chain using assets from any source chain. The orchestrator handles routing and settlement. [Learn more](https://docs.rhinestone.dev/smart-wallet/chain-abstraction/multi-chain-intent)
17
+ - **Multichain Transactions** - Execute transactions on any target chain using assets from any source chain. The orchestrator handles routing and settlement. [Learn more](https://docs.rhinestone.dev/smart-wallet/chain-abstraction/multi-chain-intent)
15
18
 
16
19
  - **Swaps** - Token exchanges via solver-based swaps or injected DEX aggregator swaps, integrated into crosschain transaction execution. [Learn more](https://docs.rhinestone.dev/smart-wallet/chain-abstraction/swaps)
17
20
 
18
21
  - **Passkeys** - WebAuthn-based authentication for smart accounts, replacing seed phrases with device biometrics. [Learn more](https://docs.rhinestone.dev/smart-wallet/core/passkeys)
19
22
 
20
- - **Smart Sessions** - Onchain permissions system for scoped transaction automation, enabling one-click UX and server-side execution with granular policies. [Learn more](https://docs.rhinestone.dev/smart-wallet/smart-sessions/overview)
23
+ - **Session Keys** - Onchain permissions system for scoped transaction automation, enabling one-click UX and server-side execution with granular policies. [Learn more](https://docs.rhinestone.dev/smart-wallet/smart-sessions/overview)
21
24
 
22
- - **Gas Sponsorship** - Subsidize gas, bridge, and swap fees for users by depositing USDC on Base. Applies across all supported chains. [Learn more](https://docs.rhinestone.dev/smart-wallet/gas-sponsorship/overview)
25
+ - **Sponsorship** - Subsidize gas, bridge, and swap fees for users by depositing USDC on Base. Applies across all supported chains. [Learn more](https://docs.rhinestone.dev/smart-wallet/gas-sponsorship/overview)
23
26
 
24
27
  ## Installation
25
28
 
@@ -127,32 +130,14 @@ Create a smart account:
127
130
  import { RhinestoneSDK } from '@rhinestone/sdk'
128
131
 
129
132
  const rhinestone = new RhinestoneSDK({ apiKey: 'your-api-key' })
130
- const evmConfig = {
133
+ const account = await rhinestone.createAccount({
131
134
  owners: {
132
- type: 'ecdsa' as const,
135
+ type: 'ecdsa',
133
136
  accounts: [signer],
134
137
  },
135
- }
136
- const account = await rhinestone.createAccount({ evm: evmConfig })
137
-
138
- const address = account.getAddress('evm')
139
- ```
140
-
141
- Add an address-only Solana destination when you need to receive tokens there:
142
-
143
- ```ts
144
- import { solanaAddress } from '@rhinestone/sdk'
145
-
146
- const crossVmAccount = await rhinestone.createAccount({
147
- evm: evmConfig,
148
- solana: { address: solanaAddress(existingSolanaAddress) },
149
138
  })
150
139
  ```
151
140
 
152
- Address-only entries cannot prepare, sign, or execute transactions. Managed
153
- Solana configuration is reserved for a future release and currently fails during
154
- account construction; Solana destinations are token-delivery only.
155
-
156
141
  Send a crosschain transaction:
157
142
 
158
143
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../actions/runtime.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,OAAO,EACR,MAAM,mBAAmB,CAAA;AAU1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AA4EtD,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,KAAK,MAAM,EAAE,EACtB,SAAS,EAAE,KAAK,MAAM,EAAE,GACvB,OAAO,CAAC;IAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,KAAK,MAAM,EAAE,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAW3E;AAED,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,KAAK,MAAM,EAAE,EACtB,SAAS,EAAE,KAAK,MAAM,EAAE,GACvB,OAAO,CAAC,MAAM,CAAC,CAWjB;AAED,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,aAAa,EAAE,CAAC,CA4C1B;AAED,wBAAsB,yBAAyB,CAC7C,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,aAAa,EAAE,CAAC,CAM1B;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,cAAc,GACrB,OAAO,CAAC,aAAa,EAAE,CAAC,CA2B1B;AAED,wBAAsB,qBAAqB,CAAC,KAAK,EAAE;IACjD,QAAQ,CAAC,OAAO,EAAE,kBAAkB,CAAA;IACpC,QAAQ,CAAC,OAAO,EAAE,KAAK,MAAM,E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,CAAC,OAAO,EAAE,KAAK,MAAM,EAAE,CAAA;IAC/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAA;CACxB,GAAG,OAAO,CAAC,aAAa,CAAC,CAwBzB"}
@@ -1,8 +1,8 @@
1
1
  import type { Address, Chain, HashTypedDataParameters, Hex, SignableMessage, SignedAuthorizationList, TypedData, TypedDataDefinition } from 'viem';
2
2
  import type { UserOperationReceipt } from 'viem/account-abstraction';
3
- import { type DestinationChain, type SolanaAddress } from '../chains/non-evm.js';
4
- import type { HyperCoreAction, OriginSignature, OriginSignData, Portfolio, SignData } from '../clients/orchestrator/public.js';
5
- import type { AccountTransaction, EvmAccountConfig, RhinestoneAccountConfig, Session, SignerSet, SolanaManagedAccountConfig, Transaction, UserOperationTransaction } from '../config/account.js';
3
+ import type { DestinationChain } from '../chains/non-evm.js';
4
+ import type { HyperCoreAction, OriginSignature, Portfolio, SignData } from '../clients/orchestrator/public.js';
5
+ import type { RhinestoneAccountConfig, Session, SignerSet, Transaction, UserOperationTransaction } from '../config/account.js';
6
6
  import type { LegacyAccountConfig } from '../config/legacy.js';
7
7
  import type { AccountInvocationContext } from '../config/resolved.js';
8
8
  import type { SessionDetails } from '../modules/validators/smart-sessions/types.js';
@@ -25,39 +25,56 @@ export interface SignedIntentData {
25
25
  targetExecutionSignature: Hex | undefined;
26
26
  }
27
27
  type Compat = LegacyAccountConfig<unknown>;
28
- type AccountVm = 'evm' | 'solana';
29
- type DefaultAccountConfig = Readonly<{
30
- evm: EvmAccountConfig;
31
- }>;
32
- type ConfiguredVm<C> = Extract<keyof C, AccountVm>;
33
- type NativeAddress<Vm extends AccountVm> = Vm extends 'evm' ? Address : SolanaAddress;
34
- type RequiredBranch<C, Vm extends AccountVm> = [C] extends [
35
- Readonly<Record<Vm, infer Branch>>
36
- ] ? Branch : never;
37
- type HasManagedEvm<C> = [RequiredBranch<C, 'evm'>] extends [never] ? false : [RequiredBranch<C, 'evm'>] extends [EvmAccountConfig] ? true : false;
38
- type HasManagedSolana<C> = [RequiredBranch<C, 'solana'>] extends [never] ? false : [RequiredBranch<C, 'solana'>] extends [SolanaManagedAccountConfig] ? true : false;
39
- /** Address access shared by every account handle. */
40
- export interface RhinestoneAccountBase<C extends RhinestoneAccountConfig = DefaultAccountConfig> {
41
- /** Captured composite configuration. VM membership is shallowly immutable. */
42
- config: Readonly<C>;
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;
43
36
  /**
44
- * Get the native address for a configured VM.
45
- * @param vm Configured VM to read
46
- * @returns The account or receiver address in that VM's native format
47
- * @throws AccountVmNotConfiguredError when a widened input names an absent VM
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
48
41
  */
49
- getAddress<const Vm extends ConfiguredVm<C>>(vm: Vm): C extends Readonly<Record<Vm, unknown>> ? NativeAddress<Vm> : NativeAddress<Vm> | undefined;
50
- }
51
- /** Intent transaction lifecycle exposed by accounts with a managed source. */
52
- export interface ManagedTransactionAccount<_C extends RhinestoneAccountConfig = DefaultAccountConfig> {
42
+ deploy(chain: Chain, params?: {
43
+ sponsored?: boolean;
44
+ }): Promise<boolean>;
53
45
  /**
54
- * Prepare an intent transaction for signing.
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.
55
72
  * @param transaction Transaction to prepare
56
73
  * @returns The prepared transaction data
57
74
  * @see {@link signTransaction} to sign the prepared transaction
58
75
  * @see {@link submitTransaction} to submit the signed transaction
59
76
  */
60
- prepareTransaction(transaction: AccountTransaction<_C>): Promise<PreparedTransactionData>;
77
+ prepareTransaction(transaction: Transaction): Promise<PreparedTransactionData>;
61
78
  /**
62
79
  * Get the typed-data messages to sign for a prepared transaction.
63
80
  * @param preparedTransaction Prepared transaction data
@@ -66,8 +83,8 @@ export interface ManagedTransactionAccount<_C extends RhinestoneAccountConfig =
66
83
  * @see {@link prepareTransaction} to prepare the transaction data for signing
67
84
  */
68
85
  getTransactionMessages(preparedTransaction: PreparedTransactionData, options?: QuoteSelection): {
69
- origin: OriginSignData[];
70
- destination?: TypedDataDefinition;
86
+ origin: TypedDataDefinition[];
87
+ destination: TypedDataDefinition;
71
88
  targetExecution?: TypedDataDefinition;
72
89
  };
73
90
  /**
@@ -109,57 +126,6 @@ export interface ManagedTransactionAccount<_C extends RhinestoneAccountConfig =
109
126
  * @see {@link prepareTransaction} to prepare the transaction data for signing
110
127
  */
111
128
  signAuthorizations(preparedTransaction: PreparedTransactionData): Promise<SignedAuthorizationList>;
112
- /**
113
- * Submit a signed transaction.
114
- * @param signedTransaction Signed transaction data
115
- * @param options Optional submission options (e.g. EIP-7702 `authorizations`)
116
- * @returns The transaction result (an intent ID)
117
- * @see {@link signTransaction} to sign the transaction data
118
- * @see {@link signAuthorizations} to sign the required EIP-7702 authorizations
119
- * @see {@link waitForExecution} to wait for the transaction to execute onchain
120
- */
121
- submitTransaction(signedTransaction: SignedTransactionData, options?: SubmitTransactionOptions): Promise<TransactionResult>;
122
- /** Wait for a submitted intent to reach a terminal state. */
123
- waitForExecution(result: TransactionResult): Promise<TransactionStatus>;
124
- }
125
- /** Full EVM management, signing, UserOperation and account-read capabilities. */
126
- export interface ManagedEvmAccount<C extends RhinestoneAccountConfig = DefaultAccountConfig> extends ManagedTransactionAccount<C> {
127
- /** The captured composite account configuration. */
128
- config: Readonly<C>;
129
- /**
130
- * Deploy the account on a given chain.
131
- * @param chain Chain to deploy the account on
132
- * @param params Optional deployment parameters (sponsorship)
133
- * @returns `true` once the deployment is submitted
134
- */
135
- deploy(chain: Chain, params?: {
136
- sponsored?: boolean;
137
- }): Promise<boolean>;
138
- /**
139
- * Check whether the account is deployed on a given chain.
140
- * @param chain Chain to check
141
- * @returns `true` if the account is deployed, `false` otherwise
142
- */
143
- isDeployed(chain: Chain): Promise<boolean>;
144
- /**
145
- * Set up an existing account on a given chain by installing any missing modules.
146
- * @param chain Chain to set the account up on
147
- * @returns `true` once setup is submitted
148
- */
149
- setup(chain: Chain): Promise<boolean>;
150
- /**
151
- * Get the account initialization data, used to deploy the account onchain.
152
- * @returns The factory address and factory data
153
- */
154
- getInitData(): {
155
- factory: Address;
156
- factoryData: Hex;
157
- };
158
- /**
159
- * Prepare and sign the EIP-7702 account initialization data.
160
- * @returns The init data signature
161
- */
162
- signEip7702InitData(): Promise<Hex>;
163
129
  /**
164
130
  * Sign a message (EIP-191).
165
131
  * @param message Message to sign
@@ -189,6 +155,16 @@ export interface ManagedEvmAccount<C extends RhinestoneAccountConfig = DefaultAc
189
155
  * @see {@link signTransaction} for the canonical signing path
190
156
  */
191
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>;
192
168
  /**
193
169
  * Prepare a user operation for signing.
194
170
  * @param transaction User operation to prepare
@@ -236,12 +212,10 @@ export interface ManagedEvmAccount<C extends RhinestoneAccountConfig = DefaultAc
236
212
  waitForExecution(result: TransactionResult): Promise<TransactionStatus>;
237
213
  waitForExecution(result: UserOperationResult): Promise<UserOperationReceipt>;
238
214
  /**
239
- * Get the native address for a configured VM.
240
- * @param vm Configured VM to read
241
- * @returns The account or receiver address in that VM's native format
242
- * @throws AccountVmNotConfiguredError when a widened input names an absent VM
215
+ * Get the account address.
216
+ * @returns The smart account address
243
217
  */
244
- getAddress<const Vm extends ConfiguredVm<C>>(vm: Vm): C extends Readonly<Record<Vm, unknown>> ? NativeAddress<Vm> : NativeAddress<Vm> | undefined;
218
+ getAddress(): Address;
245
219
  /**
246
220
  * Get the account portfolio (token balances across chains).
247
221
  * @param onTestnets Whether to query testnet balances (default is `false`)
@@ -289,11 +263,8 @@ export interface ManagedEvmAccount<C extends RhinestoneAccountConfig = DefaultAc
289
263
  */
290
264
  getExecutors(chain: Chain): Promise<Address[]>;
291
265
  }
292
- /** Account handle whose methods reflect the definitely configured capabilities. */
293
- export type RhinestoneAccount<C extends RhinestoneAccountConfig = DefaultAccountConfig> = RhinestoneAccountBase<C> & (HasManagedEvm<C> extends true ? ManagedEvmAccount<C> : HasManagedSolana<C> extends true ? ManagedTransactionAccount<C> : Readonly<Record<never, never>>);
294
- export declare function createAccountFacade<C extends RhinestoneAccountConfig>(compatibilityConfig: LegacyAccountConfig<unknown>, publicConfig: Readonly<C>, composition: CoreComposition<LegacyAccountConfig<unknown>>): ManagedEvmAccount<C>;
295
- export declare function normalizeTransaction(transaction: Transaction, config: Readonly<RhinestoneAccountConfig>): Transaction;
296
- export declare function adaptTransaction(context: AccountInvocationContext<Compat>, transaction: Transaction, hyperCoreAction?: HyperCoreAction, automaticSourceChainIds?: readonly number[]): IntentInput;
266
+ export declare function createAccountFacade(compatibilityConfig: LegacyAccountConfig<unknown>, composition: CoreComposition<LegacyAccountConfig<unknown>>): RhinestoneAccount;
267
+ export declare function adaptTransaction(context: AccountInvocationContext<Compat>, transaction: Transaction, hyperCoreAction?: HyperCoreAction): IntentInput;
297
268
  export declare function authorizationChains(input: IntentInput): readonly IntentInput['destination'][];
298
269
  export {};
299
270
  //# sourceMappingURL=account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../api/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,OAAO,EACP,KAAK,EACL,uBAAuB,EACvB,GAAG,EACH,eAAe,EACf,uBAAuB,EACvB,SAAS,EACT,mBAAmB,EACpB,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAA;AAIpE,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAInB,MAAM,mBAAmB,CAAA;AAE1B,OAAO,KAAK,EAEV,eAAe,EACf,eAAe,EACf,cAAc,EACd,SAAS,EAET,QAAQ,EACT,MAAM,gCAAgC,CAAA;AAMvC,OAAO,KAAK,EACV,kBAAkB,EAGlB,gBAAgB,EAChB,uBAAuB,EAEvB,OAAO,EACP,SAAS,EACT,0BAA0B,EAK1B,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;AAiBlE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAA;AAChF,OAAO,KAAK,EACV,cAAc,EAEd,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AAkBzB,OAAO,KAAK,E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