@privy-io/node 0.10.0 → 0.11.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.
Files changed (230) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/client.d.mts +38 -20
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +38 -20
  5. package/client.d.ts.map +1 -1
  6. package/client.js +31 -12
  7. package/client.js.map +1 -1
  8. package/client.mjs +32 -13
  9. package/client.mjs.map +1 -1
  10. package/index.d.mts +2 -0
  11. package/index.d.mts.map +1 -1
  12. package/index.d.ts +2 -0
  13. package/index.d.ts.map +1 -1
  14. package/index.js.map +1 -1
  15. package/index.mjs.map +1 -1
  16. package/internal/tslib.js +17 -17
  17. package/internal/utils/query.d.mts +2 -0
  18. package/internal/utils/query.d.mts.map +1 -0
  19. package/internal/utils/query.d.ts +2 -0
  20. package/internal/utils/query.d.ts.map +1 -0
  21. package/internal/utils/query.js +10 -0
  22. package/internal/utils/query.js.map +1 -0
  23. package/internal/utils/query.mjs +6 -0
  24. package/internal/utils/query.mjs.map +1 -0
  25. package/internal/utils.d.mts +1 -0
  26. package/internal/utils.d.ts +1 -0
  27. package/internal/utils.js +1 -0
  28. package/internal/utils.js.map +1 -1
  29. package/internal/utils.mjs +1 -0
  30. package/package.json +12 -1
  31. package/public-api/PrivyClient.d.mts +3 -0
  32. package/public-api/PrivyClient.d.mts.map +1 -1
  33. package/public-api/PrivyClient.d.ts +3 -0
  34. package/public-api/PrivyClient.d.ts.map +1 -1
  35. package/public-api/PrivyClient.js +5 -0
  36. package/public-api/PrivyClient.js.map +1 -1
  37. package/public-api/PrivyClient.mjs +5 -0
  38. package/public-api/PrivyClient.mjs.map +1 -1
  39. package/public-api/services/apps.d.mts +25 -0
  40. package/public-api/services/apps.d.mts.map +1 -0
  41. package/public-api/services/apps.d.ts +25 -0
  42. package/public-api/services/apps.d.ts.map +1 -0
  43. package/public-api/services/apps.js +56 -0
  44. package/public-api/services/apps.js.map +1 -0
  45. package/public-api/services/apps.mjs +52 -0
  46. package/public-api/services/apps.mjs.map +1 -0
  47. package/public-api/services/policies.d.mts +6 -2
  48. package/public-api/services/policies.d.mts.map +1 -1
  49. package/public-api/services/policies.d.ts +6 -2
  50. package/public-api/services/policies.d.ts.map +1 -1
  51. package/public-api/services/policies.js +6 -0
  52. package/public-api/services/policies.js.map +1 -1
  53. package/public-api/services/policies.mjs +6 -0
  54. package/public-api/services/policies.mjs.map +1 -1
  55. package/public-api/services/wallets.d.mts +5 -1
  56. package/public-api/services/wallets.d.mts.map +1 -1
  57. package/public-api/services/wallets.d.ts +5 -1
  58. package/public-api/services/wallets.d.ts.map +1 -1
  59. package/public-api/services/wallets.js +6 -0
  60. package/public-api/services/wallets.js.map +1 -1
  61. package/public-api/services/wallets.mjs +6 -0
  62. package/public-api/services/wallets.mjs.map +1 -1
  63. package/resources/accounts.d.mts +195 -4
  64. package/resources/accounts.d.mts.map +1 -1
  65. package/resources/accounts.d.ts +195 -4
  66. package/resources/accounts.d.ts.map +1 -1
  67. package/resources/apps/allowlist.d.mts +81 -0
  68. package/resources/apps/allowlist.d.mts.map +1 -0
  69. package/resources/apps/allowlist.d.ts +81 -0
  70. package/resources/apps/allowlist.d.ts.map +1 -0
  71. package/resources/apps/allowlist.js +56 -0
  72. package/resources/apps/allowlist.js.map +1 -0
  73. package/resources/apps/allowlist.mjs +52 -0
  74. package/resources/apps/allowlist.mjs.map +1 -0
  75. package/resources/apps/apps.d.mts +238 -0
  76. package/resources/apps/apps.d.mts.map +1 -0
  77. package/resources/apps/apps.d.ts +238 -0
  78. package/resources/apps/apps.d.ts.map +1 -0
  79. package/resources/apps/apps.js +44 -0
  80. package/resources/apps/apps.js.map +1 -0
  81. package/resources/apps/apps.mjs +39 -0
  82. package/resources/apps/apps.mjs.map +1 -0
  83. package/resources/apps/index.d.mts +3 -0
  84. package/resources/apps/index.d.mts.map +1 -0
  85. package/resources/apps/index.d.ts +3 -0
  86. package/resources/apps/index.d.ts.map +1 -0
  87. package/resources/apps/index.js +9 -0
  88. package/resources/apps/index.js.map +1 -0
  89. package/resources/apps/index.mjs +4 -0
  90. package/resources/apps/index.mjs.map +1 -0
  91. package/resources/apps.d.mts +1 -151
  92. package/resources/apps.d.mts.map +1 -1
  93. package/resources/apps.d.ts +1 -151
  94. package/resources/apps.d.ts.map +1 -1
  95. package/resources/apps.js +2 -5
  96. package/resources/apps.js.map +1 -1
  97. package/resources/apps.mjs +1 -3
  98. package/resources/apps.mjs.map +1 -1
  99. package/resources/client-auth.d.mts +144 -1
  100. package/resources/client-auth.d.mts.map +1 -1
  101. package/resources/client-auth.d.ts +144 -1
  102. package/resources/client-auth.d.ts.map +1 -1
  103. package/resources/index.d.mts +11 -10
  104. package/resources/index.d.mts.map +1 -1
  105. package/resources/index.d.ts +11 -10
  106. package/resources/index.d.ts.map +1 -1
  107. package/resources/index.js +4 -2
  108. package/resources/index.js.map +1 -1
  109. package/resources/index.mjs +3 -2
  110. package/resources/index.mjs.map +1 -1
  111. package/resources/intents.d.mts +2815 -31
  112. package/resources/intents.d.mts.map +1 -1
  113. package/resources/intents.d.ts +2815 -31
  114. package/resources/intents.d.ts.map +1 -1
  115. package/resources/intents.js +156 -0
  116. package/resources/intents.js.map +1 -1
  117. package/resources/intents.mjs +156 -0
  118. package/resources/intents.mjs.map +1 -1
  119. package/resources/key-quorums.d.mts +45 -2
  120. package/resources/key-quorums.d.mts.map +1 -1
  121. package/resources/key-quorums.d.ts +45 -2
  122. package/resources/key-quorums.d.ts.map +1 -1
  123. package/resources/key-quorums.js +18 -1
  124. package/resources/key-quorums.js.map +1 -1
  125. package/resources/key-quorums.mjs +18 -1
  126. package/resources/key-quorums.mjs.map +1 -1
  127. package/resources/kraken-embed.d.mts +62 -0
  128. package/resources/kraken-embed.d.mts.map +1 -0
  129. package/resources/kraken-embed.d.ts +62 -0
  130. package/resources/kraken-embed.d.ts.map +1 -0
  131. package/resources/kraken-embed.js +9 -0
  132. package/resources/kraken-embed.js.map +1 -0
  133. package/resources/kraken-embed.mjs +5 -0
  134. package/resources/kraken-embed.mjs.map +1 -0
  135. package/resources/policies.d.mts +63 -56
  136. package/resources/policies.d.mts.map +1 -1
  137. package/resources/policies.d.ts +63 -56
  138. package/resources/policies.d.ts.map +1 -1
  139. package/resources/policies.js +3 -0
  140. package/resources/policies.js.map +1 -1
  141. package/resources/policies.mjs +3 -0
  142. package/resources/policies.mjs.map +1 -1
  143. package/resources/transactions.d.mts +3 -0
  144. package/resources/transactions.d.mts.map +1 -1
  145. package/resources/transactions.d.ts +3 -0
  146. package/resources/transactions.d.ts.map +1 -1
  147. package/resources/transactions.js +3 -0
  148. package/resources/transactions.js.map +1 -1
  149. package/resources/transactions.mjs +3 -0
  150. package/resources/transactions.mjs.map +1 -1
  151. package/resources/users.d.mts +50 -47
  152. package/resources/users.d.mts.map +1 -1
  153. package/resources/users.d.ts +50 -47
  154. package/resources/users.d.ts.map +1 -1
  155. package/resources/users.js +3 -0
  156. package/resources/users.js.map +1 -1
  157. package/resources/users.mjs +3 -0
  158. package/resources/users.mjs.map +1 -1
  159. package/resources/wallets/balance.d.mts +7 -4
  160. package/resources/wallets/balance.d.mts.map +1 -1
  161. package/resources/wallets/balance.d.ts +7 -4
  162. package/resources/wallets/balance.d.ts.map +1 -1
  163. package/resources/wallets/balance.js +3 -0
  164. package/resources/wallets/balance.js.map +1 -1
  165. package/resources/wallets/balance.mjs +3 -0
  166. package/resources/wallets/balance.mjs.map +1 -1
  167. package/resources/wallets/index.d.mts +1 -1
  168. package/resources/wallets/index.d.mts.map +1 -1
  169. package/resources/wallets/index.d.ts +1 -1
  170. package/resources/wallets/index.d.ts.map +1 -1
  171. package/resources/wallets/index.js.map +1 -1
  172. package/resources/wallets/index.mjs.map +1 -1
  173. package/resources/wallets/transactions.d.mts +9 -6
  174. package/resources/wallets/transactions.d.mts.map +1 -1
  175. package/resources/wallets/transactions.d.ts +9 -6
  176. package/resources/wallets/transactions.d.ts.map +1 -1
  177. package/resources/wallets/transactions.js +3 -0
  178. package/resources/wallets/transactions.js.map +1 -1
  179. package/resources/wallets/transactions.mjs +3 -0
  180. package/resources/wallets/transactions.mjs.map +1 -1
  181. package/resources/wallets/wallets.d.mts +129 -72
  182. package/resources/wallets/wallets.d.mts.map +1 -1
  183. package/resources/wallets/wallets.d.ts +129 -72
  184. package/resources/wallets/wallets.d.ts.map +1 -1
  185. package/resources/wallets/wallets.js +11 -5
  186. package/resources/wallets/wallets.js.map +1 -1
  187. package/resources/wallets/wallets.mjs +11 -5
  188. package/resources/wallets/wallets.mjs.map +1 -1
  189. package/resources/webhooks.d.mts +319 -283
  190. package/resources/webhooks.d.mts.map +1 -1
  191. package/resources/webhooks.d.ts +319 -283
  192. package/resources/webhooks.d.ts.map +1 -1
  193. package/resources/webhooks.js.map +1 -1
  194. package/resources/webhooks.mjs.map +1 -1
  195. package/resources/yield.d.mts +26 -9
  196. package/resources/yield.d.mts.map +1 -1
  197. package/resources/yield.d.ts +26 -9
  198. package/resources/yield.d.ts.map +1 -1
  199. package/src/client.ts +203 -42
  200. package/src/index.ts +10 -0
  201. package/src/internal/utils/query.ts +7 -0
  202. package/src/internal/utils.ts +1 -0
  203. package/src/public-api/PrivyClient.ts +7 -0
  204. package/src/public-api/services/apps.ts +85 -0
  205. package/src/public-api/services/policies.ts +15 -1
  206. package/src/public-api/services/wallets.ts +14 -0
  207. package/src/resources/accounts.ts +233 -3
  208. package/src/resources/apps/allowlist.ts +126 -0
  209. package/src/resources/apps/apps.ts +391 -0
  210. package/src/resources/apps/index.ts +20 -0
  211. package/src/resources/apps.ts +1 -257
  212. package/src/resources/client-auth.ts +202 -0
  213. package/src/resources/index.ts +94 -21
  214. package/src/resources/intents.ts +4579 -40
  215. package/src/resources/key-quorums.ts +50 -2
  216. package/src/resources/kraken-embed.ts +85 -0
  217. package/src/resources/policies.ts +83 -76
  218. package/src/resources/transactions.ts +3 -0
  219. package/src/resources/users.ts +66 -63
  220. package/src/resources/wallets/balance.ts +9 -2
  221. package/src/resources/wallets/index.ts +4 -2
  222. package/src/resources/wallets/transactions.ts +10 -4
  223. package/src/resources/wallets/wallets.ts +175 -97
  224. package/src/resources/webhooks.ts +454 -438
  225. package/src/resources/yield.ts +39 -10
  226. package/src/version.ts +1 -1
  227. package/version.d.mts +1 -1
  228. package/version.d.ts +1 -1
  229. package/version.js +1 -1
  230. package/version.mjs +1 -1
@@ -151,10 +151,14 @@ export class Wallets extends APIResource {
151
151
  *
152
152
  * @example
153
153
  * ```ts
154
- * const response = await client.wallets._rpc('wallet_id', {
155
- * method: 'personal_sign',
156
- * params: { encoding: 'utf-8', message: 'message' },
157
- * });
154
+ * const walletRpcResponse = await client.wallets._rpc(
155
+ * 'wallet_id',
156
+ * {
157
+ * method: 'eth_sendTransaction',
158
+ * params: {},
159
+ * chain_type: 'ethereum',
160
+ * },
161
+ * );
158
162
  * ```
159
163
  */
160
164
  _rpc(walletID: string, params: WalletRpcParams, options?: RequestOptions): APIPromise<WalletRpcResponse> {
@@ -206,7 +210,9 @@ export class Wallets extends APIResource {
206
210
  *
207
211
  * @example
208
212
  * ```ts
209
- * const wallet = await client.wallets._update('wallet_id');
213
+ * const wallet = await client.wallets._update('wallet_id', {
214
+ * policy_ids: ['tb54eps4z44ed0jepousxi4n'],
215
+ * });
210
216
  * ```
211
217
  */
212
218
  _update(walletID: string, params: WalletUpdateParams, options?: RequestOptions): APIPromise<Wallet> {
@@ -270,77 +276,6 @@ export class Wallets extends APIResource {
270
276
 
271
277
  export type WalletsCursor = Cursor<Wallet>;
272
278
 
273
- /**
274
- * A wallet managed by Privy's wallet infrastructure.
275
- */
276
- export interface Wallet {
277
- /**
278
- * Unique ID of the wallet. This will be the primary identifier when using the
279
- * wallet in the future.
280
- */
281
- id: string;
282
-
283
- /**
284
- * Additional signers for the wallet.
285
- */
286
- additional_signers: Array<Wallet.AdditionalSigner>;
287
-
288
- /**
289
- * Address of the wallet.
290
- */
291
- address: string;
292
-
293
- /**
294
- * The wallet chain types.
295
- */
296
- chain_type: WalletChainType;
297
-
298
- /**
299
- * Unix timestamp of when the wallet was created in milliseconds.
300
- */
301
- created_at: number;
302
-
303
- /**
304
- * Unix timestamp of when the wallet was exported in milliseconds, if the wallet
305
- * was exported.
306
- */
307
- exported_at: number | null;
308
-
309
- /**
310
- * Unix timestamp of when the wallet was imported in milliseconds, if the wallet
311
- * was imported.
312
- */
313
- imported_at: number | null;
314
-
315
- /**
316
- * The key quorum ID of the owner of the wallet.
317
- */
318
- owner_id: string | null;
319
-
320
- /**
321
- * List of policy IDs for policies that are enforced on the wallet.
322
- */
323
- policy_ids: Array<string>;
324
-
325
- /**
326
- * The compressed, raw public key for the wallet along the chain cryptographic
327
- * curve.
328
- */
329
- public_key?: string;
330
- }
331
-
332
- export namespace Wallet {
333
- export interface AdditionalSigner {
334
- signer_id: string;
335
-
336
- /**
337
- * The array of policy IDs that will be applied to wallet requests. If specified,
338
- * this will override the base policy IDs set on the wallet.
339
- */
340
- override_policy_ids?: Array<string>;
341
- }
342
- }
343
-
344
279
  /**
345
280
  * The wallet chain types that support curve-based signing.
346
281
  */
@@ -476,12 +411,12 @@ export interface CustodialWallet {
476
411
  */
477
412
  chain_type: CustodialWalletChainType;
478
413
 
479
- owner_id: string | null;
480
-
481
414
  /**
482
- * The provider of the custodial wallet.
415
+ * Information about the custodian managing this wallet.
483
416
  */
484
- provider: CustodialWalletProvider;
417
+ custody: WalletCustodian;
418
+
419
+ owner_id: string | null;
485
420
 
486
421
  additional_signers?: Array<CustodialWallet.AdditionalSigner>;
487
422
 
@@ -526,6 +461,132 @@ export interface HpkeImportConfig {
526
461
  */
527
462
  export type SuiCommandName = 'TransferObjects' | 'SplitCoins' | 'MergeCoins';
528
463
 
464
+ /**
465
+ * A wallet managed by Privy's wallet infrastructure.
466
+ */
467
+ export interface Wallet {
468
+ /**
469
+ * Unique ID of the wallet. This will be the primary identifier when using the
470
+ * wallet in the future.
471
+ */
472
+ id: string;
473
+
474
+ /**
475
+ * Additional signers for the wallet.
476
+ */
477
+ additional_signers: Array<Wallet.AdditionalSigner>;
478
+
479
+ /**
480
+ * Address of the wallet.
481
+ */
482
+ address: string;
483
+
484
+ /**
485
+ * The wallet chain types.
486
+ */
487
+ chain_type: WalletChainType;
488
+
489
+ /**
490
+ * Unix timestamp of when the wallet was created in milliseconds.
491
+ */
492
+ created_at: number;
493
+
494
+ /**
495
+ * Unix timestamp of when the wallet was exported in milliseconds, if the wallet
496
+ * was exported.
497
+ */
498
+ exported_at: number | null;
499
+
500
+ /**
501
+ * Unix timestamp of when the wallet was imported in milliseconds, if the wallet
502
+ * was imported.
503
+ */
504
+ imported_at: number | null;
505
+
506
+ /**
507
+ * The key quorum ID of the owner of the wallet.
508
+ */
509
+ owner_id: string | null;
510
+
511
+ /**
512
+ * List of policy IDs for policies that are enforced on the wallet.
513
+ */
514
+ policy_ids: Array<string>;
515
+
516
+ /**
517
+ * The compressed, raw public key for the wallet along the chain cryptographic
518
+ * curve.
519
+ */
520
+ public_key?: string;
521
+ }
522
+
523
+ export namespace Wallet {
524
+ export interface AdditionalSigner {
525
+ signer_id: string;
526
+
527
+ /**
528
+ * The array of policy IDs that will be applied to wallet requests. If specified,
529
+ * this will override the base policy IDs set on the wallet.
530
+ */
531
+ override_policy_ids?: Array<string>;
532
+ }
533
+ }
534
+
535
+ /**
536
+ * Request body for updating a wallet.
537
+ */
538
+ export interface WalletUpdateRequestBody {
539
+ /**
540
+ * Additional signers for the wallet.
541
+ */
542
+ additional_signers?: Array<WalletUpdateRequestBody.AdditionalSigner>;
543
+
544
+ /**
545
+ * The owner of the resource. If you provide this, do not specify an owner_id as it
546
+ * will be generated automatically. When updating a wallet, you can set the owner
547
+ * to null to remove the owner.
548
+ */
549
+ owner?: WalletUpdateRequestBody.PublicKeyOwner | WalletUpdateRequestBody.UserOwner | null;
550
+
551
+ owner_id?: string | null;
552
+
553
+ /**
554
+ * New policy IDs to enforce on the wallet. Currently, only one policy is supported
555
+ * per wallet.
556
+ */
557
+ policy_ids?: Array<string>;
558
+ }
559
+
560
+ export namespace WalletUpdateRequestBody {
561
+ export interface AdditionalSigner {
562
+ signer_id: string;
563
+
564
+ /**
565
+ * The array of policy IDs that will be applied to wallet requests. If specified,
566
+ * this will override the base policy IDs set on the wallet.
567
+ */
568
+ override_policy_ids?: Array<string>;
569
+ }
570
+
571
+ /**
572
+ * The P-256 public key of the owner of the resource, in base64-encoded DER format.
573
+ * If you provide this, do not specify an owner_id as it will be generated
574
+ * automatically.
575
+ */
576
+ export interface PublicKeyOwner {
577
+ public_key: string;
578
+ }
579
+
580
+ /**
581
+ * The user ID of the owner of the resource. The user must already exist, and this
582
+ * value must start with "did:privy:". If you provide this, do not specify an
583
+ * owner_id as it will be generated automatically.
584
+ */
585
+ export interface UserOwner {
586
+ user_id: string;
587
+ }
588
+ }
589
+
529
590
  /**
530
591
  * Input for a single wallet in a batch creation request.
531
592
  */
@@ -1247,6 +1308,36 @@ export namespace SolanaSignMessageRpcResponse {
1247
1308
  }
1248
1309
  }
1249
1310
 
1311
+ /**
1312
+ * Request body for wallet RPC operations, discriminated by method.
1313
+ */
1314
+ export type WalletRpcRequestBody =
1315
+ | EthereumPersonalSignRpcInput
1316
+ | EthereumSignTypedDataRpcInput
1317
+ | EthereumSignTransactionRpcInput
1318
+ | EthereumSignUserOperationRpcInput
1319
+ | EthereumSendTransactionRpcInput
1320
+ | EthereumSign7702AuthorizationRpcInput
1321
+ | EthereumSecp256k1SignRpcInput
1322
+ | SolanaSignMessageRpcInput
1323
+ | SolanaSignTransactionRpcInput
1324
+ | SolanaSignAndSendTransactionRpcInput;
1325
+
1326
+ /**
1327
+ * Response body for wallet RPC operations, discriminated by method.
1328
+ */
1329
+ export type WalletRpcResponse =
1330
+ | EthereumPersonalSignRpcResponse
1331
+ | EthereumSignTypedDataRpcResponse
1332
+ | EthereumSignTransactionRpcResponse
1333
+ | EthereumSendTransactionRpcResponse
1334
+ | EthereumSignUserOperationRpcResponse
1335
+ | EthereumSign7702AuthorizationRpcResponse
1336
+ | EthereumSecp256k1SignRpcResponse
1337
+ | SolanaSignMessageRpcResponse
1338
+ | SolanaSignTransactionRpcResponse
1339
+ | SolanaSignAndSendTransactionRpcResponse;
1340
+
1250
1341
  export interface WalletExportResponse {
1251
1342
  /**
1252
1343
  * The encrypted private key.
@@ -1291,21 +1382,6 @@ export namespace WalletRawSignResponse {
1291
1382
  }
1292
1383
  }
1293
1384
 
1294
- /**
1295
- * Response to the EVM `personal_sign` RPC.
1296
- */
1297
- export type WalletRpcResponse =
1298
- | EthereumPersonalSignRpcResponse
1299
- | EthereumSignTypedDataRpcResponse
1300
- | EthereumSignTransactionRpcResponse
1301
- | EthereumSendTransactionRpcResponse
1302
- | EthereumSignUserOperationRpcResponse
1303
- | EthereumSign7702AuthorizationRpcResponse
1304
- | EthereumSecp256k1SignRpcResponse
1305
- | SolanaSignMessageRpcResponse
1306
- | SolanaSignTransactionRpcResponse
1307
- | SolanaSignAndSendTransactionRpcResponse;
1308
-
1309
1385
  export type WalletAuthenticateWithJwtResponse =
1310
1386
  | WalletAuthenticateWithJwtResponse.WithEncryption
1311
1387
  | WalletAuthenticateWithJwtResponse.WithoutEncryption;
@@ -2424,7 +2500,6 @@ Wallets.Balance = Balance;
2424
2500
 
2425
2501
  export declare namespace Wallets {
2426
2502
  export {
2427
- type Wallet as Wallet,
2428
2503
  type CurveSigningChainType as CurveSigningChainType,
2429
2504
  type ExtendedChainType as ExtendedChainType,
2430
2505
  type FirstClassChainType as FirstClassChainType,
@@ -2436,6 +2511,8 @@ export declare namespace Wallets {
2436
2511
  type CustodialWallet as CustodialWallet,
2437
2512
  type HpkeImportConfig as HpkeImportConfig,
2438
2513
  type SuiCommandName as SuiCommandName,
2514
+ type Wallet as Wallet,
2515
+ type WalletUpdateRequestBody as WalletUpdateRequestBody,
2439
2516
  type WalletBatchItemInput as WalletBatchItemInput,
2440
2517
  type WalletBatchCreateInput as WalletBatchCreateInput,
2441
2518
  type WalletBatchCreateResult as WalletBatchCreateResult,
@@ -2460,10 +2537,11 @@ export declare namespace Wallets {
2460
2537
  type SolanaSignTransactionRpcResponse as SolanaSignTransactionRpcResponse,
2461
2538
  type SolanaSignAndSendTransactionRpcResponse as SolanaSignAndSendTransactionRpcResponse,
2462
2539
  type SolanaSignMessageRpcResponse as SolanaSignMessageRpcResponse,
2540
+ type WalletRpcRequestBody as WalletRpcRequestBody,
2541
+ type WalletRpcResponse as WalletRpcResponse,
2463
2542
  type WalletExportResponse as WalletExportResponse,
2464
2543
  type WalletInitImportResponse as WalletInitImportResponse,
2465
2544
  type WalletRawSignResponse as WalletRawSignResponse,
2466
- type WalletRpcResponse as WalletRpcResponse,
2467
2545
  type WalletAuthenticateWithJwtResponse as WalletAuthenticateWithJwtResponse,
2468
2546
  type WalletCreateWalletsWithRecoveryResponse as WalletCreateWalletsWithRecoveryResponse,
2469
2547
  type WalletsCursor as WalletsCursor,