@arrowsphere/api-client 3.407.0 → 3.407.1-rc-cpe-1

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.
@@ -333,7 +333,9 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
333
333
  ...this.createFilters(postData.sort, 'rates'),
334
334
  };
335
335
  }
336
+ console.log('rawLicensePayload', rawLicensePayload);
336
337
  const response = await this.findRaw(rawLicensePayload, parameters);
338
+ console.log('response', response);
337
339
  return new findResult_1.FindResult(response, this, rawLicensePayload, parameters);
338
340
  }
339
341
  async findAttachments(licenseReference, perPage = 100, page = 1, parameters = {}) {
@@ -570,7 +572,7 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
570
572
  const subAcc = Object.entries(value).reduce((generatedArr, [i, val]) => {
571
573
  let recursiveArr;
572
574
  const newKey = keyParent + '.' + key + '.' + i;
573
- if (typeof val !== 'object') {
575
+ if (typeof val !== 'object' || Array.isArray(val)) {
574
576
  generatedArr[`${newKey}`] = val;
575
577
  return generatedArr;
576
578
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.407.0",
7
+ "version": "3.407.1-rc-cpe-1",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",