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
7
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 2.3.4 to 2.3.5

2

package.json
{
"name": "@waves/assets-pairs-order",
"version": "2.3.4",
"version": "2.3.5",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

const WAVES_ID_TYPE = null;
export const compareUint8Arrays = (arr1, arr2) => {
const compareUint8Arrays = (arr1, arr2) => {
// true - arr1 bigger

@@ -8,6 +8,12 @@ // false - arr2 bigger

};
export const isPair = o =>
const isPair = o =>
Array.isArray(o) &&
o.length === 2 &&
o.every(id => typeof id === 'string' || id === WAVES_ID_TYPE);
export const isEmptyArray = a => Array.isArray(a) && a.length === 0;
const isEmptyArray = a => Array.isArray(a) && a.length === 0;
module.exports = {
compareUint8Arrays,
isPair,
isEmptyArray,
};
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