backendless 6.3.14 → 6.4.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/dist/backendless.js +3 -2
- package/dist/backendless.js.map +1 -1
- package/dist/backendless.min.js +2 -2
- package/es/users/index.js +1 -0
- package/lib/users/index.js +1 -0
- package/package.json +2 -2
- package/src/users/index.js +2 -0
package/es/users/index.js
CHANGED
|
@@ -434,6 +434,7 @@ var Users = /*#__PURE__*/function () {
|
|
|
434
434
|
|
|
435
435
|
return _context12.abrupt("return", this.currentUserRequest = this.dataStore.findById(currentUserId).then(function (user) {
|
|
436
436
|
_this5.currentUserRequest = null;
|
|
437
|
+
user['user-token'] = _this5.currentUser && _this5.currentUser['user-token'] || undefined;
|
|
437
438
|
return _this5.currentUser = user;
|
|
438
439
|
})["catch"](function (error) {
|
|
439
440
|
_this5.currentUserRequest = null;
|
package/lib/users/index.js
CHANGED
|
@@ -434,6 +434,7 @@ var Users = /*#__PURE__*/function () {
|
|
|
434
434
|
|
|
435
435
|
return _context12.abrupt("return", this.currentUserRequest = this.dataStore.findById(currentUserId).then(function (user) {
|
|
436
436
|
_this5.currentUserRequest = null;
|
|
437
|
+
user['user-token'] = _this5.currentUser && _this5.currentUser['user-token'] || undefined;
|
|
437
438
|
return _this5.currentUser = user;
|
|
438
439
|
})["catch"](function (error) {
|
|
439
440
|
_this5.currentUserRequest = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backendless",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
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.
|
|
94
|
+
"backendless-request": "^0.3.1",
|
|
95
95
|
"backendless-rt-client": "0.1.0"
|
|
96
96
|
}
|
|
97
97
|
}
|
package/src/users/index.js
CHANGED