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

@ocap/util

Package Overview
Dependencies
Maintainers
3
Versions
451
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ocap/util - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

5

lib/transaction.js

@@ -37,9 +37,10 @@ const uniq = require('lodash/uniq');

);
} else if (['acquire_asset'].includes(copy.type)) {
// FIXME: index acquire asset should also be indexed for a token if token used for input
}
copy.accounts = copy.accounts || [];
copy.assets = uniq(copy.assets);
copy.factories = uniq(copy.factories);
copy.tokens = uniq(copy.tokens);
copy.accounts = uniq(copy.accounts.concat([copy.sender, copy.recipient])).filter(Boolean);

@@ -46,0 +47,0 @@ return copy;

4

package.json
{
"name": "@ocap/util",
"version": "1.7.2",
"version": "1.7.3",
"description": "utils shared across multiple forge js libs, works in both node.js and browser",

@@ -59,3 +59,3 @@ "keywords": [

},
"gitHead": "7ea1613b59b0eab2f43dff6ff50222819dce899a"
"gitHead": "d7014669594d0ca72cb11deb15d53ad020d16b7f"
}
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