@isograph/react 0.0.0-main-bf1400f8 → 0.0.0-main-dfe22b10
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.
@@ -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
|
});
|
@@ -92,7 +92,7 @@ function useSkipLimitPagination(loadableField) {
|
|
92
92
|
const mostRecentFragmentReference = mostRecentItem[0].getItemIfNotDisposed();
|
93
93
|
if (mostRecentFragmentReference === null) {
|
94
94
|
throw new Error('FragmentReference is unexpectedly disposed. \
|
95
|
-
|
95
|
+
This is indicative of a bug in Isograph.');
|
96
96
|
}
|
97
97
|
const networkRequestStatus = (0, PromiseWrapper_1.getPromiseState)(mostRecentFragmentReference.networkRequest);
|
98
98
|
switch (networkRequestStatus.kind) {
|
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-dfe22b10",
|
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-dfe22b10",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-dfe22b10",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-dfe22b10"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "18.2.0"
|
@@ -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;
|
@@ -179,7 +179,7 @@ export function useSkipLimitPagination<
|
|
179
179
|
if (mostRecentFragmentReference === null) {
|
180
180
|
throw new Error(
|
181
181
|
'FragmentReference is unexpectedly disposed. \
|
182
|
-
|
182
|
+
This is indicative of a bug in Isograph.',
|
183
183
|
);
|
184
184
|
}
|
185
185
|
|