jazz-tools 0.18.37 → 0.18.38

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.18.37 build /home/runner/_work/jazz/jazz/packages/jazz-tools
2
+ > jazz-tools@0.18.38 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"}
@@ -109,103 +109,103 @@
109
109
  ESM Build start
110
110
  ESM dist/tiptap/index.js 564.00 B
111
111
  ESM dist/tiptap/index.js.map 1.21 KB
112
- ESM ⚡️ Build success in 47ms
113
- ESM dist/better-auth/auth/client.js 4.50 KB
114
- ESM dist/better-auth/auth/server.js 8.36 KB
115
- ESM dist/better-auth/auth/react.js 799.00 B
116
- ESM dist/better-auth/auth/client.js.map 8.32 KB
117
- ESM dist/better-auth/auth/server.js.map 15.31 KB
118
- ESM dist/better-auth/auth/react.js.map 2.04 KB
119
- ESM ⚡️ Build success in 40ms
112
+ ESM ⚡️ Build success in 46ms
120
113
  ESM dist/worker/index.js 3.19 KB
121
114
  ESM dist/worker/edge-wasm.js 215.00 B
122
115
  ESM dist/worker/napi-crypto.js 110.00 B
123
116
  ESM dist/worker/index.js.map 6.24 KB
124
117
  ESM dist/worker/edge-wasm.js.map 434.00 B
125
118
  ESM dist/worker/napi-crypto.js.map 162.00 B
126
- ESM ⚡️ Build success in 49ms
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/index.js.map 5.68 KB
131
- ESM dist/react-native/testing.js.map 176.00 B
132
- ESM dist/react-native/crypto.js.map 197.00 B
133
- ESM ⚡️ Build success in 59ms
134
- ESM dist/media/index.js 236.00 B
119
+ ESM ⚡️ Build success in 43ms
135
120
  ESM dist/media/index.browser.js 2.79 KB
121
+ ESM dist/media/index.js 236.00 B
136
122
  ESM dist/media/index.native.js 4.01 KB
137
123
  ESM dist/media/index.server.js 2.95 KB
138
124
  ESM dist/media/chunk-K6GCHLQU.js 6.47 KB
139
- ESM dist/media/index.js.map 71.00 B
140
125
  ESM dist/media/index.browser.js.map 6.15 KB
126
+ ESM dist/media/index.js.map 71.00 B
141
127
  ESM dist/media/index.native.js.map 8.10 KB
142
128
  ESM dist/media/index.server.js.map 6.37 KB
143
129
  ESM dist/media/chunk-K6GCHLQU.js.map 16.64 KB
144
- ESM ⚡️ Build success in 64ms
130
+ ESM ⚡️ Build success in 52ms
131
+ ESM dist/better-auth/auth/client.js 4.50 KB
132
+ ESM dist/better-auth/auth/server.js 8.36 KB
133
+ ESM dist/better-auth/auth/react.js 799.00 B
134
+ ESM dist/better-auth/auth/client.js.map 8.32 KB
135
+ ESM dist/better-auth/auth/react.js.map 2.04 KB
136
+ ESM dist/better-auth/auth/server.js.map 15.31 KB
137
+ ESM ⚡️ Build success in 50ms
138
+ ESM dist/react-native/index.js 2.53 KB
139
+ ESM dist/react-native/crypto.js 161.00 B
140
+ ESM dist/react-native/testing.js 120.00 B
141
+ ESM dist/react-native/index.js.map 5.68 KB
142
+ ESM dist/react-native/crypto.js.map 197.00 B
143
+ ESM dist/react-native/testing.js.map 176.00 B
144
+ ESM ⚡️ Build success in 53ms
145
145
  ESM dist/react-core/index.js 14.06 KB
146
- ESM dist/react-core/testing.js 1.22 KB
147
146
  ESM dist/react-core/chunk-7DYMJ74I.js 279.00 B
147
+ ESM dist/react-core/testing.js 1.22 KB
148
+ ESM dist/react-core/chunk-7DYMJ74I.js.map 533.00 B
148
149
  ESM dist/react-core/index.js.map 42.79 KB
149
150
  ESM dist/react-core/testing.js.map 1.86 KB
150
- ESM dist/react-core/chunk-7DYMJ74I.js.map 533.00 B
151
- ESM ⚡️ Build success in 62ms
151
+ ESM ⚡️ Build success in 59ms
152
152
  ESM dist/expo/index.js 4.68 KB
153
153
  ESM dist/expo/testing.js 112.00 B
154
154
  ESM dist/expo/crypto.js 153.00 B
155
155
  ESM dist/expo/index.js.map 10.23 KB
156
156
  ESM dist/expo/testing.js.map 168.00 B
157
157
  ESM dist/expo/crypto.js.map 189.00 B
158
- ESM ⚡️ Build success in 59ms
159
- ESM dist/browser/index.js 14.06 KB
160
- ESM dist/browser/index.js.map 29.94 KB
161
- ESM ⚡️ Build success in 68ms
162
- ESM dist/prosemirror/index.js 77.76 KB
163
- ESM dist/prosemirror/index.js.map 307.20 KB
164
- ESM ⚡️ Build success in 77ms
158
+ ESM ⚡️ Build success in 53ms
165
159
  ESM dist/react/index.js 25.36 KB
166
160
  ESM dist/react/testing.js 122.00 B
167
161
  ESM dist/react/ssr.js 697.00 B
168
162
  ESM dist/react/index.js.map 54.72 KB
169
163
  ESM dist/react/testing.js.map 165.00 B
170
164
  ESM dist/react/ssr.js.map 1.11 KB
171
- ESM ⚡️ Build success in 66ms
165
+ ESM ⚡️ Build success in 59ms
166
+ ESM dist/better-auth/database-adapter/index.js 26.44 KB
167
+ ESM dist/better-auth/database-adapter/index.js.map 57.91 KB
168
+ ESM ⚡️ Build success in 71ms
169
+ ESM dist/browser/index.js 14.06 KB
170
+ ESM dist/browser/index.js.map 29.94 KB
171
+ ESM ⚡️ Build success in 94ms
172
+ ESM dist/prosemirror/index.js 77.76 KB
173
+ ESM dist/prosemirror/index.js.map 307.20 KB
174
+ ESM ⚡️ Build success in 95ms
172
175
  ESM dist/react-native-core/index.js 18.96 KB
173
176
  ESM dist/react-native-core/testing.js 119.00 B
174
177
  ESM dist/react-native-core/crypto.js 2.10 KB
175
178
  ESM dist/react-native-core/index.js.map 38.49 KB
176
179
  ESM dist/react-native-core/testing.js.map 175.00 B
177
180
  ESM dist/react-native-core/crypto.js.map 4.25 KB
178
- ESM ⚡️ Build success in 73ms
179
- ESM dist/better-auth/database-adapter/index.js 26.44 KB
180
- ESM dist/better-auth/database-adapter/index.js.map 57.91 KB
181
- ESM ⚡️ Build success in 65ms
182
- ESM dist/inspector/index.js 97.13 KB
183
- ESM dist/inspector/index.js.map 170.97 KB
184
- ESM ⚡️ Build success in 102ms
181
+ ESM ⚡️ Build success in 90ms
182
+ ESM dist/inspector/index.js 97.51 KB
183
+ ESM dist/inspector/index.js.map 171.35 KB
184
+ ESM ⚡️ Build success in 114ms
185
185
  ESM dist/index.js 28.82 KB
186
186
  ESM dist/testing.js 8.48 KB
187
+ ESM dist/chunk-OSQ7S47Q.js 191.06 KB
187
188
  ESM dist/tools/ssr.js 156.00 B
188
189
  ESM dist/chunk-M2HGBOXS.js 694.00 B
189
190
  ESM dist/chunk-PZ5AY32C.js 233.00 B
190
- ESM dist/chunk-OSQ7S47Q.js 191.06 KB
191
191
  ESM dist/index.js.map 59.88 KB
192
192
  ESM dist/testing.js.map 16.07 KB
193
+ ESM dist/chunk-OSQ7S47Q.js.map 452.42 KB
193
194
  ESM dist/tools/ssr.js.map 71.00 B
194
195
  ESM dist/chunk-M2HGBOXS.js.map 1.10 KB
195
196
  ESM dist/chunk-PZ5AY32C.js.map 71.00 B
196
- ESM dist/chunk-OSQ7S47Q.js.map 452.42 KB
197
- ESM ⚡️ Build success in 122ms
197
+ ESM ⚡️ Build success in 127ms
198
198
  ESM dist/inspector/register-custom-element.js 218.00 B
199
- ESM dist/inspector/custom-element-SUVJ7CPN.js 1.57 MB
200
199
  ESM dist/inspector/register-custom-element.js.map 314.00 B
201
- ESM dist/inspector/custom-element-SUVJ7CPN.js.map 2.41 MB
202
- ESM ⚡️ Build success in 167ms
200
+ ESM dist/inspector/custom-element-QESCMFY7.js 1.57 MB
201
+ ESM dist/inspector/custom-element-QESCMFY7.js.map 2.41 MB
202
+ ESM ⚡️ Build success in 192ms
203
203
 
204
- > jazz-tools@0.18.37 types /home/runner/_work/jazz/jazz/packages/jazz-tools
204
+ > jazz-tools@0.18.38 types /home/runner/_work/jazz/jazz/packages/jazz-tools
205
205
  > tsc --outDir dist
206
206
 
207
207
 
208
- > jazz-tools@0.18.37 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
208
+ > jazz-tools@0.18.38 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
209
209
  > rm -rf dist/svelte && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json
210
210
 
211
211
  src/svelte -> dist/svelte
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # jazz-tools
2
2
 
3
+ ## 0.18.38
4
+
5
+ ### Patch Changes
6
+
7
+ - 349ca48: feat: Invalid transaction's error messages are now shown in the inspector
8
+ - Updated dependencies [349ca48]
9
+ - Updated dependencies [68781a0]
10
+ - cojson@0.18.38
11
+ - cojson-storage-indexeddb@0.18.38
12
+ - cojson-transport-ws@0.18.38
13
+
3
14
  ## 0.18.37
4
15
 
5
16
  ### Patch Changes
@@ -34022,7 +34022,16 @@ function HistoryView({
34022
34022
  {
34023
34023
  id: "action",
34024
34024
  header: "Action",
34025
- accessor: (row) => row.action,
34025
+ accessor: (row) => {
34026
+ if (row.isValid) return row.action;
34027
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
34028
+ row.action,
34029
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("span", { style: { color: "red", display: "block" }, children: [
34030
+ "Invalid transaction: ",
34031
+ row.validationErrorMessage
34032
+ ] })
34033
+ ] });
34034
+ },
34026
34035
  sortable: false,
34027
34036
  filterable: true,
34028
34037
  sortFn: (a, b) => a.action.localeCompare(b.action)
@@ -34070,7 +34079,8 @@ function getHistory(coValue) {
34070
34079
  author: tx.author,
34071
34080
  action: mapTransactionToAction(change, coValue),
34072
34081
  timestamp: new Date(tx.currentMadeAt),
34073
- isValid: tx.isValid
34082
+ isValid: tx.isValid,
34083
+ validationErrorMessage: tx.validationErrorMessage
34074
34084
  }));
34075
34085
  });
34076
34086
  }
@@ -35112,4 +35122,4 @@ react/cjs/react-jsx-runtime.development.js:
35112
35122
  * LICENSE file in the root directory of this source tree.
35113
35123
  *)
35114
35124
  */
35115
- //# sourceMappingURL=custom-element-SUVJ7CPN.js.map
35125
+ //# sourceMappingURL=custom-element-QESCMFY7.js.map