@privy-io/node 0.10.1 → 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.
- package/CHANGELOG.md +50 -0
- package/client.d.mts +37 -19
- package/client.d.mts.map +1 -1
- package/client.d.ts +37 -19
- package/client.d.ts.map +1 -1
- package/client.js +29 -10
- package/client.js.map +1 -1
- package/client.mjs +30 -11
- package/client.mjs.map +1 -1
- package/index.d.mts +2 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.mjs.map +1 -1
- package/package.json +12 -1
- package/public-api/PrivyClient.d.mts +3 -0
- package/public-api/PrivyClient.d.mts.map +1 -1
- package/public-api/PrivyClient.d.ts +3 -0
- package/public-api/PrivyClient.d.ts.map +1 -1
- package/public-api/PrivyClient.js +5 -0
- package/public-api/PrivyClient.js.map +1 -1
- package/public-api/PrivyClient.mjs +5 -0
- package/public-api/PrivyClient.mjs.map +1 -1
- package/public-api/services/apps.d.mts +25 -0
- package/public-api/services/apps.d.mts.map +1 -0
- package/public-api/services/apps.d.ts +25 -0
- package/public-api/services/apps.d.ts.map +1 -0
- package/public-api/services/apps.js +56 -0
- package/public-api/services/apps.js.map +1 -0
- package/public-api/services/apps.mjs +52 -0
- package/public-api/services/apps.mjs.map +1 -0
- package/public-api/services/policies.d.mts +6 -2
- package/public-api/services/policies.d.mts.map +1 -1
- package/public-api/services/policies.d.ts +6 -2
- package/public-api/services/policies.d.ts.map +1 -1
- package/public-api/services/policies.js +6 -0
- package/public-api/services/policies.js.map +1 -1
- package/public-api/services/policies.mjs +6 -0
- package/public-api/services/policies.mjs.map +1 -1
- package/public-api/services/wallets.d.mts +5 -1
- package/public-api/services/wallets.d.mts.map +1 -1
- package/public-api/services/wallets.d.ts +5 -1
- package/public-api/services/wallets.d.ts.map +1 -1
- package/public-api/services/wallets.js +6 -0
- package/public-api/services/wallets.js.map +1 -1
- package/public-api/services/wallets.mjs +6 -0
- package/public-api/services/wallets.mjs.map +1 -1
- package/resources/accounts.d.mts +182 -4
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +182 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/apps/allowlist.d.mts +81 -0
- package/resources/apps/allowlist.d.mts.map +1 -0
- package/resources/apps/allowlist.d.ts +81 -0
- package/resources/apps/allowlist.d.ts.map +1 -0
- package/resources/apps/allowlist.js +56 -0
- package/resources/apps/allowlist.js.map +1 -0
- package/resources/apps/allowlist.mjs +52 -0
- package/resources/apps/allowlist.mjs.map +1 -0
- package/resources/apps/apps.d.mts +238 -0
- package/resources/apps/apps.d.mts.map +1 -0
- package/resources/apps/apps.d.ts +238 -0
- package/resources/apps/apps.d.ts.map +1 -0
- package/resources/apps/apps.js +44 -0
- package/resources/apps/apps.js.map +1 -0
- package/resources/apps/apps.mjs +39 -0
- package/resources/apps/apps.mjs.map +1 -0
- package/resources/apps/index.d.mts +3 -0
- package/resources/apps/index.d.mts.map +1 -0
- package/resources/apps/index.d.ts +3 -0
- package/resources/apps/index.d.ts.map +1 -0
- package/resources/apps/index.js +9 -0
- package/resources/apps/index.js.map +1 -0
- package/resources/apps/index.mjs +4 -0
- package/resources/apps/index.mjs.map +1 -0
- package/resources/apps.d.mts +1 -151
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +1 -151
- package/resources/apps.d.ts.map +1 -1
- package/resources/apps.js +2 -5
- package/resources/apps.js.map +1 -1
- package/resources/apps.mjs +1 -3
- package/resources/apps.mjs.map +1 -1
- package/resources/client-auth.d.mts +144 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +144 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +11 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -10
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -2
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +2815 -31
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +2815 -31
- package/resources/intents.d.ts.map +1 -1
- package/resources/intents.js +156 -0
- package/resources/intents.js.map +1 -1
- package/resources/intents.mjs +156 -0
- package/resources/intents.mjs.map +1 -1
- package/resources/key-quorums.d.mts +45 -2
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +45 -2
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +18 -1
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +18 -1
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/kraken-embed.d.mts +62 -0
- package/resources/kraken-embed.d.mts.map +1 -0
- package/resources/kraken-embed.d.ts +62 -0
- package/resources/kraken-embed.d.ts.map +1 -0
- package/resources/kraken-embed.js +9 -0
- package/resources/kraken-embed.js.map +1 -0
- package/resources/kraken-embed.mjs +5 -0
- package/resources/kraken-embed.mjs.map +1 -0
- package/resources/policies.d.mts +63 -56
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +63 -56
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +3 -0
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +3 -0
- package/resources/policies.mjs.map +1 -1
- package/resources/transactions.d.mts +3 -0
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +3 -0
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +3 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +3 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +50 -47
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +50 -47
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/wallets/balance.d.mts +7 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +7 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/balance.js +3 -0
- package/resources/wallets/balance.js.map +1 -1
- package/resources/wallets/balance.mjs +3 -0
- package/resources/wallets/balance.mjs.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +9 -6
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +9 -6
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +3 -0
- package/resources/wallets/transactions.js.map +1 -1
- package/resources/wallets/transactions.mjs +3 -0
- package/resources/wallets/transactions.mjs.map +1 -1
- package/resources/wallets/wallets.d.mts +126 -69
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +126 -69
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +11 -5
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +11 -5
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +319 -283
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +319 -283
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/yield.d.mts +26 -9
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +26 -9
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +196 -37
- package/src/index.ts +10 -0
- package/src/public-api/PrivyClient.ts +7 -0
- package/src/public-api/services/apps.ts +85 -0
- package/src/public-api/services/policies.ts +15 -1
- package/src/public-api/services/wallets.ts +14 -0
- package/src/resources/accounts.ts +217 -3
- package/src/resources/apps/allowlist.ts +126 -0
- package/src/resources/apps/apps.ts +391 -0
- package/src/resources/apps/index.ts +20 -0
- package/src/resources/apps.ts +1 -257
- package/src/resources/client-auth.ts +202 -0
- package/src/resources/index.ts +93 -21
- package/src/resources/intents.ts +4579 -40
- package/src/resources/key-quorums.ts +50 -2
- package/src/resources/kraken-embed.ts +85 -0
- package/src/resources/policies.ts +83 -76
- package/src/resources/transactions.ts +3 -0
- package/src/resources/users.ts +66 -63
- package/src/resources/wallets/balance.ts +9 -2
- package/src/resources/wallets/index.ts +4 -2
- package/src/resources/wallets/transactions.ts +10 -4
- package/src/resources/wallets/wallets.ts +171 -93
- package/src/resources/webhooks.ts +454 -438
- package/src/resources/yield.ts +39 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -151,10 +151,14 @@ export class Wallets extends APIResource {
|
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* ```ts
|
|
154
|
-
* const
|
|
155
|
-
*
|
|
156
|
-
*
|
|
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
|
*/
|
|
@@ -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,
|