@pol-studios/db 1.0.53 → 1.0.55
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-DND_nO5a.d.ts → DataLayerContext-C7cJtiO8.d.ts} +1 -1
- package/dist/auth/context.js +4 -4
- package/dist/auth/hooks.js +5 -5
- package/dist/auth/index.js +5 -5
- package/dist/{chunk-FIAXWEBK.js → chunk-7YGDT46S.js} +4 -4
- package/dist/{chunk-D55QGM4P.js → chunk-AA3VUWTP.js} +113 -17
- package/dist/chunk-AA3VUWTP.js.map +1 -0
- package/dist/{chunk-3Q74DK5K.js → chunk-AKCNWHXV.js} +2 -2
- package/dist/{chunk-UJWETW36.js → chunk-AKIRHA4Q.js} +527 -418
- package/dist/chunk-AKIRHA4Q.js.map +1 -0
- package/dist/{chunk-FMYXG4VN.js → chunk-BRFFTGVJ.js} +2 -2
- package/dist/{chunk-YA6MUTA7.js → chunk-FI6JAD5G.js} +3 -3
- package/dist/chunk-JOULSXOI.js +415 -0
- package/dist/chunk-JOULSXOI.js.map +1 -0
- package/dist/{chunk-OKYHI6JG.js → chunk-LF3V3ERS.js} +3 -3
- package/dist/{chunk-FZJX2FZS.js → chunk-OC6S4XFL.js} +10 -18
- package/dist/chunk-OC6S4XFL.js.map +1 -0
- package/dist/{chunk-DP3YEVSX.js → chunk-WILXD5X3.js} +3 -3
- package/dist/{chunk-ZGQ7Q4ZU.js → chunk-WM25QE7E.js} +2 -2
- package/dist/{chunk-WQLIGVQR.js → chunk-WSKBZIEI.js} +4 -1
- package/dist/chunk-WSKBZIEI.js.map +1 -0
- package/dist/chunk-YUX6RGLZ.js +1858 -0
- package/dist/chunk-YUX6RGLZ.js.map +1 -0
- package/dist/{chunk-Z3EJX3VG.js → chunk-Z456IHCB.js} +3 -3
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/{index-bMBDRkMF.d.ts → index-jVYdTeWx.d.ts} +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +13 -13
- package/dist/index.native.d.ts +61 -7
- package/dist/index.native.js +13 -13
- package/dist/index.web.d.ts +6 -6
- package/dist/index.web.js +13 -13
- package/dist/mutation/index.js +3 -3
- package/dist/parser/index.js +3 -3
- package/dist/query/index.js +4 -4
- package/dist/realtime/index.js +3 -3
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +4 -4
- package/dist/{useDbCount-BGSlyv-F.d.ts → useDbCount-DHLJzmkO.d.ts} +1 -1
- package/dist/{useResolveFeedback-DLvQD0Wl.d.ts → useResolveFeedback-B0UcYWVI.d.ts} +3 -3
- package/dist/with-auth/index.js +7 -7
- package/package.json +5 -3
- package/dist/chunk-CTRY7JDP.js +0 -4112
- package/dist/chunk-CTRY7JDP.js.map +0 -1
- package/dist/chunk-D55QGM4P.js.map +0 -1
- package/dist/chunk-FZJX2FZS.js.map +0 -1
- package/dist/chunk-INEUG6MC.js +0 -521
- package/dist/chunk-INEUG6MC.js.map +0 -1
- package/dist/chunk-UJWETW36.js.map +0 -1
- package/dist/chunk-WQLIGVQR.js.map +0 -1
- /package/dist/{chunk-FIAXWEBK.js.map → chunk-7YGDT46S.js.map} +0 -0
- /package/dist/{chunk-3Q74DK5K.js.map → chunk-AKCNWHXV.js.map} +0 -0
- /package/dist/{chunk-FMYXG4VN.js.map → chunk-BRFFTGVJ.js.map} +0 -0
- /package/dist/{chunk-YA6MUTA7.js.map → chunk-FI6JAD5G.js.map} +0 -0
- /package/dist/{chunk-OKYHI6JG.js.map → chunk-LF3V3ERS.js.map} +0 -0
- /package/dist/{chunk-DP3YEVSX.js.map → chunk-WILXD5X3.js.map} +0 -0
- /package/dist/{chunk-ZGQ7Q4ZU.js.map → chunk-WM25QE7E.js.map} +0 -0
- /package/dist/{chunk-Z3EJX3VG.js.map → chunk-Z456IHCB.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as DataLayerContextValue, s as DataLayerCoreContextValue, t as DataLayerStatusContextValue } from './DataLayerContext-
|
|
1
|
+
import { r as DataLayerContextValue, s as DataLayerCoreContextValue, t as DataLayerStatusContextValue } from './DataLayerContext-C7cJtiO8.js';
|
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { QueryOptions, WhereClause } from './core/index.js';
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationResult, UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
3
3
|
import { SupabaseClient, PostgrestSingleResponse as PostgrestSingleResponse$1, PostgrestError } from '@supabase/supabase-js';
|
|
4
|
-
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult } from './DataLayerContext-
|
|
4
|
+
import { T as TableDataAdapter, C as CapableDataAdapter, c as AdapterCapabilities, A as AdapterQueryResult } from './DataLayerContext-C7cJtiO8.js';
|
|
5
5
|
import { DatabaseSchema, QueryOptions } from './core/index.js';
|
|
6
6
|
import { FunctionsResponse } from '@supabase/functions-js';
|
|
7
7
|
import * as _supabase_postgrest_js from '@supabase/postgrest-js';
|
|
@@ -9,9 +9,9 @@ import { PostgrestSingleResponse } from '@supabase/postgrest-js';
|
|
|
9
9
|
import { G as GetResult } from './select-query-parser-BwyHum1L.js';
|
|
10
10
|
import { G as GenericTable } from './types-CYr9JiUE.js';
|
|
11
11
|
import { D as Database } from './useSupabase-DSZNeXnF.js';
|
|
12
|
-
import { D as DbChangeLog, Q as QueryState } from './index-
|
|
12
|
+
import { D as DbChangeLog, Q as QueryState } from './index-jVYdTeWx.js';
|
|
13
13
|
import { U as UseDbQuerySingleReturn } from './useDbQuery-C-TL8jY1.js';
|
|
14
|
-
import { J as UseDbUpsertResult } from './useDbCount-
|
|
14
|
+
import { J as UseDbUpsertResult } from './useDbCount-DHLJzmkO.js';
|
|
15
15
|
import { Moment } from 'moment';
|
|
16
16
|
import * as react from 'react';
|
|
17
17
|
import { ReactNode } from 'react';
|
package/dist/with-auth/index.js
CHANGED
|
@@ -5,27 +5,27 @@ import {
|
|
|
5
5
|
useUserMetadataState,
|
|
6
6
|
useUserMetadataValue,
|
|
7
7
|
userMetadataContext
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-7YGDT46S.js";
|
|
9
9
|
import {
|
|
10
10
|
useDbUpsert
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-AKCNWHXV.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-BRFFTGVJ.js";
|
|
18
18
|
import {
|
|
19
19
|
useDbQuery
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-WILXD5X3.js";
|
|
21
|
+
import "../chunk-WSKBZIEI.js";
|
|
22
22
|
import "../chunk-RT4O5H2E.js";
|
|
23
23
|
import {
|
|
24
24
|
getSupabaseUrl
|
|
25
25
|
} from "../chunk-GC3TBUWE.js";
|
|
26
26
|
import "../chunk-J4ZVCXZ4.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-YUX6RGLZ.js";
|
|
28
|
+
import "../chunk-AKIRHA4Q.js";
|
|
29
29
|
import {
|
|
30
30
|
useSupabase
|
|
31
31
|
} from "../chunk-DMVUEJG2.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pol-studios/db",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"description": "Database layer for React applications with Supabase and PowerSync support",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -189,14 +189,16 @@
|
|
|
189
189
|
},
|
|
190
190
|
"dependencies": {
|
|
191
191
|
"@supabase/postgrest-js": "^2.87.1",
|
|
192
|
-
"
|
|
193
|
-
"@pol-studios/hooks": "1.0.14"
|
|
192
|
+
"fast-json-stable-stringify": "^2.1.0",
|
|
193
|
+
"@pol-studios/hooks": "1.0.14",
|
|
194
|
+
"@pol-studios/utils": "1.0.13"
|
|
194
195
|
},
|
|
195
196
|
"devDependencies": {
|
|
196
197
|
"@babel/core": "^7.28.0",
|
|
197
198
|
"@supabase-cache-helpers/postgrest-core": "^0.12.3",
|
|
198
199
|
"@supabase-cache-helpers/postgrest-react-query": "^1.0.0",
|
|
199
200
|
"@types/flat": "^5.0.5",
|
|
201
|
+
"@types/fast-json-stable-stringify": "^2.1.0",
|
|
200
202
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
201
203
|
"tsup": "^8.0.0",
|
|
202
204
|
"typescript": "^5.0.0"
|