@powersync/web 1.38.6 → 1.38.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.
@@ -5002,7 +5002,7 @@ class SyncStatus {
5002
5002
  });
5003
5003
  }
5004
5004
  /**
5005
- * All sync streams currently being tracked in teh database.
5005
+ * All sync streams currently being tracked in the database.
5006
5006
  *
5007
5007
  * This returns null when the database is currently being opened and we don't have reliable information about all
5008
5008
  * included streams yet.
@@ -13867,7 +13867,7 @@ function requireDist () {
13867
13867
 
13868
13868
  var distExports = requireDist();
13869
13869
 
13870
- var version = "1.57.0";
13870
+ var version = "1.57.1";
13871
13871
  var PACKAGE = {
13872
13872
  version: version};
13873
13873
 
@@ -15618,7 +15618,12 @@ class TriggerManagerImpl {
15618
15618
  // destination table consistent.
15619
15619
  await this.db.writeTransaction(async (tx) => {
15620
15620
  const callbackResult = await options.onChange({
15621
- ...tx,
15621
+ execute: (query, params) => tx.execute(query, params),
15622
+ executeBatch: (query, params) => tx.executeBatch(query, params),
15623
+ executeRaw: (query, params) => tx.executeRaw(query, params),
15624
+ get: (query, params) => tx.get(query, params),
15625
+ getAll: (query, params) => tx.getAll(query, params),
15626
+ getOptional: (query, params) => tx.getOptional(query, params),
15622
15627
  destinationTable: destination,
15623
15628
  withDiff: async (query, params, options) => {
15624
15629
  // Wrap the query to expose the destination table