@apigames/sdk-core 22.1.20 → 22.1.21

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.
@@ -119,7 +119,9 @@ class ResourceObject {
119
119
  }
120
120
  }
121
121
  else if ((0, __1.isResourceObjectRelationship)(data[fieldName])) {
122
- if ((0, json_1.isUndefined)(shadow) || !(0, json_1.areEqual)(shadow[fieldName], data[fieldName])) {
122
+ if ((0, json_1.isUndefined)(shadow)
123
+ || (0, json_1.isUndefined)(shadow[fieldName])
124
+ || ((shadow[fieldName].type !== data[fieldName].type) || (shadow[fieldName].id !== data[fieldName].id))) {
123
125
  payload[fieldName] = {
124
126
  data: {
125
127
  type: data[fieldName].type,
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "description": "API Games SDK Core",
15
15
  "license": "MIT",
16
- "version": "22.1.20",
16
+ "version": "22.1.21",
17
17
  "main": "lib/index.js",
18
18
  "types": "lib/index.d.ts",
19
19
  "scripts": {