@ember-data-mirror/request 5.8.0-alpha.9 → 5.8.0-beta.1
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/README.md +9 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<p align="center">⚡️ a simple abstraction over fetch to enable easy management of request/response flows</p>
|
|
19
19
|
|
|
20
|
-
This package provides [*Ember***Data**](https://github.com/
|
|
20
|
+
This package provides [*Ember***Data**](https://github.com/warp-drive-data/warp-drive/)'s `RequestManager`, a framework agnostic library that can be integrated with any Javascript application to make [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) happen.
|
|
21
21
|
|
|
22
22
|
- [Installation](#installation)
|
|
23
23
|
- [Basic Usage](#🚀-basic-usage)
|
|
@@ -96,7 +96,7 @@ flowchart LR
|
|
|
96
96
|
F <--> H[(fa:fa-database Source)]
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
The same or a separate instance of a `RequestManager` may also be used to fulfill requests issued by [*Ember***Data**{Store}](https://github.com/
|
|
99
|
+
The same or a separate instance of a `RequestManager` may also be used to fulfill requests issued by [*Ember***Data**{Store}](https://github.com/warp-drive-data/warp-drive/tree/main/packages/store)
|
|
100
100
|
|
|
101
101
|
```mermaid
|
|
102
102
|
flowchart LR
|
|
@@ -104,8 +104,8 @@ flowchart LR
|
|
|
104
104
|
B{{fa:fa-sitemap RequestManager}} <--> C[(fa:fa-database Source)]
|
|
105
105
|
D <--> E[(fa:fa-archive Cache)]
|
|
106
106
|
D <--> B
|
|
107
|
-
click D href "https://github.com/
|
|
108
|
-
click E href "https://github.com/
|
|
107
|
+
click D href "https://github.com/warp-drive-data/warp-drive/tree/main/packages/store" "Go to @ember-data-mirror/store" _blank
|
|
108
|
+
click E href "https://github.com/warp-drive-data/warp-drive/tree/main/packages/json-api" "Go to @ember-data-mirror/json-api" _blank
|
|
109
109
|
style D color:#58a6ff;
|
|
110
110
|
style E color:#58a6ff;
|
|
111
111
|
```
|
|
@@ -121,8 +121,8 @@ flowchart LR
|
|
|
121
121
|
A <--> D{fa:fa-code-fork Store}
|
|
122
122
|
D <--> E[(fa:fa-archive Cache)]
|
|
123
123
|
D <--> B
|
|
124
|
-
click D href "https://github.com/
|
|
125
|
-
click E href "https://github.com/
|
|
124
|
+
click D href "https://github.com/warp-drive-data/warp-drive/tree/main/packages/store" "Go to @ember-data-mirror/store" _blank
|
|
125
|
+
click E href "https://github.com/warp-drive-data/warp-drive/tree/main/packages/json-api" "Go to @ember-data-mirror/json-api" _blank
|
|
126
126
|
style D color:#58a6ff;
|
|
127
127
|
style E color:#58a6ff;
|
|
128
128
|
```
|
|
@@ -453,10 +453,10 @@ export default {
|
|
|
453
453
|
|
|
454
454
|
#### Using with `ember-data`
|
|
455
455
|
|
|
456
|
-
If using the package [ember-data](https://github.com/
|
|
456
|
+
If using the package [ember-data](https://github.com/warp-drive-data/warp-drive/tree/main/packages/-ember-data),
|
|
457
457
|
the following configuration will automatically be done in order to preserve the
|
|
458
|
-
legacy [Adapter](https://github.com/
|
|
459
|
-
[Serializer](https://github.com/
|
|
458
|
+
legacy [Adapter](https://github.com/warp-drive-data/warp-drive/tree/main/packages/adapter) and
|
|
459
|
+
[Serializer](https://github.com/warp-drive-data/warp-drive/tree/main/packages/serializer) behavior.
|
|
460
460
|
Additional handlers or a service injection like the above would need to be done by the
|
|
461
461
|
consuming application in order to make broader use of `RequestManager`.
|
|
462
462
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-data-mirror/request",
|
|
3
3
|
"description": "⚡️ A simple, small and fast framework-agnostic library to make `fetch` happen",
|
|
4
|
-
"version": "5.8.0-
|
|
4
|
+
"version": "5.8.0-beta.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Chris Thoburn <runspired@users.noreply.github.com>",
|
|
7
7
|
"repository": {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"peerDependencies": {},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@embroider/macros": "^1.18.1",
|
|
39
|
-
"@warp-drive-mirror/core": "5.8.0-
|
|
39
|
+
"@warp-drive-mirror/core": "5.8.0-beta.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@babel/core": "^7.28.3",
|
|
43
43
|
"@babel/plugin-transform-typescript": "^7.28.0",
|
|
44
44
|
"@babel/preset-env": "^7.28.3",
|
|
45
45
|
"@babel/preset-typescript": "^7.27.1",
|
|
46
|
-
"@warp-drive/internal-config": "5.8.0-
|
|
46
|
+
"@warp-drive/internal-config": "5.8.0-beta.0",
|
|
47
47
|
"vite": "^7.1.3"
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|