@fireproof/core 0.20.0-dev-preview-16 → 0.20.0-dev-preview-17

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/index.cjs CHANGED
@@ -4474,6 +4474,9 @@ var LedgerShell = class {
4474
4474
  this.name = ref.name;
4475
4475
  ref.addShell(this);
4476
4476
  }
4477
+ get opts() {
4478
+ return this.ref.opts;
4479
+ }
4477
4480
  get context() {
4478
4481
  return this.ref.context;
4479
4482
  }
@@ -4531,7 +4534,7 @@ var LedgerImpl = class {
4531
4534
  this.crdt.clock.onTock(() => this._no_update_notify());
4532
4535
  }
4533
4536
  get name() {
4534
- return this.opts.storeUrls.data.data.getParam("name" /* NAME */) || "default";
4537
+ return this.opts.storeUrls.data.data.getParam("name" /* NAME */) ?? "default";
4535
4538
  }
4536
4539
  addShell(shell) {
4537
4540
  this.shells.add(shell);
@@ -4725,6 +4728,6 @@ __export(file_exports, {
4725
4728
 
4726
4729
  // src/version.ts
4727
4730
  var PACKAGE_VERSION = Object.keys({
4728
- "0.20.0-dev-preview-16": "xxxx"
4731
+ "0.20.0-dev-preview-17": "xxxx"
4729
4732
  })[0];
4730
4733
  //# sourceMappingURL=index.cjs.map