Comparing version 0.0.9 to 0.0.10
@@ -36,2 +36,5 @@ "use strict"; | ||
const batcher = getInstanceBatcher(this, property, method, options); | ||
if (Array.isArray(key)) { | ||
return Promise.all(key.map(each => batcher.enqueue(each))); | ||
} | ||
return batcher.enqueue(key); | ||
@@ -38,0 +41,0 @@ }; |
{ | ||
"name": "inbatches", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
12304
173