@privy-io/api-types 0.11.0 → 0.13.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 (92) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/client.d.mts +4 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +4 -4
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs +1 -1
  8. package/client.mjs.map +1 -1
  9. package/internal/utils/log.d.mts.map +1 -1
  10. package/internal/utils/log.d.ts.map +1 -1
  11. package/internal/utils/log.js +2 -0
  12. package/internal/utils/log.js.map +1 -1
  13. package/internal/utils/log.mjs +2 -0
  14. package/internal/utils/log.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/apps.d.mts +14 -3
  17. package/resources/apps.d.mts.map +1 -1
  18. package/resources/apps.d.ts +14 -3
  19. package/resources/apps.d.ts.map +1 -1
  20. package/resources/client-auth.d.mts +1 -1
  21. package/resources/client-auth.d.mts.map +1 -1
  22. package/resources/client-auth.d.ts +1 -1
  23. package/resources/client-auth.d.ts.map +1 -1
  24. package/resources/cross-app.d.mts +5 -0
  25. package/resources/cross-app.d.mts.map +1 -1
  26. package/resources/cross-app.d.ts +5 -0
  27. package/resources/cross-app.d.ts.map +1 -1
  28. package/resources/embedded-wallets.d.mts +1 -1
  29. package/resources/embedded-wallets.d.mts.map +1 -1
  30. package/resources/embedded-wallets.d.ts +1 -1
  31. package/resources/embedded-wallets.d.ts.map +1 -1
  32. package/resources/index.d.mts +2 -2
  33. package/resources/index.d.mts.map +1 -1
  34. package/resources/index.d.ts +2 -2
  35. package/resources/index.d.ts.map +1 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +1 -1
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/intents.d.mts +2 -1
  40. package/resources/intents.d.mts.map +1 -1
  41. package/resources/intents.d.ts +2 -1
  42. package/resources/intents.d.ts.map +1 -1
  43. package/resources/key-quorums.d.mts +10 -5
  44. package/resources/key-quorums.d.mts.map +1 -1
  45. package/resources/key-quorums.d.ts +10 -5
  46. package/resources/key-quorums.d.ts.map +1 -1
  47. package/resources/policies.d.mts +5 -3
  48. package/resources/policies.d.mts.map +1 -1
  49. package/resources/policies.d.ts +5 -3
  50. package/resources/policies.d.ts.map +1 -1
  51. package/resources/swaps.d.mts +54 -26
  52. package/resources/swaps.d.mts.map +1 -1
  53. package/resources/swaps.d.ts +54 -26
  54. package/resources/swaps.d.ts.map +1 -1
  55. package/resources/wallet-actions.d.mts +22 -3
  56. package/resources/wallet-actions.d.mts.map +1 -1
  57. package/resources/wallet-actions.d.ts +22 -3
  58. package/resources/wallet-actions.d.ts.map +1 -1
  59. package/resources/wallets/balance.d.mts +14 -1
  60. package/resources/wallets/balance.d.mts.map +1 -1
  61. package/resources/wallets/balance.d.ts +14 -1
  62. package/resources/wallets/balance.d.ts.map +1 -1
  63. package/resources/wallets/transactions.d.mts +6 -2
  64. package/resources/wallets/transactions.d.mts.map +1 -1
  65. package/resources/wallets/transactions.d.ts +6 -2
  66. package/resources/wallets/transactions.d.ts.map +1 -1
  67. package/resources/wallets/wallets.d.mts +62 -28
  68. package/resources/wallets/wallets.d.mts.map +1 -1
  69. package/resources/wallets/wallets.d.ts +62 -28
  70. package/resources/wallets/wallets.d.ts.map +1 -1
  71. package/resources/wallets/wallets.js.map +1 -1
  72. package/resources/wallets/wallets.mjs.map +1 -1
  73. package/src/client.ts +16 -1
  74. package/src/internal/utils/log.ts +2 -0
  75. package/src/resources/apps.ts +16 -3
  76. package/src/resources/client-auth.ts +2 -1
  77. package/src/resources/cross-app.ts +6 -0
  78. package/src/resources/embedded-wallets.ts +2 -1
  79. package/src/resources/index.ts +11 -1
  80. package/src/resources/intents.ts +2 -1
  81. package/src/resources/key-quorums.ts +10 -5
  82. package/src/resources/policies.ts +4 -4
  83. package/src/resources/swaps.ts +59 -25
  84. package/src/resources/wallet-actions.ts +38 -2
  85. package/src/resources/wallets/balance.ts +14 -1
  86. package/src/resources/wallets/transactions.ts +6 -2
  87. package/src/resources/wallets/wallets.ts +65 -28
  88. package/src/version.ts +1 -1
  89. package/version.d.mts +1 -1
  90. package/version.d.ts +1 -1
  91. package/version.js +1 -1
  92. package/version.mjs +1 -1
@@ -6,28 +6,55 @@ import * as WalletsAPI from './wallets/wallets';
6
6
  export class Swaps extends APIResource {}
7
7
 
8
8
  /**
9
- * Input for requesting a token swap quote.
9
+ * The output side of a swap execution request.
10
10
  */
11
- export interface SwapQuoteRequestBody {
11
+ export interface SwapDestination {
12
12
  /**
13
- * Amount in base units (e.g., wei for ETH).
13
+ * Token contract address to buy, or "native" for the chain's native token.
14
14
  */
15
- amount: string;
15
+ asset_address: string;
16
16
 
17
17
  /**
18
- * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
18
+ * CAIP-2 chain identifier for the destination. Must match source chain —
19
+ * cross-chain swaps are not yet supported. Defaults to source chain if omitted.
19
20
  */
20
- caip2: string;
21
+ caip2?: string;
22
+ }
21
23
 
24
+ /**
25
+ * The output side of a swap quote request.
26
+ */
27
+ export interface SwapQuoteDestination {
22
28
  /**
23
- * Token address to sell, or "native" for the chain's native token.
29
+ * Token contract address to buy, or "native" for the chain's native token.
24
30
  */
25
- input_token: string;
31
+ asset_address: string;
26
32
 
27
33
  /**
28
- * Token address to buy, or "native" for the chain's native token.
34
+ * CAIP-2 chain identifier for the destination. Must match source chain —
35
+ * cross-chain swaps are not yet supported. Defaults to source chain if omitted.
29
36
  */
30
- output_token: string;
37
+ caip2?: string;
38
+ }
39
+
40
+ /**
41
+ * Input for requesting a token swap quote.
42
+ */
43
+ export interface SwapQuoteRequestBody {
44
+ /**
45
+ * Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
46
+ */
47
+ base_amount: string;
48
+
49
+ /**
50
+ * The output side of a swap quote request.
51
+ */
52
+ destination: SwapQuoteDestination;
53
+
54
+ /**
55
+ * The input side of a swap request, including token and chain.
56
+ */
57
+ source: SwapSource;
31
58
 
32
59
  /**
33
60
  * Whether the amount refers to the input token or output token.
@@ -86,46 +113,53 @@ export interface SwapQuoteResponse {
86
113
  */
87
114
  export interface SwapRequestBody {
88
115
  /**
89
- * Amount in base units (e.g., wei for ETH).
116
+ * Amount in base units (e.g., wei for ETH). Must be a non-negative integer string.
90
117
  */
91
- amount: string;
118
+ base_amount: string;
92
119
 
93
120
  /**
94
- * Chain identifier (e.g., "eip155:1" for Ethereum mainnet).
121
+ * The output side of a swap execution request.
95
122
  */
96
- caip2: string;
123
+ destination: SwapDestination;
97
124
 
98
125
  /**
99
- * Token address to sell, or "native" for the chain's native token.
126
+ * The input side of a swap request, including token and chain.
100
127
  */
101
- input_token: string;
128
+ source: SwapSource;
102
129
 
103
130
  /**
104
- * Token address to buy, or "native" for the chain's native token.
131
+ * Whether the amount refers to the input token or output token.
105
132
  */
106
- output_token: string;
133
+ amount_type?: WalletsAPI.AmountType;
107
134
 
108
135
  /**
109
- * Whether the amount refers to the input token or output token.
136
+ * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
110
137
  */
111
- amount_type?: WalletsAPI.AmountType;
138
+ slippage_bps?: number;
139
+ }
112
140
 
141
+ /**
142
+ * The input side of a swap request, including token and chain.
143
+ */
144
+ export interface SwapSource {
113
145
  /**
114
- * Address to receive the output tokens. Defaults to the wallet address if not
115
- * specified.
146
+ * Token contract address to sell, or "native" for the chain's native token.
116
147
  */
117
- recipient?: string;
148
+ asset_address: string;
118
149
 
119
150
  /**
120
- * Maximum slippage tolerance in basis points (e.g., 50 for 0.5%).
151
+ * CAIP-2 chain identifier (e.g., "eip155:1").
121
152
  */
122
- slippage_bps?: number;
153
+ caip2: string;
123
154
  }
124
155
 
125
156
  export declare namespace Swaps {
126
157
  export {
158
+ type SwapDestination as SwapDestination,
159
+ type SwapQuoteDestination as SwapQuoteDestination,
127
160
  type SwapQuoteRequestBody as SwapQuoteRequestBody,
128
161
  type SwapQuoteResponse as SwapQuoteResponse,
129
162
  type SwapRequestBody as SwapRequestBody,
163
+ type SwapSource as SwapSource,
130
164
  };
131
165
  }
@@ -507,6 +507,35 @@ export interface EthereumEarnVaultDetailsResponse {
507
507
  vault_address: string;
508
508
  }
509
509
 
510
+ /**
511
+ * A wallet action step representing a cross-chain/cross-asset fill by an external
512
+ * provider.
513
+ */
514
+ export interface ExternalTransactionWalletActionStep {
515
+ /**
516
+ * Status of an external transaction step in a wallet action.
517
+ */
518
+ status: ExternalTransactionWalletActionStepStatus;
519
+
520
+ type: 'external_transaction';
521
+
522
+ /**
523
+ * A description of why a wallet action (or a step within a wallet action) failed.
524
+ */
525
+ failure_reason?: FailureReason;
526
+ }
527
+
528
+ /**
529
+ * Status of an external transaction step in a wallet action.
530
+ */
531
+ export type ExternalTransactionWalletActionStepStatus =
532
+ | 'preparing'
533
+ | 'queued'
534
+ | 'pending'
535
+ | 'confirmed'
536
+ | 'rejected'
537
+ | 'failed';
538
+
510
539
  /**
511
540
  * A description of why a wallet action (or a step within a wallet action) failed.
512
541
  */
@@ -732,12 +761,17 @@ export type WalletActionStatus = 'pending' | 'succeeded' | 'rejected' | 'failed'
732
761
  export type WalletActionStep =
733
762
  | EvmTransactionWalletActionStep
734
763
  | EvmUserOperationWalletActionStep
735
- | SvmTransactionWalletActionStep;
764
+ | SvmTransactionWalletActionStep
765
+ | ExternalTransactionWalletActionStep;
736
766
 
737
767
  /**
738
768
  * Type of a wallet action step.
739
769
  */
740
- export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction';
770
+ export type WalletActionStepType =
771
+ | 'evm_transaction'
772
+ | 'evm_user_operation'
773
+ | 'svm_transaction'
774
+ | 'external_transaction';
741
775
 
742
776
  /**
743
777
  * Type of wallet action
@@ -766,6 +800,8 @@ export declare namespace WalletActions {
766
800
  type EthereumEarnPositionResponse as EthereumEarnPositionResponse,
767
801
  type EthereumEarnProvider as EthereumEarnProvider,
768
802
  type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse,
803
+ type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep,
804
+ type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus,
769
805
  type FailureReason as FailureReason,
770
806
  type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep,
771
807
  type SvmWalletActionStepStatus as SvmWalletActionStepStatus,
@@ -68,10 +68,15 @@ export interface BalanceGetParams {
68
68
  /**
69
69
  * The token contract address(es) to query in format "chain:address" (e.g.,
70
70
  * "base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" or
71
- * "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v").
71
+ * "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
72
+ * with `asset`/`chain` or with `include_currency`.
72
73
  */
73
74
  token?: string | Array<string>;
74
75
 
76
+ /**
77
+ * Named asset(s) to query (e.g. `eth`, `usdc`). Use together with `chain` to scope
78
+ * the query. Cannot be used with `token`.
79
+ */
75
80
  asset?:
76
81
  | 'usdc'
77
82
  | 'usdc.e'
@@ -83,6 +88,10 @@ export interface BalanceGetParams {
83
88
  | 'sol'
84
89
  | Array<WalletsAPI.WalletAsset>;
85
90
 
91
+ /**
92
+ * Chain(s) to query named assets on (e.g. `base`, `ethereum`). Use together with
93
+ * `asset`. Cannot be used with `token`.
94
+ */
86
95
  chain?:
87
96
  | 'ethereum'
88
97
  | 'arbitrum'
@@ -121,6 +130,10 @@ export interface BalanceGetParams {
121
130
  | 'solana_testnet'
122
131
  >;
123
132
 
133
+ /**
134
+ * If set, balances are converted to the specified fiat currency. Not supported
135
+ * when `token` is provided.
136
+ */
124
137
  include_currency?: 'usd' | 'eur';
125
138
  }
126
139
 
@@ -80,11 +80,15 @@ export interface TransactionGetParams {
80
80
  chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
81
81
 
82
82
  /**
83
- * Token contract address (EVM: 0x-prefixed hex) or mint address (Solana: base58),
84
- * used to filter wallet transactions.
83
+ * Exactly one of `token` or `asset` is required. Cannot be used together with
84
+ * `asset`.
85
85
  */
86
86
  token?: WalletsAPI.TransactionTokenAddressInput | Array<WalletsAPI.TransactionTokenAddressInput>;
87
87
 
88
+ /**
89
+ * Exactly one of `asset` or `token` is required. Cannot be used together with
90
+ * `token`.
91
+ */
88
92
  asset?:
89
93
  | 'usdc'
90
94
  | 'usdc.e'
@@ -522,7 +522,8 @@ export interface EthereumSecp256k1SignRpcInput {
522
522
  */
523
523
  export interface EthereumSecp256k1SignRpcInputParams {
524
524
  /**
525
- * A hex-encoded string prefixed with '0x'.
525
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
526
+ * bytes).
526
527
  */
527
528
  hash: Hex;
528
529
  }
@@ -546,7 +547,8 @@ export interface EthereumSecp256k1SignRpcResponseData {
546
547
  encoding: 'hex';
547
548
 
548
549
  /**
549
- * A hex-encoded string prefixed with '0x'.
550
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
551
+ * bytes).
550
552
  */
551
553
  signature: Hex;
552
554
  }
@@ -558,7 +560,8 @@ export interface EthereumSendCallsCall {
558
560
  to: string;
559
561
 
560
562
  /**
561
- * A hex-encoded string prefixed with '0x'.
563
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
564
+ * bytes).
562
565
  */
563
566
  data?: Hex;
564
567
 
@@ -591,7 +594,8 @@ export interface EthereumSendCallsRpcInput {
591
594
  chain_type?: 'ethereum';
592
595
 
593
596
  /**
594
- * A hex-encoded string prefixed with '0x'.
597
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
598
+ * bytes).
595
599
  */
596
600
  experimental_data_suffix?: Hex;
597
601
 
@@ -652,7 +656,8 @@ export interface EthereumSendTransactionRpcInput {
652
656
  chain_type?: 'ethereum';
653
657
 
654
658
  /**
655
- * A hex-encoded string prefixed with '0x'.
659
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
660
+ * bytes).
656
661
  */
657
662
  experimental_data_suffix?: Hex;
658
663
 
@@ -730,12 +735,14 @@ export interface EthereumSign7702Authorization {
730
735
  nonce: Quantity;
731
736
 
732
737
  /**
733
- * A hex-encoded string prefixed with '0x'.
738
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
739
+ * bytes).
734
740
  */
735
741
  r: Hex;
736
742
 
737
743
  /**
738
- * A hex-encoded string prefixed with '0x'.
744
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
745
+ * bytes).
739
746
  */
740
747
  s: Hex;
741
748
 
@@ -1191,7 +1198,8 @@ export interface HpkeImportConfig {
1191
1198
  }
1192
1199
 
1193
1200
  /**
1194
- * A hex-encoded string prefixed with '0x'.
1201
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1202
+ * bytes).
1195
1203
  */
1196
1204
  export type Hex = string;
1197
1205
 
@@ -1383,7 +1391,8 @@ export interface RawSignBytesParams {
1383
1391
  */
1384
1392
  export interface RawSignHashParams {
1385
1393
  /**
1386
- * A hex-encoded string prefixed with '0x'.
1394
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1395
+ * bytes).
1387
1396
  */
1388
1397
  hash: Hex;
1389
1398
  }
@@ -1423,7 +1432,8 @@ export interface RawSignResponseData {
1423
1432
  encoding: 'hex';
1424
1433
 
1425
1434
  /**
1426
- * A hex-encoded string prefixed with '0x'.
1435
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
1436
+ * bytes).
1427
1437
  */
1428
1438
  signature: Hex;
1429
1439
  }
@@ -1514,6 +1524,8 @@ export interface SolanaSignAndSendTransactionRpcInput {
1514
1524
 
1515
1525
  chain_type?: 'solana';
1516
1526
 
1527
+ optimistic_broadcast?: boolean;
1528
+
1517
1529
  reference_id?: string;
1518
1530
 
1519
1531
  sponsor?: boolean;
@@ -1555,6 +1567,8 @@ export interface SolanaSignAndSendTransactionRpcResponseData {
1555
1567
 
1556
1568
  reference_id?: string | null;
1557
1569
 
1570
+ signed_transaction?: string;
1571
+
1558
1572
  transaction_id?: string;
1559
1573
  }
1560
1574
 
@@ -2298,7 +2312,8 @@ export interface TempoAaAuthorization {
2298
2312
  nonce: Quantity;
2299
2313
 
2300
2314
  /**
2301
- * A hex-encoded string prefixed with '0x'.
2315
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2316
+ * bytes).
2302
2317
  */
2303
2318
  signature: Hex;
2304
2319
  }
@@ -2310,7 +2325,8 @@ export interface TempoCall {
2310
2325
  to: string;
2311
2326
 
2312
2327
  /**
2313
- * A hex-encoded string prefixed with '0x'.
2328
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2329
+ * bytes).
2314
2330
  */
2315
2331
  data?: Hex;
2316
2332
 
@@ -2326,12 +2342,14 @@ export interface TempoCall {
2326
2342
  */
2327
2343
  export interface TempoFeePayerSignature {
2328
2344
  /**
2329
- * A hex-encoded string prefixed with '0x'.
2345
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2346
+ * bytes).
2330
2347
  */
2331
2348
  r: Hex;
2332
2349
 
2333
2350
  /**
2334
- * A hex-encoded string prefixed with '0x'.
2351
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2352
+ * bytes).
2335
2353
  */
2336
2354
  s: Hex;
2337
2355
 
@@ -2549,7 +2567,8 @@ export interface UnsignedStandardEthereumTransaction {
2549
2567
  chain_id?: Quantity;
2550
2568
 
2551
2569
  /**
2552
- * A hex-encoded string prefixed with '0x'.
2570
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2571
+ * bytes).
2553
2572
  */
2554
2573
  data?: Hex;
2555
2574
 
@@ -2679,56 +2698,66 @@ export namespace UnsignedTempoTransaction {
2679
2698
  */
2680
2699
  export interface UserOperationInput {
2681
2700
  /**
2682
- * A hex-encoded string prefixed with '0x'.
2701
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2702
+ * bytes).
2683
2703
  */
2684
2704
  call_data: Hex;
2685
2705
 
2686
2706
  /**
2687
- * A hex-encoded string prefixed with '0x'.
2707
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2708
+ * bytes).
2688
2709
  */
2689
2710
  call_gas_limit: Hex;
2690
2711
 
2691
2712
  /**
2692
- * A hex-encoded string prefixed with '0x'.
2713
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2714
+ * bytes).
2693
2715
  */
2694
2716
  max_fee_per_gas: Hex;
2695
2717
 
2696
2718
  /**
2697
- * A hex-encoded string prefixed with '0x'.
2719
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2720
+ * bytes).
2698
2721
  */
2699
2722
  max_priority_fee_per_gas: Hex;
2700
2723
 
2701
2724
  /**
2702
- * A hex-encoded string prefixed with '0x'.
2725
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2726
+ * bytes).
2703
2727
  */
2704
2728
  nonce: Hex;
2705
2729
 
2706
2730
  /**
2707
- * A hex-encoded string prefixed with '0x'.
2731
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2732
+ * bytes).
2708
2733
  */
2709
2734
  pre_verification_gas: Hex;
2710
2735
 
2711
2736
  sender: string;
2712
2737
 
2713
2738
  /**
2714
- * A hex-encoded string prefixed with '0x'.
2739
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2740
+ * bytes).
2715
2741
  */
2716
2742
  verification_gas_limit: Hex;
2717
2743
 
2718
2744
  paymaster?: string;
2719
2745
 
2720
2746
  /**
2721
- * A hex-encoded string prefixed with '0x'.
2747
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2748
+ * bytes).
2722
2749
  */
2723
2750
  paymaster_data?: Hex;
2724
2751
 
2725
2752
  /**
2726
- * A hex-encoded string prefixed with '0x'.
2753
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2754
+ * bytes).
2727
2755
  */
2728
2756
  paymaster_post_op_gas_limit?: Hex;
2729
2757
 
2730
2758
  /**
2731
- * A hex-encoded string prefixed with '0x'.
2759
+ * A hex-encoded string prefixed with '0x', capped at 100002 characters (50,000
2760
+ * bytes).
2732
2761
  */
2733
2762
  paymaster_verification_gas_limit?: Hex;
2734
2763
  }
@@ -3273,7 +3302,8 @@ export type WalletRpcResponse =
3273
3302
  export type WalletSolanaAsset = 'sol' | 'usdc' | 'eurc' | 'usdb';
3274
3303
 
3275
3304
  /**
3276
- * Request body for updating a wallet.
3305
+ * Request body for updating a wallet. `owner` and `owner_id` are mutually
3306
+ * exclusive.
3277
3307
  */
3278
3308
  export interface WalletUpdateRequestBody {
3279
3309
  /**
@@ -3571,7 +3601,8 @@ export declare namespace WalletRpcParams {
3571
3601
  chain_type?: 'ethereum';
3572
3602
 
3573
3603
  /**
3574
- * Body param: A hex-encoded string prefixed with '0x'.
3604
+ * Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
3605
+ * (50,000 bytes).
3575
3606
  */
3576
3607
  experimental_data_suffix?: Hex;
3577
3608
 
@@ -3861,7 +3892,8 @@ export declare namespace WalletRpcParams {
3861
3892
  chain_type?: 'ethereum';
3862
3893
 
3863
3894
  /**
3864
- * Body param: A hex-encoded string prefixed with '0x'.
3895
+ * Body param: A hex-encoded string prefixed with '0x', capped at 100002 characters
3896
+ * (50,000 bytes).
3865
3897
  */
3866
3898
  experimental_data_suffix?: Hex;
3867
3899
 
@@ -3965,6 +3997,11 @@ export declare namespace WalletRpcParams {
3965
3997
  */
3966
3998
  chain_type?: 'solana';
3967
3999
 
4000
+ /**
4001
+ * Body param
4002
+ */
4003
+ optimistic_broadcast?: boolean;
4004
+
3968
4005
  /**
3969
4006
  * Body param
3970
4007
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.11.0'; // x-release-please-version
1
+ export const VERSION = '0.13.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.11.0";
1
+ export declare const VERSION = "0.13.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.11.0";
1
+ export declare const VERSION = "0.13.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.11.0'; // x-release-please-version
4
+ exports.VERSION = '0.13.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.11.0'; // x-release-please-version
1
+ export const VERSION = '0.13.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map