@bitbar/cloud-api-client 1.5.19 → 1.6.0

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.
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 22.13.0
1
+ 24.11.1
@@ -6,5 +6,6 @@ export type ApiConfig = {
6
6
  apiKey?: string;
7
7
  auth?: AxiosBasicCredentials;
8
8
  withCredentials?: boolean;
9
+ withXSRFToken?: boolean | undefined;
9
10
  };
10
11
  export default ApiConfig;
@@ -1,11 +1,11 @@
1
- /* @bitbar/cloud-api-client v1.5.19 | Copyright 2026 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.6.0 | Copyright 2026 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
5
5
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["bitbar-cloud-api-client"] = {}, global["@bitbar/finka"], global.qs, global["node-abort-controller"]));
6
6
  })(this, (function (exports, finka, qs, nodeAbortController) { 'use strict';
7
7
 
8
- var version = "1.5.19";
8
+ var version = "1.6.0";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.
@@ -298,7 +298,7 @@
298
298
  requestConfig.data = this.paramsSerializer(requestConfig.data);
299
299
  }
300
300
  if (requestConfig.params) {
301
- requestConfig.paramsSerializer = this.paramsSerializer;
301
+ requestConfig.paramsSerializer = { indexes: false };
302
302
  }
303
303
  return this.root.axios.request(requestConfig);
304
304
  }
@@ -1796,6 +1796,7 @@
1796
1796
  password: ''
1797
1797
  };
1798
1798
  }
1799
+ this.axiosConfig.withXSRFToken = true;
1799
1800
  this.axiosConfig.withCredentials = config.withCredentials == null ? false : config.withCredentials;
1800
1801
  this.axios = axios.create(this.axiosConfig);
1801
1802
  }