shokupan 0.16.5 → 0.16.7

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.
@@ -6690,7 +6690,7 @@ class Dashboard {
6690
6690
  }
6691
6691
  this.metrics.logs.push(requestData);
6692
6692
  const idString = `req_${Date.now()}_${nanoid()}`;
6693
- this.db.upsert("request", idString, {
6693
+ this.db?.upsert("request", idString, {
6694
6694
  ...requestData,
6695
6695
  id: idString
6696
6696
  }).catch((e) => this[$appRoot]?.logger?.error("Dashboard", "Failed to save outbound request", { error: e }));
@@ -9883,24 +9883,24 @@ class Shokupan extends ShokupanRouter {
9883
9883
  try {
9884
9884
  switch (adapterName) {
9885
9885
  case "sqlite": {
9886
- const { SqliteAdapter } = await import("./sqlite-BHELlNwe.js");
9886
+ const { SqliteAdapter } = await import("./sqlite-D6NnHuca.js");
9887
9887
  this.datastore = new SqliteAdapter(options);
9888
9888
  break;
9889
9889
  }
9890
9890
  case "level": {
9891
- const { LevelAdapter } = await import("./level-CYPO1zxT.js");
9891
+ const { LevelAdapter } = await import("./level-BEizp2x6.js");
9892
9892
  this.datastore = new LevelAdapter(options);
9893
9893
  break;
9894
9894
  }
9895
9895
  case "surrealdb": {
9896
- const { SurrealAdapter } = await import("./surreal-D005i9TB.js");
9896
+ const { SurrealAdapter } = await import("./surreal-CNJ26Wpt.js");
9897
9897
  const legacyConfig = this.applicationConfig.surreal || {};
9898
9898
  const effectiveOptions = { ...legacyConfig, ...options };
9899
9899
  this.datastore = new SurrealAdapter(effectiveOptions);
9900
9900
  break;
9901
9901
  }
9902
9902
  default: {
9903
- const { SurrealAdapter } = await import("./surreal-D005i9TB.js");
9903
+ const { SurrealAdapter } = await import("./surreal-CNJ26Wpt.js");
9904
9904
  const legacy = this.applicationConfig.surreal;
9905
9905
  this.datastore = new SurrealAdapter(options || legacy || {});
9906
9906
  }
@@ -13072,4 +13072,4 @@ export {
13072
13072
  OnOpen as y,
13073
13073
  OnEvent as z
13074
13074
  };
13075
- //# sourceMappingURL=index-D0E-GJ7I.js.map
13075
+ //# sourceMappingURL=index-DbBJL3MK.js.map