Socket
Socket
Sign inDemoInstall

@oak-network/config

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oak-network/config - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "@oak-network/config",
"version": "1.0.2",
"version": "1.0.3",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -7,2 +7,3 @@ /**

asset: TokenConstructorParams;
id?: number;
isNative: boolean;

@@ -15,3 +16,3 @@ contractAddress?: string;

declare class XToken extends Token {
id: any;
id: number | undefined;
isNative: boolean;

@@ -18,0 +19,0 @@ contractAddress?: string;

@@ -9,3 +9,3 @@ "use strict";

class XToken extends Token_1.Token {
id; // Consider specifying a more precise type if possible.
id;
isNative;

@@ -19,2 +19,3 @@ contractAddress;

super({ ...params.asset });
this.id = params.id;
this.isNative = params.isNative;

@@ -21,0 +22,0 @@ this.contractAddress = params.contractAddress;

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