@mastra/libsql 1.30.0-alpha.0 → 1.30.0-alpha.1

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
@@ -12016,9 +12016,19 @@ var ObservabilityLibSQL = class ObservabilityLibSQL extends ObservabilityStorage
12016
12016
  indexed: true
12017
12017
  } };
12018
12018
  #db;
12019
+ #persistenceLocation;
12020
+ get persistenceLocation() {
12021
+ return this.#persistenceLocation;
12022
+ }
12019
12023
  constructor(config) {
12020
12024
  super();
12021
12025
  const client = resolveClient(config);
12026
+ this.#persistenceLocation = config.embeddedReplica || client.protocol === "file" ? "local" : [
12027
+ "http",
12028
+ "https",
12029
+ "ws",
12030
+ "wss"
12031
+ ].includes(client.protocol) ? "remote" : void 0;
12022
12032
  this.#db = new LibSQLDB({
12023
12033
  client,
12024
12034
  maxRetries: config.maxRetries,