@avalabs/vm-module-types 1.2.1 → 1.3.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 +1 -1
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 };
|