tanstack-db-pglite 1.4.0 → 1.4.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/drizzle.js +0 -2
- package/dist/sql.js +0 -2
- package/package.json +1 -1
package/dist/drizzle.js
CHANGED
|
@@ -167,8 +167,6 @@ export function drizzleCollectionOptions({ startSync = true, ...config }) {
|
|
|
167
167
|
}
|
|
168
168
|
syncCleanup?.();
|
|
169
169
|
syncCleanup = undefined;
|
|
170
|
-
const params = await syncParams;
|
|
171
|
-
await params.collection.stateWhenReady();
|
|
172
170
|
const result = await sync();
|
|
173
171
|
if (typeof result === 'function') {
|
|
174
172
|
syncCleanup = result;
|
package/dist/sql.js
CHANGED
|
@@ -150,8 +150,6 @@ export function sqlCollectionOptions({ startSync = true, ...config }) {
|
|
|
150
150
|
if (!config.sync) {
|
|
151
151
|
throw new Error('Sync is not defined');
|
|
152
152
|
}
|
|
153
|
-
const params = await syncParams;
|
|
154
|
-
await params.collection.stateWhenReady();
|
|
155
153
|
const result = await sync();
|
|
156
154
|
if (typeof result === 'function') {
|
|
157
155
|
syncCleanup = result;
|