jazz-tools 0.20.2 → 0.20.3

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > jazz-tools@0.20.2 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.20.3 build /home/runner/_work/jazz/jazz/packages/jazz-tools
3
3
  > tsup && pnpm types && pnpm build:svelte && pnpm build:better-auth-svelte
4
4
 
5
5
  CLI Building entry: {"index":"src/index.ts","testing":"src/testing.ts","tools/ssr":"src/tools/ssr/index.ts"}
@@ -107,112 +107,112 @@
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 32ms
113
- ESM dist/worker/edge-wasm.js 259.00 B
114
110
  ESM dist/worker/index.js 3.45 KB
111
+ ESM dist/worker/edge-wasm.js 259.00 B
115
112
  ESM dist/worker/napi-crypto.js 110.00 B
116
- ESM dist/worker/edge-wasm.js.map 505.00 B
117
113
  ESM dist/worker/index.js.map 6.97 KB
114
+ ESM dist/worker/edge-wasm.js.map 505.00 B
118
115
  ESM dist/worker/napi-crypto.js.map 162.00 B
119
- ESM ⚡️ Build success in 31ms
116
+ ESM ⚡️ Build success in 30ms
117
+ ESM dist/tiptap/index.js 564.00 B
118
+ ESM dist/tiptap/index.js.map 1.21 KB
119
+ ESM ⚡️ Build success in 34ms
120
120
  ESM dist/better-auth/auth/client.js 4.54 KB
121
121
  ESM dist/better-auth/auth/server.js 8.40 KB
122
122
  ESM dist/better-auth/auth/react.js 813.00 B
123
- ESM dist/better-auth/auth/client.js.map 8.44 KB
124
123
  ESM dist/better-auth/auth/server.js.map 15.40 KB
125
124
  ESM dist/better-auth/auth/react.js.map 2.07 KB
126
- ESM ⚡️ Build success in 30ms
125
+ ESM dist/better-auth/auth/client.js.map 8.44 KB
126
+ ESM ⚡️ Build success in 26ms
127
127
  ESM dist/media/index.js 236.00 B
128
128
  ESM dist/media/index.browser.js 2.79 KB
129
- ESM dist/media/index.server.js 2.95 KB
130
129
  ESM dist/media/index.native.js 4.04 KB
130
+ ESM dist/media/index.server.js 2.95 KB
131
131
  ESM dist/media/chunk-IRL3KNPO.js 6.70 KB
132
132
  ESM dist/media/index.js.map 71.00 B
133
133
  ESM dist/media/index.browser.js.map 6.15 KB
134
- ESM dist/media/index.server.js.map 6.37 KB
135
134
  ESM dist/media/index.native.js.map 8.17 KB
135
+ ESM dist/media/index.server.js.map 6.37 KB
136
136
  ESM dist/media/chunk-IRL3KNPO.js.map 17.00 KB
137
- ESM ⚡️ Build success in 39ms
137
+ ESM ⚡️ Build success in 42ms
138
138
  ESM dist/expo/index.js 4.70 KB
139
139
  ESM dist/expo/testing.js 112.00 B
140
140
  ESM dist/expo/polyfills.js 858.00 B
141
141
  ESM dist/expo/index.js.map 10.26 KB
142
142
  ESM dist/expo/testing.js.map 168.00 B
143
143
  ESM dist/expo/polyfills.js.map 1.61 KB
144
- ESM ⚡️ Build success in 34ms
144
+ ESM ⚡️ Build success in 36ms
145
145
  ESM dist/react-core/index.js 17.87 KB
146
146
  ESM dist/react-core/testing.js 904.00 B
147
147
  ESM dist/react-core/chunk-UOYH6JFJ.js 189.00 B
148
148
  ESM dist/react-core/index.js.map 58.59 KB
149
149
  ESM dist/react-core/testing.js.map 1.34 KB
150
150
  ESM dist/react-core/chunk-UOYH6JFJ.js.map 363.00 B
151
- ESM ⚡️ Build success in 51ms
152
- ESM dist/better-auth/database-adapter/index.js 26.65 KB
153
- ESM dist/better-auth/database-adapter/index.js.map 58.27 KB
154
- ESM ⚡️ Build success in 46ms
151
+ ESM ⚡️ Build success in 45ms
155
152
  ESM dist/browser/index.js 15.96 KB
156
153
  ESM dist/browser/index.js.map 34.06 KB
157
- ESM ⚡️ Build success in 57ms
154
+ ESM ⚡️ Build success in 53ms
155
+ ESM dist/prosemirror/index.js 77.76 KB
156
+ ESM dist/prosemirror/index.js.map 307.20 KB
157
+ ESM ⚡️ Build success in 63ms
158
+ ESM dist/better-auth/database-adapter/index.js 26.65 KB
159
+ ESM dist/better-auth/database-adapter/index.js.map 58.27 KB
160
+ ESM ⚡️ Build success in 56ms
158
161
  ESM dist/react/index.js 26.02 KB
159
- ESM dist/react/ssr.js 693.00 B
160
162
  ESM dist/react/testing.js 122.00 B
163
+ ESM dist/react/ssr.js 693.00 B
161
164
  ESM dist/react/index.js.map 55.45 KB
162
165
  ESM dist/react/testing.js.map 165.00 B
163
166
  ESM dist/react/ssr.js.map 1.10 KB
164
- ESM ⚡️ Build success in 68ms
165
- ESM dist/prosemirror/index.js 77.76 KB
166
- ESM dist/prosemirror/index.js.map 307.20 KB
167
- ESM ⚡️ Build success in 74ms
167
+ ESM ⚡️ Build success in 59ms
168
168
  ESM dist/react-native-core/testing.js 119.00 B
169
169
  ESM dist/react-native-core/index.js 34.14 KB
170
170
  ESM dist/react-native-core/testing.js.map 175.00 B
171
171
  ESM dist/react-native-core/index.js.map 68.45 KB
172
- ESM ⚡️ Build success in 74ms
172
+ ESM ⚡️ Build success in 68ms
173
173
  ESM dist/react-native/index.js 36.68 KB
174
174
  ESM dist/react-native/testing.js 120.00 B
175
175
  ESM dist/react-native/polyfills.js 858.00 B
176
176
  ESM dist/react-native/index.js.map 74.00 KB
177
- ESM dist/react-native/testing.js.map 176.00 B
178
177
  ESM dist/react-native/polyfills.js.map 1.61 KB
179
- ESM ⚡️ Build success in 77ms
178
+ ESM dist/react-native/testing.js.map 176.00 B
179
+ ESM ⚡️ Build success in 70ms
180
+ ESM dist/inspector/index.js 37.43 KB
180
181
  ESM dist/inspector/standalone.js 12.61 KB
181
- ESM dist/inspector/index.js 37.41 KB
182
182
  ESM dist/inspector/chunk-6JPVMI3V.js 130.10 KB
183
+ ESM dist/inspector/index.js.map 63.71 KB
183
184
  ESM dist/inspector/standalone.js.map 20.11 KB
184
- ESM dist/inspector/index.js.map 63.67 KB
185
185
  ESM dist/inspector/chunk-6JPVMI3V.js.map 225.43 KB
186
- ESM ⚡️ Build success in 91ms
186
+ ESM ⚡️ Build success in 92ms
187
187
  ESM dist/testing.js 8.56 KB
188
+ ESM dist/index.js 32.17 KB
188
189
  ESM dist/tools/ssr.js 156.00 B
189
- ESM dist/chunk-K4D7IMFM.js 690.00 B
190
190
  ESM dist/chunk-ZQWSQH6L.js 945.00 B
191
- ESM dist/index.js 32.17 KB
191
+ ESM dist/chunk-K4D7IMFM.js 690.00 B
192
192
  ESM dist/chunk-Q5RNSSUM.js 237.30 KB
193
193
  ESM dist/testing.js.map 16.22 KB
194
194
  ESM dist/tools/ssr.js.map 71.00 B
195
- ESM dist/chunk-K4D7IMFM.js.map 1.10 KB
196
195
  ESM dist/chunk-ZQWSQH6L.js.map 71.00 B
197
196
  ESM dist/index.js.map 65.34 KB
197
+ ESM dist/chunk-K4D7IMFM.js.map 1.10 KB
198
198
  ESM dist/chunk-Q5RNSSUM.js.map 558.08 KB
199
- ESM ⚡️ Build success in 111ms
199
+ ESM ⚡️ Build success in 121ms
200
200
  ESM dist/inspector/register-custom-element.js 305.00 B
201
201
  ESM dist/inspector/register-custom-element.js.map 445.00 B
202
- ESM dist/inspector/custom-element-PWRX4VCA.js 1.64 MB
203
- ESM dist/inspector/custom-element-PWRX4VCA.js.map 2.52 MB
202
+ ESM dist/inspector/custom-element-WOQY2M4W.js 1.64 MB
203
+ ESM dist/inspector/custom-element-WOQY2M4W.js.map 2.52 MB
204
204
  ESM ⚡️ Build success in 143ms
205
205
 
206
- > jazz-tools@0.20.2 types /home/runner/_work/jazz/jazz/packages/jazz-tools
206
+ > jazz-tools@0.20.3 types /home/runner/_work/jazz/jazz/packages/jazz-tools
207
207
  > tsc --outDir dist
208
208
 
209
209
 
210
- > jazz-tools@0.20.2 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
210
+ > jazz-tools@0.20.3 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
211
211
  > rm -rf dist/svelte && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json
212
212
 
213
213
  src/svelte -> dist/svelte
214
214
 
215
- > jazz-tools@0.20.2 build:better-auth-svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
215
+ > jazz-tools@0.20.3 build:better-auth-svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
216
216
  > mkdir -p dist/better-auth/auth && svelte-package -i src/better-auth/auth -o dist/better-auth/auth-temp --tsconfig tsconfig.svelte.json && cp dist/better-auth/auth-temp/svelte.svelte dist/better-auth/auth/svelte.svelte && cp dist/better-auth/auth-temp/svelte.svelte.d.ts dist/better-auth/auth/svelte.d.ts && rm -rf dist/better-auth/auth-temp
217
217
 
218
218
  src/better-auth/auth -> dist/better-auth/auth-temp
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.20.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [eca8b83]
8
+ - cojson@0.20.3
9
+ - cojson-storage-indexeddb@0.20.3
10
+ - cojson-transport-ws@0.20.3
11
+
3
12
  ## 0.20.2
4
13
 
5
14
  ### Patch Changes
@@ -28,7 +37,6 @@
28
37
  - ee19292: Removed `JazzContextManagerContext` and added error when nesting `JazzProvider` components. This prevents bad patterns like nested providers and simplifies the alternative approach of using `JazzContext.Provider` directly with `useJazzContext()`.
29
38
 
30
39
  ### Breaking changes
31
-
32
40
  - Removed `JazzContextManagerContext` export from `jazz-tools/react-core`
33
41
  - Renamed `useJazzContext` to `useJazzContextValue` (returns the context value)
34
42
  - `useJazzContext` now returns the context manager instead of the context value
@@ -61,7 +69,6 @@
61
69
  ## 💥 Breaking changes
62
70
 
63
71
  ### Crypto providers / fallback behavior
64
-
65
72
  - **Removed `PureJSCrypto`** from `cojson` (including the `cojson/crypto/PureJSCrypto` export).
66
73
  - **Removed `RNQuickCrypto`** from `jazz-tools`.
67
74
  - **No more fallback to JavaScript crypto**: if crypto fails to initialize, Jazz now throws an error instead of falling back silently.
@@ -72,7 +79,6 @@
72
79
  ### Patch Changes
73
80
 
74
81
  - 6b9368a: Added `deleteCoValues` function to permanently delete CoValues and their nested references.
75
-
76
82
  - CoValues are marked with a tombstone, making them inaccessible to all users
77
83
  - Supports deleting nested CoValues via resolve queries
78
84
  - Requires admin permissions on the CoValue's group
@@ -567,7 +573,6 @@
567
573
  ### Patch Changes
568
574
 
569
575
  - f2f478a: Add connection status API for React and Svelte
570
-
571
576
  - **React**: Added `useSyncConnectionStatus()` hook that returns the current connection status to the Jazz sync server
572
577
  - **Svelte**: Added `SyncConnectionStatus` class that provides reactive connection status monitoring
573
578
 
@@ -603,7 +608,6 @@
603
608
  ### Patch Changes
604
609
 
605
610
  - a584ab3: Add WasmCrypto support for Cloudflare Workers and edge runtimes by importing `jazz-tools/load-edge-wasm`.
606
-
607
611
  - Enable WasmCrypto functionality by initializing the WebAssembly environment with the import: `import "jazz-tools/load-edge-wasm"` in edge runtimes.
608
612
  - Guarantee compatibility across Cloudflare Workers and other edge runtime environments.
609
613
 
@@ -987,7 +991,6 @@
987
991
  - 3cd1586: Makes the key rotation not fail when child groups are unavailable or their readkey is not accessible.
988
992
 
989
993
  Also changes the Group.removeMember method to not return a Promise, because:
990
-
991
994
  - All the locally available child groups are rotated immediately
992
995
  - 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
993
996
 
@@ -36919,11 +36919,11 @@ function PerformancePage({ onNavigate, style }) {
36919
36919
  0,
36920
36920
  (clampedStart - (displayRange?.min ?? 0)) / range * 100
36921
36921
  );
36922
- const width = Math.max(0.5, (clampedEnd - clampedStart) / range * 100);
36922
+ const width = Math.max(0, (clampedEnd - clampedStart) / range * 100);
36923
36923
  const color = entry.status === "pending" ? "var(--j-warning-color)" : entry.status === "error" ? "var(--j-error-color)" : "var(--j-success-color)";
36924
36924
  return {
36925
36925
  barLeft: `${left}%`,
36926
- barWidth: `${width}%`,
36926
+ barWidth: width === 0 ? "1px" : `${width}%`,
36927
36927
  barColor: color
36928
36928
  };
36929
36929
  };
@@ -37221,4 +37221,4 @@ react/cjs/react-jsx-runtime.development.js:
37221
37221
  * LICENSE file in the root directory of this source tree.
37222
37222
  *)
37223
37223
  */
37224
- //# sourceMappingURL=custom-element-PWRX4VCA.js.map
37224
+ //# sourceMappingURL=custom-element-WOQY2M4W.js.map