@avalabs/vm-module-types 0.0.0-getAddress-20240730175707 → 0.0.0-getAddress-20240730212829
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +1 -1
- package/dist/account.cjs +2 -2
- package/dist/account.d.cts +3 -10
- package/dist/account.d.ts +3 -10
- package/dist/account.js +1 -1
- package/dist/{chunk-SCIT4N2H.js → chunk-RIBT5FN6.js} +1 -1
- package/dist/chunk-RIBT5FN6.js.map +1 -0
- package/dist/{chunk-UG4T7OTF.cjs → chunk-TCBFAMPS.cjs} +1 -1
- package/dist/chunk-TCBFAMPS.cjs.map +1 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/account.ts +7 -10
- package/dist/chunk-SCIT4N2H.js.map +0 -1
- package/dist/chunk-UG4T7OTF.cjs.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -22,7 +22,7 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
22
22
|
[32mCJS[39m [1mdist/chunk-2KGTZTXY.cjs [22m[32m219.00 B[39m
|
|
23
23
|
[32mCJS[39m [1mdist/chunk-B6DAZDIA.cjs [22m[32m1.21 KB[39m
|
|
24
24
|
[32mCJS[39m [1mdist/chunk-47KTBBRA.cjs [22m[32m90.00 B[39m
|
|
25
|
-
[32mCJS[39m [1mdist/chunk-
|
|
25
|
+
[32mCJS[39m [1mdist/chunk-TCBFAMPS.cjs [22m[32m240.00 B[39m
|
|
26
26
|
[32mCJS[39m [1mdist/chunk-JUV577XH.cjs [22m[32m90.00 B[39m
|
|
27
27
|
[32mCJS[39m [1mdist/chunk-VRQJHO4F.cjs [22m[32m276.00 B[39m
|
|
28
28
|
[32mCJS[39m [1mdist/chunk-OGQBQHLH.cjs [22m[32m90.00 B[39m
|
|
@@ -45,7 +45,7 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
45
45
|
[32mCJS[39m [1mdist/chunk-2KGTZTXY.cjs.map [22m[32m1.18 KB[39m
|
|
46
46
|
[32mCJS[39m [1mdist/chunk-B6DAZDIA.cjs.map [22m[32m3.72 KB[39m
|
|
47
47
|
[32mCJS[39m [1mdist/chunk-47KTBBRA.cjs.map [22m[32m51.00 B[39m
|
|
48
|
-
[32mCJS[39m [1mdist/chunk-
|
|
48
|
+
[32mCJS[39m [1mdist/chunk-TCBFAMPS.cjs.map [22m[32m997.00 B[39m
|
|
49
49
|
[32mCJS[39m [1mdist/chunk-JUV577XH.cjs.map [22m[32m51.00 B[39m
|
|
50
50
|
[32mCJS[39m [1mdist/chunk-VRQJHO4F.cjs.map [22m[32m1.08 KB[39m
|
|
51
51
|
[32mCJS[39m [1mdist/chunk-OGQBQHLH.cjs.map [22m[32m51.00 B[39m
|
|
@@ -64,12 +64,12 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
64
64
|
[32mCJS[39m [1mdist/chunk-74SNNWSF.cjs.map [22m[32m1.65 KB[39m
|
|
65
65
|
[32mCJS[39m [1mdist/module.cjs.map [22m[32m51.00 B[39m
|
|
66
66
|
[32mCJS[39m [1mdist/network-fee.cjs.map [22m[32m51.00 B[39m
|
|
67
|
-
[32mCJS[39m ⚡️ Build success in
|
|
67
|
+
[32mCJS[39m ⚡️ Build success in 1366ms
|
|
68
68
|
[32mESM[39m [1mdist/chunk-RKFOXZ35.js [22m[32m464.00 B[39m
|
|
69
69
|
[32mESM[39m [1mdist/chunk-7Y6UGMPZ.js [22m[32m207.00 B[39m
|
|
70
70
|
[32mESM[39m [1mdist/chunk-7JLXTNPE.js [22m[32m1.18 KB[39m
|
|
71
71
|
[32mESM[39m [1mdist/chunk-P6AM7I3B.js [22m[32m75.00 B[39m
|
|
72
|
-
[32mESM[39m [1mdist/chunk-
|
|
72
|
+
[32mESM[39m [1mdist/chunk-RIBT5FN6.js [22m[32m228.00 B[39m
|
|
73
73
|
[32mESM[39m [1mdist/chunk-BHB5UV3J.js [22m[32m75.00 B[39m
|
|
74
74
|
[32mESM[39m [1mdist/chunk-4BNYMHOY.js [22m[32m257.00 B[39m
|
|
75
75
|
[32mESM[39m [1mdist/chunk-CUVJNZP5.js [22m[32m75.00 B[39m
|
|
@@ -92,7 +92,7 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
92
92
|
[32mESM[39m [1mdist/chunk-7Y6UGMPZ.js.map [22m[32m1.18 KB[39m
|
|
93
93
|
[32mESM[39m [1mdist/chunk-7JLXTNPE.js.map [22m[32m3.72 KB[39m
|
|
94
94
|
[32mESM[39m [1mdist/chunk-P6AM7I3B.js.map [22m[32m51.00 B[39m
|
|
95
|
-
[32mESM[39m [1mdist/chunk-
|
|
95
|
+
[32mESM[39m [1mdist/chunk-RIBT5FN6.js.map [22m[32m997.00 B[39m
|
|
96
96
|
[32mESM[39m [1mdist/chunk-BHB5UV3J.js.map [22m[32m51.00 B[39m
|
|
97
97
|
[32mESM[39m [1mdist/chunk-4BNYMHOY.js.map [22m[32m1.08 KB[39m
|
|
98
98
|
[32mESM[39m [1mdist/chunk-CUVJNZP5.js.map [22m[32m51.00 B[39m
|
|
@@ -111,13 +111,13 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
111
111
|
[32mESM[39m [1mdist/chunk-A4YEBDMG.js.map [22m[32m1.65 KB[39m
|
|
112
112
|
[32mESM[39m [1mdist/module.js.map [22m[32m51.00 B[39m
|
|
113
113
|
[32mESM[39m [1mdist/network-fee.js.map [22m[32m51.00 B[39m
|
|
114
|
-
[32mESM[39m ⚡️ Build success in
|
|
114
|
+
[32mESM[39m ⚡️ Build success in 1396ms
|
|
115
115
|
[34mDTS[39m Build start
|
|
116
|
-
[32mDTS[39m ⚡️ Build success in
|
|
116
|
+
[32mDTS[39m ⚡️ Build success in 9604ms
|
|
117
117
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.54 KB[39m
|
|
118
118
|
[32mDTS[39m [1mdist/coingecko.d.cts [22m[32m1.09 KB[39m
|
|
119
119
|
[32mDTS[39m [1mdist/module.d.cts [22m[32m1.15 KB[39m
|
|
120
|
-
[32mDTS[39m [1mdist/account.d.cts [22m[
|
|
120
|
+
[32mDTS[39m [1mdist/account.d.cts [22m[32m841.00 B[39m
|
|
121
121
|
[32mDTS[39m [1mdist/balance.d.cts [22m[32m3.81 KB[39m
|
|
122
122
|
[32mDTS[39m [1mdist/manifest.d.cts [22m[32m6.95 KB[39m
|
|
123
123
|
[32mDTS[39m [1mdist/network-fee.d.cts [22m[32m361.00 B[39m
|
|
@@ -129,7 +129,7 @@ Generated an empty chunk: "chunk-7U2R34EQ".
|
|
|
129
129
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.53 KB[39m
|
|
130
130
|
[32mDTS[39m [1mdist/coingecko.d.ts [22m[32m1.09 KB[39m
|
|
131
131
|
[32mDTS[39m [1mdist/module.d.ts [22m[32m1.14 KB[39m
|
|
132
|
-
[32mDTS[39m [1mdist/account.d.ts [22m[
|
|
132
|
+
[32mDTS[39m [1mdist/account.d.ts [22m[32m841.00 B[39m
|
|
133
133
|
[32mDTS[39m [1mdist/balance.d.ts [22m[32m3.80 KB[39m
|
|
134
134
|
[32mDTS[39m [1mdist/manifest.d.ts [22m[32m6.95 KB[39m
|
|
135
135
|
[32mDTS[39m [1mdist/network-fee.d.ts [22m[32m361.00 B[39m
|
package/CHANGELOG.md
CHANGED
package/dist/account.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkTCBFAMPS_cjs = require('./chunk-TCBFAMPS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, 'WalletType', {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkTCBFAMPS_cjs.a; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=out.js.map
|
|
12
12
|
//# sourceMappingURL=account.cjs.map
|
package/dist/account.d.cts
CHANGED
|
@@ -5,20 +5,13 @@ declare enum WalletType {
|
|
|
5
5
|
Keystone = "keystone",
|
|
6
6
|
Seedless = "seedless"
|
|
7
7
|
}
|
|
8
|
-
type
|
|
9
|
-
walletType:
|
|
10
|
-
accountIndex: number;
|
|
11
|
-
xpub: string;
|
|
12
|
-
xpubXP: string;
|
|
13
|
-
isTestnet?: boolean;
|
|
14
|
-
} : T extends WalletType.LedgerLive | WalletType.Seedless ? {
|
|
15
|
-
walletType: T;
|
|
8
|
+
type GetAddressParams = {
|
|
9
|
+
walletType: WalletType;
|
|
16
10
|
accountIndex: number;
|
|
17
11
|
xpub: string;
|
|
18
12
|
xpubXP?: string;
|
|
19
13
|
isTestnet?: boolean;
|
|
20
|
-
}
|
|
21
|
-
type GetAddressParams = ParamsByWalletType<WalletType>;
|
|
14
|
+
};
|
|
22
15
|
type GetAddressResponse = Record<string, string>;
|
|
23
16
|
type PubKeyType = {
|
|
24
17
|
evm: string;
|
package/dist/account.d.ts
CHANGED
|
@@ -5,20 +5,13 @@ declare enum WalletType {
|
|
|
5
5
|
Keystone = "keystone",
|
|
6
6
|
Seedless = "seedless"
|
|
7
7
|
}
|
|
8
|
-
type
|
|
9
|
-
walletType:
|
|
10
|
-
accountIndex: number;
|
|
11
|
-
xpub: string;
|
|
12
|
-
xpubXP: string;
|
|
13
|
-
isTestnet?: boolean;
|
|
14
|
-
} : T extends WalletType.LedgerLive | WalletType.Seedless ? {
|
|
15
|
-
walletType: T;
|
|
8
|
+
type GetAddressParams = {
|
|
9
|
+
walletType: WalletType;
|
|
16
10
|
accountIndex: number;
|
|
17
11
|
xpub: string;
|
|
18
12
|
xpubXP?: string;
|
|
19
13
|
isTestnet?: boolean;
|
|
20
|
-
}
|
|
21
|
-
type GetAddressParams = ParamsByWalletType<WalletType>;
|
|
14
|
+
};
|
|
22
15
|
type GetAddressResponse = Record<string, string>;
|
|
23
16
|
type PubKeyType = {
|
|
24
17
|
evm: string;
|
package/dist/account.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAAO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["export enum WalletType {\n // Primary wallet types\n Mnemonic = 'mnemonic',\n Ledger = 'ledger',\n LedgerLive = 'ledger-live',\n Keystone = 'keystone',\n Seedless = 'seedless',\n}\n\nexport type GetAddressParams = {\n walletType: WalletType;\n accountIndex: number;\n xpub: string;\n xpubXP?: string;\n isTestnet?: boolean;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type PubKeyType = {\n evm: string;\n /**\n * Public keys used for X/P chain are from a different derivation path.\n */\n xp?: string;\n btcWalletPolicyDetails?: BtcWalletPolicyDetails;\n};\n\nexport type BtcWalletPolicyDetails = {\n hmacHex: string;\n /**\n * Extended public key of m/44'/60'/n\n */\n xpub: string;\n masterFingerprint: string;\n name: string;\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAAO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["export enum WalletType {\n // Primary wallet types\n Mnemonic = 'mnemonic',\n Ledger = 'ledger',\n LedgerLive = 'ledger-live',\n Keystone = 'keystone',\n Seedless = 'seedless',\n}\n\nexport type GetAddressParams = {\n walletType: WalletType;\n accountIndex: number;\n xpub: string;\n xpubXP?: string;\n isTestnet?: boolean;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type PubKeyType = {\n evm: string;\n /**\n * Public keys used for X/P chain are from a different derivation path.\n */\n xp?: string;\n btcWalletPolicyDetails?: BtcWalletPolicyDetails;\n};\n\nexport type BtcWalletPolicyDetails = {\n hmacHex: string;\n /**\n * Extended public key of m/44'/60'/n\n */\n xpub: string;\n masterFingerprint: string;\n name: string;\n};\n"]}
|
package/dist/index.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var chunkYVYCETG2_cjs = require('./chunk-YVYCETG2.cjs');
|
|
|
4
4
|
var chunk2KGTZTXY_cjs = require('./chunk-2KGTZTXY.cjs');
|
|
5
5
|
var chunkB6DAZDIA_cjs = require('./chunk-B6DAZDIA.cjs');
|
|
6
6
|
require('./chunk-47KTBBRA.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkTCBFAMPS_cjs = require('./chunk-TCBFAMPS.cjs');
|
|
8
8
|
require('./chunk-JUV577XH.cjs');
|
|
9
9
|
var chunk4PGCXP4C_cjs = require('./chunk-4PGCXP4C.cjs');
|
|
10
10
|
var chunkVRQJHO4F_cjs = require('./chunk-VRQJHO4F.cjs');
|
|
@@ -40,7 +40,7 @@ Object.defineProperty(exports, 'XChainTransactionType', {
|
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, 'WalletType', {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkTCBFAMPS_cjs.a; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, 'RawSimplePriceResponseSchema', {
|
|
46
46
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ export { b as AlertType, a as RpcMethod } from './chunk-RKFOXZ35.js';
|
|
|
2
2
|
export { a as TokenType } from './chunk-7Y6UGMPZ.js';
|
|
3
3
|
export { b as PChainTransactionType, a as TransactionType, c as XChainTransactionType } from './chunk-7JLXTNPE.js';
|
|
4
4
|
import './chunk-P6AM7I3B.js';
|
|
5
|
-
export { a as WalletType } from './chunk-
|
|
5
|
+
export { a as WalletType } from './chunk-RIBT5FN6.js';
|
|
6
6
|
import './chunk-BHB5UV3J.js';
|
|
7
7
|
export { b as RawSimplePriceResponseSchema, a as SimplePriceResponseSchema } from './chunk-WOO6UGSQ.js';
|
|
8
8
|
export { b as Environment, a as NetworkVMType } from './chunk-4BNYMHOY.js';
|
package/package.json
CHANGED
package/src/account.ts
CHANGED
|
@@ -7,16 +7,13 @@ export enum WalletType {
|
|
|
7
7
|
Seedless = 'seedless',
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
type
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
: never;
|
|
18
|
-
|
|
19
|
-
export type GetAddressParams = ParamsByWalletType<WalletType>;
|
|
10
|
+
export type GetAddressParams = {
|
|
11
|
+
walletType: WalletType;
|
|
12
|
+
accountIndex: number;
|
|
13
|
+
xpub: string;
|
|
14
|
+
xpubXP?: string;
|
|
15
|
+
isTestnet?: boolean;
|
|
16
|
+
};
|
|
20
17
|
|
|
21
18
|
export type GetAddressResponse = Record<string, string>;
|
|
22
19
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAAO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["export enum WalletType {\n // Primary wallet types\n Mnemonic = 'mnemonic',\n Ledger = 'ledger',\n LedgerLive = 'ledger-live',\n Keystone = 'keystone',\n Seedless = 'seedless',\n}\n\ntype ParamsByWalletType<\n T extends WalletType.Mnemonic | WalletType.Keystone | WalletType.Ledger | WalletType.LedgerLive | WalletType.Seedless,\n> = T extends WalletType.Mnemonic | WalletType.Keystone | WalletType.Ledger\n ? { walletType: T; accountIndex: number; xpub: string; xpubXP: string; isTestnet?: boolean }\n : T extends WalletType.LedgerLive | WalletType.Seedless\n ? // xpubXP is optional for LedgerLive and Seedless\n { walletType: T; accountIndex: number; xpub: string; xpubXP?: string; isTestnet?: boolean }\n : never;\n\nexport type GetAddressParams = ParamsByWalletType<WalletType>;\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type PubKeyType = {\n evm: string;\n /**\n * Public keys used for X/P chain are from a different derivation path.\n */\n xp?: string;\n btcWalletPolicyDetails?: BtcWalletPolicyDetails;\n};\n\nexport type BtcWalletPolicyDetails = {\n hmacHex: string;\n /**\n * Extended public key of m/44'/60'/n\n */\n xpub: string;\n masterFingerprint: string;\n name: string;\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAAO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["export enum WalletType {\n // Primary wallet types\n Mnemonic = 'mnemonic',\n Ledger = 'ledger',\n LedgerLive = 'ledger-live',\n Keystone = 'keystone',\n Seedless = 'seedless',\n}\n\ntype ParamsByWalletType<\n T extends WalletType.Mnemonic | WalletType.Keystone | WalletType.Ledger | WalletType.LedgerLive | WalletType.Seedless,\n> = T extends WalletType.Mnemonic | WalletType.Keystone | WalletType.Ledger\n ? { walletType: T; accountIndex: number; xpub: string; xpubXP: string; isTestnet?: boolean }\n : T extends WalletType.LedgerLive | WalletType.Seedless\n ? // xpubXP is optional for LedgerLive and Seedless\n { walletType: T; accountIndex: number; xpub: string; xpubXP?: string; isTestnet?: boolean }\n : never;\n\nexport type GetAddressParams = ParamsByWalletType<WalletType>;\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type PubKeyType = {\n evm: string;\n /**\n * Public keys used for X/P chain are from a different derivation path.\n */\n xp?: string;\n btcWalletPolicyDetails?: BtcWalletPolicyDetails;\n};\n\nexport type BtcWalletPolicyDetails = {\n hmacHex: string;\n /**\n * Extended public key of m/44'/60'/n\n */\n xpub: string;\n masterFingerprint: string;\n name: string;\n};\n"]}
|