@avalabs/vm-module-types 3.8.0 → 3.9.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/dist/account.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkLCSOMXO3_cjs = require('./chunk-LCSOMXO3.cjs');
3
+ var chunkMI34CGL2_cjs = require('./chunk-MI34CGL2.cjs');
4
4
  require('./chunk-IQLAM2UJ.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, 'WalletType', {
9
9
  enumerable: true,
10
- get: function () { return chunkLCSOMXO3_cjs.a; }
10
+ get: function () { return chunkMI34CGL2_cjs.a; }
11
11
  });
12
12
  //# sourceMappingURL=out.js.map
13
13
  //# sourceMappingURL=account.cjs.map
@@ -42,6 +42,14 @@ type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {
42
42
  };
43
43
  type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;
44
44
  type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;
45
+ type DeriveAddressesParams = {
46
+ network: Omit<Network, 'tokens'>;
47
+ secretId: string;
48
+ accountIndices: number[];
49
+ derivationPathType: DerivationPathType;
50
+ addressIndex?: number;
51
+ };
52
+ type DeriveAddressesResponse = DeriveAddressResponse[];
45
53
  type DerivationPathType = 'bip44' | 'ledger_live';
46
54
  type BuildDerivationPathParams = {
47
55
  accountIndex: number;
@@ -67,4 +75,4 @@ type BtcWalletPolicyDetails = {
67
75
  name: string;
68
76
  };
69
77
 
70
- export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType };
78
+ export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType };
package/dist/account.d.ts CHANGED
@@ -42,6 +42,14 @@ type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {
42
42
  };
43
43
  type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;
44
44
  type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;
45
+ type DeriveAddressesParams = {
46
+ network: Omit<Network, 'tokens'>;
47
+ secretId: string;
48
+ accountIndices: number[];
49
+ derivationPathType: DerivationPathType;
50
+ addressIndex?: number;
51
+ };
52
+ type DeriveAddressesResponse = DeriveAddressResponse[];
45
53
  type DerivationPathType = 'bip44' | 'ledger_live';
46
54
  type BuildDerivationPathParams = {
47
55
  accountIndex: number;
@@ -67,4 +75,4 @@ type BtcWalletPolicyDetails = {
67
75
  name: string;
68
76
  };
69
77
 
70
- export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType };
78
+ export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType };
package/dist/account.js CHANGED
@@ -1,4 +1,4 @@
1
- export { a as WalletType } from './chunk-WMOCBIRL.js';
1
+ export { a as WalletType } from './chunk-QDQCGSSS.js';
2
2
  import './chunk-DYCPFO4Y.js';
3
3
  //# sourceMappingURL=out.js.map
4
4
  //# sourceMappingURL=account.js.map
@@ -4,4 +4,4 @@ var r=(e=>(e.Mnemonic="mnemonic",e.Ledger="ledger",e.LedgerLive="ledger-live",e.
4
4
 
5
5
  exports.a = r;
6
6
  //# sourceMappingURL=out.js.map
7
- //# sourceMappingURL=chunk-LCSOMXO3.cjs.map
7
+ //# sourceMappingURL=chunk-MI34CGL2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAEO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["import type { Network, NetworkVMType } from './common';\n\nexport 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 network?: Network;\n xpubXP?: string;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type SimpleDeriveAddressParams = {\n network: Omit<Network, 'tokens'>;\n /**\n * ID of the secret key to use for derivation.\n */\n secretId: string;\n};\nexport type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {\n /**\n * Account index for which the public key is requested.\n * Leave empty if requesting a public key for a single-account private key.\n */\n accountIndex: number;\n /**\n * Type of the derivation path to use.\n * Useful when working with Ledger devices, which support BIP44 and Ledger Live derivation paths.\n */\n derivationPathType: DerivationPathType;\n\n /**\n * Address index for which the public key will be requested.\n * This is NOT the same as {accountIndex}. Applicable mostly to X/P chain addresses.\n */\n addressIndex?: number;\n};\n\nexport type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;\n\nexport type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;\n\nexport type DerivationPathType = 'bip44' | 'ledger_live';\nexport type BuildDerivationPathParams = {\n accountIndex: number;\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\nexport type BuildDerivationPathResponse = Partial<Record<NetworkVMType, 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
+ {"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAEO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["import type { Network, NetworkVMType } from './common';\n\nexport 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 network?: Network;\n xpubXP?: string;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type SimpleDeriveAddressParams = {\n network: Omit<Network, 'tokens'>;\n /**\n * ID of the secret key to use for derivation.\n */\n secretId: string;\n};\nexport type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {\n /**\n * Account index for which the public key is requested.\n * Leave empty if requesting a public key for a single-account private key.\n */\n accountIndex: number;\n /**\n * Type of the derivation path to use.\n * Useful when working with Ledger devices, which support BIP44 and Ledger Live derivation paths.\n */\n derivationPathType: DerivationPathType;\n\n /**\n * Address index for which the public key will be requested.\n * This is NOT the same as {accountIndex}. Applicable mostly to X/P chain addresses.\n */\n addressIndex?: number;\n};\n\nexport type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;\n\nexport type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;\n\nexport type DeriveAddressesParams = {\n network: Omit<Network, 'tokens'>;\n secretId: string;\n accountIndices: number[];\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\n\nexport type DeriveAddressesResponse = DeriveAddressResponse[];\n\nexport type DerivationPathType = 'bip44' | 'ledger_live';\nexport type BuildDerivationPathParams = {\n accountIndex: number;\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\nexport type BuildDerivationPathResponse = Partial<Record<NetworkVMType, 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"]}
@@ -2,4 +2,4 @@ var r=(e=>(e.Mnemonic="mnemonic",e.Ledger="ledger",e.LedgerLive="ledger-live",e.
2
2
 
3
3
  export { r as a };
4
4
  //# sourceMappingURL=out.js.map
5
- //# sourceMappingURL=chunk-WMOCBIRL.js.map
5
+ //# sourceMappingURL=chunk-QDQCGSSS.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAEO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["import type { Network, NetworkVMType } from './common';\n\nexport 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 network?: Network;\n xpubXP?: string;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type SimpleDeriveAddressParams = {\n network: Omit<Network, 'tokens'>;\n /**\n * ID of the secret key to use for derivation.\n */\n secretId: string;\n};\nexport type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {\n /**\n * Account index for which the public key is requested.\n * Leave empty if requesting a public key for a single-account private key.\n */\n accountIndex: number;\n /**\n * Type of the derivation path to use.\n * Useful when working with Ledger devices, which support BIP44 and Ledger Live derivation paths.\n */\n derivationPathType: DerivationPathType;\n\n /**\n * Address index for which the public key will be requested.\n * This is NOT the same as {accountIndex}. Applicable mostly to X/P chain addresses.\n */\n addressIndex?: number;\n};\n\nexport type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;\n\nexport type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;\n\nexport type DerivationPathType = 'bip44' | 'ledger_live';\nexport type BuildDerivationPathParams = {\n accountIndex: number;\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\nexport type BuildDerivationPathResponse = Partial<Record<NetworkVMType, 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
+ {"version":3,"sources":["../src/account.ts"],"names":["WalletType"],"mappings":"AAEO,IAAKA,OAEVA,EAAA,SAAW,WACXA,EAAA,OAAS,SACTA,EAAA,WAAa,cACbA,EAAA,SAAW,WACXA,EAAA,SAAW,WANDA,OAAA","sourcesContent":["import type { Network, NetworkVMType } from './common';\n\nexport 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 network?: Network;\n xpubXP?: string;\n};\n\nexport type GetAddressResponse = Record<string, string>;\n\nexport type SimpleDeriveAddressParams = {\n network: Omit<Network, 'tokens'>;\n /**\n * ID of the secret key to use for derivation.\n */\n secretId: string;\n};\nexport type DetailedDeriveAddressParams = SimpleDeriveAddressParams & {\n /**\n * Account index for which the public key is requested.\n * Leave empty if requesting a public key for a single-account private key.\n */\n accountIndex: number;\n /**\n * Type of the derivation path to use.\n * Useful when working with Ledger devices, which support BIP44 and Ledger Live derivation paths.\n */\n derivationPathType: DerivationPathType;\n\n /**\n * Address index for which the public key will be requested.\n * This is NOT the same as {accountIndex}. Applicable mostly to X/P chain addresses.\n */\n addressIndex?: number;\n};\n\nexport type DeriveAddressParams = SimpleDeriveAddressParams | DetailedDeriveAddressParams;\n\nexport type DeriveAddressResponse = Partial<Record<NetworkVMType, string>>;\n\nexport type DeriveAddressesParams = {\n network: Omit<Network, 'tokens'>;\n secretId: string;\n accountIndices: number[];\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\n\nexport type DeriveAddressesResponse = DeriveAddressResponse[];\n\nexport type DerivationPathType = 'bip44' | 'ledger_live';\nexport type BuildDerivationPathParams = {\n accountIndex: number;\n derivationPathType: DerivationPathType;\n addressIndex?: number;\n};\nexport type BuildDerivationPathResponse = Partial<Record<NetworkVMType, 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"]}
@@ -6,15 +6,15 @@ declare const SimplePriceResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
6
6
  marketCap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7
7
  vol24: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- price?: number | null | undefined;
10
- change24?: number | null | undefined;
11
9
  marketCap?: number | null | undefined;
10
+ change24?: number | null | undefined;
12
11
  vol24?: number | null | undefined;
13
- }, {
14
12
  price?: number | null | undefined;
15
- change24?: number | null | undefined;
13
+ }, {
16
14
  marketCap?: number | null | undefined;
15
+ change24?: number | null | undefined;
17
16
  vol24?: number | null | undefined;
17
+ price?: number | null | undefined;
18
18
  }>>>;
19
19
  type SimplePriceResponse = z.infer<typeof SimplePriceResponseSchema>;
20
20
  declare const RawSimplePriceResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
@@ -6,15 +6,15 @@ declare const SimplePriceResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.
6
6
  marketCap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
7
7
  vol24: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- price?: number | null | undefined;
10
- change24?: number | null | undefined;
11
9
  marketCap?: number | null | undefined;
10
+ change24?: number | null | undefined;
12
11
  vol24?: number | null | undefined;
13
- }, {
14
12
  price?: number | null | undefined;
15
- change24?: number | null | undefined;
13
+ }, {
16
14
  marketCap?: number | null | undefined;
15
+ change24?: number | null | undefined;
17
16
  vol24?: number | null | undefined;
17
+ price?: number | null | undefined;
18
18
  }>>>;
19
19
  type SimplePriceResponse = z.infer<typeof SimplePriceResponseSchema>;
20
20
  declare const RawSimplePriceResponseSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodNullable<z.ZodNumber>>>>;
package/dist/index.cjs CHANGED
@@ -7,7 +7,7 @@ var chunkUYEUO5B3_cjs = require('./chunk-UYEUO5B3.cjs');
7
7
  var chunkN7PCIGVW_cjs = require('./chunk-N7PCIGVW.cjs');
8
8
  var chunkYLE2VFJX_cjs = require('./chunk-YLE2VFJX.cjs');
9
9
  require('./chunk-47KTBBRA.cjs');
10
- var chunkLCSOMXO3_cjs = require('./chunk-LCSOMXO3.cjs');
10
+ var chunkMI34CGL2_cjs = require('./chunk-MI34CGL2.cjs');
11
11
  require('./chunk-JUV577XH.cjs');
12
12
  var chunk4PGCXP4C_cjs = require('./chunk-4PGCXP4C.cjs');
13
13
  require('./chunk-SYVNOFCV.cjs');
@@ -56,7 +56,7 @@ Object.defineProperty(exports, 'XChainTransactionType', {
56
56
  });
57
57
  Object.defineProperty(exports, 'WalletType', {
58
58
  enumerable: true,
59
- get: function () { return chunkLCSOMXO3_cjs.a; }
59
+ get: function () { return chunkMI34CGL2_cjs.a; }
60
60
  });
61
61
  Object.defineProperty(exports, 'RawSimplePriceResponseSchema', {
62
62
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -8,7 +8,7 @@ export { NetworkFees, SuggestGasPriceOptionsResponse } from './network-fee.cjs';
8
8
  export { A as AddressItem, i as AddressListItem, s as Alert, r as AlertDetails, q as AlertType, O as ApprovalController, z as ApprovalParams, J as ApprovalResponse, Q as BalanceChange, B as BaseDetailItem, P as BatchApprovalController, G as BatchApprovalParams, K as BatchApprovalResponse, t as BitcoinExecuteTxData, u as BitcoingSignTxData, x as BtcTxUpdateFn, C as CurrencyItem, D as DappInfo, j as DataItem, k as DateItem, o as DetailItem, g as DetailItemType, f as DetailSection, p as DisplayData, E as EvmTxBatchUpdateFn, w as EvmTxUpdateFn, F as FundsRecipientItem, l as LinkItem, L as LinkItemValue, M as MessageTypeProperty, d as MessageTypes, n as NetworkItem, m as NetworkItemValue, N as NodeIDItem, H as RequestPublicKeyParams, b as RpcError, R as RpcMethod, a as RpcRequest, c as RpcResponse, S as SigningData, v as SigningData_EthSendTx, y as SigningRequest, I as SigningResult, h as TextItem, W as TokenApproval, X as TokenApprovals, U as TokenDiff, V as TokenDiffItem, Y as TransactionSimulationResult, T as TypedData, e as TypedDataV1 } from './rpc-a783406a.js';
9
9
  export { ERC1155Token, ERC20Token, ERC721Token, NONERCToken, NetworkContractToken, NetworkToken, SPLToken, TokenType } from './token.cjs';
10
10
  export { GetTransactionHistory, PChainTransactionType, Transaction, TransactionHistoryResponse, TransactionType, TxToken, XChainTransactionType } from './transaction-history.cjs';
11
- export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType } from './account.cjs';
11
+ export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType } from './account.cjs';
12
12
  export { AddAutoRenewedValidatorTx, AddPermissionlessDelegatorTx, AddPermissionlessValidatorTx, AddSubnetValidatorTx, BaseTx, BlockchainDetails, ChainDetails, ConvertSubnetToL1Tx, CreateChainTx, CreateSubnetTx, DisableL1ValidatorTx, ExportImportTxDetails, ExportTx, FeeData, ImportTx, IncreaseL1ValidatorBalanceTx, L1Details, RegisterL1ValidatorTx, RemoveSubnetValidatorTx, SetAutoRenewedValidatorConfigTx, SetL1ValidatorWeightTx, StakingDetails, SubnetDetails, TxBase, TxDetails, TxType, VM } from './staking.cjs';
13
13
  export { AccountsChangedEventData, ChainAgnosticProvider, ChainChangedEventData, DomainMetadata, EIP6963ProviderDetail, EIP6963ProviderInfo, EventNames, JsonRpcRequestPayload, PartialBy, UnlockStateChangedEventData } from './provider.cjs';
14
14
  import 'zod';
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { NetworkFees, SuggestGasPriceOptionsResponse } from './network-fee.js';
8
8
  export { A as AddressItem, i as AddressListItem, s as Alert, r as AlertDetails, q as AlertType, O as ApprovalController, z as ApprovalParams, J as ApprovalResponse, Q as BalanceChange, B as BaseDetailItem, P as BatchApprovalController, G as BatchApprovalParams, K as BatchApprovalResponse, t as BitcoinExecuteTxData, u as BitcoingSignTxData, x as BtcTxUpdateFn, C as CurrencyItem, D as DappInfo, j as DataItem, k as DateItem, o as DetailItem, g as DetailItemType, f as DetailSection, p as DisplayData, E as EvmTxBatchUpdateFn, w as EvmTxUpdateFn, F as FundsRecipientItem, l as LinkItem, L as LinkItemValue, M as MessageTypeProperty, d as MessageTypes, n as NetworkItem, m as NetworkItemValue, N as NodeIDItem, H as RequestPublicKeyParams, b as RpcError, R as RpcMethod, a as RpcRequest, c as RpcResponse, S as SigningData, v as SigningData_EthSendTx, y as SigningRequest, I as SigningResult, h as TextItem, W as TokenApproval, X as TokenApprovals, U as TokenDiff, V as TokenDiffItem, Y as TransactionSimulationResult, T as TypedData, e as TypedDataV1 } from './rpc-b2734d17.js';
9
9
  export { ERC1155Token, ERC20Token, ERC721Token, NONERCToken, NetworkContractToken, NetworkToken, SPLToken, TokenType } from './token.js';
10
10
  export { GetTransactionHistory, PChainTransactionType, Transaction, TransactionHistoryResponse, TransactionType, TxToken, XChainTransactionType } from './transaction-history.js';
11
- export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType } from './account.js';
11
+ export { BtcWalletPolicyDetails, BuildDerivationPathParams, BuildDerivationPathResponse, DerivationPathType, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, DetailedDeriveAddressParams, GetAddressParams, GetAddressResponse, PubKeyType, SimpleDeriveAddressParams, WalletType } from './account.js';
12
12
  export { AddAutoRenewedValidatorTx, AddPermissionlessDelegatorTx, AddPermissionlessValidatorTx, AddSubnetValidatorTx, BaseTx, BlockchainDetails, ChainDetails, ConvertSubnetToL1Tx, CreateChainTx, CreateSubnetTx, DisableL1ValidatorTx, ExportImportTxDetails, ExportTx, FeeData, ImportTx, IncreaseL1ValidatorBalanceTx, L1Details, RegisterL1ValidatorTx, RemoveSubnetValidatorTx, SetAutoRenewedValidatorConfigTx, SetL1ValidatorWeightTx, StakingDetails, SubnetDetails, TxBase, TxDetails, TxType, VM } from './staking.js';
13
13
  export { AccountsChangedEventData, ChainAgnosticProvider, ChainChangedEventData, DomainMetadata, EIP6963ProviderDetail, EIP6963ProviderInfo, EventNames, JsonRpcRequestPayload, PartialBy, UnlockStateChangedEventData } from './provider.js';
14
14
  import 'zod';
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ export { a as TxType } from './chunk-KPOQBGHJ.js';
5
5
  export { a as TokenType } from './chunk-GMF7R4KJ.js';
6
6
  export { b as PChainTransactionType, a as TransactionType, c as XChainTransactionType } from './chunk-V2MZKRLY.js';
7
7
  import './chunk-P6AM7I3B.js';
8
- export { a as WalletType } from './chunk-WMOCBIRL.js';
8
+ export { a as WalletType } from './chunk-QDQCGSSS.js';
9
9
  import './chunk-BHB5UV3J.js';
10
10
  export { b as RawSimplePriceResponseSchema, a as SimplePriceResponseSchema } from './chunk-WOO6UGSQ.js';
11
11
  import './chunk-REHORWPH.js';
package/dist/module.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JsonRpcBatchInternal, BitcoinProvider, Avalanche, SolanaProvider } from '@avalabs/core-wallets-sdk';
2
- import { GetAddressParams, GetAddressResponse, DeriveAddressParams, DeriveAddressResponse, BuildDerivationPathParams, BuildDerivationPathResponse } from './account.cjs';
2
+ import { GetAddressParams, GetAddressResponse, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, BuildDerivationPathParams, BuildDerivationPathResponse } from './account.cjs';
3
3
  import { GetBalancesParams, GetBalancesResponse } from './balance.cjs';
4
4
  import { AppName, Environment, Network } from './common.cjs';
5
5
  import { Manifest } from './manifest.cjs';
@@ -43,6 +43,7 @@ interface Module {
43
43
  */
44
44
  getAddress: (params: GetAddressParams) => Promise<GetAddressResponse>;
45
45
  deriveAddress: (params: DeriveAddressParams) => Promise<DeriveAddressResponse>;
46
+ deriveAddresses: (params: DeriveAddressesParams) => Promise<DeriveAddressesResponse>;
46
47
  buildDerivationPath: (params: BuildDerivationPathParams) => BuildDerivationPathResponse;
47
48
  getTokens: (network: Network) => Promise<NetworkContractToken[]>;
48
49
  onRpcRequest: (request: RpcRequest, chain: Network) => Promise<RpcResponse>;
package/dist/module.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JsonRpcBatchInternal, BitcoinProvider, Avalanche, SolanaProvider } from '@avalabs/core-wallets-sdk';
2
- import { GetAddressParams, GetAddressResponse, DeriveAddressParams, DeriveAddressResponse, BuildDerivationPathParams, BuildDerivationPathResponse } from './account.js';
2
+ import { GetAddressParams, GetAddressResponse, DeriveAddressParams, DeriveAddressResponse, DeriveAddressesParams, DeriveAddressesResponse, BuildDerivationPathParams, BuildDerivationPathResponse } from './account.js';
3
3
  import { GetBalancesParams, GetBalancesResponse } from './balance.js';
4
4
  import { AppName, Environment, Network } from './common.js';
5
5
  import { Manifest } from './manifest.js';
@@ -43,6 +43,7 @@ interface Module {
43
43
  */
44
44
  getAddress: (params: GetAddressParams) => Promise<GetAddressResponse>;
45
45
  deriveAddress: (params: DeriveAddressParams) => Promise<DeriveAddressResponse>;
46
+ deriveAddresses: (params: DeriveAddressesParams) => Promise<DeriveAddressesResponse>;
46
47
  buildDerivationPath: (params: BuildDerivationPathParams) => BuildDerivationPathResponse;
47
48
  getTokens: (network: Network) => Promise<NetworkContractToken[]>;
48
49
  onRpcRequest: (request: RpcRequest, chain: Network) => Promise<RpcResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avalabs/vm-module-types",
3
- "version": "3.8.0",
3
+ "version": "3.9.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/ava-labs/core-vm-modules",