@pol-studios/db 1.0.23 → 1.0.24
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/{DataLayerContext-ZmLPYR_s.d.ts → DataLayerContext-BnDyYvkg.d.ts} +2 -2
- package/dist/auth/context.js +2 -2
- package/dist/auth/hooks.js +3 -3
- package/dist/auth/index.js +3 -3
- package/dist/{chunk-Q7WJEOQ5.js → chunk-2DOYFTN4.js} +27 -31
- package/dist/chunk-2DOYFTN4.js.map +1 -0
- package/dist/{chunk-3L4HOEXV.js → chunk-7OLNKLII.js} +3 -3
- package/dist/{chunk-TSXQTYUG.js → chunk-LABTYQOJ.js} +4 -4
- package/dist/{chunk-MBU4KE3V.js → chunk-VWPLASGY.js} +2 -2
- package/dist/{chunk-3UYBZHEV.js → chunk-VZMZXL37.js} +2 -2
- package/dist/{chunk-KDORWXGS.js → chunk-WHJJDWFT.js} +16 -7
- package/dist/chunk-WHJJDWFT.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -4
- package/dist/hooks/index.js +1 -1
- package/dist/{index-2YySlz7X.d.ts → index-B6xGmPRV.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/index.native.d.ts +5 -5
- package/dist/index.native.js +6 -6
- package/dist/index.web.d.ts +6 -6
- package/dist/index.web.js +5 -5
- package/dist/types/index.d.ts +2 -2
- package/dist/{useDbCount-s-aR9YeV.d.ts → useDbCount-Dn_1uI69.d.ts} +1 -1
- package/dist/{useResolveFeedback-DTGcHpCs.d.ts → useResolveFeedback-CBHY2Z1Q.d.ts} +3 -3
- package/dist/with-auth/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-KDORWXGS.js.map +0 -1
- package/dist/chunk-Q7WJEOQ5.js.map +0 -1
- /package/dist/{chunk-3L4HOEXV.js.map → chunk-7OLNKLII.js.map} +0 -0
- /package/dist/{chunk-TSXQTYUG.js.map → chunk-LABTYQOJ.js.map} +0 -0
- /package/dist/{chunk-MBU4KE3V.js.map → chunk-VWPLASGY.js.map} +0 -0
- /package/dist/{chunk-3UYBZHEV.js.map → chunk-VZMZXL37.js.map} +0 -0
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
createAdapterRegistry,
|
|
4
4
|
createSupabaseAdapter,
|
|
5
5
|
stripSchemaPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7OLNKLII.js";
|
|
7
7
|
import {
|
|
8
8
|
DataLayerCoreContext,
|
|
9
9
|
DataLayerStatusContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2DOYFTN4.js";
|
|
11
11
|
import {
|
|
12
12
|
QueryExecutor,
|
|
13
13
|
extractRelationNames,
|
|
@@ -1751,15 +1751,24 @@ function DataLayerProvider({
|
|
|
1751
1751
|
powerSync: powerSyncInstance,
|
|
1752
1752
|
supabase: supabaseClient,
|
|
1753
1753
|
queryClient,
|
|
1754
|
-
schema: config.schema
|
|
1754
|
+
schema: config.schema,
|
|
1755
|
+
syncControl: defaultSyncControl
|
|
1755
1756
|
};
|
|
1756
|
-
}, [
|
|
1757
|
+
}, [
|
|
1758
|
+
isInitializedOnce,
|
|
1759
|
+
registry,
|
|
1760
|
+
getAdapter,
|
|
1761
|
+
powerSyncInstance,
|
|
1762
|
+
supabaseClient,
|
|
1763
|
+
queryClient,
|
|
1764
|
+
config.schema
|
|
1765
|
+
// Note: defaultSyncControl is module-level constant, not needed in deps
|
|
1766
|
+
]);
|
|
1757
1767
|
const statusContextValue = useMemo(() => {
|
|
1758
1768
|
if (!status.isInitialized) return null;
|
|
1759
1769
|
return {
|
|
1760
1770
|
status,
|
|
1761
|
-
syncStatus: defaultSyncStatus
|
|
1762
|
-
syncControl: defaultSyncControl
|
|
1771
|
+
syncStatus: defaultSyncStatus
|
|
1763
1772
|
};
|
|
1764
1773
|
}, [status]);
|
|
1765
1774
|
const contextValue = useMemo(() => {
|
|
@@ -5178,4 +5187,4 @@ object-assign/index.js:
|
|
|
5178
5187
|
@license MIT
|
|
5179
5188
|
*)
|
|
5180
5189
|
*/
|
|
5181
|
-
//# sourceMappingURL=chunk-
|
|
5190
|
+
//# sourceMappingURL=chunk-WHJJDWFT.js.map
|