openapi_okta_ip_ranges 0.10.0 → 1.1.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/README.md CHANGED
@@ -4,9 +4,9 @@ OpenapiOktaIpRanges - JavaScript client for openapi_okta_ip_ranges
4
4
  OpenAPI specification and a set of generated API clients for Okta IP Ranges
5
5
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
6
6
 
7
- - API version: 0.10.0
8
- - Package version: 0.10.0
9
- - Generator version: 7.9.0
7
+ - API version: 1.1.0
8
+ - Package version: 1.1.0
9
+ - Generator version: 7.18.0
10
10
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
11
11
  For more information, please visit [https://github.com/oapicf/openapi-okta-ip-ranges](https://github.com/oapicf/openapi-okta-ip-ranges)
12
12
 
package/dist/ApiClient.js CHANGED
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _superagent = _interopRequireDefault(require("superagent"));
8
- var _querystring = _interopRequireDefault(require("querystring"));
9
8
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
10
9
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
10
  function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
@@ -16,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
15
  * OpenAPI Okta IP Ranges
17
16
  * OpenAPI specification and a set of generated API clients for Okta IP Ranges
18
17
  *
19
- * The version of the OpenAPI document: 0.10.0
18
+ * The version of the OpenAPI document: 1.1.0
20
19
  * Contact: blah+oapicf@cliffano.com
21
20
  *
22
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +25,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
25
  */
27
26
  /**
28
27
  * @module ApiClient
29
- * @version 0.10.0
28
+ * @version 1.1.0
30
29
  */
31
30
  /**
32
31
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -58,12 +57,12 @@ var ApiClient = /*#__PURE__*/function () {
58
57
  this.authentications = {};
59
58
 
60
59
  /**
61
- * The default HTTP headers to be included for all API calls.
62
- * @type {Array.<String>}
63
- * @default {}
64
- */
60
+ * The default HTTP headers to be included for all API calls.
61
+ * @type {Array.<String>}
62
+ * @default {}
63
+ */
65
64
  this.defaultHeaders = {
66
- 'User-Agent': 'OpenAPI-Generator/0.10.0/Javascript'
65
+ 'User-Agent': 'OpenAPI-Generator/1.1.0/Javascript'
67
66
  };
68
67
 
69
68
  /**
@@ -82,10 +81,10 @@ var ApiClient = /*#__PURE__*/function () {
82
81
  this.cache = true;
83
82
 
84
83
  /**
85
- * If set to true, the client will save the cookies from each server
86
- * response, and return them in the next request.
87
- * @default false
88
- */
84
+ * If set to true, the client will save the cookies from each server
85
+ * response, and return them in the next request.
86
+ * @default false
87
+ */
89
88
  this.enableCookies = false;
90
89
 
91
90
  /*
@@ -440,7 +439,10 @@ var ApiClient = /*#__PURE__*/function () {
440
439
  }
441
440
  }
442
441
  if (contentType === 'application/x-www-form-urlencoded') {
443
- request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));
442
+ var normalizedParams = this.normalizeParams(formParams);
443
+ var urlSearchParams = new URLSearchParams(normalizedParams);
444
+ var queryString = urlSearchParams.toString();
445
+ request.send(queryString);
444
446
  } else if (contentType == 'multipart/form-data') {
445
447
  var _formParams = this.normalizeParams(formParams);
446
448
  for (var key in _formParams) {
@@ -16,7 +16,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
16
16
  * OpenAPI Okta IP Ranges
17
17
  * OpenAPI specification and a set of generated API clients for Okta IP Ranges
18
18
  *
19
- * The version of the OpenAPI document: 0.10.0
19
+ * The version of the OpenAPI document: 1.1.0
20
20
  * Contact: blah+oapicf@cliffano.com
21
21
  *
22
22
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
27
27
  /**
28
28
  * Default service.
29
29
  * @module api/DefaultApi
30
- * @version 0.10.0
30
+ * @version 1.1.0
31
31
  */
32
32
  var DefaultApi = exports["default"] = /*#__PURE__*/function () {
33
33
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  * OpenAPI Okta IP Ranges
16
16
  * OpenAPI specification and a set of generated API clients for Okta IP Ranges
17
17
  *
18
- * The version of the OpenAPI document: 0.10.0
18
+ * The version of the OpenAPI document: 1.1.0
19
19
  * Contact: blah+oapicf@cliffano.com
20
20
  *
21
21
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The IpRangesJsonGet200ResponseValue model module.
28
28
  * @module model/IpRangesJsonGet200ResponseValue
29
- * @version 0.10.0
29
+ * @version 1.1.0
30
30
  */
31
31
  var IpRangesJsonGet200ResponseValue = /*#__PURE__*/function () {
32
32
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openapi_okta_ip_ranges",
3
- "version": "0.10.0",
3
+ "version": "1.1.0",
4
4
  "description": "OpenAPI specification and a set of generated API clients for Okta IP Ranges",
5
5
  "license": "MPL-2.0",
6
6
  "main": "dist/index.js",