@privy-io/node 0.2.0 → 0.3.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 +31 -0
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/package.json +4 -3
- package/public-api/PrivyClient.d.mts +5 -1
- package/public-api/PrivyClient.d.mts.map +1 -1
- package/public-api/PrivyClient.d.ts +5 -1
- package/public-api/PrivyClient.d.ts.map +1 -1
- package/public-api/PrivyClient.js +6 -1
- package/public-api/PrivyClient.js.map +1 -1
- package/public-api/PrivyClient.mjs +6 -1
- package/public-api/PrivyClient.mjs.map +1 -1
- package/public-api/services/webhooks.d.mts +34 -0
- package/public-api/services/webhooks.d.mts.map +1 -0
- package/public-api/services/webhooks.d.ts +34 -0
- package/public-api/services/webhooks.d.ts.map +1 -0
- package/public-api/services/webhooks.js +48 -0
- package/public-api/services/webhooks.js.map +1 -0
- package/public-api/services/webhooks.mjs +43 -0
- package/public-api/services/webhooks.mjs.map +1 -0
- package/resources/transactions.d.mts +1 -1
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +1 -1
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +16 -3
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +16 -3
- package/resources/users.d.ts.map +1 -1
- 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 +6 -6
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +6 -6
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/src/internal/to-file.ts +1 -1
- package/src/public-api/PrivyClient.ts +9 -0
- package/src/public-api/services/webhooks.ts +63 -0
- package/src/resources/transactions.ts +9 -1
- package/src/resources/users.ts +27 -1
- package/src/resources/wallets/balance.ts +39 -4
- package/src/resources/wallets/transactions.ts +44 -8
- 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
|
@@ -42,7 +42,15 @@ export namespace TransactionGetResponse {
|
|
|
42
42
|
|
|
43
43
|
privy_transaction_id: string;
|
|
44
44
|
|
|
45
|
-
status:
|
|
45
|
+
status:
|
|
46
|
+
| 'broadcasted'
|
|
47
|
+
| 'confirmed'
|
|
48
|
+
| 'execution_reverted'
|
|
49
|
+
| 'failed'
|
|
50
|
+
| 'replaced'
|
|
51
|
+
| 'finalized'
|
|
52
|
+
| 'provider_error'
|
|
53
|
+
| 'pending';
|
|
46
54
|
|
|
47
55
|
transaction_hash: string | null;
|
|
48
56
|
|
|
@@ -53,9 +61,23 @@ export namespace TransactionGetResponse {
|
|
|
53
61
|
|
|
54
62
|
export namespace Transaction {
|
|
55
63
|
export interface UnionMember0 {
|
|
56
|
-
asset: 'usdc' | 'eth' | 'pol' | 'sol';
|
|
57
|
-
|
|
58
|
-
chain:
|
|
64
|
+
asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'sol';
|
|
65
|
+
|
|
66
|
+
chain:
|
|
67
|
+
| 'ethereum'
|
|
68
|
+
| 'arbitrum'
|
|
69
|
+
| 'base'
|
|
70
|
+
| 'linea'
|
|
71
|
+
| 'optimism'
|
|
72
|
+
| 'polygon'
|
|
73
|
+
| 'solana'
|
|
74
|
+
| 'zksync_era'
|
|
75
|
+
| 'sepolia'
|
|
76
|
+
| 'arbitrum_sepolia'
|
|
77
|
+
| 'base_sepolia'
|
|
78
|
+
| 'linea_testnet'
|
|
79
|
+
| 'optimism_sepolia'
|
|
80
|
+
| 'polygon_amoy';
|
|
59
81
|
|
|
60
82
|
display_values: { [key: string]: string };
|
|
61
83
|
|
|
@@ -75,9 +97,23 @@ export namespace TransactionGetResponse {
|
|
|
75
97
|
}
|
|
76
98
|
|
|
77
99
|
export interface UnionMember1 {
|
|
78
|
-
asset: 'usdc' | 'eth' | 'pol' | 'sol';
|
|
79
|
-
|
|
80
|
-
chain:
|
|
100
|
+
asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'sol';
|
|
101
|
+
|
|
102
|
+
chain:
|
|
103
|
+
| 'ethereum'
|
|
104
|
+
| 'arbitrum'
|
|
105
|
+
| 'base'
|
|
106
|
+
| 'linea'
|
|
107
|
+
| 'optimism'
|
|
108
|
+
| 'polygon'
|
|
109
|
+
| 'solana'
|
|
110
|
+
| 'zksync_era'
|
|
111
|
+
| 'sepolia'
|
|
112
|
+
| 'arbitrum_sepolia'
|
|
113
|
+
| 'base_sepolia'
|
|
114
|
+
| 'linea_testnet'
|
|
115
|
+
| 'optimism_sepolia'
|
|
116
|
+
| 'polygon_amoy';
|
|
81
117
|
|
|
82
118
|
display_values: { [key: string]: string };
|
|
83
119
|
|
|
@@ -99,7 +135,7 @@ export namespace TransactionGetResponse {
|
|
|
99
135
|
}
|
|
100
136
|
|
|
101
137
|
export interface TransactionGetParams {
|
|
102
|
-
asset: 'usdc' | 'eth' | 'pol' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'sol'>;
|
|
138
|
+
asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'sol'>;
|
|
103
139
|
|
|
104
140
|
chain: 'base';
|
|
105
141
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.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.3.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.3.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.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|