@ember-data-mirror/rest 5.4.0-alpha.129 → 5.4.0-alpha.130

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.
Files changed (2) hide show
  1. package/dist/request.js +5 -5
  2. package/package.json +10 -10
package/dist/request.js CHANGED
@@ -253,12 +253,12 @@ function isExisting(identifier) {
253
253
 
254
254
  function deleteRecord(record, options = {}) {
255
255
  const identifier = recordIdentifierFor(record);
256
- macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
256
+ macroCondition(getGlobalConfig().WarpDriveMirror.env.DEBUG) ? (test => {
257
257
  if (!test) {
258
258
  throw new Error(`Expected to be given a record instance`);
259
259
  }
260
260
  })(identifier) : {};
261
- macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
261
+ macroCondition(getGlobalConfig().WarpDriveMirror.env.DEBUG) ? (test => {
262
262
  if (!test) {
263
263
  throw new Error(`Cannot delete a record that does not have an associated type and id.`);
264
264
  }
@@ -329,7 +329,7 @@ function deleteRecord(record, options = {}) {
329
329
 
330
330
  function createRecord(record, options = {}) {
331
331
  const identifier = recordIdentifierFor(record);
332
- macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
332
+ macroCondition(getGlobalConfig().WarpDriveMirror.env.DEBUG) ? (test => {
333
333
  if (!test) {
334
334
  throw new Error(`Expected to be given a record instance`);
335
335
  }
@@ -403,12 +403,12 @@ function createRecord(record, options = {}) {
403
403
 
404
404
  function updateRecord(record, options = {}) {
405
405
  const identifier = recordIdentifierFor(record);
406
- macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
406
+ macroCondition(getGlobalConfig().WarpDriveMirror.env.DEBUG) ? (test => {
407
407
  if (!test) {
408
408
  throw new Error(`Expected to be given a record instance`);
409
409
  }
410
410
  })(identifier) : {};
411
- macroCondition(getGlobalConfig().WarpDrive.env.DEBUG) ? (test => {
411
+ macroCondition(getGlobalConfig().WarpDriveMirror.env.DEBUG) ? (test => {
412
412
  if (!test) {
413
413
  throw new Error(`Cannot update a record that does not have an associated type and id.`);
414
414
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-data-mirror/rest",
3
3
  "description": "REST Format Support for EmberData",
4
- "version": "5.4.0-alpha.129",
4
+ "version": "5.4.0-alpha.130",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
@@ -23,12 +23,12 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@embroider/macros": "^1.16.6",
26
- "@warp-drive-mirror/build-config": "5.4.0-alpha.129"
26
+ "@warp-drive-mirror/build-config": "5.4.0-alpha.130"
27
27
  },
28
28
  "peerDependencies": {
29
- "@ember-data-mirror/request-utils": "5.4.0-alpha.129",
29
+ "@ember-data-mirror/request-utils": "5.4.0-alpha.130",
30
30
  "@ember-data-mirror/store": "^4.12.0 || ^5.0.0",
31
- "@warp-drive-mirror/core-types": "5.4.0-alpha.129"
31
+ "@warp-drive-mirror/core-types": "5.4.0-alpha.130"
32
32
  },
33
33
  "files": [
34
34
  "unstable-preview-types",
@@ -54,13 +54,13 @@
54
54
  "@babel/plugin-transform-typescript": "^7.24.5",
55
55
  "@babel/preset-env": "^7.24.5",
56
56
  "@babel/preset-typescript": "^7.24.1",
57
- "@ember-data-mirror/request": "5.4.0-alpha.129",
58
- "@ember-data-mirror/request-utils": "5.4.0-alpha.129",
59
- "@ember-data-mirror/store": "5.4.0-alpha.129",
60
- "@ember-data-mirror/tracking": "5.4.0-alpha.129",
57
+ "@ember-data-mirror/request": "5.4.0-alpha.130",
58
+ "@ember-data-mirror/request-utils": "5.4.0-alpha.130",
59
+ "@ember-data-mirror/store": "5.4.0-alpha.130",
60
+ "@ember-data-mirror/tracking": "5.4.0-alpha.130",
61
61
  "@glimmer/component": "^1.1.2",
62
- "@warp-drive-mirror/core-types": "5.4.0-alpha.129",
63
- "@warp-drive/internal-config": "5.4.0-alpha.129",
62
+ "@warp-drive-mirror/core-types": "5.4.0-alpha.130",
63
+ "@warp-drive/internal-config": "5.4.0-alpha.130",
64
64
  "ember-source": "~5.12.0",
65
65
  "pnpm-sync-dependencies-meta-injected": "0.0.14",
66
66
  "typescript": "^5.7.2",