@bitbar/cloud-api-client 1.0.20 → 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.20 | 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.20";
13
+ var version = "1.0.21";
14
14
 
15
15
  /******************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
@@ -1787,7 +1787,7 @@
1787
1787
  return new APIResource(this).push('logout').post();
1788
1788
  }
1789
1789
  sso(name) {
1790
- return new APIResource(this).push(name + '-login');
1790
+ return new APIResource(this).push('oauth', 'authorize', name + '-login');
1791
1791
  }
1792
1792
  portalLogin() {
1793
1793
  return new APIResource(this).push('portal-login').post();