@privy-io/api-types 0.17.0 → 0.18.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 +15 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +1 -1
- package/resources/accounts.d.ts +1 -1
- package/resources/apps.d.mts +3 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +3 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +31 -1
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +31 -1
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/onramps.d.mts +4 -4
- package/resources/onramps.d.ts +4 -4
- package/resources/swaps.d.mts +2 -1
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +2 -1
- package/resources/swaps.d.ts.map +1 -1
- package/resources/users.d.mts +9 -2
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +9 -2
- package/resources/users.d.ts.map +1 -1
- package/resources/wallets/actions.d.mts +8 -8
- package/resources/wallets/actions.d.ts +8 -8
- package/resources/wallets/balance.d.mts +4 -4
- package/resources/wallets/balance.d.mts.map +1 -1
- package/resources/wallets/balance.d.ts +4 -4
- package/resources/wallets/balance.d.ts.map +1 -1
- package/resources/wallets/transactions.d.mts +1 -1
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +1 -1
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +67 -55
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +67 -55
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +22 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +22 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +7 -4
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +7 -4
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +12 -0
- package/src/resources/accounts.ts +1 -1
- package/src/resources/apps.ts +3 -3
- package/src/resources/client-auth.ts +42 -0
- package/src/resources/index.ts +6 -0
- package/src/resources/onramps.ts +4 -4
- package/src/resources/swaps.ts +2 -1
- package/src/resources/users.ts +11 -1
- package/src/resources/wallets/actions.ts +8 -8
- package/src/resources/wallets/balance.ts +4 -2
- package/src/resources/wallets/transactions.ts +1 -0
- package/src/resources/wallets/wallets.ts +70 -51
- package/src/resources/webhooks.ts +22 -15
- package/src/resources/yield.ts +7 -4
- 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
|
@@ -625,7 +625,7 @@ export interface CustomTokenTransferSource {
|
|
|
625
625
|
|
|
626
626
|
/**
|
|
627
627
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
628
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
628
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
629
629
|
* respective testnets.
|
|
630
630
|
*/
|
|
631
631
|
chain: string;
|
|
@@ -723,7 +723,7 @@ export interface EthereumPersonalSignRpcInput {
|
|
|
723
723
|
address?: string;
|
|
724
724
|
|
|
725
725
|
/**
|
|
726
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
726
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
727
727
|
*/
|
|
728
728
|
caip2?: AppsAPI.Caip2;
|
|
729
729
|
|
|
@@ -817,7 +817,7 @@ export interface EthereumSecp256k1SignRpcInput {
|
|
|
817
817
|
*/
|
|
818
818
|
export interface EthereumSecp256k1SignRpcInputParams {
|
|
819
819
|
/**
|
|
820
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
820
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
821
821
|
* bytes).
|
|
822
822
|
*/
|
|
823
823
|
hash: Hex;
|
|
@@ -842,7 +842,7 @@ export interface EthereumSecp256k1SignRpcResponseData {
|
|
|
842
842
|
encoding: 'hex';
|
|
843
843
|
|
|
844
844
|
/**
|
|
845
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
845
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
846
846
|
* bytes).
|
|
847
847
|
*/
|
|
848
848
|
signature: Hex;
|
|
@@ -855,7 +855,7 @@ export interface EthereumSendCallsCall {
|
|
|
855
855
|
to: string;
|
|
856
856
|
|
|
857
857
|
/**
|
|
858
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
858
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
859
859
|
* bytes).
|
|
860
860
|
*/
|
|
861
861
|
data?: Hex;
|
|
@@ -873,7 +873,7 @@ export interface EthereumSendCallsCall {
|
|
|
873
873
|
*/
|
|
874
874
|
export interface EthereumSendCallsRpcInput {
|
|
875
875
|
/**
|
|
876
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
876
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
877
877
|
*/
|
|
878
878
|
caip2: AppsAPI.Caip2;
|
|
879
879
|
|
|
@@ -889,7 +889,7 @@ export interface EthereumSendCallsRpcInput {
|
|
|
889
889
|
chain_type?: 'ethereum';
|
|
890
890
|
|
|
891
891
|
/**
|
|
892
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
892
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
893
893
|
* bytes).
|
|
894
894
|
*/
|
|
895
895
|
experimental_data_suffix?: Hex;
|
|
@@ -923,7 +923,7 @@ export interface EthereumSendCallsRpcResponse {
|
|
|
923
923
|
*/
|
|
924
924
|
export interface EthereumSendCallsRpcResponseData {
|
|
925
925
|
/**
|
|
926
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
926
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
927
927
|
*/
|
|
928
928
|
caip2: AppsAPI.Caip2;
|
|
929
929
|
|
|
@@ -935,7 +935,7 @@ export interface EthereumSendCallsRpcResponseData {
|
|
|
935
935
|
*/
|
|
936
936
|
export interface EthereumSendTransactionRpcInput {
|
|
937
937
|
/**
|
|
938
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
938
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
939
939
|
*/
|
|
940
940
|
caip2: AppsAPI.Caip2;
|
|
941
941
|
|
|
@@ -951,7 +951,7 @@ export interface EthereumSendTransactionRpcInput {
|
|
|
951
951
|
chain_type?: 'ethereum';
|
|
952
952
|
|
|
953
953
|
/**
|
|
954
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
954
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
955
955
|
* bytes).
|
|
956
956
|
*/
|
|
957
957
|
experimental_data_suffix?: Hex;
|
|
@@ -991,7 +991,7 @@ export interface EthereumSendTransactionRpcResponse {
|
|
|
991
991
|
*/
|
|
992
992
|
export interface EthereumSendTransactionRpcResponseData {
|
|
993
993
|
/**
|
|
994
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
994
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
995
995
|
*/
|
|
996
996
|
caip2: AppsAPI.Caip2;
|
|
997
997
|
|
|
@@ -1030,13 +1030,13 @@ export interface EthereumSign7702Authorization {
|
|
|
1030
1030
|
nonce: Quantity;
|
|
1031
1031
|
|
|
1032
1032
|
/**
|
|
1033
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1033
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1034
1034
|
* bytes).
|
|
1035
1035
|
*/
|
|
1036
1036
|
r: Hex;
|
|
1037
1037
|
|
|
1038
1038
|
/**
|
|
1039
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1039
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1040
1040
|
* bytes).
|
|
1041
1041
|
*/
|
|
1042
1042
|
s: Hex;
|
|
@@ -1171,7 +1171,7 @@ export interface EthereumSignTypedDataRpcInput {
|
|
|
1171
1171
|
address?: string;
|
|
1172
1172
|
|
|
1173
1173
|
/**
|
|
1174
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1174
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1175
1175
|
*/
|
|
1176
1176
|
caip2?: AppsAPI.Caip2;
|
|
1177
1177
|
|
|
@@ -1553,7 +1553,7 @@ export interface HpkeImportConfig {
|
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
1555
|
/**
|
|
1556
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1556
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1557
1557
|
* bytes).
|
|
1558
1558
|
*/
|
|
1559
1559
|
export type Hex = string;
|
|
@@ -1573,14 +1573,14 @@ export interface IntentBinding {
|
|
|
1573
1573
|
*/
|
|
1574
1574
|
export interface NamedTokenTransferSource {
|
|
1575
1575
|
/**
|
|
1576
|
-
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt'
|
|
1577
|
-
* (native Ethereum), 'sol' (native Solana).
|
|
1576
|
+
* The asset to transfer. Supported: 'usdc', 'usdb', 'usdt', 'pathusd'
|
|
1577
|
+
* (stablecoins), 'eth' (native Ethereum), 'sol' (native Solana).
|
|
1578
1578
|
*/
|
|
1579
1579
|
asset: string;
|
|
1580
1580
|
|
|
1581
1581
|
/**
|
|
1582
1582
|
* The blockchain network on which to perform the transfer. Supported chains
|
|
1583
|
-
* include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1583
|
+
* include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and their
|
|
1584
1584
|
* respective testnets.
|
|
1585
1585
|
*/
|
|
1586
1586
|
chain: string;
|
|
@@ -1783,7 +1783,7 @@ export interface RawSignBytesParams {
|
|
|
1783
1783
|
*/
|
|
1784
1784
|
export interface RawSignHashParams {
|
|
1785
1785
|
/**
|
|
1786
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1786
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1787
1787
|
* bytes).
|
|
1788
1788
|
*/
|
|
1789
1789
|
hash: Hex;
|
|
@@ -1824,7 +1824,7 @@ export interface RawSignResponseData {
|
|
|
1824
1824
|
encoding: 'hex';
|
|
1825
1825
|
|
|
1826
1826
|
/**
|
|
1827
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
1827
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
1828
1828
|
* bytes).
|
|
1829
1829
|
*/
|
|
1830
1830
|
signature: Hex;
|
|
@@ -1953,7 +1953,7 @@ export type SolanaRpcResponse =
|
|
|
1953
1953
|
*/
|
|
1954
1954
|
export interface SolanaSignAndSendTransactionRpcInput {
|
|
1955
1955
|
/**
|
|
1956
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
1956
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
1957
1957
|
*/
|
|
1958
1958
|
caip2: AppsAPI.Caip2;
|
|
1959
1959
|
|
|
@@ -2003,7 +2003,7 @@ export interface SolanaSignAndSendTransactionRpcResponse {
|
|
|
2003
2003
|
*/
|
|
2004
2004
|
export interface SolanaSignAndSendTransactionRpcResponseData {
|
|
2005
2005
|
/**
|
|
2006
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
2006
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
2007
2007
|
*/
|
|
2008
2008
|
caip2: AppsAPI.Caip2;
|
|
2009
2009
|
|
|
@@ -2953,7 +2953,7 @@ export interface TempoAaAuthorization {
|
|
|
2953
2953
|
nonce: Quantity;
|
|
2954
2954
|
|
|
2955
2955
|
/**
|
|
2956
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2956
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2957
2957
|
* bytes).
|
|
2958
2958
|
*/
|
|
2959
2959
|
signature: Hex;
|
|
@@ -2966,7 +2966,7 @@ export interface TempoCall {
|
|
|
2966
2966
|
to: string;
|
|
2967
2967
|
|
|
2968
2968
|
/**
|
|
2969
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2969
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2970
2970
|
* bytes).
|
|
2971
2971
|
*/
|
|
2972
2972
|
data?: Hex;
|
|
@@ -2983,13 +2983,13 @@ export interface TempoCall {
|
|
|
2983
2983
|
*/
|
|
2984
2984
|
export interface TempoFeePayerSignature {
|
|
2985
2985
|
/**
|
|
2986
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2986
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2987
2987
|
* bytes).
|
|
2988
2988
|
*/
|
|
2989
2989
|
r: Hex;
|
|
2990
2990
|
|
|
2991
2991
|
/**
|
|
2992
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
2992
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
2993
2993
|
* bytes).
|
|
2994
2994
|
*/
|
|
2995
2995
|
s: Hex;
|
|
@@ -3036,7 +3036,7 @@ export interface TokenTransferDestination {
|
|
|
3036
3036
|
|
|
3037
3037
|
/**
|
|
3038
3038
|
* The destination blockchain network. Required for cross-chain transfers (e.g.,
|
|
3039
|
-
* source '
|
|
3039
|
+
* source 'tempo' to destination 'base').
|
|
3040
3040
|
*/
|
|
3041
3041
|
chain?: string;
|
|
3042
3042
|
}
|
|
@@ -3070,6 +3070,7 @@ export type TransactionChainNameInput =
|
|
|
3070
3070
|
| 'arbitrum'
|
|
3071
3071
|
| 'avalanche'
|
|
3072
3072
|
| 'base'
|
|
3073
|
+
| 'base_sepolia'
|
|
3073
3074
|
| 'bsc'
|
|
3074
3075
|
| 'tempo'
|
|
3075
3076
|
| 'linea'
|
|
@@ -3195,6 +3196,7 @@ export interface TransferReceivedTransactionDetail {
|
|
|
3195
3196
|
| 'usdt'
|
|
3196
3197
|
| 'eurc'
|
|
3197
3198
|
| 'usdb'
|
|
3199
|
+
| 'pathusd'
|
|
3198
3200
|
| 'sol'
|
|
3199
3201
|
| 'trx'
|
|
3200
3202
|
| (string & {});
|
|
@@ -3275,6 +3277,7 @@ export interface TransferSentTransactionDetail {
|
|
|
3275
3277
|
| 'usdt'
|
|
3276
3278
|
| 'eurc'
|
|
3277
3279
|
| 'usdb'
|
|
3280
|
+
| 'pathusd'
|
|
3278
3281
|
| 'sol'
|
|
3279
3282
|
| 'trx'
|
|
3280
3283
|
| (string & {});
|
|
@@ -3370,7 +3373,7 @@ export interface TronSendTransactionRpcInput {
|
|
|
3370
3373
|
params: TronSendTransactionRpcInputParams;
|
|
3371
3374
|
|
|
3372
3375
|
/**
|
|
3373
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
3376
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
3374
3377
|
*/
|
|
3375
3378
|
caip2?: AppsAPI.Caip2;
|
|
3376
3379
|
}
|
|
@@ -3405,7 +3408,7 @@ export interface TronSendTransactionRpcResponse {
|
|
|
3405
3408
|
*/
|
|
3406
3409
|
export interface TronSendTransactionRpcResponseData {
|
|
3407
3410
|
/**
|
|
3408
|
-
* A valid CAIP-2 chain ID (e.g. 'eip155:1').
|
|
3411
|
+
* A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1' for Ethereum).
|
|
3409
3412
|
*/
|
|
3410
3413
|
caip2: AppsAPI.Caip2;
|
|
3411
3414
|
|
|
@@ -3548,7 +3551,7 @@ export interface UnsignedStandardEthereumTransaction {
|
|
|
3548
3551
|
chain_id?: Quantity;
|
|
3549
3552
|
|
|
3550
3553
|
/**
|
|
3551
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3554
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3552
3555
|
* bytes).
|
|
3553
3556
|
*/
|
|
3554
3557
|
data?: Hex;
|
|
@@ -3671,37 +3674,37 @@ export interface UnsignedTempoTransaction {
|
|
|
3671
3674
|
*/
|
|
3672
3675
|
export interface UserOperationInput {
|
|
3673
3676
|
/**
|
|
3674
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3677
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3675
3678
|
* bytes).
|
|
3676
3679
|
*/
|
|
3677
3680
|
call_data: Hex;
|
|
3678
3681
|
|
|
3679
3682
|
/**
|
|
3680
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3683
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3681
3684
|
* bytes).
|
|
3682
3685
|
*/
|
|
3683
3686
|
call_gas_limit: Hex;
|
|
3684
3687
|
|
|
3685
3688
|
/**
|
|
3686
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3689
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3687
3690
|
* bytes).
|
|
3688
3691
|
*/
|
|
3689
3692
|
max_fee_per_gas: Hex;
|
|
3690
3693
|
|
|
3691
3694
|
/**
|
|
3692
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3695
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3693
3696
|
* bytes).
|
|
3694
3697
|
*/
|
|
3695
3698
|
max_priority_fee_per_gas: Hex;
|
|
3696
3699
|
|
|
3697
3700
|
/**
|
|
3698
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3701
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3699
3702
|
* bytes).
|
|
3700
3703
|
*/
|
|
3701
3704
|
nonce: Hex;
|
|
3702
3705
|
|
|
3703
3706
|
/**
|
|
3704
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3707
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3705
3708
|
* bytes).
|
|
3706
3709
|
*/
|
|
3707
3710
|
pre_verification_gas: Hex;
|
|
@@ -3709,27 +3712,35 @@ export interface UserOperationInput {
|
|
|
3709
3712
|
sender: string;
|
|
3710
3713
|
|
|
3711
3714
|
/**
|
|
3712
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3715
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3713
3716
|
* bytes).
|
|
3714
3717
|
*/
|
|
3715
3718
|
verification_gas_limit: Hex;
|
|
3716
3719
|
|
|
3720
|
+
factory?: string;
|
|
3721
|
+
|
|
3722
|
+
/**
|
|
3723
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3724
|
+
* bytes).
|
|
3725
|
+
*/
|
|
3726
|
+
factory_data?: Hex;
|
|
3727
|
+
|
|
3717
3728
|
paymaster?: string;
|
|
3718
3729
|
|
|
3719
3730
|
/**
|
|
3720
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3731
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3721
3732
|
* bytes).
|
|
3722
3733
|
*/
|
|
3723
3734
|
paymaster_data?: Hex;
|
|
3724
3735
|
|
|
3725
3736
|
/**
|
|
3726
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3737
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3727
3738
|
* bytes).
|
|
3728
3739
|
*/
|
|
3729
3740
|
paymaster_post_op_gas_limit?: Hex;
|
|
3730
3741
|
|
|
3731
3742
|
/**
|
|
3732
|
-
* A hex-encoded string prefixed with '0x', capped at
|
|
3743
|
+
* A hex-encoded string prefixed with '0x', capped at 300002 characters (150,000
|
|
3733
3744
|
* bytes).
|
|
3734
3745
|
*/
|
|
3735
3746
|
paymaster_verification_gas_limit?: Hex;
|
|
@@ -3886,6 +3897,7 @@ export type WalletAsset =
|
|
|
3886
3897
|
| 'usdt'
|
|
3887
3898
|
| 'eurc'
|
|
3888
3899
|
| 'usdb'
|
|
3900
|
+
| 'pathusd'
|
|
3889
3901
|
| 'sol'
|
|
3890
3902
|
| 'trx';
|
|
3891
3903
|
|
|
@@ -4194,7 +4206,8 @@ export type WalletEthereumAsset =
|
|
|
4194
4206
|
| 'bnb'
|
|
4195
4207
|
| 'usdt'
|
|
4196
4208
|
| 'eurc'
|
|
4197
|
-
| 'usdb'
|
|
4209
|
+
| 'usdb'
|
|
4210
|
+
| 'pathusd';
|
|
4198
4211
|
|
|
4199
4212
|
/**
|
|
4200
4213
|
* Request body for exporting a wallet private key.
|
|
@@ -4638,7 +4651,8 @@ export declare namespace WalletRpcParams {
|
|
|
4638
4651
|
|
|
4639
4652
|
export interface EthereumSendTransactionRpcInput {
|
|
4640
4653
|
/**
|
|
4641
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4654
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4655
|
+
* for Ethereum).
|
|
4642
4656
|
*/
|
|
4643
4657
|
caip2: AppsAPI.Caip2;
|
|
4644
4658
|
|
|
@@ -4663,8 +4677,8 @@ export declare namespace WalletRpcParams {
|
|
|
4663
4677
|
chain_type?: 'ethereum';
|
|
4664
4678
|
|
|
4665
4679
|
/**
|
|
4666
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
4667
|
-
* (
|
|
4680
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
4681
|
+
* (150,000 bytes).
|
|
4668
4682
|
*/
|
|
4669
4683
|
experimental_data_suffix?: Hex;
|
|
4670
4684
|
|
|
@@ -4719,7 +4733,8 @@ export declare namespace WalletRpcParams {
|
|
|
4719
4733
|
address?: string;
|
|
4720
4734
|
|
|
4721
4735
|
/**
|
|
4722
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4736
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4737
|
+
* for Ethereum).
|
|
4723
4738
|
*/
|
|
4724
4739
|
caip2?: AppsAPI.Caip2;
|
|
4725
4740
|
|
|
@@ -4775,7 +4790,8 @@ export declare namespace WalletRpcParams {
|
|
|
4775
4790
|
address?: string;
|
|
4776
4791
|
|
|
4777
4792
|
/**
|
|
4778
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4793
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4794
|
+
* for Ethereum).
|
|
4779
4795
|
*/
|
|
4780
4796
|
caip2?: AppsAPI.Caip2;
|
|
4781
4797
|
|
|
@@ -4951,7 +4967,8 @@ export declare namespace WalletRpcParams {
|
|
|
4951
4967
|
|
|
4952
4968
|
export interface EthereumSendCallsRpcInput {
|
|
4953
4969
|
/**
|
|
4954
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
4970
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
4971
|
+
* for Ethereum).
|
|
4955
4972
|
*/
|
|
4956
4973
|
caip2: AppsAPI.Caip2;
|
|
4957
4974
|
|
|
@@ -4976,8 +4993,8 @@ export declare namespace WalletRpcParams {
|
|
|
4976
4993
|
chain_type?: 'ethereum';
|
|
4977
4994
|
|
|
4978
4995
|
/**
|
|
4979
|
-
* Body param: A hex-encoded string prefixed with '0x', capped at
|
|
4980
|
-
* (
|
|
4996
|
+
* Body param: A hex-encoded string prefixed with '0x', capped at 300002 characters
|
|
4997
|
+
* (150,000 bytes).
|
|
4981
4998
|
*/
|
|
4982
4999
|
experimental_data_suffix?: Hex;
|
|
4983
5000
|
|
|
@@ -5057,7 +5074,8 @@ export declare namespace WalletRpcParams {
|
|
|
5057
5074
|
|
|
5058
5075
|
export interface SolanaSignAndSendTransactionRpcInput {
|
|
5059
5076
|
/**
|
|
5060
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
5077
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
5078
|
+
* for Ethereum).
|
|
5061
5079
|
*/
|
|
5062
5080
|
caip2: AppsAPI.Caip2;
|
|
5063
5081
|
|
|
@@ -5582,7 +5600,8 @@ export declare namespace WalletRpcParams {
|
|
|
5582
5600
|
params: TronSendTransactionRpcInputParams;
|
|
5583
5601
|
|
|
5584
5602
|
/**
|
|
5585
|
-
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:1'
|
|
5603
|
+
* Body param: A valid CAIP-2 chain ID (e.g. 'eip155:4217' for Tempo, 'eip155:1'
|
|
5604
|
+
* for Ethereum).
|
|
5586
5605
|
*/
|
|
5587
5606
|
caip2?: AppsAPI.Caip2;
|
|
5588
5607
|
|
|
@@ -867,7 +867,8 @@ export interface SeedPhraseExportWebhookPayload {
|
|
|
867
867
|
*/
|
|
868
868
|
export interface TransactionBroadcastedWebhookPayload {
|
|
869
869
|
/**
|
|
870
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
870
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
871
|
+
* mainnet).
|
|
871
872
|
*/
|
|
872
873
|
caip2: string;
|
|
873
874
|
|
|
@@ -903,7 +904,8 @@ export interface TransactionBroadcastedWebhookPayload {
|
|
|
903
904
|
*/
|
|
904
905
|
export interface TransactionConfirmedWebhookPayload {
|
|
905
906
|
/**
|
|
906
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
907
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
908
|
+
* mainnet).
|
|
907
909
|
*/
|
|
908
910
|
caip2: string;
|
|
909
911
|
|
|
@@ -939,7 +941,8 @@ export interface TransactionConfirmedWebhookPayload {
|
|
|
939
941
|
*/
|
|
940
942
|
export interface TransactionExecutionRevertedWebhookPayload {
|
|
941
943
|
/**
|
|
942
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
944
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
945
|
+
* mainnet).
|
|
943
946
|
*/
|
|
944
947
|
caip2: string;
|
|
945
948
|
|
|
@@ -975,7 +978,8 @@ export interface TransactionExecutionRevertedWebhookPayload {
|
|
|
975
978
|
*/
|
|
976
979
|
export interface TransactionFailedWebhookPayload {
|
|
977
980
|
/**
|
|
978
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
981
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
982
|
+
* mainnet).
|
|
979
983
|
*/
|
|
980
984
|
caip2: string;
|
|
981
985
|
|
|
@@ -1011,7 +1015,8 @@ export interface TransactionFailedWebhookPayload {
|
|
|
1011
1015
|
*/
|
|
1012
1016
|
export interface TransactionProviderErrorWebhookPayload {
|
|
1013
1017
|
/**
|
|
1014
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
1018
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
1019
|
+
* mainnet).
|
|
1015
1020
|
*/
|
|
1016
1021
|
caip2: string;
|
|
1017
1022
|
|
|
@@ -1047,7 +1052,8 @@ export interface TransactionProviderErrorWebhookPayload {
|
|
|
1047
1052
|
*/
|
|
1048
1053
|
export interface TransactionReplacedWebhookPayload {
|
|
1049
1054
|
/**
|
|
1050
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
1055
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
1056
|
+
* mainnet).
|
|
1051
1057
|
*/
|
|
1052
1058
|
caip2: string;
|
|
1053
1059
|
|
|
@@ -1083,7 +1089,8 @@ export interface TransactionReplacedWebhookPayload {
|
|
|
1083
1089
|
*/
|
|
1084
1090
|
export interface TransactionStillPendingWebhookPayload {
|
|
1085
1091
|
/**
|
|
1086
|
-
* The CAIP-2 chain identifier (e.g., eip155:1 for Ethereum
|
|
1092
|
+
* The CAIP-2 chain identifier (e.g., eip155:4217 for Tempo, eip155:1 for Ethereum
|
|
1093
|
+
* mainnet).
|
|
1087
1094
|
*/
|
|
1088
1095
|
caip2: string;
|
|
1089
1096
|
|
|
@@ -2022,7 +2029,7 @@ export interface WalletActionEarnIncentiveClaimCreatedWebhookPayload {
|
|
|
2022
2029
|
action_type: ActionsAPI.WalletActionType;
|
|
2023
2030
|
|
|
2024
2031
|
/**
|
|
2025
|
-
* EVM chain name (e.g. "
|
|
2032
|
+
* EVM chain name (e.g. "tempo", "base").
|
|
2026
2033
|
*/
|
|
2027
2034
|
chain: string;
|
|
2028
2035
|
|
|
@@ -2067,7 +2074,7 @@ export interface WalletActionEarnIncentiveClaimFailedWebhookPayload {
|
|
|
2067
2074
|
action_type: ActionsAPI.WalletActionType;
|
|
2068
2075
|
|
|
2069
2076
|
/**
|
|
2070
|
-
* EVM chain name (e.g. "
|
|
2077
|
+
* EVM chain name (e.g. "tempo", "base").
|
|
2071
2078
|
*/
|
|
2072
2079
|
chain: string;
|
|
2073
2080
|
|
|
@@ -2128,7 +2135,7 @@ export interface WalletActionEarnIncentiveClaimRejectedWebhookPayload {
|
|
|
2128
2135
|
action_type: ActionsAPI.WalletActionType;
|
|
2129
2136
|
|
|
2130
2137
|
/**
|
|
2131
|
-
* EVM chain name (e.g. "
|
|
2138
|
+
* EVM chain name (e.g. "tempo", "base").
|
|
2132
2139
|
*/
|
|
2133
2140
|
chain: string;
|
|
2134
2141
|
|
|
@@ -2188,7 +2195,7 @@ export interface WalletActionEarnIncentiveClaimSucceededWebhookPayload {
|
|
|
2188
2195
|
action_type: ActionsAPI.WalletActionType;
|
|
2189
2196
|
|
|
2190
2197
|
/**
|
|
2191
|
-
* EVM chain name (e.g. "
|
|
2198
|
+
* EVM chain name (e.g. "tempo", "base").
|
|
2192
2199
|
*/
|
|
2193
2200
|
chain: string;
|
|
2194
2201
|
|
|
@@ -2878,7 +2885,7 @@ export interface WalletActionTransferCreatedWebhookPayload {
|
|
|
2878
2885
|
destination_address: string;
|
|
2879
2886
|
|
|
2880
2887
|
/**
|
|
2881
|
-
* Chain name (e.g. "
|
|
2888
|
+
* Chain name (e.g. "tempo", "base").
|
|
2882
2889
|
*/
|
|
2883
2890
|
source_chain: string;
|
|
2884
2891
|
|
|
@@ -2957,7 +2964,7 @@ export interface WalletActionTransferFailedWebhookPayload {
|
|
|
2957
2964
|
failure_reason: ActionsAPI.FailureReason;
|
|
2958
2965
|
|
|
2959
2966
|
/**
|
|
2960
|
-
* Chain name (e.g. "
|
|
2967
|
+
* Chain name (e.g. "tempo", "base").
|
|
2961
2968
|
*/
|
|
2962
2969
|
source_chain: string;
|
|
2963
2970
|
|
|
@@ -3042,7 +3049,7 @@ export interface WalletActionTransferRejectedWebhookPayload {
|
|
|
3042
3049
|
rejected_at: string;
|
|
3043
3050
|
|
|
3044
3051
|
/**
|
|
3045
|
-
* Chain name (e.g. "
|
|
3052
|
+
* Chain name (e.g. "tempo", "base").
|
|
3046
3053
|
*/
|
|
3047
3054
|
source_chain: string;
|
|
3048
3055
|
|
|
@@ -3121,7 +3128,7 @@ export interface WalletActionTransferSucceededWebhookPayload {
|
|
|
3121
3128
|
destination_address: string;
|
|
3122
3129
|
|
|
3123
3130
|
/**
|
|
3124
|
-
* Chain name (e.g. "
|
|
3131
|
+
* Chain name (e.g. "tempo", "base").
|
|
3125
3132
|
*/
|
|
3126
3133
|
source_chain: string;
|
|
3127
3134
|
|
package/src/resources/yield.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface EthereumVaultDetailsResponse {
|
|
|
41
41
|
available_liquidity_usd: number | null;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Chain identifier (e.g., eip155:8453).
|
|
44
|
+
* Chain identifier (e.g., eip155:4217 for Tempo, eip155:8453 for Base).
|
|
45
45
|
*/
|
|
46
46
|
caip2: string;
|
|
47
47
|
|
|
@@ -158,7 +158,8 @@ export interface EthereumYieldClaimIDInput {
|
|
|
158
158
|
*/
|
|
159
159
|
export interface EthereumYieldClaimInput {
|
|
160
160
|
/**
|
|
161
|
-
* An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
161
|
+
* An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
162
|
+
* Base).
|
|
162
163
|
*/
|
|
163
164
|
caip2: EvmCaip2ChainID;
|
|
164
165
|
}
|
|
@@ -173,7 +174,8 @@ export interface EthereumYieldClaimResponse {
|
|
|
173
174
|
id: string;
|
|
174
175
|
|
|
175
176
|
/**
|
|
176
|
-
* An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
177
|
+
* An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
178
|
+
* Base).
|
|
177
179
|
*/
|
|
178
180
|
caip2: EvmCaip2ChainID;
|
|
179
181
|
|
|
@@ -372,7 +374,8 @@ export interface EthereumYieldWithdrawInput {
|
|
|
372
374
|
}
|
|
373
375
|
|
|
374
376
|
/**
|
|
375
|
-
* An EVM CAIP-2 chain identifier (e.g., "eip155:8453" for
|
|
377
|
+
* An EVM CAIP-2 chain identifier (e.g., "eip155:4217" for Tempo, "eip155:8453" for
|
|
378
|
+
* Base).
|
|
376
379
|
*/
|
|
377
380
|
export type EvmCaip2ChainID = string;
|
|
378
381
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.18.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.18.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|