@ember-data-mirror/request 5.9.0-alpha.21 → 5.9.0-alpha.22

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.
@@ -0,0 +1,2 @@
1
+ import { Fetch as core_default } from "@warp-drive-mirror/core";
2
+ export { core_default as default };
package/dist/fetch.js CHANGED
@@ -1 +1,3 @@
1
- export { Fetch as default } from '@warp-drive-mirror/core';
1
+ import { Fetch as core_default } from "@warp-drive-mirror/core";
2
+
3
+ export { core_default as default };
@@ -0,0 +1,4 @@
1
+ import { RequestManager as core_default } from "@warp-drive-mirror/core";
2
+ import { ImmutableRequestInfo, RequestContext, RequestInfo, ResponseInfo, StructuredDataDocument, StructuredDocument, StructuredErrorDocument } from "@warp-drive-mirror/core/types/request";
3
+ export * from "@warp-drive-mirror/core/request";
4
+ export { type ImmutableRequestInfo, type RequestContext, type RequestInfo, type ResponseInfo, type StructuredDataDocument, type StructuredDocument, type StructuredErrorDocument, core_default as default };
package/dist/index.js CHANGED
@@ -1,2 +1,5 @@
1
- export * from '@warp-drive-mirror/core/request';
2
- export { RequestManager as default } from '@warp-drive-mirror/core';
1
+ import { RequestManager as core_default } from "@warp-drive-mirror/core";
2
+
3
+ export * from "@warp-drive-mirror/core/request"
4
+
5
+ export { core_default as default };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-data-mirror/request",
3
3
  "description": "(Legacy) A simple, small and fast framework-agnostic library to make `fetch` happen",
4
- "version": "5.9.0-alpha.21",
4
+ "version": "5.9.0-alpha.22",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -15,12 +15,12 @@
15
15
  "ember-addon"
16
16
  ],
17
17
  "files": [
18
- "unstable-preview-types",
19
18
  "addon-main.cjs",
20
19
  "dist",
21
20
  "README.md",
22
21
  "LICENSE.md",
23
- "logos"
22
+ "logos",
23
+ "unstable-preview-types"
24
24
  ],
25
25
  "exports": {
26
26
  ".": {
@@ -35,15 +35,15 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@embroider/macros": "^1.20.6",
38
- "@warp-drive-mirror/core": "5.9.0-alpha.21"
38
+ "@warp-drive-mirror/core": "5.9.0-alpha.22"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@babel/core": "^7.28.3",
42
42
  "@babel/plugin-transform-typescript": "^7.28.0",
43
43
  "@babel/preset-env": "^7.28.3",
44
44
  "@babel/preset-typescript": "^7.27.1",
45
- "@warp-drive/internal-config": "5.9.0-alpha.21",
46
- "vite": "^7.3.1"
45
+ "@warp-drive/internal-config": "5.9.0-alpha.22",
46
+ "tsdown": "^0.22.14"
47
47
  },
48
48
  "volta": {
49
49
  "extends": "../../../../../../package.json"
@@ -65,8 +65,9 @@
65
65
  },
66
66
  "scripts": {
67
67
  "lint": "eslint . --quiet --cache --cache-strategy=content",
68
- "build:pkg": "vite build",
68
+ "check:types": "tsc --noEmit",
69
+ "build:pkg": "node node_modules/tsdown/dist/run.mjs",
69
70
  "sync": "echo \"syncing\"",
70
- "start": "vite"
71
+ "start": "node node_modules/tsdown/dist/run.mjs --watch"
71
72
  }
72
73
  }
@@ -1,29 +1,4 @@
1
1
  declare module '@ember-data-mirror/request/fetch' {
2
- /**
3
- * A basic Fetch Handler which converts a request into a
4
- * `fetch` call presuming the response to be `json`.
5
- *
6
- * ```ts
7
- * import Fetch from '@ember-data-mirror/request/fetch';
8
- *
9
- * manager.use([Fetch]);
10
- * ```
11
- *
12
- * @module
13
- */
14
- /**
15
- * A basic handler which converts a request into a
16
- * `fetch` call presuming the response to be `json`.
17
- *
18
- * ```ts
19
- * import Fetch from '@ember-data-mirror/request/fetch';
20
- *
21
- * manager.use([Fetch]);
22
- * ```
23
- *
24
- * @class Fetch
25
- * @public
26
- */
27
- export { Fetch as default } from "@warp-drive-mirror/core";
28
-
2
+ import { Fetch as core_default } from "@warp-drive-mirror/core";
3
+ export { core_default as default };
29
4
  }
@@ -1,7 +1,7 @@
1
1
  /// <reference path="./fetch.d.ts" />
2
2
  declare module '@ember-data-mirror/request' {
3
+ import { RequestManager as core_default } from "@warp-drive-mirror/core";
4
+ import { ImmutableRequestInfo, RequestContext, RequestInfo, ResponseInfo, StructuredDataDocument, StructuredDocument, StructuredErrorDocument } from "@warp-drive-mirror/core/types/request";
3
5
  export * from "@warp-drive-mirror/core/request";
4
- export { RequestManager as default } from "@warp-drive-mirror/core";
5
- export type { RequestContext, ImmutableRequestInfo, RequestInfo, ResponseInfo, StructuredDocument, StructuredErrorDocument, StructuredDataDocument } from "@warp-drive-mirror/core/types/request";
6
-
6
+ export { type ImmutableRequestInfo, type RequestContext, type RequestInfo, type ResponseInfo, type StructuredDataDocument, type StructuredDocument, type StructuredErrorDocument, core_default as default };
7
7
  }