zen-fs-config 0.5.43 → 0.5.44

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.
package/dist/index.js CHANGED
@@ -2901,7 +2901,11 @@ var AppDataGroupImpl = class {
2901
2901
  _pollIntervalMs;
2902
2902
  async init() {
2903
2903
  try {
2904
- const localPrimary = await resolveLocalPrimary(this.appId, "data");
2904
+ const localPrimary = await resolveLocalPrimary(
2905
+ this.appId,
2906
+ "data",
2907
+ this.groupId === "default" ? {} : { idbStoreName: `zen-fs-config-data-${this.appId}-${this.groupId}` }
2908
+ );
2905
2909
  this.localFS = await createBackend(localPrimary);
2906
2910
  } catch {
2907
2911
  throw new Error(`Failed to create local primary for data group "${this.groupId}"`);
package/dist/index.mjs CHANGED
@@ -2361,7 +2361,11 @@ var AppDataGroupImpl = class {
2361
2361
  _pollIntervalMs;
2362
2362
  async init() {
2363
2363
  try {
2364
- const localPrimary = await resolveLocalPrimary(this.appId, "data");
2364
+ const localPrimary = await resolveLocalPrimary(
2365
+ this.appId,
2366
+ "data",
2367
+ this.groupId === "default" ? {} : { idbStoreName: `zen-fs-config-data-${this.appId}-${this.groupId}` }
2368
+ );
2365
2369
  this.localFS = await createBackend(localPrimary);
2366
2370
  } catch {
2367
2371
  throw new Error(`Failed to create local primary for data group "${this.groupId}"`);
@@ -28926,7 +28926,11 @@ var ZenFSConfig = (() => {
28926
28926
  }
28927
28927
  async init() {
28928
28928
  try {
28929
- const localPrimary = await resolveLocalPrimary(this.appId, "data");
28929
+ const localPrimary = await resolveLocalPrimary(
28930
+ this.appId,
28931
+ "data",
28932
+ this.groupId === "default" ? {} : { idbStoreName: `zen-fs-config-data-${this.appId}-${this.groupId}` }
28933
+ );
28930
28934
  this.localFS = await createBackend(localPrimary);
28931
28935
  } catch {
28932
28936
  throw new Error(`Failed to create local primary for data group "${this.groupId}"`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-fs-config",
3
- "version": "0.5.43",
3
+ "version": "0.5.44",
4
4
  "description": "Distributed config management library built on ZenFS, zen-fs-cache, and zen-fs-sync",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",