@powersync/web 0.0.0-dev-20250714151300 → 0.0.0-dev-20250715080712
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.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/worker/SharedSyncImplementation.umd.js +13 -13
- package/dist/worker/SharedSyncImplementation.umd.js.map +1 -1
- package/dist/worker/WASQLiteDB.umd.js +11 -11
- package/dist/worker/WASQLiteDB.umd.js.map +1 -1
- package/lib/src/worker/sync/SharedSyncImplementation.js +2 -2
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/index.umd.js
CHANGED
|
@@ -40590,7 +40590,7 @@ class SharedSyncImplementation extends _powersync_common__WEBPACK_IMPORTED_MODUL
|
|
|
40590
40590
|
*/
|
|
40591
40591
|
async connect(options) {
|
|
40592
40592
|
this.lastConnectOptions = options;
|
|
40593
|
-
return this.connectionManager.connect(CONNECTOR_PLACEHOLDER, options);
|
|
40593
|
+
return this.connectionManager.connect(CONNECTOR_PLACEHOLDER, options ?? {});
|
|
40594
40594
|
}
|
|
40595
40595
|
async disconnect() {
|
|
40596
40596
|
return this.connectionManager.disconnect();
|
|
@@ -40655,7 +40655,7 @@ class SharedSyncImplementation extends _powersync_common__WEBPACK_IMPORTED_MODUL
|
|
|
40655
40655
|
// Clearing the adapter will result in a new one being opened in connect
|
|
40656
40656
|
this.dbAdapter = null;
|
|
40657
40657
|
if (shouldReconnect) {
|
|
40658
|
-
await this.connectionManager.connect(CONNECTOR_PLACEHOLDER, this.lastConnectOptions);
|
|
40658
|
+
await this.connectionManager.connect(CONNECTOR_PLACEHOLDER, this.lastConnectOptions ?? {});
|
|
40659
40659
|
}
|
|
40660
40660
|
}
|
|
40661
40661
|
if (trackedPort.db) {
|