@privy-io/node 0.6.0 → 0.6.2
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 +27 -0
- package/client.d.mts +8 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +8 -2
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +3 -3
- package/resources/analytics.d.mts +17 -0
- package/resources/analytics.d.mts.map +1 -0
- package/resources/analytics.d.ts +17 -0
- package/resources/analytics.d.ts.map +1 -0
- package/resources/analytics.js +9 -0
- package/resources/analytics.js.map +1 -0
- package/resources/analytics.mjs +5 -0
- package/resources/analytics.mjs.map +1 -0
- package/resources/apps.d.mts +127 -0
- package/resources/apps.d.mts.map +1 -0
- package/resources/apps.d.ts +127 -0
- package/resources/apps.d.ts.map +1 -0
- package/resources/apps.js +9 -0
- package/resources/apps.js.map +1 -0
- package/resources/apps.mjs +5 -0
- package/resources/apps.mjs.map +1 -0
- package/resources/index.d.mts +3 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.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 +13 -6
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +13 -6
- 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/src/client.ts +12 -0
- package/src/resources/analytics.ts +20 -0
- package/src/resources/apps.ts +215 -0
- package/src/resources/index.ts +3 -0
- package/src/resources/wallets/index.ts +1 -0
- package/src/resources/wallets/transactions.ts +1 -1
- package/src/resources/wallets/wallets.ts +15 -5
- 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
|
@@ -141,7 +141,7 @@ export namespace TransactionGetResponse {
|
|
|
141
141
|
export interface TransactionGetParams {
|
|
142
142
|
asset: 'usdc' | 'eth' | 'pol' | 'usdt' | 'sol' | Array<'usdc' | 'eth' | 'pol' | 'usdt' | 'sol'>;
|
|
143
143
|
|
|
144
|
-
chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana';
|
|
144
|
+
chain: 'ethereum' | 'arbitrum' | 'base' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
|
|
145
145
|
|
|
146
146
|
cursor?: string;
|
|
147
147
|
|
|
@@ -392,6 +392,13 @@ export type ExtendedChainType =
|
|
|
392
392
|
| 'starknet'
|
|
393
393
|
| 'spark';
|
|
394
394
|
|
|
395
|
+
/**
|
|
396
|
+
* Information about the custodian managing this wallet.
|
|
397
|
+
*/
|
|
398
|
+
export interface WalletCustodian {
|
|
399
|
+
name: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
395
402
|
/**
|
|
396
403
|
* Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
|
|
397
404
|
*/
|
|
@@ -956,6 +963,8 @@ export interface WalletInitImportResponse {
|
|
|
956
963
|
|
|
957
964
|
export interface WalletRawSignResponse {
|
|
958
965
|
data: WalletRawSignResponse.Data;
|
|
966
|
+
|
|
967
|
+
method: 'raw_sign';
|
|
959
968
|
}
|
|
960
969
|
|
|
961
970
|
export namespace WalletRawSignResponse {
|
|
@@ -1205,7 +1214,7 @@ export interface WalletRawSignParams {
|
|
|
1205
1214
|
/**
|
|
1206
1215
|
* Body param: Sign a pre-computed hash
|
|
1207
1216
|
*/
|
|
1208
|
-
params: WalletRawSignParams.Hash | WalletRawSignParams.
|
|
1217
|
+
params: WalletRawSignParams.Hash | WalletRawSignParams.Bytes;
|
|
1209
1218
|
|
|
1210
1219
|
/**
|
|
1211
1220
|
* Header param: Request authorization signature. If multiple signatures are
|
|
@@ -1232,21 +1241,21 @@ export namespace WalletRawSignParams {
|
|
|
1232
1241
|
}
|
|
1233
1242
|
|
|
1234
1243
|
/**
|
|
1235
|
-
* Hash and sign bytes
|
|
1244
|
+
* Hash and sign bytes using the specified encoding and hash function.
|
|
1236
1245
|
*/
|
|
1237
|
-
export interface
|
|
1246
|
+
export interface Bytes {
|
|
1238
1247
|
/**
|
|
1239
1248
|
* The bytes to hash and sign.
|
|
1240
1249
|
*/
|
|
1241
1250
|
bytes: string;
|
|
1242
1251
|
|
|
1243
1252
|
/**
|
|
1244
|
-
*
|
|
1253
|
+
* The encoding scheme for the bytes.
|
|
1245
1254
|
*/
|
|
1246
1255
|
encoding: 'utf-8' | 'hex';
|
|
1247
1256
|
|
|
1248
1257
|
/**
|
|
1249
|
-
*
|
|
1258
|
+
* The hash function to hash the bytes.
|
|
1250
1259
|
*/
|
|
1251
1260
|
hash_function: 'keccak256' | 'sha256';
|
|
1252
1261
|
}
|
|
@@ -2045,6 +2054,7 @@ export declare namespace Wallets {
|
|
|
2045
2054
|
type Wallet as Wallet,
|
|
2046
2055
|
type WalletChainType as WalletChainType,
|
|
2047
2056
|
type ExtendedChainType as ExtendedChainType,
|
|
2057
|
+
type WalletCustodian as WalletCustodian,
|
|
2048
2058
|
type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput,
|
|
2049
2059
|
type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput,
|
|
2050
2060
|
type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.6.
|
|
1
|
+
export const VERSION = '0.6.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.6.
|
|
1
|
+
export declare const VERSION = "0.6.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.6.
|
|
1
|
+
export const VERSION = '0.6.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|