Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@avalabs/vm-module-types

Package Overview
Dependencies
Maintainers
0
Versions
503
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avalabs/vm-module-types - npm Package Compare versions

Comparing version 0.0.0-cp-8362-20240702190042 to 0.0.0-cp-8362-20240702210302

2

CHANGELOG.md
# @avalabs/vm-module-types
## 0.0.0-cp-8362-20240702190042
## 0.0.0-cp-8362-20240702210302

@@ -5,0 +5,0 @@ ### Patch Changes

{
"name": "@avalabs/vm-module-types",
"version": "0.0.0-cp-8362-20240702190042",
"version": "0.0.0-cp-8362-20240702210302",
"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-20240702190042"
"eslint-config-custom": "0.0.0-cp-8362-20240702210302"
},

@@ -16,0 +16,0 @@ "scripts": {

import type { NetworkContractToken, NetworkToken, TokenType } from './token';
import type { CacheProviderParams, Chain } from './common';
import type { CacheProviderParams } from './common';
import BN from 'bn.js';
export type GetBalancesParams = Chain &
CacheProviderParams & {
chainId: string;
addresses: string[]; // addressC of each account
networkToken: NetworkToken;
customTokens: NetworkContractToken[];
currency: string;
coingeckoPlatformId?: string;
coingeckoTokenId?: string;
};
export type GetBalancesParams = CacheProviderParams & {
chainId: string;
addresses: string[]; // addressC of each account
customTokens?: NetworkContractToken[];
currency: string;
};

@@ -16,0 +12,0 @@ export type TokenBalanceData = {

import type { GetBalancesParams, GetBalancesResponse } from './balance';
import type { Manifest } from './manifest';
import type { GetNetworkFeeParams, NetworkFees } from './network-fee';
import type { NetworkFees } from './network-fee';
import type { RpcRequest, RpcResponse } from './rpc';

@@ -12,3 +12,3 @@ import type { NetworkContractToken } from './token';

getTransactionHistory: (params: GetTransactionHistory) => Promise<TransactionHistoryResponse>;
getNetworkFee: (params: GetNetworkFeeParams) => Promise<NetworkFees>;
getNetworkFee: ({ chainId }: { chainId: string }) => Promise<NetworkFees>;
getAddress: () => Promise<string>;

@@ -15,0 +15,0 @@ getTokens: (chainId: number) => Promise<NetworkContractToken[]>;

@@ -1,3 +0,1 @@

import type { Chain } from './common';
export type NetworkFees = {

@@ -9,3 +7,1 @@ low: { maxPriorityFeePerGas: bigint; maxFeePerGas: bigint };

};
export type GetNetworkFeeParams = Chain;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc