@google-cloud/paginator
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -180,5 +180,5 @@ "use strict"; | ||
if (!callback) { | ||
return promise.then(results => [results, ...otherArgs]); | ||
return promise.then(results => [results, query, ...otherArgs]); | ||
} | ||
promise.then(results => callback(null, results, ...otherArgs), (err) => callback(err)); | ||
promise.then(results => callback(null, results, query, ...otherArgs), (err) => callback(err)); | ||
} | ||
@@ -185,0 +185,0 @@ /** |
@@ -7,2 +7,9 @@ # Changelog | ||
## [5.0.2](https://github.com/googleapis/nodejs-paginator/compare/v5.0.1...v5.0.2) (2024-05-23) | ||
### Bug Fixes | ||
* Query should be on the list of extra args ([#365](https://github.com/googleapis/nodejs-paginator/issues/365)) ([50e40d0](https://github.com/googleapis/nodejs-paginator/commit/50e40d064aed1bd0d5f93a51ad54112343086644)) | ||
## [5.0.1](https://github.com/googleapis/nodejs-paginator/compare/v5.0.0...v5.0.1) (2024-05-22) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/paginator", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "A result paging utility used by Google node.js modules", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
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
50947