@bitgo/statics
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -93,3 +93,3 @@ "use strict"; | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.toUpperCase(); } | ||
if (isToken === void 0) { isToken = false; } | ||
@@ -125,3 +125,3 @@ return Object.freeze(new AccountCoin({ | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.toUpperCase(); } | ||
if (network === void 0) { network = networks_1.Networks.main.ethereum; } | ||
@@ -158,3 +158,3 @@ return Object.freeze(new Erc20Coin({ | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.toUpperCase(); } | ||
if (network === void 0) { network = networks_1.Networks.test.kovan; } | ||
@@ -161,0 +161,0 @@ return erc20(name, fullName, decimalPlaces, contractAddress, asset, features, prefix, suffix, network); |
@@ -263,2 +263,3 @@ import { BaseNetwork } from './networks'; | ||
SNT = "snt", | ||
SPO = "spo", | ||
SRN = "srn", | ||
@@ -272,2 +273,3 @@ SRNT = "srnt", | ||
THETA = "theta", | ||
TIOX = "tiox", | ||
TKX = "tkx", | ||
@@ -274,0 +276,0 @@ TMS = "tms", |
@@ -227,2 +227,3 @@ "use strict"; | ||
account_1.erc20('snt', 'Status Network Token', 18, '0x744d70fdbe2ba4cf95131626614a1763df805b9e', "snt" /* SNT */), | ||
account_1.erc20('spo', 'Sparrow Options', 18, '0x89eafa06d99f0a4d816918245266800c9a0941e0', "spo" /* SPO */), | ||
account_1.erc20('srn', 'Sirin Labs', 18, '0x68d57c9a1c35f63e2c83ee8e49a64e9d70528d25', "srn" /* SRN */), | ||
@@ -236,2 +237,3 @@ account_1.erc20('srnt', 'Serenity', 18, '0xbc7942054f77b82e8a71ace170e4b00ebae67eb6', "srnt" /* SRNT */), | ||
account_1.erc20('theta', 'Theta Token', 18, '0x3883f5e181fccaf8410fa61e12b59bad963fb645', "theta" /* THETA */), | ||
account_1.erc20('tiox', 'Trade Token X', 18, '0xd947b0ceab2a8885866b9a04a06ae99de852a3d4', "tiox" /* TIOX */), | ||
account_1.erc20('tkx', 'Tokenize', 8, '0x667102bd3413bfeaa3dffb48fa8288819e480a88', "tkx" /* TKX */), | ||
@@ -238,0 +240,0 @@ account_1.erc20('tms', 'Time New Bank', 18, '0xf7920b0768ecb20a123fac32311d07d193381d6f', "tms" /* TMS */), |
@@ -71,3 +71,3 @@ "use strict"; | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.replace(/^ofc/, '').toUpperCase(); } | ||
if (network === void 0) { network = networks_1.Networks.main.ofc; } | ||
@@ -106,3 +106,3 @@ if (isToken === void 0) { isToken = true; } | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.replace(/^ofc/, '').toUpperCase(); } | ||
if (network === void 0) { network = networks_1.Networks.test.ofc; } | ||
@@ -109,0 +109,0 @@ if (isToken === void 0) { isToken = true; } |
@@ -64,3 +64,3 @@ "use strict"; | ||
if (prefix === void 0) { prefix = ''; } | ||
if (suffix === void 0) { suffix = name; } | ||
if (suffix === void 0) { suffix = name.toUpperCase(); } | ||
return Object.freeze(new UtxoCoin({ | ||
@@ -67,0 +67,0 @@ name: name, |
{ | ||
"name": "@bitgo/statics", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "dependency-free static configuration for the bitgo platform", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
127996
1982