@magnetarjs/core
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -418,4 +418,5 @@ "use strict"; | ||
if (isFetchResponse(resultFromPlugin)) { | ||
const { docs, reachedEnd, last } = resultFromPlugin; | ||
setLastFetched == null ? void 0 : setLastFetched({ reachedEnd, last }); | ||
const { docs, reachedEnd, cursor } = resultFromPlugin; | ||
if ((0, import_is_what4.isBoolean)(reachedEnd)) | ||
setLastFetched == null ? void 0 : setLastFetched({ reachedEnd, cursor }); | ||
for (const docMetaData of docs) { | ||
@@ -785,3 +786,3 @@ executeOnFns(doOnFetchFns, docMetaData.data, [docMetaData]); | ||
const fetchMeta = { | ||
get: () => fetchMetaMap.get(pathWhereOrderByIdentifier) || { reachedEnd: false, last: void 0 }, | ||
get: () => fetchMetaMap.get(pathWhereOrderByIdentifier) || { reachedEnd: false, cursor: void 0 }, | ||
set: (payload) => fetchMetaMap.set(pathWhereOrderByIdentifier, payload) | ||
@@ -788,0 +789,0 @@ }; |
{ | ||
"name": "@magnetarjs/core", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"sideEffects": false, | ||
@@ -23,4 +23,4 @@ "description": "Magnetar core library.", | ||
"dependencies": { | ||
"@magnetarjs/types": "0.9.0", | ||
"@magnetarjs/utils": "0.9.0", | ||
"@magnetarjs/types": "0.9.1", | ||
"@magnetarjs/utils": "0.9.1", | ||
"getorset-anything": "^0.0.2", | ||
@@ -31,3 +31,3 @@ "is-what": "^3.14.1", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "0.9.0" | ||
"@magnetarjs/test-utils": "0.9.1" | ||
}, | ||
@@ -34,0 +34,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67003
1672
+ Added@magnetarjs/types@0.9.1(transitive)
+ Added@magnetarjs/utils@0.9.1(transitive)
- Removed@magnetarjs/types@0.9.0(transitive)
- Removed@magnetarjs/utils@0.9.0(transitive)
Updated@magnetarjs/types@0.9.1
Updated@magnetarjs/utils@0.9.1