@isograph/react 0.0.0-main-d6741831 → 0.0.0-main-67ce6901
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/core/read.ts +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/react",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-67ce6901",
|
4
4
|
"description": "Use Isograph with React",
|
5
5
|
"homepage": "https://isograph.dev",
|
6
6
|
"main": "dist/index.js",
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"tsc": "tsc"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"@isograph/disposable-types": "0.0.0-main-
|
21
|
-
"@isograph/react-disposable-state": "0.0.0-main-
|
22
|
-
"@isograph/reference-counted-pointer": "0.0.0-main-
|
20
|
+
"@isograph/disposable-types": "0.0.0-main-67ce6901",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-67ce6901",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-67ce6901",
|
23
23
|
"react": "^18.2.0"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
package/src/core/read.ts
CHANGED
@@ -369,7 +369,7 @@ function readData<TReadFromStore>(
|
|
369
369
|
field.entrypoint,
|
370
370
|
localVariables,
|
371
371
|
);
|
372
|
-
const fragmentReference = {
|
372
|
+
const fragmentReference: FragmentReference<any, any> = {
|
373
373
|
kind: 'FragmentReference',
|
374
374
|
readerArtifact: field.entrypoint.readerArtifact,
|
375
375
|
// TODO localVariables is not guaranteed to have an id field
|
@@ -377,7 +377,7 @@ function readData<TReadFromStore>(
|
|
377
377
|
variables: localVariables,
|
378
378
|
nestedRefetchQueries: field.entrypoint.nestedRefetchQueries,
|
379
379
|
networkRequest,
|
380
|
-
}
|
380
|
+
};
|
381
381
|
return [fragmentReference, disposeNetworkRequest];
|
382
382
|
},
|
383
383
|
];
|