@avalabs/vm-module-types 1.2.1 → 1.4.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/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/network-fee.d.cts +13 -1
- package/dist/network-fee.d.ts +13 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { GetBalancesParams, GetBalancesResponse, NetworkTokenWithBalance, NftTok
|
|
|
4
4
|
export { Error } from './error.cjs';
|
|
5
5
|
export { Manifest, parseManifest } from './manifest.cjs';
|
|
6
6
|
export { AppInfo, ConstructorParams, Module, NetworkFeeParam } from './module.cjs';
|
|
7
|
-
export { NetworkFees } from './network-fee.cjs';
|
|
7
|
+
export { NetworkFees, SuggestGasPriceOptionsResponse } from './network-fee.cjs';
|
|
8
8
|
export { A as AddressItem, p as Alert, o as AlertDetails, n as AlertType, H as ApprovalController, w as ApprovalParams, z as ApprovalResponse, J as BalanceChange, B as BaseDetailItem, I as BatchApprovalController, x as BatchApprovalParams, G as BatchApprovalResponse, q as BitcoinExecuteTxData, r as BitcoingSignTxData, u as BtcTxUpdateFn, C as CurrencyItem, D as DappInfo, i as DataItem, j as DateItem, l as DetailItem, g as DetailItemType, f as DetailSection, m as DisplayData, E as EvmTxBatchUpdateFn, t as EvmTxUpdateFn, F as FundsRecipientItem, k as LinkItem, L as LinkItemValue, M as MessageTypeProperty, d as MessageTypes, N as NodeIDItem, b as RpcError, R as RpcMethod, a as RpcRequest, c as RpcResponse, S as SigningData, s as SigningData_EthSendTx, v as SigningRequest, y as SigningResult, h as TextItem, P as TokenApproval, Q as TokenApprovals, K as TokenDiff, O as TokenDiffItem, U as TransactionSimulationResult, T as TypedData, e as TypedDataV1 } from './rpc-c6776d81.js';
|
|
9
9
|
export { ERC1155Token, ERC20Token, ERC721Token, NONERCToken, NetworkContractToken, NetworkToken, TokenType } from './token.cjs';
|
|
10
10
|
export { GetTransactionHistory, PChainTransactionType, Transaction, TransactionHistoryResponse, TransactionType, TxToken, XChainTransactionType } from './transaction-history.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { GetBalancesParams, GetBalancesResponse, NetworkTokenWithBalance, NftTok
|
|
|
4
4
|
export { Error } from './error.js';
|
|
5
5
|
export { Manifest, parseManifest } from './manifest.js';
|
|
6
6
|
export { AppInfo, ConstructorParams, Module, NetworkFeeParam } from './module.js';
|
|
7
|
-
export { NetworkFees } from './network-fee.js';
|
|
7
|
+
export { NetworkFees, SuggestGasPriceOptionsResponse } from './network-fee.js';
|
|
8
8
|
export { A as AddressItem, p as Alert, o as AlertDetails, n as AlertType, H as ApprovalController, w as ApprovalParams, z as ApprovalResponse, J as BalanceChange, B as BaseDetailItem, I as BatchApprovalController, x as BatchApprovalParams, G as BatchApprovalResponse, q as BitcoinExecuteTxData, r as BitcoingSignTxData, u as BtcTxUpdateFn, C as CurrencyItem, D as DappInfo, i as DataItem, j as DateItem, l as DetailItem, g as DetailItemType, f as DetailSection, m as DisplayData, E as EvmTxBatchUpdateFn, t as EvmTxUpdateFn, F as FundsRecipientItem, k as LinkItem, L as LinkItemValue, M as MessageTypeProperty, d as MessageTypes, N as NodeIDItem, b as RpcError, R as RpcMethod, a as RpcRequest, c as RpcResponse, S as SigningData, s as SigningData_EthSendTx, v as SigningRequest, y as SigningResult, h as TextItem, P as TokenApproval, Q as TokenApprovals, K as TokenDiff, O as TokenDiffItem, U as TransactionSimulationResult, T as TypedData, e as TypedDataV1 } from './rpc-ab7acd4d.js';
|
|
9
9
|
export { ERC1155Token, ERC20Token, ERC721Token, NONERCToken, NetworkContractToken, NetworkToken, TokenType } from './token.js';
|
|
10
10
|
export { GetTransactionHistory, PChainTransactionType, Transaction, TransactionHistoryResponse, TransactionType, TxToken, XChainTransactionType } from './transaction-history.js';
|
package/dist/network-fee.d.cts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { Hex } from './common.cjs';
|
|
2
|
+
import './token.cjs';
|
|
3
|
+
|
|
4
|
+
type SuggestedGasPriceOption = {
|
|
5
|
+
maxFeePerGas: Hex;
|
|
6
|
+
maxPriorityFeePerGas: Hex;
|
|
7
|
+
};
|
|
8
|
+
type SuggestGasPriceOptionsResponse = {
|
|
9
|
+
slow: SuggestedGasPriceOption;
|
|
10
|
+
normal: SuggestedGasPriceOption;
|
|
11
|
+
fast: SuggestedGasPriceOption;
|
|
12
|
+
};
|
|
1
13
|
type NetworkFees = {
|
|
2
14
|
low: {
|
|
3
15
|
maxFeePerGas: bigint;
|
|
@@ -16,4 +28,4 @@ type NetworkFees = {
|
|
|
16
28
|
displayDecimals?: number;
|
|
17
29
|
};
|
|
18
30
|
|
|
19
|
-
export { NetworkFees };
|
|
31
|
+
export { NetworkFees, SuggestGasPriceOptionsResponse };
|
package/dist/network-fee.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import { Hex } from './common.js';
|
|
2
|
+
import './token.js';
|
|
3
|
+
|
|
4
|
+
type SuggestedGasPriceOption = {
|
|
5
|
+
maxFeePerGas: Hex;
|
|
6
|
+
maxPriorityFeePerGas: Hex;
|
|
7
|
+
};
|
|
8
|
+
type SuggestGasPriceOptionsResponse = {
|
|
9
|
+
slow: SuggestedGasPriceOption;
|
|
10
|
+
normal: SuggestedGasPriceOption;
|
|
11
|
+
fast: SuggestedGasPriceOption;
|
|
12
|
+
};
|
|
1
13
|
type NetworkFees = {
|
|
2
14
|
low: {
|
|
3
15
|
maxFeePerGas: bigint;
|
|
@@ -16,4 +28,4 @@ type NetworkFees = {
|
|
|
16
28
|
displayDecimals?: number;
|
|
17
29
|
};
|
|
18
30
|
|
|
19
|
-
export { NetworkFees };
|
|
31
|
+
export { NetworkFees, SuggestGasPriceOptionsResponse };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avalabs/vm-module-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"main": "dist/index.cjs",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
"@solana/rpc": "2.0.0",
|
|
23
23
|
"@types/bn.js": "5.1.5",
|
|
24
24
|
"bn.js": "5.2.1",
|
|
25
|
-
"ethers": "6.
|
|
25
|
+
"ethers": "6.13.5",
|
|
26
26
|
"tsup": "7.2.0",
|
|
27
27
|
"@internal/tsup-config": "0.0.1",
|
|
28
28
|
"eslint-config-custom": "0.0.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"ethers": "6.
|
|
31
|
+
"ethers": "6.13.5"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsup",
|