@livestore/graphql 0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e → 0.0.0-snapshot-8fd59846e2580d37bdd37ae607e9db2a458a8b63
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/package.json +4 -4
- package/src/graphql.ts +1 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livestore/graphql",
|
|
3
|
-
"version": "0.0.0-snapshot-
|
|
3
|
+
"version": "0.0.0-snapshot-8fd59846e2580d37bdd37ae607e9db2a458a8b63",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
14
14
|
"@opentelemetry/api": "1.9.0",
|
|
15
|
-
"@livestore/
|
|
16
|
-
"@livestore/livestore": "0.0.0-snapshot-
|
|
17
|
-
"@livestore/
|
|
15
|
+
"@livestore/common": "0.0.0-snapshot-8fd59846e2580d37bdd37ae607e9db2a458a8b63",
|
|
16
|
+
"@livestore/livestore": "0.0.0-snapshot-8fd59846e2580d37bdd37ae607e9db2a458a8b63",
|
|
17
|
+
"@livestore/utils": "0.0.0-snapshot-8fd59846e2580d37bdd37ae607e9db2a458a8b63"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"graphql": "^16.10.0"
|
package/src/graphql.ts
CHANGED
|
@@ -139,9 +139,7 @@ export class LiveStoreGraphQLQuery<
|
|
|
139
139
|
: shouldNeverHappen(`Invalid map function ${map}`)
|
|
140
140
|
|
|
141
141
|
// TODO don't even create a thunk if variables are static
|
|
142
|
-
let variableValues$OrvariableValues
|
|
143
|
-
| TVariableValues
|
|
144
|
-
| ReactiveGraph.Thunk<TVariableValues, LiveQueries.ReactivityGraphContext, RefreshReason>
|
|
142
|
+
let variableValues$OrvariableValues
|
|
145
143
|
|
|
146
144
|
if (typeof genVariableValues === 'function') {
|
|
147
145
|
variableValues$OrvariableValues = this.reactivityGraph.makeThunk(
|
|
@@ -232,7 +230,6 @@ export class LiveStoreGraphQLQuery<
|
|
|
232
230
|
for (const error of res.errors) {
|
|
233
231
|
console.error(error)
|
|
234
232
|
}
|
|
235
|
-
// biome-ignore lint/suspicious/noDebugger: debug
|
|
236
233
|
debugger
|
|
237
234
|
shouldNeverHappen(`GraphQL error: ${res.errors.join('\n')}`)
|
|
238
235
|
}
|