jazz-tools 0.20.3 → 0.20.5

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.3 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.20.5 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 37ms
110
113
  ESM dist/worker/index.js 3.45 KB
111
- ESM dist/worker/edge-wasm.js 259.00 B
112
114
  ESM dist/worker/napi-crypto.js 110.00 B
115
+ ESM dist/worker/edge-wasm.js 259.00 B
113
116
  ESM dist/worker/index.js.map 6.97 KB
114
- ESM dist/worker/edge-wasm.js.map 505.00 B
115
117
  ESM dist/worker/napi-crypto.js.map 162.00 B
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
118
+ ESM dist/worker/edge-wasm.js.map 505.00 B
119
+ ESM ⚡️ Build success in 38ms
120
120
  ESM dist/better-auth/auth/client.js 4.54 KB
121
- ESM dist/better-auth/auth/server.js 8.40 KB
122
121
  ESM dist/better-auth/auth/react.js 813.00 B
123
- ESM dist/better-auth/auth/server.js.map 15.40 KB
124
- ESM dist/better-auth/auth/react.js.map 2.07 KB
122
+ ESM dist/better-auth/auth/server.js 8.40 KB
125
123
  ESM dist/better-auth/auth/client.js.map 8.44 KB
126
- ESM ⚡️ Build success in 26ms
124
+ ESM dist/better-auth/auth/react.js.map 2.07 KB
125
+ ESM dist/better-auth/auth/server.js.map 15.40 KB
126
+ ESM ⚡️ Build success in 32ms
127
127
  ESM dist/media/index.js 236.00 B
128
128
  ESM dist/media/index.browser.js 2.79 KB
129
129
  ESM dist/media/index.native.js 4.04 KB
130
- ESM dist/media/index.server.js 2.95 KB
131
130
  ESM dist/media/chunk-IRL3KNPO.js 6.70 KB
131
+ ESM dist/media/index.server.js 2.95 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
134
  ESM dist/media/index.native.js.map 8.17 KB
135
- ESM dist/media/index.server.js.map 6.37 KB
136
135
  ESM dist/media/chunk-IRL3KNPO.js.map 17.00 KB
137
- ESM ⚡️ Build success in 42ms
136
+ ESM dist/media/index.server.js.map 6.37 KB
137
+ ESM ⚡️ Build success in 40ms
138
+ ESM dist/react-core/chunk-UOYH6JFJ.js 189.00 B
139
+ ESM dist/react-core/testing.js 904.00 B
140
+ ESM dist/react-core/index.js 17.87 KB
141
+ ESM dist/react-core/chunk-UOYH6JFJ.js.map 363.00 B
142
+ ESM dist/react-core/testing.js.map 1.34 KB
143
+ ESM dist/react-core/index.js.map 58.59 KB
144
+ ESM ⚡️ Build success in 38ms
138
145
  ESM dist/expo/index.js 4.70 KB
139
146
  ESM dist/expo/testing.js 112.00 B
140
147
  ESM dist/expo/polyfills.js 858.00 B
141
148
  ESM dist/expo/index.js.map 10.26 KB
142
149
  ESM dist/expo/testing.js.map 168.00 B
143
150
  ESM dist/expo/polyfills.js.map 1.61 KB
144
- ESM ⚡️ Build success in 36ms
145
- ESM dist/react-core/index.js 17.87 KB
146
- ESM dist/react-core/testing.js 904.00 B
147
- ESM dist/react-core/chunk-UOYH6JFJ.js 189.00 B
148
- ESM dist/react-core/index.js.map 58.59 KB
149
- ESM dist/react-core/testing.js.map 1.34 KB
150
- ESM dist/react-core/chunk-UOYH6JFJ.js.map 363.00 B
151
- ESM ⚡️ Build success in 45ms
151
+ ESM ⚡️ Build success in 47ms
152
152
  ESM dist/browser/index.js 15.96 KB
153
153
  ESM dist/browser/index.js.map 34.06 KB
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
154
+ ESM ⚡️ Build success in 58ms
158
155
  ESM dist/better-auth/database-adapter/index.js 26.65 KB
159
156
  ESM dist/better-auth/database-adapter/index.js.map 58.27 KB
160
- ESM ⚡️ Build success in 56ms
157
+ ESM ⚡️ Build success in 66ms
161
158
  ESM dist/react/index.js 26.02 KB
162
159
  ESM dist/react/testing.js 122.00 B
163
160
  ESM dist/react/ssr.js 693.00 B
164
161
  ESM dist/react/index.js.map 55.45 KB
165
162
  ESM dist/react/testing.js.map 165.00 B
166
163
  ESM dist/react/ssr.js.map 1.10 KB
167
- ESM ⚡️ Build success in 59ms
168
- ESM dist/react-native-core/testing.js 119.00 B
164
+ ESM ⚡️ Build success in 70ms
169
165
  ESM dist/react-native-core/index.js 34.14 KB
170
- ESM dist/react-native-core/testing.js.map 175.00 B
166
+ ESM dist/react-native-core/testing.js 119.00 B
171
167
  ESM dist/react-native-core/index.js.map 68.45 KB
172
- ESM ⚡️ Build success in 68ms
173
- ESM dist/react-native/index.js 36.68 KB
168
+ ESM dist/react-native-core/testing.js.map 175.00 B
169
+ ESM ⚡️ Build success in 86ms
170
+ ESM dist/prosemirror/index.js 77.76 KB
171
+ ESM dist/prosemirror/index.js.map 307.20 KB
172
+ ESM ⚡️ Build success in 90ms
174
173
  ESM dist/react-native/testing.js 120.00 B
175
174
  ESM dist/react-native/polyfills.js 858.00 B
176
- ESM dist/react-native/index.js.map 74.00 KB
175
+ ESM dist/react-native/index.js 36.68 KB
177
176
  ESM dist/react-native/polyfills.js.map 1.61 KB
178
177
  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
178
+ ESM dist/react-native/index.js.map 74.00 KB
179
+ ESM ⚡️ Build success in 90ms
181
180
  ESM dist/inspector/standalone.js 12.61 KB
181
+ ESM dist/inspector/index.js 37.49 KB
182
182
  ESM dist/inspector/chunk-6JPVMI3V.js 130.10 KB
183
- ESM dist/inspector/index.js.map 63.71 KB
184
183
  ESM dist/inspector/standalone.js.map 20.11 KB
184
+ ESM dist/inspector/index.js.map 63.80 KB
185
185
  ESM dist/inspector/chunk-6JPVMI3V.js.map 225.43 KB
186
- ESM ⚡️ Build success in 92ms
186
+ ESM ⚡️ Build success in 103ms
187
+ ESM dist/tools/ssr.js 156.00 B
187
188
  ESM dist/testing.js 8.56 KB
188
189
  ESM dist/index.js 32.17 KB
189
- ESM dist/tools/ssr.js 156.00 B
190
- ESM dist/chunk-ZQWSQH6L.js 945.00 B
191
190
  ESM dist/chunk-K4D7IMFM.js 690.00 B
192
- ESM dist/chunk-Q5RNSSUM.js 237.30 KB
193
- ESM dist/testing.js.map 16.22 KB
191
+ ESM dist/chunk-ZQWSQH6L.js 945.00 B
192
+ ESM dist/chunk-HBWUGW37.js 237.48 KB
194
193
  ESM dist/tools/ssr.js.map 71.00 B
195
- ESM dist/chunk-ZQWSQH6L.js.map 71.00 B
194
+ ESM dist/testing.js.map 16.22 KB
196
195
  ESM dist/index.js.map 65.34 KB
197
196
  ESM dist/chunk-K4D7IMFM.js.map 1.10 KB
198
- ESM dist/chunk-Q5RNSSUM.js.map 558.08 KB
199
- ESM ⚡️ Build success in 121ms
197
+ ESM dist/chunk-ZQWSQH6L.js.map 71.00 B
198
+ ESM dist/chunk-HBWUGW37.js.map 558.55 KB
199
+ ESM ⚡️ Build success in 139ms
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-WOQY2M4W.js 1.64 MB
203
- ESM dist/inspector/custom-element-WOQY2M4W.js.map 2.52 MB
204
- ESM ⚡️ Build success in 143ms
202
+ ESM dist/inspector/custom-element-TJNWN4WC.js 1.64 MB
203
+ ESM dist/inspector/custom-element-TJNWN4WC.js.map 2.52 MB
204
+ ESM ⚡️ Build success in 168ms
205
205
 
206
- > jazz-tools@0.20.3 types /home/runner/_work/jazz/jazz/packages/jazz-tools
206
+ > jazz-tools@0.20.5 types /home/runner/_work/jazz/jazz/packages/jazz-tools
207
207
  > tsc --outDir dist
208
208
 
209
209
 
210
- > jazz-tools@0.20.3 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
210
+ > jazz-tools@0.20.5 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.3 build:better-auth-svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
215
+ > jazz-tools@0.20.5 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,24 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.20.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 23a5d7c: Fixed "TypeError: crypto.randomUUID is not a function (it is undefined)" on React Native
8
+ - 0b95532: Fixed "can't access property useContext, dispatcher is null" error when using the inspector in Svelte
9
+ - cojson@0.20.5
10
+ - cojson-storage-indexeddb@0.20.5
11
+ - cojson-transport-ws@0.20.5
12
+
13
+ ## 0.20.4
14
+
15
+ ### Patch Changes
16
+
17
+ - 0c749d9: Fixed infinite re-render loop when accessing unresolved nested CoValues in React hooks
18
+ - cojson@0.20.4
19
+ - cojson-storage-indexeddb@0.20.4
20
+ - cojson-transport-ws@0.20.4
21
+
3
22
  ## 0.20.3
4
23
 
5
24
  ### Patch Changes
@@ -4403,7 +4403,7 @@ var _SubscriptionScope = class _SubscriptionScope {
4403
4403
  this.isProfilingEnabled = true;
4404
4404
  }
4405
4405
  trackLoadingPerformance(source) {
4406
- if (!_SubscriptionScope.isProfilingEnabled) {
4406
+ if (!_SubscriptionScope.isProfilingEnabled || !crypto.randomUUID) {
4407
4407
  return;
4408
4408
  }
4409
4409
  if (this.performanceUuid) {
@@ -7145,6 +7145,12 @@ var InMemoryKVStore = class {
7145
7145
  };
7146
7146
 
7147
7147
  // src/tools/subscribe/SubscriptionCache.ts
7148
+ function copyResolve(resolve) {
7149
+ if (typeof resolve !== "object" || resolve === null) {
7150
+ return resolve;
7151
+ }
7152
+ return { ...resolve };
7153
+ }
7148
7154
  var SubscriptionCache = class {
7149
7155
  constructor(cleanupTimeout = 5e3) {
7150
7156
  this.cache = /* @__PURE__ */ new Map();
@@ -7286,7 +7292,7 @@ var SubscriptionCache = class {
7286
7292
  const entry = {
7287
7293
  subscriptionScope,
7288
7294
  schema,
7289
- resolve,
7295
+ resolve: copyResolve(resolve),
7290
7296
  branch,
7291
7297
  subscriberCount: subscriptionScope.subscribers.size,
7292
7298
  unsubscribeFromScope: subscriptionScope.onSubscriberChange(
@@ -8184,4 +8190,4 @@ export {
8184
8190
  JazzContextManager
8185
8191
  };
8186
8192
  /* istanbul ignore file -- @preserve */
8187
- //# sourceMappingURL=chunk-Q5RNSSUM.js.map
8193
+ //# sourceMappingURL=chunk-HBWUGW37.js.map