@warp-drive-mirror/json-api 5.8.0-alpha.7 → 5.8.0-alpha.9
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/index.js +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2727,7 +2727,7 @@ function putOne(cache, identifiers, resource) {
|
|
|
2727
2727
|
throw new Error(`Missing Resource Type: received resource data with a type '${resource.type}' but no schema could be found with that name.`);
|
|
2728
2728
|
}
|
|
2729
2729
|
})(cache._capabilities.schema.hasResource(resource)) : {};
|
|
2730
|
-
let identifier = identifiers.
|
|
2730
|
+
let identifier = identifiers.peekResourceKey(resource);
|
|
2731
2731
|
if (identifier) {
|
|
2732
2732
|
identifier = identifiers.updateRecordIdentifier(identifier, resource);
|
|
2733
2733
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warp-drive-mirror/json-api",
|
|
3
|
-
"version": "5.8.0-alpha.
|
|
3
|
+
"version": "5.8.0-alpha.9",
|
|
4
4
|
"description": "A {json:api} Cache Implementation for WarpDrive",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@warp-drive-mirror/core": "5.8.0-alpha.
|
|
35
|
+
"@warp-drive-mirror/core": "5.8.0-alpha.9"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@embroider/macros": "^1.18.1",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
45
45
|
"@babel/preset-typescript": "^7.27.1",
|
|
46
46
|
"@types/json-to-ast": "^2.1.4",
|
|
47
|
-
"@warp-drive/internal-config": "5.8.0-alpha.
|
|
48
|
-
"@warp-drive-mirror/core": "5.8.0-alpha.
|
|
47
|
+
"@warp-drive/internal-config": "5.8.0-alpha.9",
|
|
48
|
+
"@warp-drive-mirror/core": "5.8.0-alpha.9",
|
|
49
49
|
"decorator-transforms": "^2.3.0",
|
|
50
50
|
"expect-type": "^1.2.2",
|
|
51
51
|
"typescript": "^5.9.2",
|