backendless 7.2.4 → 7.2.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.
@@ -62,7 +62,7 @@ var OpResult = /*#__PURE__*/function () {
62
62
  }, {
63
63
  key: "isObjectRef",
64
64
  value: function isObjectRef() {
65
- return this.operationType === _constants.OperationType.CREATE || this.operationType === _constants.OperationType.UPDATE;
65
+ return this.operationType === _constants.OperationType.CREATE || this.operationType === _constants.OperationType.UPDATE || this.operationType === _constants.OperationType.UPSERT;
66
66
  }
67
67
  }, {
68
68
  key: "setOpResultId",
@@ -62,7 +62,7 @@ var OpResult = /*#__PURE__*/function () {
62
62
  }, {
63
63
  key: "isObjectRef",
64
64
  value: function isObjectRef() {
65
- return this.operationType === _constants.OperationType.CREATE || this.operationType === _constants.OperationType.UPDATE;
65
+ return this.operationType === _constants.OperationType.CREATE || this.operationType === _constants.OperationType.UPDATE || this.operationType === _constants.OperationType.UPSERT;
66
66
  }
67
67
  }, {
68
68
  key: "setOpResultId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backendless",
3
- "version": "7.2.4",
3
+ "version": "7.2.5",
4
4
  "description": "Backendless JavaScript SDK for Node.js and the browser",
5
5
  "browser": "dist/backendless.js",
6
6
  "main": "lib/index.js",
@@ -47,7 +47,11 @@ export class OpResult {
47
47
  }
48
48
 
49
49
  isObjectRef() {
50
- return this.operationType === OperationType.CREATE || this.operationType === OperationType.UPDATE
50
+ return (
51
+ this.operationType === OperationType.CREATE ||
52
+ this.operationType === OperationType.UPDATE ||
53
+ this.operationType === OperationType.UPSERT
54
+ )
51
55
  }
52
56
 
53
57
  setOpResultId(opResultId) {