@avalabs/vm-module-types
Advanced tools
Comparing version 0.0.0-cp-8362-20240702151046 to 0.0.0-cp-8362-20240702170824
# @avalabs/vm-module-types | ||
## 0.0.0-cp-8362-20240702151046 | ||
## 0.0.0-cp-8362-20240702170824 | ||
@@ -5,0 +5,0 @@ ### Patch Changes |
{ | ||
"name": "@avalabs/vm-module-types", | ||
"version": "0.0.0-cp-8362-20240702151046", | ||
"version": "0.0.0-cp-8362-20240702170824", | ||
"main": "src/index.ts", | ||
@@ -13,3 +13,3 @@ "dependencies": { | ||
"@avalabs/utils-sdk": "2.8.0-canary.b4769c9.0", | ||
"eslint-config-custom": "0.0.0-cp-8362-20240702151046" | ||
"eslint-config-custom": "0.0.0-cp-8362-20240702170824" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
@@ -43,2 +43,3 @@ import type { NetworkContractToken, NetworkToken, TokenType } from './token'; | ||
export type NetworkTokenWithBalance = TokenBalanceDataWithDecimals & | ||
NetworkToken & | ||
TokenMarketData & { | ||
@@ -74,1 +75,3 @@ coingeckoId: string; | ||
}; | ||
export type GetBalancesResponse = Record<string, Record<string, TokenWithBalance>>; |
@@ -1,2 +0,2 @@ | ||
import type { GetBalancesParams, TokenWithBalance } from './balance'; | ||
import type { GetBalancesParams, GetBalancesResponse } from './balance'; | ||
import type { Manifest } from './manifest'; | ||
@@ -10,3 +10,3 @@ import type { GetNetworkFeeParams, NetworkFees } from './network-fee'; | ||
getManifest: () => Manifest | undefined; | ||
getBalances: (params: GetBalancesParams) => Promise<Record<string, Record<string, TokenWithBalance>>>; | ||
getBalances: (params: GetBalancesParams) => Promise<GetBalancesResponse>; | ||
getTransactionHistory: (params: GetTransactionHistory) => Promise<TransactionHistoryResponse>; | ||
@@ -13,0 +13,0 @@ getNetworkFee: (params: GetNetworkFeeParams) => Promise<NetworkFees>; |
17523
478