@powersync/web 1.16.0 → 1.17.0
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 +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/worker/SharedSyncImplementation.umd.js +1 -1
- package/dist/worker/SharedSyncImplementation.umd.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/src/db/adapters/WorkerWrappedAsyncDatabaseConnection.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -597,7 +597,7 @@ class WorkerWrappedAsyncDatabaseConnection {
|
|
|
597
597
|
* The `shareConnection` method should not be called on multiple tabs concurrently.
|
|
598
598
|
*/
|
|
599
599
|
await new Promise((resolve, reject) => navigator.locks
|
|
600
|
-
.request(`shared-connection-${this.options.identifier}`, {
|
|
600
|
+
.request(`shared-connection-${this.options.identifier}-${Date.now()}-${Math.round(Math.random() * 10000)}`, {
|
|
601
601
|
signal: this.lockAbortController.signal
|
|
602
602
|
}, async () => {
|
|
603
603
|
resolve();
|