@isograph/react 0.0.0-main-b7b79634 → 0.0.0-main-451cf238
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.
@@ -47,7 +47,7 @@ function useSkipLimitPagination(loadableField) {
|
|
47
47
|
const fragmentReference = pointer.getItemIfNotDisposed();
|
48
48
|
if (fragmentReference == null) {
|
49
49
|
throw new Error('FragmentReference is unexpectedly disposed. \
|
50
|
-
|
50
|
+
This is indicative of a bug in Isograph.');
|
51
51
|
}
|
52
52
|
(0, useResult_1.maybeUnwrapNetworkRequest)(fragmentReference.networkRequest, networkRequestOptions);
|
53
53
|
const data = (0, read_1.readButDoNotEvaluate)(environment, fragmentReference, networkRequestOptions);
|
@@ -65,7 +65,7 @@ function useSkipLimitPagination(loadableField) {
|
|
65
65
|
const clonedRefCountedPointer = refCountedPointer.cloneIfNotDisposed();
|
66
66
|
if (clonedRefCountedPointer == null) {
|
67
67
|
throw new Error('This reference counted pointer has already been disposed. \
|
68
|
-
|
68
|
+
This is indicative of a bug in useSkipLimitPagination.');
|
69
69
|
}
|
70
70
|
return clonedRefCountedPointer;
|
71
71
|
});
|
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-451cf238",
|
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-451cf238",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-451cf238",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-451cf238"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "18.2.0"
|
@@ -97,7 +97,7 @@ export function useSkipLimitPagination<
|
|
97
97
|
if (fragmentReference == null) {
|
98
98
|
throw new Error(
|
99
99
|
'FragmentReference is unexpectedly disposed. \
|
100
|
-
|
100
|
+
This is indicative of a bug in Isograph.',
|
101
101
|
);
|
102
102
|
}
|
103
103
|
|
@@ -140,7 +140,7 @@ export function useSkipLimitPagination<
|
|
140
140
|
if (clonedRefCountedPointer == null) {
|
141
141
|
throw new Error(
|
142
142
|
'This reference counted pointer has already been disposed. \
|
143
|
-
|
143
|
+
This is indicative of a bug in useSkipLimitPagination.',
|
144
144
|
);
|
145
145
|
}
|
146
146
|
return clonedRefCountedPointer;
|