@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.
Files changed (84) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/client.d.mts +6 -6
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +6 -6
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/accounts.d.mts +1 -1
  10. package/resources/accounts.d.ts +1 -1
  11. package/resources/apps.d.mts +4 -3
  12. package/resources/apps.d.mts.map +1 -1
  13. package/resources/apps.d.ts +4 -3
  14. package/resources/apps.d.ts.map +1 -1
  15. package/resources/client-auth.d.mts +32 -2
  16. package/resources/client-auth.d.mts.map +1 -1
  17. package/resources/client-auth.d.ts +32 -2
  18. package/resources/client-auth.d.ts.map +1 -1
  19. package/resources/index.d.mts +3 -3
  20. package/resources/index.d.mts.map +1 -1
  21. package/resources/index.d.ts +3 -3
  22. package/resources/index.d.ts.map +1 -1
  23. package/resources/index.js.map +1 -1
  24. package/resources/index.mjs.map +1 -1
  25. package/resources/onramps.d.mts +4 -4
  26. package/resources/onramps.d.ts +4 -4
  27. package/resources/swaps.d.mts +2 -1
  28. package/resources/swaps.d.mts.map +1 -1
  29. package/resources/swaps.d.ts +2 -1
  30. package/resources/swaps.d.ts.map +1 -1
  31. package/resources/users.d.mts +9 -2
  32. package/resources/users.d.mts.map +1 -1
  33. package/resources/users.d.ts +9 -2
  34. package/resources/users.d.ts.map +1 -1
  35. package/resources/wallets/actions.d.mts +8 -8
  36. package/resources/wallets/actions.d.ts +8 -8
  37. package/resources/wallets/balance.d.mts +4 -4
  38. package/resources/wallets/balance.d.mts.map +1 -1
  39. package/resources/wallets/balance.d.ts +4 -4
  40. package/resources/wallets/balance.d.ts.map +1 -1
  41. package/resources/wallets/index.d.mts +1 -1
  42. package/resources/wallets/index.d.mts.map +1 -1
  43. package/resources/wallets/index.d.ts +1 -1
  44. package/resources/wallets/index.d.ts.map +1 -1
  45. package/resources/wallets/index.js.map +1 -1
  46. package/resources/wallets/index.mjs.map +1 -1
  47. package/resources/wallets/transactions.d.mts +1 -1
  48. package/resources/wallets/transactions.d.mts.map +1 -1
  49. package/resources/wallets/transactions.d.ts +1 -1
  50. package/resources/wallets/transactions.d.ts.map +1 -1
  51. package/resources/wallets/wallets.d.mts +149 -57
  52. package/resources/wallets/wallets.d.mts.map +1 -1
  53. package/resources/wallets/wallets.d.ts +149 -57
  54. package/resources/wallets/wallets.d.ts.map +1 -1
  55. package/resources/wallets/wallets.js.map +1 -1
  56. package/resources/wallets/wallets.mjs.map +1 -1
  57. package/resources/webhooks.d.mts +22 -15
  58. package/resources/webhooks.d.mts.map +1 -1
  59. package/resources/webhooks.d.ts +22 -15
  60. package/resources/webhooks.d.ts.map +1 -1
  61. package/resources/yield.d.mts +7 -4
  62. package/resources/yield.d.mts.map +1 -1
  63. package/resources/yield.d.ts +7 -4
  64. package/resources/yield.d.ts.map +1 -1
  65. package/src/client.ts +18 -0
  66. package/src/resources/accounts.ts +1 -1
  67. package/src/resources/apps.ts +5 -3
  68. package/src/resources/client-auth.ts +43 -1
  69. package/src/resources/index.ts +9 -0
  70. package/src/resources/onramps.ts +4 -4
  71. package/src/resources/swaps.ts +2 -1
  72. package/src/resources/users.ts +11 -1
  73. package/src/resources/wallets/actions.ts +8 -8
  74. package/src/resources/wallets/balance.ts +4 -2
  75. package/src/resources/wallets/index.ts +3 -0
  76. package/src/resources/wallets/transactions.ts +1 -0
  77. package/src/resources/wallets/wallets.ts +169 -51
  78. package/src/resources/webhooks.ts +22 -15
  79. package/src/resources/yield.ts +7 -4
  80. package/src/version.ts +1 -1
  81. package/version.d.mts +1 -1
  82. package/version.d.ts +1 -1
  83. package/version.js +1 -1
  84. 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 mainnet).
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 mainnet).
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 mainnet).
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 mainnet).
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 mainnet).
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 mainnet).
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 mainnet).
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
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. "base", "ethereum").
3131
+ * Chain name (e.g. "tempo", "base").
3125
3132
  */
3126
3133
  source_chain: string;
3127
3134
 
@@ -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 Base).
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 Base).
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 Base).
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.17.0'; // x-release-please-version
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.17.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.17.0";
1
+ export declare const VERSION = "0.19.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.17.0'; // x-release-please-version
4
+ exports.VERSION = '0.19.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.17.0'; // x-release-please-version
1
+ export const VERSION = '0.19.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map