@pol-studios/powersync 1.0.0

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.
Files changed (64) hide show
  1. package/dist/attachments/index.d.ts +399 -0
  2. package/dist/attachments/index.js +16 -0
  3. package/dist/attachments/index.js.map +1 -0
  4. package/dist/chunk-32OLICZO.js +1 -0
  5. package/dist/chunk-32OLICZO.js.map +1 -0
  6. package/dist/chunk-4FJVBR3X.js +227 -0
  7. package/dist/chunk-4FJVBR3X.js.map +1 -0
  8. package/dist/chunk-7BPTGEVG.js +1 -0
  9. package/dist/chunk-7BPTGEVG.js.map +1 -0
  10. package/dist/chunk-7JQZBZ5N.js +1 -0
  11. package/dist/chunk-7JQZBZ5N.js.map +1 -0
  12. package/dist/chunk-BJ36QDFN.js +290 -0
  13. package/dist/chunk-BJ36QDFN.js.map +1 -0
  14. package/dist/chunk-CFCK2LHI.js +1002 -0
  15. package/dist/chunk-CFCK2LHI.js.map +1 -0
  16. package/dist/chunk-CHRTN5PF.js +322 -0
  17. package/dist/chunk-CHRTN5PF.js.map +1 -0
  18. package/dist/chunk-FLHDT4TS.js +327 -0
  19. package/dist/chunk-FLHDT4TS.js.map +1 -0
  20. package/dist/chunk-GBGATW2S.js +749 -0
  21. package/dist/chunk-GBGATW2S.js.map +1 -0
  22. package/dist/chunk-NPNBGCRC.js +65 -0
  23. package/dist/chunk-NPNBGCRC.js.map +1 -0
  24. package/dist/chunk-Q3LFFMRR.js +925 -0
  25. package/dist/chunk-Q3LFFMRR.js.map +1 -0
  26. package/dist/chunk-T225XEML.js +298 -0
  27. package/dist/chunk-T225XEML.js.map +1 -0
  28. package/dist/chunk-W7HSR35B.js +1 -0
  29. package/dist/chunk-W7HSR35B.js.map +1 -0
  30. package/dist/connector/index.d.ts +5 -0
  31. package/dist/connector/index.js +14 -0
  32. package/dist/connector/index.js.map +1 -0
  33. package/dist/core/index.d.ts +197 -0
  34. package/dist/core/index.js +96 -0
  35. package/dist/core/index.js.map +1 -0
  36. package/dist/index-nae7nzib.d.ts +147 -0
  37. package/dist/index.d.ts +68 -0
  38. package/dist/index.js +191 -0
  39. package/dist/index.js.map +1 -0
  40. package/dist/index.native.d.ts +14 -0
  41. package/dist/index.native.js +195 -0
  42. package/dist/index.native.js.map +1 -0
  43. package/dist/index.web.d.ts +14 -0
  44. package/dist/index.web.js +195 -0
  45. package/dist/index.web.js.map +1 -0
  46. package/dist/platform/index.d.ts +280 -0
  47. package/dist/platform/index.js +14 -0
  48. package/dist/platform/index.js.map +1 -0
  49. package/dist/platform/index.native.d.ts +37 -0
  50. package/dist/platform/index.native.js +7 -0
  51. package/dist/platform/index.native.js.map +1 -0
  52. package/dist/platform/index.web.d.ts +37 -0
  53. package/dist/platform/index.web.js +7 -0
  54. package/dist/platform/index.web.js.map +1 -0
  55. package/dist/provider/index.d.ts +873 -0
  56. package/dist/provider/index.js +63 -0
  57. package/dist/provider/index.js.map +1 -0
  58. package/dist/supabase-connector-D14-kl5v.d.ts +232 -0
  59. package/dist/sync/index.d.ts +421 -0
  60. package/dist/sync/index.js +14 -0
  61. package/dist/sync/index.js.map +1 -0
  62. package/dist/types-Cd7RhNqf.d.ts +224 -0
  63. package/dist/types-afHtE1U_.d.ts +391 -0
  64. package/package.json +101 -0
package/package.json ADDED
@@ -0,0 +1,101 @@
1
+ {
2
+ "name": "@pol-studios/powersync",
3
+ "version": "1.0.0",
4
+ "description": "Enterprise PowerSync integration for offline-first applications",
5
+ "license": "UNLICENSED",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "react-native": {
12
+ "import": "./dist/index.native.js",
13
+ "types": "./dist/index.native.d.ts"
14
+ },
15
+ "browser": {
16
+ "import": "./dist/index.web.js",
17
+ "types": "./dist/index.web.d.ts"
18
+ },
19
+ "default": {
20
+ "import": "./dist/index.js",
21
+ "types": "./dist/index.d.ts"
22
+ }
23
+ },
24
+ "./core": {
25
+ "import": "./dist/core/index.js",
26
+ "types": "./dist/core/index.d.ts"
27
+ },
28
+ "./platform": {
29
+ "react-native": {
30
+ "import": "./dist/platform/index.native.js",
31
+ "types": "./dist/platform/index.native.d.ts"
32
+ },
33
+ "browser": {
34
+ "import": "./dist/platform/index.web.js",
35
+ "types": "./dist/platform/index.web.d.ts"
36
+ },
37
+ "default": {
38
+ "import": "./dist/platform/index.js",
39
+ "types": "./dist/platform/index.d.ts"
40
+ }
41
+ },
42
+ "./connector": {
43
+ "import": "./dist/connector/index.js",
44
+ "types": "./dist/connector/index.d.ts"
45
+ },
46
+ "./attachments": {
47
+ "import": "./dist/attachments/index.js",
48
+ "types": "./dist/attachments/index.d.ts"
49
+ },
50
+ "./provider": {
51
+ "import": "./dist/provider/index.js",
52
+ "types": "./dist/provider/index.d.ts"
53
+ },
54
+ "./sync": {
55
+ "import": "./dist/sync/index.js",
56
+ "types": "./dist/sync/index.d.ts"
57
+ }
58
+ },
59
+ "files": ["dist"],
60
+ "scripts": {
61
+ "build": "NODE_OPTIONS='--max-old-space-size=8192' tsup",
62
+ "dev": "tsup --watch",
63
+ "typecheck": "tsc --noEmit",
64
+ "prepublishOnly": "pnpm build"
65
+ },
66
+ "peerDependencies": {
67
+ "@powersync/react-native": ">=1.0.8",
68
+ "@powersync/web": ">=1.0.0",
69
+ "@powersync/attachments": ">=2.0.0",
70
+ "@react-native-async-storage/async-storage": ">=1.0.0",
71
+ "@react-native-community/netinfo": ">=9.0.0",
72
+ "@supabase/supabase-js": ">=2.0.0",
73
+ "@tanstack/react-query": ">=5.0.0",
74
+ "expo-file-system": ">=15.0.0",
75
+ "expo-image-manipulator": ">=11.0.0",
76
+ "react": ">=18.0.0",
77
+ "react-native": ">=0.70.0"
78
+ },
79
+ "peerDependenciesMeta": {
80
+ "@powersync/react-native": { "optional": true },
81
+ "@powersync/web": { "optional": true },
82
+ "@powersync/attachments": { "optional": true },
83
+ "@react-native-async-storage/async-storage": { "optional": true },
84
+ "@react-native-community/netinfo": { "optional": true },
85
+ "expo-file-system": { "optional": true },
86
+ "expo-image-manipulator": { "optional": true },
87
+ "react-native": { "optional": true }
88
+ },
89
+ "dependencies": {
90
+ "@pol-studios/db": "workspace:*"
91
+ },
92
+ "devDependencies": {
93
+ "@powersync/common": "^1.0.0",
94
+ "@types/react": "^18.0.0",
95
+ "tsup": "^8.0.0",
96
+ "typescript": "^5.0.0"
97
+ },
98
+ "publishConfig": {
99
+ "access": "public"
100
+ }
101
+ }