@hyper-fetch/graphql 9.8.1 → 9.9.0
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# 🎡 Hyper Fetch GraphQL
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<b>GraphQL adapter for HyperFetch. Typed queries
|
|
4
|
+
<b>GraphQL adapter for HyperFetch. Typed queries and mutations over HTTP.</b>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
|
|
34
34
|
## 📖 About
|
|
35
35
|
|
|
36
|
-
This adapter connects HyperFetch to GraphQL APIs. You get typed queries
|
|
36
|
+
This adapter connects HyperFetch to GraphQL APIs over HTTP. You get typed queries and mutations that work with
|
|
37
37
|
HyperFetch's caching, queuing, and React hooks — the same request patterns you use for REST, but with GraphQL
|
|
38
|
-
operations.
|
|
38
|
+
operations. Subscriptions are not supported.
|
|
39
39
|
|
|
40
40
|
## 🎯 Key Capabilities
|
|
41
41
|
|
|
42
|
-
- 🎡 **GraphQL meets HyperFetch** — Typed queries
|
|
42
|
+
- 🎡 **GraphQL meets HyperFetch** — Typed queries and mutations with cache and queue support
|
|
43
43
|
- 🔮 **End-to-end types** — Full TypeScript types for operations, variables, and responses
|
|
44
44
|
- 📡 **Any GraphQL server** — Compatible with Apollo, Yoga, Hasura, and any spec-compliant endpoint
|
|
45
45
|
- ⚛️ **React-ready** — Use `useFetch` and `useSubmit` for GraphQL operations in components
|
|
@@ -144,4 +144,4 @@ const UserList = () => {
|
|
|
144
144
|
|
|
145
145
|
## License
|
|
146
146
|
|
|
147
|
-
[
|
|
147
|
+
[Apache-2.0](https://github.com/BetterTyped/hyper-fetch/blob/main/License.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyper-fetch/graphql",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.9.0",
|
|
4
4
|
"description": "Simple graphql adapter",
|
|
5
5
|
"author": "Maciej Pyrc <maciekpyrc@gmail.com>, Kacper Skawina <kacper.skawina@gmail.com>",
|
|
6
6
|
"homepage": "https://hyperfetch.bettertyped.com/",
|