@ocap/util
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -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; |
{ | ||
"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" | ||
} |
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
28117