@privy-io/api-types 0.17.0 → 0.19.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 +37 -0
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- 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 +4 -3
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +4 -3
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +32 -2
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +32 -2
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- 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/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 +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 +149 -57
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +149 -57
- 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 +18 -0
- package/src/resources/accounts.ts +1 -1
- package/src/resources/apps.ts +5 -3
- package/src/resources/client-auth.ts +43 -1
- package/src/resources/index.ts +9 -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/index.ts +3 -0
- package/src/resources/wallets/transactions.ts +1 -0
- package/src/resources/wallets/wallets.ts +169 -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
|
@@ -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.19.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.19.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.19.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.19.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|