nylas 7.7.0 → 7.7.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.
@@ -34,9 +34,7 @@ class APIClient {
34
34
  url.searchParams.set('metadata_pair', metadataPair.join(','));
35
35
  }
36
36
  else if (Array.isArray(value)) {
37
- for (const item of value) {
38
- url.searchParams.append(snakeCaseKey, item);
39
- }
37
+ url.searchParams.append(snakeCaseKey, value.join(','));
40
38
  }
41
39
  else if (typeof value === 'object') {
42
40
  for (const item in value) {
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
4
  // This file is generated by scripts/exportVersion.js
5
- exports.SDK_VERSION = '7.7.0';
5
+ exports.SDK_VERSION = '7.7.1';
@@ -32,9 +32,7 @@ export default class APIClient {
32
32
  url.searchParams.set('metadata_pair', metadataPair.join(','));
33
33
  }
34
34
  else if (Array.isArray(value)) {
35
- for (const item of value) {
36
- url.searchParams.append(snakeCaseKey, item);
37
- }
35
+ url.searchParams.append(snakeCaseKey, value.join(','));
38
36
  }
39
37
  else if (typeof value === 'object') {
40
38
  for (const item in value) {
@@ -1,2 +1,2 @@
1
1
  // This file is generated by scripts/exportVersion.js
2
- export const SDK_VERSION = '7.7.0';
2
+ export const SDK_VERSION = '7.7.1';
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "7.7.0";
1
+ export declare const SDK_VERSION = "7.7.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nylas",
3
- "version": "7.7.0",
3
+ "version": "7.7.1",
4
4
  "description": "A NodeJS wrapper for the Nylas REST API for email, contacts, and calendar.",
5
5
  "main": "lib/cjs/nylas.js",
6
6
  "types": "lib/types/nylas.d.ts",