google-ads-api 19.0.2-rest-beta → 19.0.3-rest-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -335,7 +335,9 @@ class Customer extends serviceFactory_1.default {
335
335
  const pipeline = (0, stream_chain_1.chain)([stream, parser, (0, StreamArray_1.streamArray)()]);
336
336
  let count = 0;
337
337
  for await (const data of pipeline) {
338
- const results = data.value.results ?? [data.value.summaryRow];
338
+ const results = data.value.results ??
339
+ (data.value.summaryRow ? [data.value.summaryRow] : undefined) ??
340
+ [];
339
341
  count += results.length;
340
342
  if (this.clientOptions.max_reporting_rows &&
341
343
  count > this.clientOptions.max_reporting_rows &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-ads-api",
3
- "version": "19.0.2-rest-beta",
3
+ "version": "19.0.3-rest-beta",
4
4
  "description": "Google Ads API Client Library for Node.js",
5
5
  "repository": "https://github.com/Opteo/google-ads-api",
6
6
  "main": "build/src/index.js",