@karmaniverous/entity-manager
Advanced tools
Comparing version 4.4.2 to 4.4.3
@@ -248,3 +248,3 @@ "use strict"; | ||
pageKeys, | ||
pages = 'all' | ||
pages = 1 | ||
} = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
@@ -338,3 +338,3 @@ // Validate params. | ||
page++; | ||
} while (page < pages && result.items.length < limit && !(0, _isEmpty2.default)(result.pageKeys)); | ||
} while (page < pages && result.items.length < limit * pages && !(0, _isEmpty2.default)(result.pageKeys)); | ||
return result; | ||
@@ -341,0 +341,0 @@ } |
@@ -230,3 +230,3 @@ /** | ||
pageKeys, | ||
pages = 'all', | ||
pages = 1, | ||
} = {}) { | ||
@@ -321,3 +321,3 @@ // Validate params. | ||
page < pages && | ||
result.items.length < limit && | ||
result.items.length < limit * pages && | ||
!_.isEmpty(result.pageKeys) | ||
@@ -324,0 +324,0 @@ ); |
{ | ||
"name": "@karmaniverous/entity-manager", | ||
"version": "4.4.2", | ||
"version": "4.4.3", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
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
78863