@balena/open-balena-api 30.0.0-build-multi-level-store-39052773954dcefc541a49a90e40bcec1d88de12-1 → 30.0.0-build-multi-level-store-080f7040601bf6ce55f81e4a6c46637b270593b8-1
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ export function createMultiLevelStore(cacheKey, opts) {
|
|
8
8
|
throw new Error(`Cache key '${cacheKey}' has already been taken`);
|
9
9
|
}
|
10
10
|
usedCacheKeys[cacheKey] = true;
|
11
|
-
const { default: baseOpts, local, global, useVersion
|
11
|
+
const { default: baseOpts, local, global, useVersion } = opts;
|
12
12
|
const { isCacheableValue } = baseOpts;
|
13
13
|
const memoryCache = local === false
|
14
14
|
? undefined
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"multi-level-store.js","sourceRoot":"","sources":["../../../src/infra/cache/multi-level-store.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,MAAM,aAAa,GAAqB,EAAE,CAAC;AAM3C,MAAM,UAAU,qBAAqB,CACpC,QAAgB,EAChB,IAaC;IAOD,IAAI,aAAa,CAAC,QAAQ,CAAC,KAAK,IAAI,EAAE,CAAC;QACtC,MAAM,IAAI,KAAK,CAAC,cAAc,QAAQ,0BAA0B,CAAC,CAAC;IACnE,CAAC;IACD,aAAa,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IAE/B,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,
|
1
|
+
{"version":3,"file":"multi-level-store.js","sourceRoot":"","sources":["../../../src/infra/cache/multi-level-store.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAA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O,MAAM,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACtC,CAAC;KACD,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/open-balena-api",
|
3
3
|
"description": "Internet of things, Made Simple",
|
4
|
-
"version": "30.0.0-build-multi-level-store-
|
4
|
+
"version": "30.0.0-build-multi-level-store-080f7040601bf6ce55f81e4a6c46637b270593b8-1",
|
5
5
|
"license": "AGPL-3.0",
|
6
6
|
"repository": {
|
7
7
|
"type": "git",
|
@@ -168,6 +168,6 @@
|
|
168
168
|
"loader": "ts-node/esm/transpile-only"
|
169
169
|
},
|
170
170
|
"versionist": {
|
171
|
-
"publishedAt": "2024-10-16T14:
|
171
|
+
"publishedAt": "2024-10-16T14:26:51.322Z"
|
172
172
|
}
|
173
173
|
}
|