jazz-tools 0.20.3 → 0.20.4

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.4 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,23 +107,23 @@
107
107
  ESM Build start
108
108
  CLI Cleaning output folder
109
109
  ESM Build start
110
- ESM dist/worker/index.js 3.45 KB
110
+ ESM dist/tiptap/index.js 564.00 B
111
+ ESM dist/tiptap/index.js.map 1.21 KB
112
+ ESM ⚡️ Build success in 31ms
111
113
  ESM dist/worker/edge-wasm.js 259.00 B
112
114
  ESM dist/worker/napi-crypto.js 110.00 B
113
- ESM dist/worker/index.js.map 6.97 KB
115
+ ESM dist/worker/index.js 3.45 KB
114
116
  ESM dist/worker/edge-wasm.js.map 505.00 B
115
117
  ESM dist/worker/napi-crypto.js.map 162.00 B
118
+ ESM dist/worker/index.js.map 6.97 KB
116
119
  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/server.js.map 15.40 KB
124
- ESM dist/better-auth/auth/react.js.map 2.07 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 30ms
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
@@ -132,87 +132,87 @@
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
138
- ESM dist/expo/index.js 4.70 KB
139
- ESM dist/expo/testing.js 112.00 B
140
- ESM dist/expo/polyfills.js 858.00 B
141
- ESM dist/expo/index.js.map 10.26 KB
142
- ESM dist/expo/testing.js.map 168.00 B
143
- ESM dist/expo/polyfills.js.map 1.61 KB
144
- ESM ⚡️ Build success in 36ms
136
+ ESM dist/media/index.server.js.map 6.37 KB
137
+ ESM ⚡️ Build success in 39ms
145
138
  ESM dist/react-core/index.js 17.87 KB
146
- ESM dist/react-core/testing.js 904.00 B
147
139
  ESM dist/react-core/chunk-UOYH6JFJ.js 189.00 B
140
+ ESM dist/react-core/testing.js 904.00 B
148
141
  ESM dist/react-core/index.js.map 58.59 KB
149
- ESM dist/react-core/testing.js.map 1.34 KB
150
142
  ESM dist/react-core/chunk-UOYH6JFJ.js.map 363.00 B
151
- ESM ⚡️ Build success in 45ms
152
- ESM dist/browser/index.js 15.96 KB
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
143
+ ESM dist/react-core/testing.js.map 1.34 KB
144
+ ESM ⚡️ Build success in 41ms
145
+ ESM dist/expo/index.js 4.70 KB
146
+ ESM dist/expo/testing.js 112.00 B
147
+ ESM dist/expo/polyfills.js 858.00 B
148
+ ESM dist/expo/polyfills.js.map 1.61 KB
149
+ ESM dist/expo/testing.js.map 168.00 B
150
+ ESM dist/expo/index.js.map 10.26 KB
151
+ ESM ⚡️ Build success in 37ms
158
152
  ESM dist/better-auth/database-adapter/index.js 26.65 KB
159
153
  ESM dist/better-auth/database-adapter/index.js.map 58.27 KB
160
- ESM ⚡️ Build success in 56ms
154
+ ESM ⚡️ Build success in 39ms
155
+ ESM dist/browser/index.js 15.96 KB
156
+ ESM dist/browser/index.js.map 34.06 KB
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 61ms
165
+ ESM dist/prosemirror/index.js 77.76 KB
166
+ ESM dist/prosemirror/index.js.map 307.20 KB
167
+ ESM ⚡️ Build success in 68ms
169
168
  ESM dist/react-native-core/index.js 34.14 KB
170
- ESM dist/react-native-core/testing.js.map 175.00 B
169
+ ESM dist/react-native-core/testing.js 119.00 B
171
170
  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
171
+ ESM dist/react-native-core/testing.js.map 175.00 B
172
+ ESM ⚡️ Build success in 66ms
174
173
  ESM dist/react-native/testing.js 120.00 B
174
+ ESM dist/react-native/index.js 36.68 KB
175
175
  ESM dist/react-native/polyfills.js 858.00 B
176
- ESM dist/react-native/index.js.map 74.00 KB
177
- ESM dist/react-native/polyfills.js.map 1.61 KB
178
176
  ESM dist/react-native/testing.js.map 176.00 B
179
- ESM ⚡️ Build success in 70ms
177
+ ESM dist/react-native/polyfills.js.map 1.61 KB
178
+ ESM dist/react-native/index.js.map 74.00 KB
179
+ ESM ⚡️ Build success in 72ms
180
180
  ESM dist/inspector/index.js 37.43 KB
181
181
  ESM dist/inspector/standalone.js 12.61 KB
182
182
  ESM dist/inspector/chunk-6JPVMI3V.js 130.10 KB
183
183
  ESM dist/inspector/index.js.map 63.71 KB
184
184
  ESM dist/inspector/standalone.js.map 20.11 KB
185
185
  ESM dist/inspector/chunk-6JPVMI3V.js.map 225.43 KB
186
- ESM ⚡️ Build success in 92ms
187
- ESM dist/testing.js 8.56 KB
186
+ ESM ⚡️ Build success in 88ms
188
187
  ESM dist/index.js 32.17 KB
188
+ ESM dist/testing.js 8.56 KB
189
+ ESM dist/chunk-XQ27DEA5.js 237.46 KB
189
190
  ESM dist/tools/ssr.js 156.00 B
190
- ESM dist/chunk-ZQWSQH6L.js 945.00 B
191
191
  ESM dist/chunk-K4D7IMFM.js 690.00 B
192
- ESM dist/chunk-Q5RNSSUM.js 237.30 KB
192
+ ESM dist/chunk-ZQWSQH6L.js 945.00 B
193
+ ESM dist/index.js.map 65.34 KB
193
194
  ESM dist/testing.js.map 16.22 KB
194
195
  ESM dist/tools/ssr.js.map 71.00 B
195
- ESM dist/chunk-ZQWSQH6L.js.map 71.00 B
196
- 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-XQ27DEA5.js.map 558.52 KB
199
+ ESM ⚡️ Build success in 124ms
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
202
  ESM dist/inspector/custom-element-WOQY2M4W.js 1.64 MB
203
203
  ESM dist/inspector/custom-element-WOQY2M4W.js.map 2.52 MB
204
- ESM ⚡️ Build success in 143ms
204
+ ESM ⚡️ Build success in 146ms
205
205
 
206
- > jazz-tools@0.20.3 types /home/runner/_work/jazz/jazz/packages/jazz-tools
206
+ > jazz-tools@0.20.4 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.4 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.4 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.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 0c749d9: Fixed infinite re-render loop when accessing unresolved nested CoValues in React hooks
8
+ - cojson@0.20.4
9
+ - cojson-storage-indexeddb@0.20.4
10
+ - cojson-transport-ws@0.20.4
11
+
3
12
  ## 0.20.3
4
13
 
5
14
  ### Patch Changes
@@ -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-XQ27DEA5.js.map