@privy-io/api-types 0.3.0 → 0.3.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 +19 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- 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/analytics.d.mts +1 -1
- package/resources/analytics.d.mts.map +1 -1
- package/resources/analytics.d.ts +1 -1
- package/resources/analytics.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- 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 +2 -0
- package/src/resources/analytics.ts +2 -2
- package/src/resources/index.ts +1 -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
|
@@ -399,6 +399,13 @@ export type ExtendedChainType =
|
|
|
399
399
|
| 'starknet'
|
|
400
400
|
| 'spark';
|
|
401
401
|
|
|
402
|
+
/**
|
|
403
|
+
* Information about the custodian managing this wallet.
|
|
404
|
+
*/
|
|
405
|
+
export interface WalletCustodian {
|
|
406
|
+
name: string;
|
|
407
|
+
}
|
|
408
|
+
|
|
402
409
|
/**
|
|
403
410
|
* Executes the EVM `personal_sign` RPC (EIP-191) to sign a message.
|
|
404
411
|
*/
|
|
@@ -963,6 +970,8 @@ export interface WalletInitImportResponse {
|
|
|
963
970
|
|
|
964
971
|
export interface WalletRawSignResponse {
|
|
965
972
|
data: WalletRawSignResponse.Data;
|
|
973
|
+
|
|
974
|
+
method: 'raw_sign';
|
|
966
975
|
}
|
|
967
976
|
|
|
968
977
|
export namespace WalletRawSignResponse {
|
|
@@ -1212,7 +1221,7 @@ export interface WalletRawSignParams {
|
|
|
1212
1221
|
/**
|
|
1213
1222
|
* Body param: Sign a pre-computed hash
|
|
1214
1223
|
*/
|
|
1215
|
-
params: WalletRawSignParams.Hash | WalletRawSignParams.
|
|
1224
|
+
params: WalletRawSignParams.Hash | WalletRawSignParams.Bytes;
|
|
1216
1225
|
|
|
1217
1226
|
/**
|
|
1218
1227
|
* Header param: Request authorization signature. If multiple signatures are
|
|
@@ -1239,21 +1248,21 @@ export namespace WalletRawSignParams {
|
|
|
1239
1248
|
}
|
|
1240
1249
|
|
|
1241
1250
|
/**
|
|
1242
|
-
* Hash and sign bytes
|
|
1251
|
+
* Hash and sign bytes using the specified encoding and hash function.
|
|
1243
1252
|
*/
|
|
1244
|
-
export interface
|
|
1253
|
+
export interface Bytes {
|
|
1245
1254
|
/**
|
|
1246
1255
|
* The bytes to hash and sign.
|
|
1247
1256
|
*/
|
|
1248
1257
|
bytes: string;
|
|
1249
1258
|
|
|
1250
1259
|
/**
|
|
1251
|
-
*
|
|
1260
|
+
* The encoding scheme for the bytes.
|
|
1252
1261
|
*/
|
|
1253
1262
|
encoding: 'utf-8' | 'hex';
|
|
1254
1263
|
|
|
1255
1264
|
/**
|
|
1256
|
-
*
|
|
1265
|
+
* The hash function to hash the bytes.
|
|
1257
1266
|
*/
|
|
1258
1267
|
hash_function: 'keccak256' | 'sha256';
|
|
1259
1268
|
}
|
|
@@ -2053,6 +2062,7 @@ export declare namespace Wallets {
|
|
|
2053
2062
|
type WalletChainType as WalletChainType,
|
|
2054
2063
|
type WalletRevokeResponse as WalletRevokeResponse,
|
|
2055
2064
|
type ExtendedChainType as ExtendedChainType,
|
|
2065
|
+
type WalletCustodian as WalletCustodian,
|
|
2056
2066
|
type EthereumPersonalSignRpcInput as EthereumPersonalSignRpcInput,
|
|
2057
2067
|
type EthereumSignTransactionRpcInput as EthereumSignTransactionRpcInput,
|
|
2058
2068
|
type EthereumSendTransactionRpcInput as EthereumSendTransactionRpcInput,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.3.
|
|
1
|
+
export const VERSION = '0.3.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
1
|
+
export declare const VERSION = "0.3.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.3.
|
|
1
|
+
export declare const VERSION = "0.3.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.3.
|
|
1
|
+
export const VERSION = '0.3.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|