@powersync/common 1.57.0 → 1.57.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/bundle.cjs CHANGED
@@ -2110,7 +2110,7 @@ class SyncStatus {
2110
2110
  });
2111
2111
  }
2112
2112
  /**
2113
- * All sync streams currently being tracked in teh database.
2113
+ * All sync streams currently being tracked in the database.
2114
2114
  *
2115
2115
  * This returns null when the database is currently being opened and we don't have reliable information about all
2116
2116
  * included streams yet.
@@ -10975,7 +10975,7 @@ function requireDist () {
10975
10975
 
10976
10976
  var distExports = requireDist();
10977
10977
 
10978
- var version = "1.57.0";
10978
+ var version = "1.57.1";
10979
10979
  var PACKAGE = {
10980
10980
  version: version};
10981
10981
 
@@ -12726,7 +12726,12 @@ class TriggerManagerImpl {
12726
12726
  // destination table consistent.
12727
12727
  await this.db.writeTransaction(async (tx) => {
12728
12728
  const callbackResult = await options.onChange({
12729
- ...tx,
12729
+ execute: (query, params) => tx.execute(query, params),
12730
+ executeBatch: (query, params) => tx.executeBatch(query, params),
12731
+ executeRaw: (query, params) => tx.executeRaw(query, params),
12732
+ get: (query, params) => tx.get(query, params),
12733
+ getAll: (query, params) => tx.getAll(query, params),
12734
+ getOptional: (query, params) => tx.getOptional(query, params),
12730
12735
  destinationTable: destination,
12731
12736
  withDiff: async (query, params, options) => {
12732
12737
  // Wrap the query to expose the destination table