Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@waves/assets-pairs-order

Package Overview
Dependencies
Maintainers
8
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves/assets-pairs-order - npm Package Compare versions

Comparing version 3.2.1 to 3.2.2

src/arbitrary.json

2

package.json
{
"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

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