@bitbar/cloud-api-client 1.0.19 → 1.0.21

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.
@@ -1,4 +1,4 @@
1
- /* @bitbar/cloud-api-client v1.0.19 | Copyright 2023 (c) SmartBear Software and contributors | .git/blob/master/LICENSE */
1
+ /* @bitbar/cloud-api-client v1.0.21 | Copyright 2023 (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('axios'), require('@bitbar/finka'), require('qs'), require('node-abort-controller')) :
4
4
  typeof define === 'function' && define.amd ? define(['exports', 'axios', '@bitbar/finka', 'qs', 'node-abort-controller'], factory) :
@@ -10,7 +10,7 @@
10
10
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
11
11
  var finka__default = /*#__PURE__*/_interopDefaultLegacy(finka);
12
12
 
13
- var version = "1.0.19";
13
+ var version = "1.0.21";
14
14
 
15
15
  /******************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
@@ -185,6 +185,7 @@
185
185
  }
186
186
  abortRequest() {
187
187
  this.abortController.abort();
188
+ this.abortController = new nodeAbortController.AbortController();
188
189
  }
189
190
  push(...items) {
190
191
  this.stack = this.stack.concat(items);
@@ -1786,7 +1787,7 @@
1786
1787
  return new APIResource(this).push('logout').post();
1787
1788
  }
1788
1789
  sso(name) {
1789
- return new APIResource(this).push(name + '-login');
1790
+ return new APIResource(this).push('oauth', 'authorize', name + '-login');
1790
1791
  }
1791
1792
  portalLogin() {
1792
1793
  return new APIResource(this).push('portal-login').post();