@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
package/dist/index.umd.js
CHANGED
|
@@ -34124,7 +34124,7 @@ class WorkerWrappedAsyncDatabaseConnection {
|
|
|
34124
34124
|
* The `shareConnection` method should not be called on multiple tabs concurrently.
|
|
34125
34125
|
*/
|
|
34126
34126
|
await new Promise((resolve, reject) => navigator.locks
|
|
34127
|
-
.request(`shared-connection-${this.options.identifier}`, {
|
|
34127
|
+
.request(`shared-connection-${this.options.identifier}-${Date.now()}-${Math.round(Math.random() * 10000)}`, {
|
|
34128
34128
|
signal: this.lockAbortController.signal
|
|
34129
34129
|
}, async () => {
|
|
34130
34130
|
resolve();
|