@pol-studios/db 1.0.21 → 1.0.23
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-R5B2XMN5.js → chunk-3L4HOEXV.js} +1614 -2141
- package/dist/chunk-3L4HOEXV.js.map +1 -0
- package/dist/{chunk-72WV3ALS.js → chunk-3UYBZHEV.js} +2 -2
- package/dist/{chunk-X3HZLNBV.js → chunk-BXSOHOQ2.js} +54 -985
- package/dist/chunk-BXSOHOQ2.js.map +1 -0
- package/dist/{chunk-N26IEHZT.js → chunk-FZF26ZRB.js} +18 -2
- package/dist/{chunk-N26IEHZT.js.map → chunk-FZF26ZRB.js.map} +1 -1
- package/dist/chunk-HTJ2FQW5.js +963 -0
- package/dist/chunk-HTJ2FQW5.js.map +1 -0
- package/dist/{chunk-2T6WTCP4.js → chunk-KDORWXGS.js} +69 -154
- package/dist/chunk-KDORWXGS.js.map +1 -0
- package/dist/{chunk-36DVUMQD.js → chunk-MBU4KE3V.js} +2 -2
- package/dist/{chunk-YERWPV6B.js → chunk-Q7WJEOQ5.js} +150 -19
- package/dist/chunk-Q7WJEOQ5.js.map +1 -0
- package/dist/{chunk-RMRYGICS.js → chunk-TSXQTYUG.js} +4 -4
- package/dist/core/index.d.ts +30 -1
- package/dist/hooks/index.d.ts +20 -1
- package/dist/hooks/index.js +1 -1
- package/dist/{index-BNKhgDdC.d.ts → index-2YySlz7X.d.ts} +3 -3
- package/dist/index.d.ts +11 -12
- package/dist/index.js +14 -95
- package/dist/index.native.d.ts +12 -30
- package/dist/index.native.js +17 -96
- package/dist/index.web.d.ts +132 -15
- package/dist/index.web.js +585 -46
- package/dist/index.web.js.map +1 -1
- package/dist/powersync-bridge/index.d.ts +1 -1
- package/dist/powersync-bridge/index.js +1 -1
- package/dist/query/index.js +10 -8
- package/dist/types/index.d.ts +1 -1
- package/dist/{useDbCount-Id14x_1P.d.ts → useDbCount-s-aR9YeV.d.ts} +1 -1
- package/dist/{useResolveFeedback-Ca2rh_Bs.d.ts → useResolveFeedback-DTGcHpCs.d.ts} +275 -390
- package/dist/with-auth/index.js +4 -4
- package/package.json +13 -12
- package/dist/chunk-2T6WTCP4.js.map +0 -1
- package/dist/chunk-R5B2XMN5.js.map +0 -1
- package/dist/chunk-X3HZLNBV.js.map +0 -1
- package/dist/chunk-YERWPV6B.js.map +0 -1
- /package/dist/{chunk-72WV3ALS.js.map → chunk-3UYBZHEV.js.map} +0 -0
- /package/dist/{chunk-36DVUMQD.js.map → chunk-MBU4KE3V.js.map} +0 -0
- /package/dist/{chunk-RMRYGICS.js.map → chunk-TSXQTYUG.js.map} +0 -0
package/dist/with-auth/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
useUserMetadataState,
|
|
6
6
|
useUserMetadataValue,
|
|
7
7
|
userMetadataContext
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-TSXQTYUG.js";
|
|
9
9
|
import "../chunk-SM73S2DY.js";
|
|
10
10
|
import "../chunk-NSIAAYW3.js";
|
|
11
11
|
import {
|
|
12
12
|
useAuth,
|
|
13
13
|
useSetupAuth
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-MBU4KE3V.js";
|
|
15
15
|
import {
|
|
16
16
|
useDbQuery
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-3UYBZHEV.js";
|
|
18
18
|
import {
|
|
19
19
|
useDbUpsert
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-Q7WJEOQ5.js";
|
|
21
21
|
import "../chunk-HAWJTZCK.js";
|
|
22
22
|
import {
|
|
23
23
|
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.23",
|
|
4
4
|
"description": "Database layer for React applications with Supabase and PowerSync support",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -153,14 +153,20 @@
|
|
|
153
153
|
"offline-first",
|
|
154
154
|
"sync"
|
|
155
155
|
],
|
|
156
|
+
"scripts": {
|
|
157
|
+
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
|
158
|
+
"dev": "tsup --watch",
|
|
159
|
+
"typecheck": "tsc --noEmit",
|
|
160
|
+
"prepublishOnly": "pnpm build"
|
|
161
|
+
},
|
|
156
162
|
"peerDependencies": {
|
|
163
|
+
"@pol-studios/powersync": "workspace:*",
|
|
157
164
|
"@powersync/react-native": ">=1.0.8",
|
|
158
165
|
"@react-native-community/netinfo": ">=9.0.0",
|
|
159
166
|
"@supabase/supabase-js": ">=2.0.0",
|
|
160
167
|
"@tanstack/react-query": ">=5.0.0",
|
|
161
168
|
"react": ">=18.0.0",
|
|
162
|
-
"react-native": ">=0.70.0"
|
|
163
|
-
"@pol-studios/powersync": "1.0.5"
|
|
169
|
+
"react-native": ">=0.70.0"
|
|
164
170
|
},
|
|
165
171
|
"peerDependenciesMeta": {
|
|
166
172
|
"@pol-studios/powersync": {
|
|
@@ -182,21 +188,16 @@
|
|
|
182
188
|
},
|
|
183
189
|
"devDependencies": {
|
|
184
190
|
"@babel/core": "^7.28.0",
|
|
191
|
+
"@pol-studios/hooks": "workspace:*",
|
|
192
|
+
"@pol-studios/utils": "workspace:*",
|
|
185
193
|
"@supabase-cache-helpers/postgrest-core": "^0.12.3",
|
|
186
194
|
"@supabase-cache-helpers/postgrest-react-query": "^1.0.0",
|
|
187
195
|
"@types/flat": "^5.0.5",
|
|
188
196
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
189
197
|
"tsup": "^8.0.0",
|
|
190
|
-
"typescript": "^5.0.0"
|
|
191
|
-
"@pol-studios/hooks": "1.0.9",
|
|
192
|
-
"@pol-studios/utils": "1.0.9"
|
|
198
|
+
"typescript": "^5.0.0"
|
|
193
199
|
},
|
|
194
200
|
"publishConfig": {
|
|
195
201
|
"access": "public"
|
|
196
|
-
},
|
|
197
|
-
"scripts": {
|
|
198
|
-
"build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
|
|
199
|
-
"dev": "tsup --watch",
|
|
200
|
-
"typecheck": "tsc --noEmit"
|
|
201
202
|
}
|
|
202
|
-
}
|
|
203
|
+
}
|