jazz-tools 0.19.7 → 0.19.10

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 (167) hide show
  1. package/.turbo/turbo-build.log +65 -59
  2. package/CHANGELOG.md +34 -3
  3. package/dist/{chunk-CUS6O5NE.js → chunk-FFEEPZEG.js} +454 -122
  4. package/dist/chunk-FFEEPZEG.js.map +1 -0
  5. package/dist/expo/polyfills.js +22 -0
  6. package/dist/expo/polyfills.js.map +1 -0
  7. package/dist/index.js +26 -6
  8. package/dist/index.js.map +1 -1
  9. package/dist/react/hooks.d.ts +1 -1
  10. package/dist/react/hooks.d.ts.map +1 -1
  11. package/dist/react/index.d.ts +1 -1
  12. package/dist/react/index.d.ts.map +1 -1
  13. package/dist/react/index.js +5 -1
  14. package/dist/react/index.js.map +1 -1
  15. package/dist/react-core/hooks.d.ts +59 -0
  16. package/dist/react-core/hooks.d.ts.map +1 -1
  17. package/dist/react-core/index.js +133 -34
  18. package/dist/react-core/index.js.map +1 -1
  19. package/dist/react-core/tests/testUtils.d.ts +1 -0
  20. package/dist/react-core/tests/testUtils.d.ts.map +1 -1
  21. package/dist/react-core/tests/useSuspenseAccount.test.d.ts +2 -0
  22. package/dist/react-core/tests/useSuspenseAccount.test.d.ts.map +1 -0
  23. package/dist/react-core/tests/useSuspenseCoState.test.d.ts +2 -0
  24. package/dist/react-core/tests/useSuspenseCoState.test.d.ts.map +1 -0
  25. package/dist/react-core/use.d.ts +3 -0
  26. package/dist/react-core/use.d.ts.map +1 -0
  27. package/dist/react-native/index.d.ts +1 -1
  28. package/dist/react-native/index.d.ts.map +1 -1
  29. package/dist/react-native/index.js +717 -9
  30. package/dist/react-native/index.js.map +1 -1
  31. package/dist/react-native/polyfills.js +22 -0
  32. package/dist/react-native/polyfills.js.map +1 -0
  33. package/dist/react-native-core/crypto/RNCrypto.d.ts +2 -0
  34. package/dist/react-native-core/crypto/RNCrypto.d.ts.map +1 -0
  35. package/dist/react-native-core/crypto/RNCrypto.js +3 -0
  36. package/dist/react-native-core/crypto/RNCrypto.js.map +1 -0
  37. package/dist/react-native-core/hooks.d.ts +1 -1
  38. package/dist/react-native-core/hooks.d.ts.map +1 -1
  39. package/dist/react-native-core/index.d.ts.map +1 -1
  40. package/dist/react-native-core/index.js +5 -1
  41. package/dist/react-native-core/index.js.map +1 -1
  42. package/dist/react-native-core/platform.d.ts +2 -1
  43. package/dist/react-native-core/platform.d.ts.map +1 -1
  44. package/dist/testing.js +1 -1
  45. package/dist/testing.js.map +1 -1
  46. package/dist/tools/coValues/account.d.ts +3 -3
  47. package/dist/tools/coValues/account.d.ts.map +1 -1
  48. package/dist/tools/coValues/coFeed.d.ts +3 -3
  49. package/dist/tools/coValues/coFeed.d.ts.map +1 -1
  50. package/dist/tools/coValues/coList.d.ts +4 -4
  51. package/dist/tools/coValues/coList.d.ts.map +1 -1
  52. package/dist/tools/coValues/coMap.d.ts +7 -7
  53. package/dist/tools/coValues/coMap.d.ts.map +1 -1
  54. package/dist/tools/coValues/coPlainText.d.ts +2 -2
  55. package/dist/tools/coValues/coPlainText.d.ts.map +1 -1
  56. package/dist/tools/coValues/coVector.d.ts +2 -2
  57. package/dist/tools/coValues/coVector.d.ts.map +1 -1
  58. package/dist/tools/coValues/deepLoading.d.ts +24 -0
  59. package/dist/tools/coValues/deepLoading.d.ts.map +1 -1
  60. package/dist/tools/coValues/group.d.ts +2 -2
  61. package/dist/tools/coValues/group.d.ts.map +1 -1
  62. package/dist/tools/coValues/interfaces.d.ts +7 -7
  63. package/dist/tools/coValues/interfaces.d.ts.map +1 -1
  64. package/dist/tools/coValues/schemaUnion.d.ts +2 -2
  65. package/dist/tools/coValues/schemaUnion.d.ts.map +1 -1
  66. package/dist/tools/config.d.ts +3 -0
  67. package/dist/tools/config.d.ts.map +1 -0
  68. package/dist/tools/exports.d.ts +2 -0
  69. package/dist/tools/exports.d.ts.map +1 -1
  70. package/dist/tools/implementation/ContextManager.d.ts +3 -0
  71. package/dist/tools/implementation/ContextManager.d.ts.map +1 -1
  72. package/dist/tools/implementation/zodSchema/schemaTypes/AccountSchema.d.ts +2 -2
  73. package/dist/tools/implementation/zodSchema/schemaTypes/AccountSchema.d.ts.map +1 -1
  74. package/dist/tools/implementation/zodSchema/schemaTypes/CoDiscriminatedUnionSchema.d.ts +2 -2
  75. package/dist/tools/implementation/zodSchema/schemaTypes/CoDiscriminatedUnionSchema.d.ts.map +1 -1
  76. package/dist/tools/implementation/zodSchema/schemaTypes/CoFeedSchema.d.ts +2 -2
  77. package/dist/tools/implementation/zodSchema/schemaTypes/CoFeedSchema.d.ts.map +1 -1
  78. package/dist/tools/implementation/zodSchema/schemaTypes/CoListSchema.d.ts +4 -4
  79. package/dist/tools/implementation/zodSchema/schemaTypes/CoListSchema.d.ts.map +1 -1
  80. package/dist/tools/implementation/zodSchema/schemaTypes/CoMapSchema.d.ts +4 -4
  81. package/dist/tools/implementation/zodSchema/schemaTypes/CoMapSchema.d.ts.map +1 -1
  82. package/dist/tools/implementation/zodSchema/schemaTypes/CoRecordSchema.d.ts +4 -4
  83. package/dist/tools/implementation/zodSchema/schemaTypes/CoRecordSchema.d.ts.map +1 -1
  84. package/dist/tools/implementation/zodSchema/schemaTypes/FileStreamSchema.d.ts +2 -2
  85. package/dist/tools/implementation/zodSchema/schemaTypes/FileStreamSchema.d.ts.map +1 -1
  86. package/dist/tools/implementation/zodSchema/schemaTypes/GroupSchema.d.ts +2 -2
  87. package/dist/tools/implementation/zodSchema/schemaTypes/GroupSchema.d.ts.map +1 -1
  88. package/dist/tools/implementation/zodSchema/schemaTypes/PlainTextSchema.d.ts +2 -2
  89. package/dist/tools/implementation/zodSchema/schemaTypes/PlainTextSchema.d.ts.map +1 -1
  90. package/dist/tools/implementation/zodSchema/schemaTypes/RichTextSchema.d.ts +2 -2
  91. package/dist/tools/implementation/zodSchema/schemaTypes/RichTextSchema.d.ts.map +1 -1
  92. package/dist/tools/implementation/zodSchema/zodCo.d.ts.map +1 -1
  93. package/dist/tools/subscribe/CoValueCoreSubscription.d.ts +8 -22
  94. package/dist/tools/subscribe/CoValueCoreSubscription.d.ts.map +1 -1
  95. package/dist/tools/subscribe/JazzError.d.ts.map +1 -1
  96. package/dist/tools/subscribe/SubscriptionCache.d.ts +51 -0
  97. package/dist/tools/subscribe/SubscriptionCache.d.ts.map +1 -0
  98. package/dist/tools/subscribe/SubscriptionScope.d.ts +27 -2
  99. package/dist/tools/subscribe/SubscriptionScope.d.ts.map +1 -1
  100. package/dist/tools/subscribe/errorReporting.d.ts +31 -0
  101. package/dist/tools/subscribe/errorReporting.d.ts.map +1 -0
  102. package/dist/tools/subscribe/utils.d.ts +9 -1
  103. package/dist/tools/subscribe/utils.d.ts.map +1 -1
  104. package/dist/tools/testing.d.ts +2 -2
  105. package/dist/tools/testing.d.ts.map +1 -1
  106. package/dist/tools/tests/SubscriptionCache.test.d.ts +2 -0
  107. package/dist/tools/tests/SubscriptionCache.test.d.ts.map +1 -0
  108. package/dist/tools/tests/errorReporting.test.d.ts +2 -0
  109. package/dist/tools/tests/errorReporting.test.d.ts.map +1 -0
  110. package/package.json +22 -7
  111. package/src/react/hooks.tsx +2 -0
  112. package/src/react/index.ts +1 -14
  113. package/src/react-core/hooks.ts +181 -16
  114. package/src/react-core/tests/createCoValueSubscriptionContext.test.tsx +18 -8
  115. package/src/react-core/tests/testUtils.tsx +67 -5
  116. package/src/react-core/tests/useCoState.test.ts +3 -7
  117. package/src/react-core/tests/useSubscriptionSelector.test.ts +3 -7
  118. package/src/react-core/tests/useSuspenseAccount.test.tsx +343 -0
  119. package/src/react-core/tests/useSuspenseCoState.test.tsx +1182 -0
  120. package/src/react-core/use.ts +46 -0
  121. package/src/react-native/index.ts +1 -1
  122. package/src/react-native-core/crypto/RNCrypto.ts +1 -0
  123. package/src/react-native-core/hooks.tsx +2 -0
  124. package/src/react-native-core/index.ts +2 -0
  125. package/src/react-native-core/platform.ts +2 -1
  126. package/src/react-native-core/polyfills/index.js +28 -0
  127. package/src/tools/coValues/account.ts +3 -4
  128. package/src/tools/coValues/coFeed.ts +3 -2
  129. package/src/tools/coValues/coList.ts +4 -4
  130. package/src/tools/coValues/coMap.ts +4 -4
  131. package/src/tools/coValues/coPlainText.ts +2 -2
  132. package/src/tools/coValues/coVector.ts +2 -2
  133. package/src/tools/coValues/deepLoading.ts +31 -0
  134. package/src/tools/coValues/group.ts +2 -2
  135. package/src/tools/coValues/interfaces.ts +21 -26
  136. package/src/tools/coValues/schemaUnion.ts +2 -2
  137. package/src/tools/config.ts +9 -0
  138. package/src/tools/exports.ts +4 -0
  139. package/src/tools/implementation/ContextManager.ts +13 -0
  140. package/src/tools/implementation/zodSchema/schemaTypes/AccountSchema.ts +2 -2
  141. package/src/tools/implementation/zodSchema/schemaTypes/CoDiscriminatedUnionSchema.ts +2 -2
  142. package/src/tools/implementation/zodSchema/schemaTypes/CoFeedSchema.ts +2 -2
  143. package/src/tools/implementation/zodSchema/schemaTypes/CoListSchema.ts +4 -4
  144. package/src/tools/implementation/zodSchema/schemaTypes/CoMapSchema.ts +4 -4
  145. package/src/tools/implementation/zodSchema/schemaTypes/CoRecordSchema.ts +4 -10
  146. package/src/tools/implementation/zodSchema/schemaTypes/FileStreamSchema.ts +2 -2
  147. package/src/tools/implementation/zodSchema/schemaTypes/GroupSchema.ts +2 -2
  148. package/src/tools/implementation/zodSchema/schemaTypes/PlainTextSchema.ts +2 -2
  149. package/src/tools/implementation/zodSchema/schemaTypes/RichTextSchema.ts +2 -2
  150. package/src/tools/subscribe/CoValueCoreSubscription.ts +71 -100
  151. package/src/tools/subscribe/JazzError.ts +9 -6
  152. package/src/tools/subscribe/SubscriptionCache.ts +272 -0
  153. package/src/tools/subscribe/SubscriptionScope.ts +218 -29
  154. package/src/tools/subscribe/errorReporting.ts +67 -0
  155. package/src/tools/subscribe/utils.ts +77 -0
  156. package/src/tools/testing.ts +0 -3
  157. package/src/tools/tests/CoValueCoreSubscription.test.ts +46 -12
  158. package/src/tools/tests/ContextManager.test.ts +85 -0
  159. package/src/tools/tests/SubscriptionCache.test.ts +237 -0
  160. package/src/tools/tests/coMap.test.ts +5 -7
  161. package/src/tools/tests/deepLoading.test.ts +47 -47
  162. package/src/tools/tests/errorReporting.test.ts +103 -0
  163. package/src/tools/tests/load.test.ts +21 -1
  164. package/src/tools/tests/request.test.ts +2 -1
  165. package/src/tools/tests/subscribe.test.ts +44 -0
  166. package/tsup.config.ts +17 -0
  167. package/dist/chunk-CUS6O5NE.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.19.7 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.19.10 build /home/runner/_work/jazz/jazz/packages/jazz-tools
3
3
  > tsup && pnpm types && pnpm build:svelte
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts","testing":"src/testing.ts","tools/ssr":"src/tools/ssr/index.ts"}
@@ -8,7 +8,7 @@
8
8
  CLI Using tsconfig: tsconfig.json
9
9
  CLI Building entry: {"index":"src/media/index.ts","index.browser":"src/media/index.browser.ts","index.native":"src/media/index.native.ts","index.server":"src/media/index.server.ts"}
10
10
  CLI Using tsconfig: tsconfig.json
11
- CLI Building entry: {"index":"src/expo/index.ts","testing":"src/expo/testing.ts","crypto":"src/expo/crypto.ts"}
11
+ CLI Building entry: {"index":"src/expo/index.ts","testing":"src/expo/testing.ts","crypto":"src/expo/crypto.ts","polyfills":"src/react-native-core/polyfills/index.js"}
12
12
  CLI Using tsconfig: tsconfig.json
13
13
  CLI Building entry: {"index":"src/inspector/index.tsx"}
14
14
  CLI Using tsconfig: tsconfig.json
@@ -20,9 +20,9 @@
20
20
  CLI Using tsconfig: tsconfig.json
21
21
  CLI Building entry: {"index":"src/react-core/index.ts","testing":"src/react-core/testing.tsx"}
22
22
  CLI Using tsconfig: tsconfig.json
23
- CLI Building entry: {"index":"src/react-native/index.ts","testing":"src/react-native/testing.ts","crypto":"src/react-native/crypto.ts"}
23
+ CLI Building entry: {"index":"src/react-native/index.ts","testing":"src/react-native/testing.ts","crypto":"src/react-native/crypto.ts","polyfills":"src/react-native-core/polyfills/index.js"}
24
24
  CLI Using tsconfig: tsconfig.json
25
- CLI Building entry: {"index":"src/react-native-core/index.ts","testing":"src/react-native-core/testing.tsx","crypto":"src/react-native-core/crypto/index.ts"}
25
+ CLI Building entry: {"index":"src/react-native-core/index.ts","testing":"src/react-native-core/testing.tsx","crypto":"src/react-native-core/crypto/index.ts","crypto/RNCrypto":"src/react-native-core/crypto/RNCrypto.ts"}
26
26
  CLI Using tsconfig: tsconfig.json
27
27
  CLI Building entry: {"index":"src/tiptap/index.ts"}
28
28
  CLI Using tsconfig: tsconfig.json
@@ -107,105 +107,111 @@
107
107
  ESM Build start
108
108
  CLI Cleaning output folder
109
109
  ESM Build start
110
+ ESM dist/tiptap/index.js 564.00 B
111
+ ESM dist/tiptap/index.js.map 1.21 KB
112
+ ESM ⚡️ Build success in 57ms
110
113
  ESM dist/worker/index.js 3.19 KB
111
- ESM dist/worker/napi-crypto.js 110.00 B
112
114
  ESM dist/worker/edge-wasm.js 215.00 B
115
+ ESM dist/worker/napi-crypto.js 110.00 B
113
116
  ESM dist/worker/index.js.map 6.24 KB
114
- ESM dist/worker/napi-crypto.js.map 162.00 B
115
117
  ESM dist/worker/edge-wasm.js.map 434.00 B
116
- ESM ⚡️ Build success in 39ms
117
- ESM dist/tiptap/index.js 564.00 B
118
- ESM dist/tiptap/index.js.map 1.21 KB
119
- ESM ⚡️ Build success in 54ms
118
+ ESM dist/worker/napi-crypto.js.map 162.00 B
119
+ ESM ⚡️ Build success in 56ms
120
120
  ESM dist/better-auth/auth/client.js 4.50 KB
121
121
  ESM dist/better-auth/auth/server.js 8.36 KB
122
122
  ESM dist/better-auth/auth/react.js 799.00 B
123
123
  ESM dist/better-auth/auth/client.js.map 8.32 KB
124
124
  ESM dist/better-auth/auth/server.js.map 15.31 KB
125
125
  ESM dist/better-auth/auth/react.js.map 2.04 KB
126
- ESM ⚡️ Build success in 43ms
127
- ESM dist/react-native/index.js 2.53 KB
128
- ESM dist/react-native/testing.js 120.00 B
129
- ESM dist/react-native/crypto.js 161.00 B
130
- ESM dist/react-native/testing.js.map 176.00 B
131
- ESM dist/react-native/index.js.map 5.68 KB
132
- ESM dist/react-native/crypto.js.map 197.00 B
133
- ESM ⚡️ Build success in 45ms
126
+ ESM ⚡️ Build success in 48ms
134
127
  ESM dist/media/index.js 236.00 B
135
- ESM dist/media/index.server.js 2.95 KB
136
128
  ESM dist/media/index.browser.js 2.79 KB
137
129
  ESM dist/media/index.native.js 4.01 KB
130
+ ESM dist/media/index.server.js 2.95 KB
138
131
  ESM dist/media/chunk-3LKBM3G3.js 6.69 KB
139
132
  ESM dist/media/index.js.map 71.00 B
140
133
  ESM dist/media/index.browser.js.map 6.15 KB
141
- ESM dist/media/index.server.js.map 6.37 KB
142
134
  ESM dist/media/index.native.js.map 8.10 KB
135
+ ESM dist/media/index.server.js.map 6.37 KB
143
136
  ESM dist/media/chunk-3LKBM3G3.js.map 16.99 KB
144
- ESM ⚡️ Build success in 50ms
145
- ESM dist/expo/index.js 4.68 KB
146
- ESM dist/expo/testing.js 112.00 B
147
- ESM dist/expo/crypto.js 153.00 B
148
- ESM dist/expo/testing.js.map 168.00 B
149
- ESM dist/expo/index.js.map 10.23 KB
150
- ESM dist/expo/crypto.js.map 189.00 B
151
- ESM ⚡️ Build success in 42ms
152
- ESM dist/browser/index.js 14.06 KB
153
- ESM dist/browser/index.js.map 29.94 KB
154
- ESM ⚡️ Build success in 52ms
137
+ ESM ⚡️ Build success in 71ms
138
+ ESM dist/expo/index.js 4.68 KB
139
+ ESM dist/expo/testing.js 112.00 B
140
+ ESM dist/expo/crypto.js 153.00 B
141
+ ESM dist/expo/polyfills.js 858.00 B
142
+ ESM dist/expo/index.js.map 10.23 KB
143
+ ESM dist/expo/testing.js.map 168.00 B
144
+ ESM dist/expo/crypto.js.map 189.00 B
145
+ ESM dist/expo/polyfills.js.map 1.61 KB
146
+ ESM ⚡️ Build success in 63ms
147
+ ESM dist/react-core/index.js 17.04 KB
155
148
  ESM dist/react-core/testing.js 1.22 KB
156
149
  ESM dist/react-core/chunk-7DYMJ74I.js 279.00 B
157
- ESM dist/react-core/index.js 14.41 KB
150
+ ESM dist/react-core/index.js.map 49.75 KB
158
151
  ESM dist/react-core/testing.js.map 1.86 KB
159
152
  ESM dist/react-core/chunk-7DYMJ74I.js.map 533.00 B
160
- ESM dist/react-core/index.js.map 40.79 KB
161
- ESM ⚡️ Build success in 48ms
162
- ESM dist/react-native-core/testing.js 119.00 B
163
- ESM dist/react-native-core/index.js 18.97 KB
164
- ESM dist/react-native-core/crypto.js 2.58 KB
165
- ESM dist/react-native-core/testing.js.map 175.00 B
166
- ESM dist/react-native-core/index.js.map 38.60 KB
167
- ESM dist/react-native-core/crypto.js.map 5.25 KB
168
- ESM ⚡️ Build success in 62ms
153
+ ESM ⚡️ Build success in 86ms
169
154
  ESM dist/prosemirror/index.js 77.76 KB
170
155
  ESM dist/prosemirror/index.js.map 307.20 KB
171
- ESM ⚡️ Build success in 69ms
156
+ ESM ⚡️ Build success in 97ms
157
+ ESM dist/browser/index.js 14.06 KB
158
+ ESM dist/browser/index.js.map 29.94 KB
159
+ ESM ⚡️ Build success in 103ms
172
160
  ESM dist/better-auth/database-adapter/index.js 26.65 KB
173
161
  ESM dist/better-auth/database-adapter/index.js.map 58.26 KB
174
- ESM ⚡️ Build success in 56ms
175
- ESM dist/react/index.js 25.74 KB
162
+ ESM ⚡️ Build success in 89ms
163
+ ESM dist/react-native-core/index.js 19.05 KB
164
+ ESM dist/react-native-core/crypto.js 2.58 KB
165
+ ESM dist/react-native-core/testing.js 119.00 B
166
+ ESM dist/react-native-core/crypto/RNCrypto.js 120.00 B
167
+ ESM dist/react-native-core/index.js.map 38.74 KB
168
+ ESM dist/react-native-core/crypto.js.map 5.25 KB
169
+ ESM dist/react-native-core/testing.js.map 175.00 B
170
+ ESM dist/react-native-core/crypto/RNCrypto.js.map 178.00 B
171
+ ESM ⚡️ Build success in 105ms
172
+ ESM dist/react-native/index.js 21.59 KB
173
+ ESM dist/react-native/testing.js 120.00 B
174
+ ESM dist/react-native/crypto.js 161.00 B
175
+ ESM dist/react-native/polyfills.js 858.00 B
176
+ ESM dist/react-native/index.js.map 44.29 KB
177
+ ESM dist/react-native/testing.js.map 176.00 B
178
+ ESM dist/react-native/crypto.js.map 197.00 B
179
+ ESM dist/react-native/polyfills.js.map 1.61 KB
180
+ ESM ⚡️ Build success in 111ms
181
+ ESM dist/react/index.js 25.83 KB
176
182
  ESM dist/react/testing.js 122.00 B
177
183
  ESM dist/react/ssr.js 697.00 B
184
+ ESM dist/react/index.js.map 55.23 KB
178
185
  ESM dist/react/testing.js.map 165.00 B
179
186
  ESM dist/react/ssr.js.map 1.11 KB
180
- ESM dist/react/index.js.map 55.43 KB
181
- ESM ⚡️ Build success in 60ms
187
+ ESM ⚡️ Build success in 101ms
182
188
  ESM dist/inspector/index.js 125.80 KB
183
189
  ESM dist/inspector/index.js.map 216.33 KB
184
- ESM ⚡️ Build success in 86ms
190
+ ESM ⚡️ Build success in 164ms
191
+ ESM dist/index.js 29.76 KB
185
192
  ESM dist/testing.js 8.51 KB
186
- ESM dist/chunk-PZ5AY32C.js 233.00 B
187
- ESM dist/chunk-M2HGBOXS.js 694.00 B
188
- ESM dist/index.js 29.30 KB
193
+ ESM dist/chunk-FFEEPZEG.js 213.13 KB
189
194
  ESM dist/tools/ssr.js 156.00 B
190
- ESM dist/chunk-CUS6O5NE.js 204.35 KB
191
- ESM dist/testing.js.map 16.17 KB
195
+ ESM dist/chunk-M2HGBOXS.js 694.00 B
196
+ ESM dist/chunk-PZ5AY32C.js 233.00 B
197
+ ESM dist/index.js.map 60.59 KB
198
+ ESM dist/testing.js.map 16.13 KB
199
+ ESM dist/chunk-FFEEPZEG.js.map 502.18 KB
200
+ ESM dist/tools/ssr.js.map 71.00 B
192
201
  ESM dist/chunk-M2HGBOXS.js.map 1.10 KB
193
202
  ESM dist/chunk-PZ5AY32C.js.map 71.00 B
194
- ESM dist/tools/ssr.js.map 71.00 B
195
- ESM dist/index.js.map 60.30 KB
196
- ESM dist/chunk-CUS6O5NE.js.map 481.42 KB
197
- ESM ⚡️ Build success in 97ms
203
+ ESM ⚡️ Build success in 188ms
198
204
  ESM dist/inspector/register-custom-element.js 218.00 B
199
205
  ESM dist/inspector/register-custom-element.js.map 314.00 B
200
206
  ESM dist/inspector/custom-element-P76EIWEV.js 1.60 MB
201
207
  ESM dist/inspector/custom-element-P76EIWEV.js.map 2.45 MB
202
- ESM ⚡️ Build success in 157ms
208
+ ESM ⚡️ Build success in 238ms
203
209
 
204
- > jazz-tools@0.19.7 types /home/runner/_work/jazz/jazz/packages/jazz-tools
210
+ > jazz-tools@0.19.10 types /home/runner/_work/jazz/jazz/packages/jazz-tools
205
211
  > tsc --outDir dist
206
212
 
207
213
 
208
- > jazz-tools@0.19.7 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
214
+ > jazz-tools@0.19.10 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
209
215
  > rm -rf dist/svelte && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json
210
216
 
211
217
  src/svelte -> dist/svelte
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.19.10
4
+
5
+ ### Patch Changes
6
+
7
+ - cojson@0.19.10
8
+ - cojson-storage-indexeddb@0.19.10
9
+ - cojson-transport-ws@0.19.10
10
+
11
+ ## 0.19.9
12
+
13
+ ### Patch Changes
14
+
15
+ - d901caa: Added cojson-core-rn that improves ReactNative crypto performance
16
+ - a2bb9f0: Added Suspense hooks for React and implemented subscription deduplication for React hooks
17
+ - Updated dependencies [d901caa]
18
+ - cojson@0.19.9
19
+ - cojson-storage-indexeddb@0.19.9
20
+ - cojson-transport-ws@0.19.9
21
+
22
+ ## 0.19.8
23
+
24
+ ### Patch Changes
25
+
26
+ - 21f7d34: Improve error logging in subscriptions and add stacktraces on errors coming from React hooks.
27
+
28
+ Added jazzConfig.setCustomErrorReporter API to intercept subscription errors and send them to an error tracker.
29
+
30
+ - b22ad89: Narrow down `.load` return type to not include `loading` CoValues
31
+ - 28b23dd: Added polyfills helper to React Native and Expo exports
32
+ - Updated dependencies [93e4a34]
33
+ - cojson@0.19.8
34
+ - cojson-storage-indexeddb@0.19.8
35
+ - cojson-transport-ws@0.19.8
36
+
3
37
  ## 0.19.7
4
38
 
5
39
  ### Patch Changes
@@ -332,7 +366,6 @@
332
366
  ### Patch Changes
333
367
 
334
368
  - f2f478a: Add connection status API for React and Svelte
335
-
336
369
  - **React**: Added `useSyncConnectionStatus()` hook that returns the current connection status to the Jazz sync server
337
370
  - **Svelte**: Added `SyncConnectionStatus` class that provides reactive connection status monitoring
338
371
 
@@ -368,7 +401,6 @@
368
401
  ### Patch Changes
369
402
 
370
403
  - a584ab3: Add WasmCrypto support for Cloudflare Workers and edge runtimes by importing `jazz-tools/load-edge-wasm`.
371
-
372
404
  - Enable WasmCrypto functionality by initializing the WebAssembly environment with the import: `import "jazz-tools/load-edge-wasm"` in edge runtimes.
373
405
  - Guarantee compatibility across Cloudflare Workers and other edge runtime environments.
374
406
 
@@ -752,7 +784,6 @@
752
784
  - 3cd1586: Makes the key rotation not fail when child groups are unavailable or their readkey is not accessible.
753
785
 
754
786
  Also changes the Group.removeMember method to not return a Promise, because:
755
-
756
787
  - All the locally available child groups are rotated immediately
757
788
  - All the remote child groups are rotated in background, but since they are not locally available the user won't need the new key immediately
758
789