backendless 7.3.4 → 7.3.6
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/dist/backendless.js +4 -22
- package/dist/backendless.js.map +1 -1
- package/dist/backendless.min.js +2 -2
- package/package.json +2 -2
package/dist/backendless.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* ********************************************************************************************************************
|
|
3
|
-
* Backendless SDK for JavaScript. Version: 7.3.
|
|
3
|
+
* Backendless SDK for JavaScript. Version: 7.3.6
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2012-2023 BACKENDLESS.COM. All Rights Reserved.
|
|
6
6
|
*
|
|
@@ -12561,14 +12561,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
12561
12561
|
value: true
|
|
12562
12562
|
});
|
|
12563
12563
|
exports.castArray = void 0;
|
|
12564
|
-
exports.ensureEncoding = ensureEncoding;
|
|
12565
12564
|
exports.getFormData = getFormData;
|
|
12566
12565
|
exports.isStream = exports.isObject = exports.isNodeJS = exports.isFormData = exports.isBrowser = void 0;
|
|
12567
12566
|
exports.setFormData = setFormData;
|
|
12568
12567
|
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); }
|
|
12569
12568
|
/**
|
|
12570
12569
|
* Casts `value` as an array if it's not one.
|
|
12571
|
-
*
|
|
12570
|
+
* Equivalent to lodash/castArray
|
|
12572
12571
|
*/
|
|
12573
12572
|
var castArray = exports.castArray = function castArray(value) {
|
|
12574
12573
|
return Array.isArray(value) ? value : [value];
|
|
@@ -12606,23 +12605,6 @@ function getFormData() {
|
|
|
12606
12605
|
function setFormData(value) {
|
|
12607
12606
|
CustomFormData = value;
|
|
12608
12607
|
}
|
|
12609
|
-
function ensureComponentEncoding(uriComponent) {
|
|
12610
|
-
if (uriComponent === decodeURIComponent(uriComponent)) {
|
|
12611
|
-
return encodeURIComponent(uriComponent);
|
|
12612
|
-
}
|
|
12613
|
-
return uriComponent;
|
|
12614
|
-
}
|
|
12615
|
-
function encodePath(path) {
|
|
12616
|
-
return path.split('/').map(ensureComponentEncoding).join('/');
|
|
12617
|
-
}
|
|
12618
|
-
function ensureEncoding(path) {
|
|
12619
|
-
try {
|
|
12620
|
-
var url = new URL(path);
|
|
12621
|
-
return url.origin + encodePath(url.pathname) + url.search;
|
|
12622
|
-
} catch (_unused) {
|
|
12623
|
-
return encodePath(path);
|
|
12624
|
-
}
|
|
12625
|
-
}
|
|
12626
12608
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(5)))
|
|
12627
12609
|
|
|
12628
12610
|
/***/ }),
|
|
@@ -12679,7 +12661,7 @@ var Request = exports.Request = /*#__PURE__*/function (_EventEmitter) {
|
|
|
12679
12661
|
_classCallCheck(this, Request);
|
|
12680
12662
|
_this = _super.call(this);
|
|
12681
12663
|
_this.method = method;
|
|
12682
|
-
_this.path =
|
|
12664
|
+
_this.path = path;
|
|
12683
12665
|
_this.body = body;
|
|
12684
12666
|
_this.tags = undefined;
|
|
12685
12667
|
_this.unwrap = true;
|
|
@@ -12863,7 +12845,7 @@ var Request = exports.Request = /*#__PURE__*/function (_EventEmitter) {
|
|
|
12863
12845
|
}
|
|
12864
12846
|
|
|
12865
12847
|
/**
|
|
12866
|
-
* Sends the
|
|
12848
|
+
* Sends the request
|
|
12867
12849
|
*
|
|
12868
12850
|
* @param {Object} body
|
|
12869
12851
|
* @returns {Promise}
|