@waves/assets-pairs-order
Advanced tools
Comparing version 3.2.1 to 3.2.2
{ | ||
"name": "@waves/assets-pairs-order", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"main": "src/index.js", | ||
@@ -5,0 +5,0 @@ "types": "src/index.d.ts", |
@@ -15,2 +15,4 @@ // Type definitions for assets-pair-order | ||
export const MAINNET_DATA: string[]; | ||
export const TESTNET_DATA: string[]; | ||
export const ARBITRARY_NETWORK_DATA: string[]; | ||
} |
const Base58 = require('bs58'); | ||
const { compareUint8Arrays, isPair, isEmptyArray } = require('./utils'); | ||
const MAINNET_RAW_DATA = require('./mainnet.json'); | ||
const { compareUint8Arrays, isPair, isEmptyArray } = require('./utils'); | ||
const TESTNET_RAW_DATA = require('./testnet.json'); | ||
const ARBITRARY_RAW_DATA = require('./arbitrary.json'); | ||
const MAINNET_DATA = MAINNET_RAW_DATA.map(d => d.id); | ||
const TESTNET_DATA = TESTNET_RAW_DATA.map(d => d.id); | ||
const ARBITRARY_DATA = ARBITRARY_RAW_DATA.map(d => d.id); | ||
@@ -46,1 +52,3 @@ const orderPair = (predefinedList, first, second) => { | ||
module.exports.MAINNET_DATA = MAINNET_DATA; | ||
module.exports.TESTNET_DATA = TESTNET_DATA; | ||
module.exports.ARBITRARY_DATA = ARBITRARY_DATA; |
Sorry, the diff of this file is too big to display
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
236330
14
2181