@balena/open-balena-api 29.2.0-build-add-power-fan-boot-configs-203a4ff13bf55fbbb7861d4dce5d3d2430524439-1 → 30.0.0-build-multi-level-store-de079c541a7f68655f7d501ff625cb57cddce510-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. package/dist/features/api-keys/lib.js +1 -1
  2. package/dist/features/api-keys/lib.js.map +1 -1
  3. package/dist/features/device-logs/lib/store.js +1 -1
  4. package/dist/features/device-logs/lib/store.js.map +1 -1
  5. package/dist/features/device-provisioning/gracefully-deny-conflicting-registrations.js +2 -1
  6. package/dist/features/device-provisioning/gracefully-deny-conflicting-registrations.js.map +1 -1
  7. package/dist/features/device-state/middleware.js +1 -1
  8. package/dist/features/device-state/middleware.js.map +1 -1
  9. package/dist/features/device-state/routes/state-get-v2.js +3 -4
  10. package/dist/features/device-state/routes/state-get-v2.js.map +1 -1
  11. package/dist/features/device-state/routes/state-get-v3.js +2 -3
  12. package/dist/features/device-state/routes/state-get-v3.js.map +1 -1
  13. package/dist/features/device-state/state-get-utils.js +5 -2
  14. package/dist/features/device-state/state-get-utils.js.map +1 -1
  15. package/dist/features/device-state/state-patch-utils.js +7 -3
  16. package/dist/features/device-state/state-patch-utils.js.map +1 -1
  17. package/dist/features/device-types/build-info-facade.js +3 -3
  18. package/dist/features/device-types/build-info-facade.js.map +1 -1
  19. package/dist/features/device-types/device-types-list.js +5 -2
  20. package/dist/features/device-types/device-types-list.js.map +1 -1
  21. package/dist/features/registry/registry.js +4 -4
  22. package/dist/features/registry/registry.js.map +1 -1
  23. package/dist/features/vars-schema/env-vars.js +0 -23
  24. package/dist/features/vars-schema/env-vars.js.map +1 -1
  25. package/dist/features/vpn/services.js +1 -1
  26. package/dist/features/vpn/services.js.map +1 -1
  27. package/dist/infra/cache/multi-level-memoizee.d.ts +7 -26
  28. package/dist/infra/cache/multi-level-memoizee.js +5 -8
  29. package/dist/infra/cache/multi-level-memoizee.js.map +1 -1
  30. package/dist/infra/cache/multi-level-store.d.ts +8 -8
  31. package/dist/infra/cache/multi-level-store.js +2 -11
  32. package/dist/infra/cache/multi-level-store.js.map +1 -1
  33. package/package.json +2 -2
@@ -200,7 +200,7 @@ export const isApiKeyWithRole = (() => {
200
200
  primitive: true,
201
201
  maxAge: API_KEY_ROLE_CACHE_TIMEOUT,
202
202
  normalizer: ([key, roleName]) => `${roleName}$${key}`,
203
- });
203
+ }, { useVersion: false });
204
204
  })();
205
205
  /**
206
206
  * Temporarily augments the request's api key with the specified permissions.
@@ -1 +1 @@
1
- {"version":3,"file":"lib.js","sourceRoot":"","sources":["../../../src/features/api-keys/lib.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,cAAc,CAAC;AACxC,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnD,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAC1B,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;AAiBnC,MAAM,aAAa,GAAG,KAAK,EAC1B,SAAsB,EACtB,QAAgB,EAChB,GAAY,EACZ,WAAmB,EACnB,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAyB,EAClD,EAAE;IACpB,MAAM,SAAS,GAAG,MAAM,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC;QACrC,QAAQ,EAAE,SAAS;QACnB,EAAE,EAAE,WAAW;QACf,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;QACxB,OAAO,EAAE;YACR,OAAO,EAAE,OAAO;SAChB;KACD,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C5D,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC"}
@@ -42,7 +42,7 @@ const getWriteContext = (() => {
42
42
  normalizer: ([uuid, req]) => {
43
43
  return `${uuid}$${reqPermissionNormalizer(req)}`;
44
44
  },
45
- });
45
+ }, { useVersion: false });
46
46
  return async (req) => {
47
47
  const { uuid } = req.params;
48
48
  const maybeLogContext = await $getWriteContext(uuid, req);
@@ -1 +1 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../../src/features/device-logs/lib/store.ts"],"names":[],"mappings":"AAQA,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACd,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,GACnB,MAAM,aAAa,CAAC;AAErB,OAAO,EACN,oCAAoC,EACpC,uCAAuC,EACvC,0BAA0B,EAC1B,uBAAuB,EACvB,YAAY,GACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACN,kBAAkB,EAClB,uBAAuB,GACvB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,EACL,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,GACzB,GAAG,MAAM,CAAC;AACX,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,MAAM,UAAU,GAAG,IAAI,UAAU,EAAE,CAAC;AAEpC,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE;IAC7B,MAAM,gBAAgB,GAAG,kBAAkB,CAC1C,KAAK,EACJ,IAAY,EACZ,GAA8B,EACA,EAAE;QACh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YACtB,CAAC;YACD,gBAAgB,GAAG,KAAK,CAAC;YAEzB,wEAAwE;YACxE,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACvB,QAAQ,EAAE,CAAC;YACZ,CAAC;QACF,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,iBAAiB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QAClC,CAAC;IACF,CAAC;IACD,SAAS,QAAQ;QAChB,IAAI,gBAAgB,KAAK,KAAK,EAAE,CAAC;YAChC,OAAO;QACR,CAAC;QACD,8DAA8D;QAC9D,MAAM,KAAK,GAAG,OAAO,CAAC,SAAS;YAC9B,CAAC,CAAC,0BAA0B;YAC5B,CAAC,CAAC,uCAAuC,CAAC;QAC3C,UAAU,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;QAC9B,gBAAgB,GAAG,IAAI,CAAC;IACzB,CAAC;AACF,CAAC"}
@@ -26,7 +26,8 @@ export const checkApiKeyExistsStore = createMultiLevelStore('checkApiKeyExists',
26
26
  ttl: API_KEY_EXISTS_CACHE_TIMEOUT / SECONDS,
27
27
  },
28
28
  local: false,
29
- }, false);
29
+ useVersion: false,
30
+ });
30
31
  const checkApiKeyExists = async (key) => {
31
32
  return await checkApiKeyExistsStore.wrap(key, async () => {
32
33
  const apiKey = await checkApiKeyExistsQuery()({ key });
@@ -1 +1 @@
1
- {"version":3,"file":"gracefully-deny-conflicting-registrations.js","sourceRoot":"","sources":["../../../src/features/device-provisioning/gracefully-deny-conflicting-registrations.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM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GAAwG;IACxG,uGAAuG;IACvG,wDAAwD;IACxD,MAAM,MAAM,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACrD,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;QACpB,8DAA8D;QAC9D,2CAA2C;QAC3C,MAAM,IAAI,aAAa,CAAC,wBAAwB,CAAC,CAAC;IACnD,CAAC;IAED,MAAM,cAAc,GAAG,MAAM,IAAI,IAAI,IAAI,CAAC,MAAM,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3E,IAAI,cAAc,EAAE,CAAC;QACpB,8DAA8D;QAC9D,2CAA2C;QAC3C,MAAM,IAAI,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;AACF,CAAC"}
1
+ {"version":3,"file":"gracefully-deny-conflicting-registrations.js","sourceRoot":"","sources":["../../../src/features/device-provisioning/gracefully-deny-conflicting-registrations.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;AACjC,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC1C,GAAG,CAAC,KAAK,CAAC,OAAO,CAChB;IACC,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;IACtC,EAAE,EAAE;QACH,GAAG,EAAE,EAAE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,2CAA2C;QAC3C,MAAM,IAAI,aAAa,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;AACF,CAAC"}
@@ -21,7 +21,7 @@ export const checkDeviceExistsIsFrozen = multiCacheMemoizee(async (uuid) => {
21
21
  primitive: true,
22
22
  undefinedAs: false,
23
23
  maxAge: DEVICE_EXISTS_CACHE_TIMEOUT,
24
- });
24
+ }, { useVersion: false });
25
25
  const requestParamsUuidResolver = (req) => [req.params.uuid];
26
26
  /**
27
27
  * This checks if a device is deleted or frozen and responds according to the passed statusCode(s)
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../../src/features/device-state/middleware.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGhE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAGlE,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAClD,GAAG,CAAC,KAAK,CAAC,OAAO,CAChB;IACC,QAAQ,EAAE,QAAQ;IAClB,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;IACtC,EAAE,EAAE;QACH,IAAI,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE;KACrB;IACD,OAAO,EAAE;QACR,OAAO,EAAE,CAAC,IAAI,EAAE,WAAW,CAAC;KAC5B;CACD,EACD,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,CACpB,CACD,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,kBAAkB,CAC1D,KAAK,EAAE,IAAY,EAAE,EAAE;IACtB,OAAO,MAAM,8BAA8B,EAAE,CAAC,EAAE,IAAI,EAAE,CA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C,CAAC,GAAG,EAAE,CAAC;gBACpC,OAAO;YACR,CAAC;YACD,IAAI,MAAM,CAAC,SAAS,EAAE,CAAC;gBACtB,iCAAiC;gBACjC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,GAAG,EAAE,CAAC;gBACnC,OAAO;YACR,CAAC;YACD,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC3B,CAAC;QACD,GAAG,CAAC,MAAM,KAAK,EAAE,CAAC;QACjB,GAAG,CAAC,MAAwC,CAAC,iBAAiB,GAAG,SAAS,CAAC;QAC5E,IAAI,EAAE,CAAC;IACR,CAAC,CAAC;AACH,CAAC,CAAC"}
@@ -25,15 +25,14 @@ function buildAppFromRelease(device, application, release, config) {
25
25
  const image = ipr.image[0];
26
26
  const si = device.service_install.find(({ service }) => service.__id === image.is_a_build_of__service[0].id);
27
27
  const svc = image.is_a_build_of__service[0];
28
- if (si == null) {
29
- throw new Error(`Could not find service install for device: '${application.id}', image: '${image?.id}', service: '${JSON.stringify(svc)}', service installs: '${JSON.stringify(device.service_install)}'`);
30
- }
31
28
  const environment = {};
32
29
  varListInsert(ipr.image_environment_variable, environment);
33
30
  varListInsert(application.application_environment_variable, environment);
34
31
  varListInsert(svc.service_environment_variable, environment);
35
32
  varListInsert(device.device_environment_variable, environment);
36
- varListInsert(si.device_service_environment_variable, environment);
33
+ if (si != null) {
34
+ varListInsert(si.device_service_environment_variable, environment);
35
+ }
37
36
  const labels = {};
38
37
  for (const { label_name, value } of [
39
38
  ...ipr.image_label,
@@ -1 +1 @@
1
- {"version":3,"file":"state-get-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v2.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,yBAA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Q,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACX;QACF,CAAC,CAAC,mBAAmB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACjE,CAAC,CAAC"}
1
+ {"version":3,"file":"state-get-v2.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v2.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,qBAAqB,EACrB,SAAS,EACT,6BAA6B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE9C,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AA4C1B,SAAS,mBAAmB,CAC3B,MAAsB,EACtB,WAA8D,EAC9D,OAA6D,EAC7D,MAA0B;IAE1B,IAAI,WAAW,GAAc,EAAE,CAAC;IAChC,MAAM,QAAQ,GAA8B,EAAE,CAAC;IAE/C,wDAAwD;IACxD,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;QACrC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACnC,CAAC;SAAM,CAAC;QACP,IAAI,CAAC;YACJ,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;QAC/C,CAAC;QAAC,MAAM,CAAC;YACR,WAAW,GAAG,EAAE,CAAC;QAClB,CAAC;IACF,CAAC;IAED,KAAK,MAAM,GAAG,IAAI,OAAO,CAAC,eAAe,EAAE,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AAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAEzD,iEAAiE;IACjE,MAAM,OAAO,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;IAErD,uCAAuC;IACvC,OAAO,OAAO,IAAI,IAAI;QACrB,CAAC,CAAC;YACA,IAAI,EAAE,cAAc,CAAC,QAAQ;YAC7B,QAAQ,EAAE,EAAE;YACZ,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE,EAAE;SACX;QACF,CAAC,CAAC,mBAAmB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACjE,CAAC,CAAC"}
@@ -35,10 +35,9 @@ export function buildAppFromRelease(device, application, release, config, defaul
35
35
  if (device != null) {
36
36
  varListInsert(device.device_environment_variable, environment);
37
37
  const si = serviceInstallFromImage(device, image);
38
- if (si == null) {
39
- throw new Error(`Could not find service install for device or application: '${application.uuid}', image: '${image?.id}', service: '${JSON.stringify(svc)}', service_install: '${JSON.stringify(device.service_install)}'`);
38
+ if (si != null) {
39
+ varListInsert(si.device_service_environment_variable, environment);
40
40
  }
41
- varListInsert(si.device_service_environment_variable, environment);
42
41
  }
43
42
  const labels = {
44
43
  ...defaultLabels,
@@ -1 +1 @@
1
- {"version":3,"file":"state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACvB,aAAa,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,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AAE,WAAW,CAAC,EAAE;YAClB,IAAI,EAAE,WAAW,CAAC,QAAQ;YAC1B,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,KAAK,EAAE,WAAW,CAAC,YAAY;YAC/B,GAAG,CAAC,OAAO,IAAI,IAAI,IAAI;gBACtB,QAAQ,EAAE,mBAAmB,CAC5B,MAAM,EACN,WAAW,EACX,OAAO,EACP,MAAM,EACN,aAAa,CACb;aACD,CAAC;SACF;KACD,CAAC;AACH,CAAC,CAAC"}
1
+ {"version":3,"file":"state-get-v3.js","sourceRoot":"","sources":["../../../../src/features/device-state/routes/state-get-v3.ts"],"names":[],"mappings":"AAEA,OAAO,CAAC,MAAM,QAAQ,CAAC;AACvB,OAAO,EACN,gBAAgB,EAChB,gBAAgB,GAChB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,yBAAyB,EACzB,mBAAmB,EACnB,SAAS,EACT,qBAAqB,EACrB,6BAA6B,EAC7B,eAAe,EACf,uBAAuB,EACvB,aAAa,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAK9C,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AA4F1B,MAAM,UAAU,mBAAmB,CAClC,MAAkC,EAClC,WAAiE,EACjE,OAAwB,EACxB,MAA0B,EAC1B,aAAkC;IAElC,IAAI,WAAW,GAAc,EAAE,CAAC;IAChC,MAAM,QAAQ,GACb,EAAE,CAAC;IAEJ,wDAAwD;IACxD,IAAI,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;QACrC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;IACnC,CAAC;SAAM,CAAC;QACP,IAAI,CAAC;YACJ,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,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ACtB,kBAAsC,EACtC,MAA0B,EAC1B,aAAkC,EACD,EAAE;IACnC,IAAI,WAAgC,CAAC;IACrC,IAAI,OAAwB,CAAC;IAC7B,IAAI,kBAAkB,KAAK,4BAA4B,EAAE,CAAC;QACzD,WAAW,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;QAChD,OAAO,GAAG,MAAM,CAAC,0BAA0B,CAAC,CAAC,CAAC,CAAC;IAChD,CAAC;SAAM,CAAC;QACP,OAAO,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,OAAO,IAAI,CAAC;QACb,CAAC;QACD,WAAW,GACV,OAGA,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO;QACN,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE;YACnB,EAAE,EAAE,WAAW,CAAC,EAAE;YAClB,IAAI,EAAE,WAAW,CAAC,QAAQ;YAC1B,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,KAAK,EAAE,WAAW,CAAC,YAAY;YAC/B,GAAG,CAAC,OAAO,IAAI,IAAI,IAAI;gBACtB,QAAQ,EAAE,mBAAmB,CAC5B,MAAM,EACN,WAAW,EACX,OAAO,EACP,MAAM,EACN,aAAa,CACb;aACD,CAAC;SACF;KACD,CAAC;AACH,CAAC,CAAC"}
@@ -78,8 +78,11 @@ export const ConfigurationVarsToLabels = {
78
78
  };
79
79
  export const getStateDelayingEmpty = (() => {
80
80
  const lastFailedDeviceStateTime = createMultiLevelStore('lastFailedDeviceStateTime', {
81
- ttl: EMPTY_DEVICE_STATE_GET_DELAY_SECONDS,
82
- }, false);
81
+ default: {
82
+ ttl: EMPTY_DEVICE_STATE_GET_DELAY_SECONDS,
83
+ },
84
+ useVersion: false,
85
+ });
83
86
  const EMPTY_DEVICE_STATE_GET_DELAY = EMPTY_DEVICE_STATE_GET_DELAY_SECONDS * 1000;
84
87
  /**
85
88
  * This runs the provided getStateFn and returns the result, with a timeout before repeating the
@@ -1 +1 @@
1
- {"version":3,"file":"state-get-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-get-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACN,gCAAgC,EAChC,oCAAoC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,qBAAqB,EACrB,uBAAuB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,MAAM,CAAC,MAAM,6BAA6B,GAEtC,EAAE,CAAC;AAEP,MAAM,wBAAwB,GAAgD;IAC7E,SAAS,kBAAkB,CAAC,MAAM;QACjC,MAAM,YAAY,GACjB,MAAM,CAAC,8BAA8B,IAAI,IAAI;YAC5C,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,EAAE,CAAC,CAAC;QACxD,sEAAsE;QACtE,MAAM,CAAC,8BAA8B;YACpC,EAAE,GAAG,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE,gCAAgC,CAAC,CAAC;IAChE,CAAC;CACD,CAAC;AACF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACzC,EAA6C,EAC5C,EAAE;IACH,wBAAwB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnC,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,MAA0B,EAAQ,EAAE;IAC7E,KAAK,MAAM,EAAE,IAAI,wBAAwB,EAAE,CAAC;QAC3C,EAAE,CAAC,MAAM,CAAC,CAAC;IACZ,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,CACxB,MAOY,EACZ,WAAW,GAAG,MAAM,EAAE,uBAAuB,CAAC,CAAC,CAAC,EAC/C,EAAE;IACH,MAAM,MAAM,GAAuB,EAAE,CAAC;IAE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C,EAAE,CAAC;QACtD,MAAM,QAAQ,GAAG,MAAM,yBAAyB,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC1D,yEAAyE;QACzE,IACC,QAAQ,IAAI,IAAI;YAChB,QAAQ,GAAG,4BAA4B,GAAG,IAAI,CAAC,GAAG,EAAE,EACnD,CAAC;YACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAC3C,IAAI,MAAM,IAAI,IAAI,EAAE,CAAC;gBACpB,mEAAmE;gBACnE,MAAM,yBAAyB,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;gBACrD,kDAAkD;gBAClD,MAAM,IAAI,MAAM,CAAC,iBAAiB,EAAE,CAAC;YACtC,CAAC;YAED,OAAO,MAAM,CAAC;QACf,CAAC;QACD,MAAM,IAAI,MAAM,CAAC,iBAAiB,EAAE,CAAC;IACtC,CAAC,CAAC;AACJ,CAAC,CAAC,EAAE,CAAC"}
1
+ {"version":3,"file":"state-get-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-get-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACN,gCAAgC,EAChC,oCAAoC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,qBAAqB,EACrB,uBAAuB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,MAAM,CAAC,MAAM,6BAA6B,GAEtC,EAAE,CAAC;AAEP,MAAM,wBAAwB,GAAgD;IAC7E,SAAS,kBAAkB,CAAC,MAAM;QACjC,MAAM,YAAY,GACjB,MAAM,CAAC,8BAA8B,IAAI,IAAI;YAC5C,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,8BAA8B,EAAE,EAAE,CAAC,CAAC;QACxD,sEAAsE;QACtE,MAAM,CAAC,8BAA8B;YACpC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}
@@ -72,8 +72,11 @@ export function limitMetricNumbers(body) {
72
72
  }
73
73
  export const shouldUpdateMetrics = (() => {
74
74
  const lastMetricsReportTime = createMultiLevelStore('lastMetricsReportTime', {
75
- ttl: METRICS_MAX_REPORT_INTERVAL_SECONDS,
76
- }, false);
75
+ default: {
76
+ ttl: METRICS_MAX_REPORT_INTERVAL_SECONDS,
77
+ },
78
+ useVersion: false,
79
+ });
77
80
  const METRICS_MAX_REPORT_INTERVAL = METRICS_MAX_REPORT_INTERVAL_SECONDS * 1000;
78
81
  return async (uuid) => {
79
82
  const lastMetricsUpdate = await lastMetricsReportTime.get(uuid);
@@ -96,7 +99,8 @@ const shouldUpdateImageInstall = (() => {
96
99
  // Do not have a local cache to avoid skipping updates based on an
97
100
  // outdated local cache
98
101
  local: false,
99
- }, false);
102
+ useVersion: false,
103
+ });
100
104
  const DOWNLOAD_PROGRESS_MAX_REPORT_INTERVAL = DOWNLOAD_PROGRESS_MAX_REPORT_INTERVAL_SECONDS * 1000;
101
105
  return async (imageInstallId, body) => {
102
106
  const key = `${imageInstallId}`;
@@ -1 +1 @@
1
- {"version":3,"file":"state-patch-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-patch-utils.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,6CAA6C,EAC7C,mCAAmC,EACnC,yBAAyB,EACzB,mCAAmC,GACnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,gBAAgB;IAChB,eAAe;CAGf,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,G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B,EAChB,QAAkB,EACF,EAAE;IAClB,qEAAqE;IACrE,6BAA6B;IAC7B,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC9B,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;KACtC,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC5D,MAAM,MAAM,GAAiC;QAC5C,MAAM,EAAE,QAAQ;KAChB,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;SAAM,CAAC;QACP,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,MAAM,OAAO,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,eAAe;QACzB,IAAI;QACJ,OAAO,EAAE;YACR,OAAO,EAAE,MAAM;SACf;KACD,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"state-patch-utils.js","sourceRoot":"","sources":["../../../src/features/device-state/state-patch-utils.ts"],"names":[],"mappings":"AAIA,OAAO,EACN,6CAA6C,EAC7C,mCAAmC,EACnC,yBAAyB,EACzB,mCAAmC,GACnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,CAAC,MAAM,kBAAkB,GAAG;IACjC,QAAQ;IACR,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,UAAU;IACV,YAAY;IACZ,QAAQ;IACR,gBAAgB;IA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,CAAC;IACF,CAAC;AACF,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,KAAK,EAC1C,QAAoC,EACpC,QAAgB,EAChB,QAAkB,EACF,EAAE;IAClB,qEAAqE;IACrE,6BAA6B;IAC7B,MAAM,OAAO,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC9B,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,CAAC,IAAI,EAAE;KACtC,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC;IAC5D,MAAM,MAAM,GAAiC;QAC5C,MAAM,EAAE,QAAQ;KAChB,CAAC;IACF,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpD,CAAC;SAAM,CAAC;QACP,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;IACpB,CAAC;IAED,MAAM,OAAO,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,eAAe;QACzB,IAAI;QACJ,OAAO,EAAE;YACR,OAAO,EAAE,MAAM;SACf;KACD,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -26,7 +26,7 @@ export const getLogoUrl = multiCacheMemoizee(async (normalizedSlug, buildId) =>
26
26
  primitive: true,
27
27
  preFetch: true,
28
28
  maxAge: BUILD_PROPERTY_CACHE_TIMEOUT,
29
- });
29
+ }, { useVersion: false });
30
30
  export const getDeviceTypeJson = multiCacheMemoizee(async (normalizedSlug, buildId) => {
31
31
  const isIgnored = await fileExists(getImageKey(normalizedSlug, buildId, 'IGNORE'));
32
32
  if (isIgnored) {
@@ -47,7 +47,7 @@ export const getDeviceTypeJson = multiCacheMemoizee(async (normalizedSlug, build
47
47
  primitive: true,
48
48
  preFetch: true,
49
49
  maxAge: BUILD_PROPERTY_CACHE_TIMEOUT,
50
- });
50
+ }, { useVersion: false });
51
51
  export const getCompressedSize = multiCacheMemoizee(async (normalizedSlug, buildId) => {
52
52
  return await getFolderSize(getImageKey(normalizedSlug, buildId, 'compressed'));
53
53
  }, {
@@ -56,5 +56,5 @@ export const getCompressedSize = multiCacheMemoizee(async (normalizedSlug, build
56
56
  primitive: true,
57
57
  preFetch: true,
58
58
  maxAge: BUILD_COMPRESSED_SIZE_CACHE_TIMEOUT,
59
- });
59
+ }, { useVersion: false });
60
60
  //# sourceMappingURL=build-info-facade.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-info-facade.js","sourceRoot":"","sources":["../../../src/features/device-types/build-info-facade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,EACN,mCAAmC,EACnC,4BAA4B,EAC5B,UAAU,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,UAAU,EACV,OAAO,EACP,aAAa,EACb,WAAW,GACX,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAC3C,KAAK,EACJ,cAAsB,EACtB,OAAe,EACe,EAAE;IAChC,IAAI,CAAC,UAAU,EAAE,CAAC;QACjB,OAAO;IACR,CAAC;IACD,MAAM,cAAc,GAAG,CAAC,cAAc,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7D,IAAI,CAAC;QACJ,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,cAAc,CAAC,CAAC;QAC/C,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,OAAO;QACR,CAAC;QAED,iDAAiD;QACjD,MAAM,eAAe,GAAG,WAAW,CAClC,GAAG,cAAc,CAAC,GAAG,CAAC,kBAAkB,CAAC,CACzC,CAAC;QACF,OAAO,WAAW,UA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c,EAAE,OAAO,EAAE,YAAY,CAAC,CAClD,CAAC;AACH,CAAC,EACD;IACC,QAAQ,EAAE,mBAAmB;IAC7B,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,mCAAmC;CAC3C,CACD,CAAC"}
1
+ {"version":3,"file":"build-info-facade.js","sourceRoot":"","sources":["../../../src/features/device-types/build-info-facade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,EACN,mCAAmC,EACnC,4BAA4B,EAC5B,UAAU,GACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACN,UAAU,EACV,OAAO,EACP,aAAa,EACb,WAAW,GACX,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,UAAU,GAAG,kBAAkB,CAC3C,KAAK,EACJ,cAAsB,EACtB,OAAe,EACe,EAAE;IAChC,IAAI,CAAC,UAAU,EAAE,CAAC;QACjB,OAAO;IACR,CAAC;IACD,MAAM,cAAc,GAAG,CAAC,cAAc,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;IAC7D,IAAI,CAAC;QACJ,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,cAAc,CAAC,CAAC;QAC/C,MAAM,OAAO,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACd,OAAO;QACR,CAAC;QAED,iDAAiD;QACjD,MAAM,eAAe,GAAG,WAAW,CAClC,GAAG,cAAc,CAAC,GAAG,CAAC,kBAAkB,CAAC,CACzC,CAAC;QACF,OAAO,WAAW,UAAU,IAAI,eAAe,EAAE,CAAC;IACnD,CAAC;IAAC,MAAM,CAAC;QACR,OAAO;IACR,CAAC;AACF,CAAC,EACD;IACC,QAAQ,EAAE,YAAY;IACtB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,IAAI;IACb,SAAS,EA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AI;IACb,SAAS,EAAE,IAAI;IACf,QAAQ,EAAE,IAAI;IACd,MAAM,EAAE,mCAAmC;CAC3C,EACD,EAAE,UAAU,EAAE,KAAK,EAAE,CACrB,CAAC"}
@@ -77,7 +77,10 @@ export const getDeviceTypes = multiCacheMemoizee(async () => {
77
77
  primitive: true,
78
78
  maxAge: DEVICE_TYPES_CACHE_LOCAL_TIMEOUT,
79
79
  }, {
80
- preFetch: 0.1,
81
- maxAge: DEVICE_TYPES_CACHE_TIMEOUT,
80
+ global: {
81
+ preFetch: 0.1,
82
+ maxAge: DEVICE_TYPES_CACHE_TIMEOUT,
83
+ },
84
+ useVersion: false,
82
85
  });
83
86
  //# sourceMappingURL=device-types-list.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-types-list.js","sourceRoot":"","sources":["../../../src/features/device-types/device-types-list.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,MAAM,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EACN,WAAW,EACX,oBAAoB,EACpB,WAAW,GACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EACN,gCAAgC,EAChC,0BAA0B,EAC1B,kBAAkB,GAClB,MAAM,qBAAqB,CAAC;AAO7B,SAAS,YAAY,CAAC,GAAa;IAClC,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACxB,OAAO;QACN,4CAA4C;QAC5C,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC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ACtE,CAAC;IACD,OAAO,MAAM,CAAC;AACf,CAAC,EACD;IACC,QAAQ,EAAE,kBAAkB;IAC5B,OAAO,EAAE,IAAI;IACb,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,gCAAgC;CACxC,EACD;IACC,QAAQ,EAAE,GAAG;IACb,MAAM,EAAE,0BAA0B;CAClC,CACD,CAAC"}
1
+ {"version":3,"file":"device-types-list.js","sourceRoot":"","sources":["../../../src/features/device-types/device-types-list.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAGvB,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,MAAM,EAAE,oBAAoB,EAAE,GAAG,MAAM,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAEvE,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,EACN,WAAW,EACX,oBAAoB,EACpB,WAAW,GACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EACN,gCAAgC,EAChC,0BAA0B,EAC1B,kBAAkB,GAClB,MAAM,qBAAqB,CAAC;AAO7B,SAAS,YAAY,CAAC,GAAa;IAClC,OAAO,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACxB,OAAO;QACN,4CAA4C;QAC5C,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC/D,gEAAgE;YAChE,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CACrB,C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C;IACD,UAAU,EAAE,KAAK;CACjB,CACD,CAAC"}
@@ -114,7 +114,7 @@ const resolveReadAccess = (() => {
114
114
  normalizer: ([imageId, req]) => {
115
115
  return `${imageId}$${reqPermissionNormalizer(req)}`;
116
116
  },
117
- });
117
+ }, { useVersion: false });
118
118
  return async (req, imageId, tx) => {
119
119
  if (imageId == null) {
120
120
  return false;
@@ -166,7 +166,7 @@ const resolveImageId = multiCacheMemoizee(async (effectiveName, tx) => {
166
166
  maxAge: RESOLVE_IMAGE_ID_CACHE_TIMEOUT,
167
167
  max: 500,
168
168
  normalizer: ([effectiveName]) => effectiveName,
169
- });
169
+ }, { useVersion: false });
170
170
  const resolveImageLocation = multiCacheMemoizee(async (applicationSlug, releaseHashOrVersion, serviceName, req, tx) => {
171
171
  try {
172
172
  const [image] = await api.resin.get({
@@ -278,7 +278,7 @@ const resolveImageLocation = multiCacheMemoizee(async (applicationSlug, releaseH
278
278
  normalizer: ([applicationSlug, releaseHashOrVersion, serviceName, req]) => {
279
279
  return `${applicationSlug}${releaseHashOrVersion}${serviceName}${reqPermissionNormalizer(req)}`;
280
280
  },
281
- });
281
+ }, { useVersion: false });
282
282
  const resolveAccess = async (req, type, name, effectiveName, requestedActions, defaultActions = [], alias, tx) => {
283
283
  let allowedActions;
284
284
  // Do as few queries as possible
@@ -535,7 +535,7 @@ const $getSubject = multiCacheMemoizee(async (apiKey, subject, tx) => {
535
535
  maxAge: GET_SUBJECT_CACHE_TIMEOUT,
536
536
  primitive: true,
537
537
  normalizer: ([apiKey, subject]) => `${apiKey}\u0001${subject}`,
538
- });
538
+ }, { useVersion: false });
539
539
  const getSubject = async (req, tx) => {
540
540
  if (req.apiKey != null && !_.isEmpty(req.apiKey.permissions)) {
541
541
  return await $getSubject(req.apiKey.key, req.params.subject, tx);
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/features/registry/registry.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,6DAA6D;AAG7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AE,IAAI;IACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,GAAG,MAAM,SAAS,OAAO,EAAE;CAC9D,EACD,EAAE,UAAU,EAAE,KAAK,EAAE,CACrB,CAAC;AACF,MAAM,UAAU,GAAG,KAAK,EACvB,GAAY,EACZ,EAAM,EACwB,EAAE;IAChC,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,OAAO,MAAM,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;IAClE,CAAC;SAAM,IAAI,GAAG,CAAC,IAAI,IAAI,IAAI,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;QACzC,6FAA6F;QAC7F,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC;YAChC,QAAQ,EAAE,MAAM;YAChB,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;YACxB,EAAE,EAAE,GAAG,CAAC,IAAI,CAAC,EAAE;YACf,OAAO,EAAE;gBACR,OAAO,EAAE,UAAU;aACnB;SACD,CAAC,CAAC;QACH,OAAO,IAAI,EAAE,QAAQ,CAAC;IACvB,CAAC;AACF,CAAC,CAAC"}
@@ -326,29 +326,6 @@ export const DEVICE_TYPE_SPECIFIC_CONFIG_VAR_PROPERTIES = [
326
326
  default: 1,
327
327
  },
328
328
  }),
329
- ...getDefinitionWithMinimumSupervisorVersion({
330
- '16.8.0': [
331
- 'jetson-agx-orin-devkit',
332
- 'jetson-agx-orin-devkit-64gb',
333
- 'jetson-orin-nano-devkit-nvme',
334
- 'jetson-orin-nano-seeed-j3010',
335
- 'jetson-orin-nx-seeed-j4012',
336
- 'jetson-orin-nx-xavier-nx-devkit',
337
- ],
338
- }, {
339
- BALENA_HOST_CONFIG_power_mode: {
340
- type: 'string',
341
- description: 'Define the device power mode. Supported by OS with Jetpack 6 or higher.',
342
- examples: ['low', 'mid', 'high'],
343
- will_reboot: true,
344
- },
345
- BALENA_HOST_CONFIG_fan_profile: {
346
- type: 'string',
347
- description: 'Define the device fan profile. Supported by OS with Jetpack 6 or higher.',
348
- examples: ['quiet', 'cool'],
349
- will_reboot: false,
350
- },
351
- }),
352
329
  ];
353
330
  const startsWithAny = (ns, name) => {
354
331
  return ns.some((n) => name.startsWith(n));
@@ -1 +1 @@
1
- {"version":3,"file":"env-vars.js","sourceRoot":"","sources":["../../../src/features/vars-schema/env-vars.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAEvE,MAAM,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;AAEnC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;AAE1D,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;AAEzD,MAAM,mBAAmB,GAAG,CAAC,KAAe,EAAE,EAAE;IAC/C,OAAO,mBAAmB,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE,CAC7C,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,MAAM,GAAG,KAAK,CAAC,CACpC,CAAC;AACH,CAAC,CAAC;AAQF,yDAAyD;AACzD,8DAA8D;AAC9D,8CAA8C;AAC9C,MAAM,CAAC,MAAM,aAAa,GAAG,mBAAmB,CAAC;IAChD,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,eAAe;IACf,+BAA+B;IAC/B,6BAA6B;IAC7B,uBAAuB;IACvB,wBAAwB;IACxB,0BAA0B;IAC1B,4BAA4B;IAC5B,wBAA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C;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAAa,EAAE,EAAE;IACzD,IAAI,qBAAqB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACvC,MAAM,IAAI,eAAe,CACxB,sDAAsD,CACtD,CAAC;IACH,CAAC;AACF,CAAC,CAAC"}
@@ -34,7 +34,7 @@ const checkAuth = (() => {
34
34
  normalizer: ([uuid, req]) => {
35
35
  return `${uuid}$${reqPermissionNormalizer(req)}`;
36
36
  },
37
- });
37
+ }, { useVersion: false });
38
38
  })();
39
39
  /**
40
40
  * A middleware to return 401 for deleted devices and avoid doing any additional work.
@@ -1 +1 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/features/vpn/services.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,kBAAkB,EAClB,uBAAuB,GACvB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,MAAM,EAAE,GAAG,EAAE,GAAG,SAAS,CAAC;AAE1B,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE;IACvB,OAAO,kBAAkB,CACxB,KAAK,EAAE,IAAY,EAAE,GAA8B,EAAmB,EAAE;QACvE,IAAI,CAAC;YACJ,MAAM,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC;gBACvB,MAAM,EAAE,MAAM;gBACd,sFAAsF;gBACtF,GAAG,EAAE,uCAAuC,IAAI,GAAG;gBACnD,WAAW,EAAE;oBACZ,GAAG;iBACH;gBACD,IAAI,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE;aAC7B,CAAC,CAAC;YACH,OAAO,GAAG,CAA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E,CAAC;QACtB,OAAO;IACR,CAAC;IAED,IAAI,CAAC;QACJ,MAAM,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC;YACrB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,EAAE,GAAG,EAAE;YACpB,OAAO,EAAE;gBACR,OAAO,EAAE;oBACR,IAAI,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE;oBACpB,+CAA+C;oBAC/C,+BAA+B,EAAE,SAAS;iBAC1C;aACD;YACD,IAAI,EAAE;gBACL,mBAAmB,EAAE,KAAK;gBAC1B,+BAA+B,EAAE,IAAI;aACrC;SACD,CAAC,CAAC;QACH,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;IACvB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACd,gBAAgB,CAAC,GAAG,EAAE,kCAAkC,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QACnE,IAAI,gBAAgB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO;QACR,CAAC;QACD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3C,CAAC;AACF,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { types } from '@balena/pinejs';
2
2
  import type { Options as MemoizeeOptions } from 'memoizee';
3
3
  import type { Defined } from './index.js';
4
+ import { createMultiLevelStore } from './index.js';
4
5
  type MultiCacheMemoizeeOpts<T extends (...args: any[]) => any> = {
5
6
  cacheKey?: string;
6
7
  undefinedAs?: Defined;
@@ -19,14 +20,10 @@ export interface MemoizedFn<T extends (...args: any[]) => Promise<any>> {
19
20
  (...args: Parameters<T>): Promise<ResolvableReturnType<T>>;
20
21
  delete: (...args: Parameters<T>) => Promise<void>;
21
22
  }
22
- type ToSinglePropUnions<T> = {
23
- [K in keyof T]: Record<K, T[K]>;
24
- }[keyof T];
25
- type AtLeastOneProp<T> = Partial<T> & ToSinglePropUnions<T>;
26
- type ExtraCacheOptsByType<T extends AnyFunction> = AtLeastOneProp<{
27
- local: Partial<MultiCacheMemoizeeExtraOpts<T>> | false;
28
- global: SharedMultiCacheMemoizeeExtraOpts<T>;
29
- }>;
23
+ type ExtraCacheOptsByType<T extends AnyFunction> = {
24
+ local?: Partial<MultiCacheMemoizeeExtraOpts<T>> | false;
25
+ global?: SharedMultiCacheMemoizeeExtraOpts<T>;
26
+ } & Pick<Parameters<typeof createMultiLevelStore>[1], 'useVersion'>;
30
27
  /**
31
28
  * A multi layer cache compatible with a subset of memoizee options
32
29
  * Note: `undefined`/`null` can only be locally cached so avoid if possible
@@ -46,23 +43,7 @@ type ExtraCacheOptsByType<T extends AnyFunction> = AtLeastOneProp<{
46
43
  * maxAge: 24 * HOURS, // override the shared cache (redis) ttl
47
44
  * }
48
45
  * });
49
- *
50
- * @example
51
- * // deprecated extraCacheOpts notation
52
- * multiCacheMemoizee('test', {
53
- * maxAge: 1 * HOURS,
54
- * }, {
55
- * maxAge: 24 * HOURS, // override the shared cache (redis) ttl
56
- * });
57
- */
58
- export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined | undefined>>(fn: T, opts: types.RequiredField<MultiCacheMemoizeeOpts<T>, 'undefinedAs'>, extraCacheOpts?: ExtraCacheOptsByType<T>): MemoizedFn<T>;
59
- export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined>>(fn: T, opts: MultiCacheMemoizeeOpts<T>, extraCacheOpts?: ExtraCacheOptsByType<T>): MemoizedFn<T>;
60
- /**
61
- * @deprecated
62
- */
63
- export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined | undefined>>(fn: T, opts: types.RequiredField<MultiCacheMemoizeeOpts<T>, 'undefinedAs'>, extraCacheOpts?: SharedMultiCacheMemoizeeExtraOpts<T>): MemoizedFn<T>;
64
- /**
65
- * @deprecated
66
46
  */
67
- export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined>>(fn: T, opts: MultiCacheMemoizeeOpts<T>, extraCacheOpts?: SharedMultiCacheMemoizeeExtraOpts<T>): MemoizedFn<T>;
47
+ export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined | undefined>>(fn: T, opts: types.RequiredField<MultiCacheMemoizeeOpts<T>, 'undefinedAs'>, extraCacheOpts: ExtraCacheOptsByType<T>): MemoizedFn<T>;
48
+ export declare function multiCacheMemoizee<T extends (...args: any[]) => Promise<Defined>>(fn: T, opts: MultiCacheMemoizeeOpts<T>, extraCacheOpts: ExtraCacheOptsByType<T>): MemoizedFn<T>;
68
49
  export {};
@@ -18,13 +18,6 @@ export function multiCacheMemoizee(fn, opts, extraCacheOpts) {
18
18
  if (remainingKeys.length > 0) {
19
19
  throw new Error(`Unsupported options: ${remainingKeys}`);
20
20
  }
21
- if (extraCacheOpts != null &&
22
- !('local' in extraCacheOpts) &&
23
- !('global' in extraCacheOpts)) {
24
- extraCacheOpts = {
25
- global: extraCacheOpts,
26
- };
27
- }
28
21
  if (extraCacheOpts?.local !== false) {
29
22
  checkUnsupportedExtraCacheKeys(extraCacheOpts?.local, 'local');
30
23
  }
@@ -55,7 +48,11 @@ export function multiCacheMemoizee(fn, opts, extraCacheOpts) {
55
48
  local: extraCacheOpts?.local === false
56
49
  ? false
57
50
  : convertToMultiStoreOpts({ ...opts, ...extraCacheOpts?.local }),
58
- global: convertToMultiStoreOpts({ ...opts, ...extraCacheOpts?.global }),
51
+ global: convertToMultiStoreOpts({
52
+ ...opts,
53
+ ...extraCacheOpts?.global,
54
+ }),
55
+ useVersion: extraCacheOpts.useVersion,
59
56
  };
60
57
  return multiCache(fn, cacheKey, normalizer, multiCacheOpts, undefinedAs);
61
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":"multi-level-memoizee.js","sourceRoot":"","sources":["../../../src/infra/cache/multi-level-memoizee.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAEvB,O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EAAgE;IAChE,OAAO,UAA2B,CAAC;AACpC,CAAC"}
@@ -3,20 +3,20 @@ import type { Defined } from './index.js';
3
3
  export type MultiStoreOpt = Pick<cacheManager.StoreConfig, 'ttl' | 'max'> & {
4
4
  refreshThreshold?: number;
5
5
  };
6
- /**
7
- * @param useVersion
8
- * Do not use the api version as part of the cache key, this disables automatic invalidation on
9
- * version updates and so anything that may change the result needs to be manually invalidated,
10
- * eg by changing the cacheKey
11
- */
12
- export declare function createMultiLevelStore<T extends Defined>(cacheKey: string, opts: (MultiStoreOpt & cacheManager.CacheOptions) | {
6
+ export declare function createMultiLevelStore<T extends Defined>(cacheKey: string, opts: {
13
7
  default: MultiStoreOpt & cacheManager.CacheOptions;
14
8
  local?: MultiStoreOpt | false;
15
9
  /**
16
10
  * The global store will ignore the `max` anyway, so avoiding passing it in will help reduce confusion
17
11
  */
18
12
  global?: Exclude<MultiStoreOpt, 'max'>;
19
- }, useVersion?: boolean): {
13
+ /**
14
+ * Do not use the api version as part of the cache key, this disables automatic invalidation on
15
+ * version updates and so anything that may change the result needs to be manually invalidated,
16
+ * eg by changing the cacheKey
17
+ */
18
+ useVersion: boolean;
19
+ }): {
20
20
  get: (key: string) => Promise<T | undefined>;
21
21
  set: (key: string, value: T) => Promise<void>;
22
22
  delete: (key: string) => Promise<void>;
@@ -3,21 +3,12 @@ import redisStore from 'cache-manager-ioredis';
3
3
  import { version } from '../../lib/config.js';
4
4
  import { getRedisOptions } from '../redis/config.js';
5
5
  const usedCacheKeys = {};
6
- /**
7
- * @param useVersion
8
- * Do not use the api version as part of the cache key, this disables automatic invalidation on
9
- * version updates and so anything that may change the result needs to be manually invalidated,
10
- * eg by changing the cacheKey
11
- */
12
- export function createMultiLevelStore(cacheKey, opts, useVersion = true) {
6
+ export function createMultiLevelStore(cacheKey, opts) {
13
7
  if (usedCacheKeys[cacheKey] === true) {
14
8
  throw new Error(`Cache key '${cacheKey}' has already been taken`);
15
9
  }
16
10
  usedCacheKeys[cacheKey] = true;
17
- if (!('default' in opts)) {
18
- opts = { default: opts };
19
- }
20
- const { default: baseOpts, local, global } = opts;
11
+ const { default: baseOpts, local, global, useVersion = true } = opts;
21
12
  const { isCacheableValue } = baseOpts;
22
13
  const memoryCache = local === false
23
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;;;;;GAKG;AACH,MAAM,UAAU,qBAAqB,CACpC,QAAgB,EAChB,IASI,EACJ,UAAU,GAAG,IAAI;IAOjB,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,IAAI,CAAC,CAAC,SAAS,IAAI,IAAI,CAAC,EAAE,CAAC;QAC1B,IAAI,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC1B,CAAC;IACD,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,MAAM,EAAE,gBAAgB,EAAE,GAAG,QAAQ,CAAC;IACtC,MAAM,WAAW,GAChB,KAAK,KAAK,KAAK;QACd,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAErE,IAAI,SAAS,GAA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AAC,CAAC,EAAE,IAAI,QAAQ,GAAG,CAAC;QAChE,OAAO,GAAG,SAAS,GAAG,GAAG,EAAE,CAAC;IAC7B,CAAC,CAAC;IAEF,OAAO;QACN,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;YAClB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO,MAAM,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACjC,CAAC;QACD,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE;YACzB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QACjC,CAAC;QACD,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;YACrB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC5B,MAAM,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC1B,CAAC;QACD,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE;YACvB,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC5B,OAAO,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": "29.2.0-build-add-power-fan-boot-configs-203a4ff13bf55fbbb7861d4dce5d3d2430524439-1",
4
+ "version": "30.0.0-build-multi-level-store-de079c541a7f68655f7d501ff625cb57cddce510-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-16T07:54:00.599Z"
171
+ "publishedAt": "2024-10-16T13:32:29.492Z"
172
172
  }
173
173
  }