@soda-gql/runtime 0.3.0 → 0.4.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 +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ When using soda-gql with a build plugin (Babel, TypeScript, Vite, etc.), the run
|
|
|
29
29
|
// Your source code
|
|
30
30
|
import { gql } from "@/graphql-system";
|
|
31
31
|
|
|
32
|
-
export const userQuery = gql.default(({ query
|
|
32
|
+
export const userQuery = gql.default(({ query, $var }) =>
|
|
33
33
|
query.operation({
|
|
34
34
|
name: "GetUser",
|
|
35
35
|
variables: { ...$var("id").ID("!") },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soda-gql/runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Minimal runtime for soda-gql operations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"./package.json": "./package.json"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@soda-gql/core": "0.
|
|
49
|
+
"@soda-gql/core": "0.4.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {},
|
|
52
52
|
"peerDependencies": {}
|