valdres 0.2.0-alpha.46 → 0.2.0-alpha.47

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -650,7 +650,7 @@ var transaction = (callback, data, autoCommit = true) => {
650
650
  }
651
651
  callback2(...scopedTransactions[scopeId]);
652
652
  } else {
653
- throw new Error("Scope not found");
653
+ throw new Error(`Scope '${scopeId}' not found. Registered scopes: ${Object.keys(data.scopes).join(", ")}`);
654
654
  }
655
655
  }
656
656
  });
@@ -727,7 +727,7 @@ var store = (id) => {
727
727
  return storeFromStoreData(data);
728
728
  };
729
729
  // package.json
730
- var version = "0.2.0-alpha.45";
730
+ var version = "0.2.0-alpha.46";
731
731
 
732
732
  // src/globalStore.ts
733
733
  if (globalThis.__valdres__) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valdres",
3
- "version": "0.2.0-alpha.46",
3
+ "version": "0.2.0-alpha.47",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Eigil Sagafos"
@@ -36,5 +36,5 @@
36
36
  "access": "public",
37
37
  "registry": "https://registry.npmjs.org/"
38
38
  },
39
- "gitHead": "ffb8cb2b276f5f8ff00a7f922776218a6697ea26"
39
+ "gitHead": "c26d007ebb65bdcfb7fd81122cc51b4bcc8f4d22"
40
40
  }