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
492
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.9 to 0.0.10

6

CHANGELOG.md
# @avalabs/vm-module-types
## 0.0.10
### Patch Changes
- 60f36fa: add getTokens function
## 0.0.9

@@ -4,0 +10,0 @@

2

package.json
{
"name": "@avalabs/vm-module-types",
"version": "0.0.9",
"version": "0.0.10",
"main": "src/index.ts",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -76,2 +76,3 @@ import { object, string, boolean, z } from 'zod';

getAddress: () => Promise<string>;
getTokens: (chainId: number) => Promise<NetworkContractToken[]>;
onRpcRequest: (request: RpcRequest) => Promise<RpcResponse>;

@@ -157,2 +158,13 @@ }

export interface NetworkContractToken {
address: string;
chainId?: number;
color?: string;
contractType: string;
decimals: number;
logoUri?: string;
name: string;
symbol: string;
}
const sourceSchema = object({

@@ -159,0 +171,0 @@ checksum: string(),

Sorry, the diff of this file is not supported yet

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