backendless 6.5.3 → 6.5.5

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,6 +1,6 @@
1
1
  /*
2
2
  * ********************************************************************************************************************
3
- * Backendless SDK for JavaScript. Version: 6.5.3
3
+ * Backendless SDK for JavaScript. Version: 6.5.5
4
4
  *
5
5
  * Copyright 2012-2022 BACKENDLESS.COM. All Rights Reserved.
6
6
  *
@@ -1254,7 +1254,7 @@ var sendNodeAPIRequest = function sendNodeAPIRequest(path, method, headers, body
1254
1254
  var options = {
1255
1255
  host: u.hostname,
1256
1256
  port: u.port || (https ? 443 : 80),
1257
- path: encodeURI(decodeURI(u.pathname)) + (u.search || ''),
1257
+ path: u.pathname + (u.search || ''),
1258
1258
  method: method,
1259
1259
  headers: headers,
1260
1260
  timeout: timeout
@@ -24706,7 +24706,7 @@ var Urls = /*#__PURE__*/function () {
24706
24706
  }, {
24707
24707
  key: "dataTableObject",
24708
24708
  value: function dataTableObject(tableName, objectId) {
24709
- return "".concat(this.dataTable(tableName), "/").concat(objectId);
24709
+ return "".concat(this.dataTable(tableName), "/").concat(encodeURIComponent(objectId));
24710
24710
  }
24711
24711
  }, {
24712
24712
  key: "dataTableObjectRelation",
@@ -24943,8 +24943,8 @@ var Urls = /*#__PURE__*/function () {
24943
24943
  }
24944
24944
  }, {
24945
24945
  key: "userRestorePassword",
24946
- value: function userRestorePassword(email) {
24947
- return "".concat(this.users(), "/restorepassword/").concat(encodeURIComponent(email));
24946
+ value: function userRestorePassword(identity) {
24947
+ return "".concat(this.users(), "/restorepassword/").concat(encodeURIComponent(identity));
24948
24948
  }
24949
24949
  }, {
24950
24950
  key: "userTokenCheck",