@magnetarjs/core
Advanced tools
Comparing version 0.5.9-beta.2 to 0.5.10
@@ -349,3 +349,4 @@ var __defProp = Object.defineProperty; | ||
const actionPromise = new Promise(async (resolve, reject) => { | ||
if (actionName === "fetch") { | ||
const force = (payload == null ? void 0 : payload.force) === true; | ||
if (actionName === "fetch" && force) { | ||
await writeLock.promise; | ||
@@ -427,3 +428,2 @@ if (!_docId) { | ||
if (actionName === "fetch") { | ||
const force = (payload == null ? void 0 : payload.force) === true; | ||
const optimisticFetch = !force; | ||
@@ -430,0 +430,0 @@ if (optimisticFetch) { |
{ | ||
"name": "@magnetarjs/core", | ||
"version": "0.5.9-beta.2", | ||
"version": "0.5.10", | ||
"sideEffects": false, | ||
@@ -30,3 +30,3 @@ "description": "Magnetar core library.", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "0.5.9-beta.2" | ||
"@magnetarjs/test-utils": "0.5.10" | ||
}, | ||
@@ -33,0 +33,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
254384
30
5513
4