backendless 6.5.4 → 6.5.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/es/urls.js CHANGED
@@ -165,7 +165,7 @@ var Urls = /*#__PURE__*/function () {
165
165
  }, {
166
166
  key: "dataTableObject",
167
167
  value: function dataTableObject(tableName, objectId) {
168
- return "".concat(this.dataTable(tableName), "/").concat(objectId);
168
+ return "".concat(this.dataTable(tableName), "/").concat(encodeURIComponent(objectId));
169
169
  }
170
170
  }, {
171
171
  key: "dataTableObjectRelation",
package/lib/urls.js CHANGED
@@ -165,7 +165,7 @@ var Urls = /*#__PURE__*/function () {
165
165
  }, {
166
166
  key: "dataTableObject",
167
167
  value: function dataTableObject(tableName, objectId) {
168
- return "".concat(this.dataTable(tableName), "/").concat(objectId);
168
+ return "".concat(this.dataTable(tableName), "/").concat(encodeURIComponent(objectId));
169
169
  }
170
170
  }, {
171
171
  key: "dataTableObjectRelation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backendless",
3
- "version": "6.5.4",
3
+ "version": "6.5.6",
4
4
  "description": "Backendless JavaScript SDK for Node.js and the browser",
5
5
  "browser": "dist/backendless.js",
6
6
  "main": "lib/index.js",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "@babel/runtime": "^7.14.6",
94
- "backendless-request": "^0.3.2",
94
+ "backendless-request": "^0.4.1",
95
95
  "backendless-rt-client": "0.1.0"
96
96
  }
97
97
  }
package/src/urls.js CHANGED
@@ -126,7 +126,7 @@ export default class Urls {
126
126
  }
127
127
 
128
128
  dataTableObject(tableName, objectId) {
129
- return `${this.dataTable(tableName)}/${objectId}`
129
+ return `${this.dataTable(tableName)}/${encodeURIComponent(objectId)}`
130
130
  }
131
131
 
132
132
  dataTableObjectRelation(tableName, objectId, columnName) {