@pol-studios/db 1.0.41 → 1.0.45
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/auth/context.js +2 -2
- package/dist/auth/hooks.js +3 -3
- package/dist/auth/index.js +3 -3
- package/dist/{chunk-MZLEDWJF.js → chunk-5MFB5PA2.js} +15 -3
- package/dist/chunk-5MFB5PA2.js.map +1 -0
- package/dist/{chunk-5SJ5O2NQ.js → chunk-AVFS723B.js} +8 -4
- package/dist/{chunk-5SJ5O2NQ.js.map → chunk-AVFS723B.js.map} +1 -1
- package/dist/{chunk-AQ5JJKIN.js → chunk-CIF7HW2V.js} +10 -4
- package/dist/chunk-CIF7HW2V.js.map +1 -0
- package/dist/{chunk-Z6ZHXO2R.js → chunk-CSAD5PX5.js} +4 -4
- package/dist/{chunk-3UW5K5PL.js → chunk-DCZX7MZE.js} +3 -3
- package/dist/{chunk-D2F3APBF.js → chunk-K2LSHTZC.js} +2 -2
- package/dist/{chunk-D7UZEYKO.js → chunk-RUGTKP45.js} +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/index.js +7 -7
- package/dist/index.native.js +7 -7
- package/dist/index.web.js +6 -6
- package/dist/with-auth/index.js +5 -5
- package/package.json +3 -3
- package/dist/chunk-AQ5JJKIN.js.map +0 -1
- package/dist/chunk-MZLEDWJF.js.map +0 -1
- /package/dist/{chunk-Z6ZHXO2R.js.map → chunk-CSAD5PX5.js.map} +0 -0
- /package/dist/{chunk-3UW5K5PL.js.map → chunk-DCZX7MZE.js.map} +0 -0
- /package/dist/{chunk-D2F3APBF.js.map → chunk-K2LSHTZC.js.map} +0 -0
- /package/dist/{chunk-D7UZEYKO.js.map → chunk-RUGTKP45.js.map} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDbUpsert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K2LSHTZC.js";
|
|
4
4
|
import {
|
|
5
5
|
UserMetadata
|
|
6
6
|
} from "./chunk-SM73S2DY.js";
|
|
7
7
|
import {
|
|
8
8
|
useSetupAuth
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RUGTKP45.js";
|
|
10
10
|
import {
|
|
11
11
|
useDbQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5MFB5PA2.js";
|
|
13
13
|
import {
|
|
14
14
|
useSupabase
|
|
15
15
|
} from "./chunk-DMVUEJG2.js";
|
|
@@ -467,4 +467,4 @@ export {
|
|
|
467
467
|
useSetUserMetadata,
|
|
468
468
|
useUserMetadataState
|
|
469
469
|
};
|
|
470
|
-
//# sourceMappingURL=chunk-
|
|
470
|
+
//# sourceMappingURL=chunk-CSAD5PX5.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
createAdapterRegistry,
|
|
4
4
|
createSupabaseAdapter,
|
|
5
5
|
stripSchemaPrefix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CIF7HW2V.js";
|
|
7
7
|
import {
|
|
8
8
|
DataLayerContext,
|
|
9
9
|
DataLayerCoreContext,
|
|
10
10
|
DataLayerStatusContext
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AVFS723B.js";
|
|
12
12
|
import {
|
|
13
13
|
QueryExecutor,
|
|
14
14
|
extractRelationNames,
|
|
@@ -4952,4 +4952,4 @@ object-assign/index.js:
|
|
|
4952
4952
|
@license MIT
|
|
4953
4953
|
*)
|
|
4954
4954
|
*/
|
|
4955
|
-
//# sourceMappingURL=chunk-
|
|
4955
|
+
//# sourceMappingURL=chunk-DCZX7MZE.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useDataLayerCore,
|
|
7
7
|
useDataLayerStatus,
|
|
8
8
|
useDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AVFS723B.js";
|
|
10
10
|
import {
|
|
11
11
|
getSupabaseUrl
|
|
12
12
|
} from "./chunk-GC3TBUWE.js";
|
|
@@ -1243,4 +1243,4 @@ export {
|
|
|
1243
1243
|
useSyncControl,
|
|
1244
1244
|
useOnlineStatus
|
|
1245
1245
|
};
|
|
1246
|
-
//# sourceMappingURL=chunk-
|
|
1246
|
+
//# sourceMappingURL=chunk-K2LSHTZC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
permissionContext,
|
|
3
3
|
setupAuthContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5MFB5PA2.js";
|
|
5
5
|
|
|
6
6
|
// src/auth/hooks/useAuth.ts
|
|
7
7
|
import { isUsable } from "@pol-studios/utils";
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
useInvalidatePermission,
|
|
206
206
|
usePermissionLoading
|
|
207
207
|
};
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-RUGTKP45.js.map
|
package/dist/hooks/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
useOnlineStatus,
|
|
10
10
|
useSyncControl,
|
|
11
11
|
useSyncStatus
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-K2LSHTZC.js";
|
|
13
13
|
import {
|
|
14
14
|
useDataLayer,
|
|
15
15
|
useDataLayerCore,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
useDataLayerStatus,
|
|
19
19
|
useDbQuery,
|
|
20
20
|
useDbQueryById
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-AVFS723B.js";
|
|
22
22
|
import "../chunk-GC3TBUWE.js";
|
|
23
23
|
import "../chunk-J4ZVCXZ4.js";
|
|
24
24
|
import "../chunk-DMVUEJG2.js";
|
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useHasConflicts,
|
|
25
25
|
usePendingConflicts,
|
|
26
26
|
useSupabaseUpload
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DCZX7MZE.js";
|
|
28
28
|
import {
|
|
29
29
|
ADAPTER_STRATEGIES,
|
|
30
30
|
AdapterAutoDetector,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
useUpsertChangelog,
|
|
78
78
|
useUpsertChangelogEntry,
|
|
79
79
|
useUpsertChangelogMedia
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-CIF7HW2V.js";
|
|
81
81
|
import {
|
|
82
82
|
LiveChangeContext,
|
|
83
83
|
LiveChangeContextProvider,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
useUserMetadataState,
|
|
89
89
|
useUserMetadataValue,
|
|
90
90
|
userMetadataContext
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CSAD5PX5.js";
|
|
92
92
|
import {
|
|
93
93
|
PostgrestFilter,
|
|
94
94
|
binarySearch,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
useOnlineStatus,
|
|
129
129
|
useSyncControl,
|
|
130
130
|
useSyncStatus
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-K2LSHTZC.js";
|
|
132
132
|
import {
|
|
133
133
|
Constants,
|
|
134
134
|
createCombinedStatus
|
|
@@ -321,12 +321,12 @@ import {
|
|
|
321
321
|
UserMetadata
|
|
322
322
|
} from "./chunk-SM73S2DY.js";
|
|
323
323
|
import "./chunk-NSIAAYW3.js";
|
|
324
|
-
import "./chunk-
|
|
324
|
+
import "./chunk-RUGTKP45.js";
|
|
325
325
|
import {
|
|
326
326
|
DEFAULT_QUERY_TIMEOUT,
|
|
327
327
|
TIMEOUT_ERROR_MESSAGE,
|
|
328
328
|
isTimeoutError
|
|
329
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-5MFB5PA2.js";
|
|
330
330
|
import {
|
|
331
331
|
DataLayerContext,
|
|
332
332
|
DataLayerCoreContext,
|
|
@@ -337,7 +337,7 @@ import {
|
|
|
337
337
|
useDataLayerStatus,
|
|
338
338
|
useDbQuery,
|
|
339
339
|
useDbQueryById
|
|
340
|
-
} from "./chunk-
|
|
340
|
+
} from "./chunk-AVFS723B.js";
|
|
341
341
|
import "./chunk-RT4O5H2E.js";
|
|
342
342
|
import "./chunk-QJZUIAHA.js";
|
|
343
343
|
import {
|
package/dist/index.native.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
useHasConflicts,
|
|
14
14
|
usePendingConflicts,
|
|
15
15
|
useSupabaseUpload
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DCZX7MZE.js";
|
|
17
17
|
import {
|
|
18
18
|
ADAPTER_STRATEGIES,
|
|
19
19
|
AdapterAutoDetector,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
useUpsertChangelog,
|
|
66
66
|
useUpsertChangelogEntry,
|
|
67
67
|
useUpsertChangelogMedia
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-CIF7HW2V.js";
|
|
69
69
|
import {
|
|
70
70
|
LiveChangeContext,
|
|
71
71
|
LiveChangeContextProvider,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
useUserMetadataState,
|
|
77
77
|
useUserMetadataValue,
|
|
78
78
|
userMetadataContext
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-CSAD5PX5.js";
|
|
80
80
|
import {
|
|
81
81
|
PostgrestFilter,
|
|
82
82
|
binarySearch,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
useOnlineStatus,
|
|
117
117
|
useSyncControl,
|
|
118
118
|
useSyncStatus
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-K2LSHTZC.js";
|
|
120
120
|
import {
|
|
121
121
|
Constants,
|
|
122
122
|
createCombinedStatus,
|
|
@@ -310,12 +310,12 @@ import {
|
|
|
310
310
|
UserMetadata
|
|
311
311
|
} from "./chunk-SM73S2DY.js";
|
|
312
312
|
import "./chunk-NSIAAYW3.js";
|
|
313
|
-
import "./chunk-
|
|
313
|
+
import "./chunk-RUGTKP45.js";
|
|
314
314
|
import {
|
|
315
315
|
DEFAULT_QUERY_TIMEOUT,
|
|
316
316
|
TIMEOUT_ERROR_MESSAGE,
|
|
317
317
|
isTimeoutError
|
|
318
|
-
} from "./chunk-
|
|
318
|
+
} from "./chunk-5MFB5PA2.js";
|
|
319
319
|
import {
|
|
320
320
|
DataLayerContext,
|
|
321
321
|
DataLayerCoreContext,
|
|
@@ -326,7 +326,7 @@ import {
|
|
|
326
326
|
useDataLayerStatus,
|
|
327
327
|
useDbQuery,
|
|
328
328
|
useDbQueryById
|
|
329
|
-
} from "./chunk-
|
|
329
|
+
} from "./chunk-AVFS723B.js";
|
|
330
330
|
import "./chunk-RT4O5H2E.js";
|
|
331
331
|
import "./chunk-QJZUIAHA.js";
|
|
332
332
|
import {
|
package/dist/index.web.js
CHANGED
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
useUpsertChangelog,
|
|
57
57
|
useUpsertChangelogEntry,
|
|
58
58
|
useUpsertChangelogMedia
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CIF7HW2V.js";
|
|
60
60
|
import {
|
|
61
61
|
LiveChangeContext,
|
|
62
62
|
LiveChangeContextProvider,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
useUserMetadataState,
|
|
68
68
|
useUserMetadataValue,
|
|
69
69
|
userMetadataContext
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-CSAD5PX5.js";
|
|
71
71
|
import {
|
|
72
72
|
PostgrestFilter,
|
|
73
73
|
binarySearch,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
useDbInsert,
|
|
105
105
|
useDbUpdate,
|
|
106
106
|
useDbUpsert
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-K2LSHTZC.js";
|
|
108
108
|
import {
|
|
109
109
|
Constants,
|
|
110
110
|
createCombinedStatus,
|
|
@@ -299,20 +299,20 @@ import {
|
|
|
299
299
|
UserMetadata
|
|
300
300
|
} from "./chunk-SM73S2DY.js";
|
|
301
301
|
import "./chunk-NSIAAYW3.js";
|
|
302
|
-
import "./chunk-
|
|
302
|
+
import "./chunk-RUGTKP45.js";
|
|
303
303
|
import {
|
|
304
304
|
DEFAULT_QUERY_TIMEOUT,
|
|
305
305
|
TIMEOUT_ERROR_MESSAGE,
|
|
306
306
|
isTimeoutError,
|
|
307
307
|
useDbQuery as useDbQuery2
|
|
308
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-5MFB5PA2.js";
|
|
309
309
|
import {
|
|
310
310
|
DataLayerContext,
|
|
311
311
|
useDataLayer,
|
|
312
312
|
useDataLayerOptional,
|
|
313
313
|
useDbQuery,
|
|
314
314
|
useDbQueryById
|
|
315
|
-
} from "./chunk-
|
|
315
|
+
} from "./chunk-AVFS723B.js";
|
|
316
316
|
import "./chunk-RT4O5H2E.js";
|
|
317
317
|
import {
|
|
318
318
|
useAdvancedFilterQuery,
|
package/dist/with-auth/index.js
CHANGED
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
useUserMetadataState,
|
|
6
6
|
useUserMetadataValue,
|
|
7
7
|
userMetadataContext
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-CSAD5PX5.js";
|
|
9
9
|
import {
|
|
10
10
|
useDbUpsert
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-K2LSHTZC.js";
|
|
12
12
|
import "../chunk-SM73S2DY.js";
|
|
13
13
|
import "../chunk-NSIAAYW3.js";
|
|
14
14
|
import {
|
|
15
15
|
useAuth,
|
|
16
16
|
useSetupAuth
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-RUGTKP45.js";
|
|
18
18
|
import {
|
|
19
19
|
useDbQuery
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-5MFB5PA2.js";
|
|
21
|
+
import "../chunk-AVFS723B.js";
|
|
22
22
|
import "../chunk-RT4O5H2E.js";
|
|
23
23
|
import {
|
|
24
24
|
getSupabaseUrl
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pol-studios/db",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.45",
|
|
4
4
|
"description": "Database layer for React applications with Supabase and PowerSync support",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -189,8 +189,8 @@
|
|
|
189
189
|
},
|
|
190
190
|
"dependencies": {
|
|
191
191
|
"@supabase/postgrest-js": "^2.87.1",
|
|
192
|
-
"@pol-studios/hooks": "1.0.
|
|
193
|
-
"@pol-studios/utils": "1.0.
|
|
192
|
+
"@pol-studios/hooks": "1.0.14",
|
|
193
|
+
"@pol-studios/utils": "1.0.13"
|
|
194
194
|
},
|
|
195
195
|
"devDependencies": {
|
|
196
196
|
"@babel/core": "^7.28.0",
|