@livestore/graphql 0.0.0-snapshot-c70175cc471a448781cfe8f01001b0034e29a384 → 0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/graphql.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/graphql",
3
- "version": "0.0.0-snapshot-c70175cc471a448781cfe8f01001b0034e29a384",
3
+ "version": "0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e",
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/common": "0.0.0-snapshot-c70175cc471a448781cfe8f01001b0034e29a384",
16
- "@livestore/livestore": "0.0.0-snapshot-c70175cc471a448781cfe8f01001b0034e29a384",
17
- "@livestore/utils": "0.0.0-snapshot-c70175cc471a448781cfe8f01001b0034e29a384"
15
+ "@livestore/utils": "0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e",
16
+ "@livestore/livestore": "0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e",
17
+ "@livestore/common": "0.0.0-snapshot-057a9e3a18ca69a310d4eb8cf35a34e94fa1841e"
18
18
  },
19
19
  "devDependencies": {
20
20
  "graphql": "^16.10.0"
package/src/graphql.ts CHANGED
@@ -139,7 +139,9 @@ 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
142
+ let variableValues$OrvariableValues:
143
+ | TVariableValues
144
+ | ReactiveGraph.Thunk<TVariableValues, LiveQueries.ReactivityGraphContext, RefreshReason>
143
145
 
144
146
  if (typeof genVariableValues === 'function') {
145
147
  variableValues$OrvariableValues = this.reactivityGraph.makeThunk(
@@ -230,6 +232,7 @@ export class LiveStoreGraphQLQuery<
230
232
  for (const error of res.errors) {
231
233
  console.error(error)
232
234
  }
235
+ // biome-ignore lint/suspicious/noDebugger: debug
233
236
  debugger
234
237
  shouldNeverHappen(`GraphQL error: ${res.errors.join('\n')}`)
235
238
  }