@mmstack/resource 20.3.0 → 20.4.0

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.
@@ -445,7 +445,7 @@ function provideQueryCache(opt) {
445
445
  deserialize,
446
446
  }
447
447
  : undefined;
448
- let db = opt?.persist === false
448
+ const db = opt?.persist === false
449
449
  ? undefined
450
450
  : createSingleStoreDB('mmstack-query-cache-db', (version) => `query-store_v${version}`, opt?.version).then((db) => {
451
451
  return {
@@ -1383,7 +1383,6 @@ function queryResource(request, options) {
1383
1383
  : stableRequest;
1384
1384
  let resource = toResourceObject(httpResource(cachedRequest, {
1385
1385
  ...options,
1386
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1387
1386
  parse: options?.parse, // Not my favorite thing to do, but here it is completely safe.
1388
1387
  }));
1389
1388
  resource = catchValueError(resource, options?.defaultValue);