@oak-network/config
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45844
846