jazz-tools 0.18.14 → 0.18.15
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.
- package/.turbo/turbo-build.log +42 -40
- package/CHANGELOG.md +14 -0
- package/dist/worker/edge-wasm.d.ts +2 -0
- package/dist/worker/edge-wasm.d.ts.map +1 -0
- package/dist/worker/edge-wasm.js +5 -0
- package/dist/worker/edge-wasm.js.map +1 -0
- package/package.json +9 -4
- package/src/worker/edge-wasm.ts +5 -0
- package/tsup.config.ts +1 -0
package/.turbo/turbo-build.log
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
> jazz-tools@0.18.
|
2
|
+
> jazz-tools@0.18.15 build /home/runner/_work/jazz/jazz/packages/jazz-tools
|
3
3
|
> tsup && pnpm types && pnpm build:svelte
|
4
4
|
|
5
5
|
[34mCLI[39m Building entry: {"index":"src/index.ts","testing":"src/testing.ts"}
|
@@ -28,7 +28,7 @@
|
|
28
28
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
29
29
|
[34mCLI[39m Building entry: {"index":"src/tiptap/index.ts"}
|
30
30
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
31
|
-
[34mCLI[39m Building entry: {"index":"src/worker/index.ts"}
|
31
|
+
[34mCLI[39m Building entry: {"index":"src/worker/index.ts","edge-wasm":"src/worker/edge-wasm.ts"}
|
32
32
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
33
33
|
[34mCLI[39m Building entry: {"client":"src/better-auth/auth/client.ts","server":"src/better-auth/auth/server.ts","react":"src/better-auth/auth/react.tsx"}
|
34
34
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
@@ -107,14 +107,16 @@
|
|
107
107
|
[34mESM[39m Build start
|
108
108
|
[34mCLI[39m Cleaning output folder
|
109
109
|
[34mESM[39m Build start
|
110
|
-
[32mESM[39m [1mdist/tiptap/index.js [22m[32m564.00 B[39m
|
111
|
-
[32mESM[39m [1mdist/tiptap/index.js.map [22m[32m1.21 KB[39m
|
112
|
-
[32mESM[39m ⚡️ Build success in 18ms
|
113
|
-
[32mESM[39m [1mdist/worker/index.js [22m[32m3.19 KB[39m
|
114
|
-
[32mESM[39m [1mdist/worker/index.js.map [22m[32m6.17 KB[39m
|
115
|
-
[32mESM[39m ⚡️ Build success in 16ms
|
116
110
|
[32mESM[39m [1mdist/react/ssr.js [22m[32m688.00 B[39m
|
117
111
|
[32mESM[39m [1mdist/react/ssr.js.map [22m[32m1.12 KB[39m
|
112
|
+
[32mESM[39m ⚡️ Build success in 15ms
|
113
|
+
[32mESM[39m [1mdist/tiptap/index.js [22m[32m564.00 B[39m
|
114
|
+
[32mESM[39m [1mdist/tiptap/index.js.map [22m[32m1.21 KB[39m
|
115
|
+
[32mESM[39m ⚡️ Build success in 13ms
|
116
|
+
[32mESM[39m [1mdist/worker/index.js [22m[32m3.19 KB[39m
|
117
|
+
[32mESM[39m [1mdist/worker/edge-wasm.js [22m[32m215.00 B[39m
|
118
|
+
[32mESM[39m [1mdist/worker/index.js.map [22m[32m6.17 KB[39m
|
119
|
+
[32mESM[39m [1mdist/worker/edge-wasm.js.map [22m[32m434.00 B[39m
|
118
120
|
[32mESM[39m ⚡️ Build success in 20ms
|
119
121
|
[32mESM[39m [1mdist/better-auth/auth/client.js [22m[32m4.44 KB[39m
|
120
122
|
[32mESM[39m [1mdist/better-auth/auth/server.js [22m[32m8.36 KB[39m
|
@@ -122,78 +124,78 @@
|
|
122
124
|
[32mESM[39m [1mdist/better-auth/auth/client.js.map [22m[32m8.24 KB[39m
|
123
125
|
[32mESM[39m [1mdist/better-auth/auth/server.js.map [22m[32m15.29 KB[39m
|
124
126
|
[32mESM[39m [1mdist/better-auth/auth/react.js.map [22m[32m2.04 KB[39m
|
125
|
-
[32mESM[39m ⚡️ Build success in
|
127
|
+
[32mESM[39m ⚡️ Build success in 20ms
|
126
128
|
[32mESM[39m [1mdist/media/index.js [22m[32m236.00 B[39m
|
127
|
-
[32mESM[39m [1mdist/media/index.native.js [22m[32m2.90 KB[39m
|
128
129
|
[32mESM[39m [1mdist/media/index.browser.js [22m[32m2.79 KB[39m
|
129
130
|
[32mESM[39m [1mdist/media/index.server.js [22m[32m2.95 KB[39m
|
131
|
+
[32mESM[39m [1mdist/media/index.native.js [22m[32m2.90 KB[39m
|
130
132
|
[32mESM[39m [1mdist/media/chunk-W3S526L3.js [22m[32m6.47 KB[39m
|
131
133
|
[32mESM[39m [1mdist/media/index.js.map [22m[32m71.00 B[39m
|
132
|
-
[32mESM[39m [1mdist/media/index.native.js.map [22m[32m6.09 KB[39m
|
133
134
|
[32mESM[39m [1mdist/media/index.browser.js.map [22m[32m6.15 KB[39m
|
134
135
|
[32mESM[39m [1mdist/media/index.server.js.map [22m[32m6.37 KB[39m
|
136
|
+
[32mESM[39m [1mdist/media/index.native.js.map [22m[32m6.09 KB[39m
|
135
137
|
[32mESM[39m [1mdist/media/chunk-W3S526L3.js.map [22m[32m16.57 KB[39m
|
136
|
-
[32mESM[39m ⚡️ Build success in 31ms
|
137
|
-
[32mESM[39m [1mdist/react-core/index.js [22m[32m10.72 KB[39m
|
138
|
-
[32mESM[39m [1mdist/react-core/testing.js [22m[32m1.17 KB[39m
|
139
|
-
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js [22m[32m279.00 B[39m
|
140
|
-
[32mESM[39m [1mdist/react-core/index.js.map [22m[32m33.90 KB[39m
|
141
|
-
[32mESM[39m [1mdist/react-core/testing.js.map [22m[32m1.82 KB[39m
|
142
|
-
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js.map [22m[32m533.00 B[39m
|
143
138
|
[32mESM[39m ⚡️ Build success in 28ms
|
139
|
+
[32mESM[39m [1mdist/browser/index.js [22m[32m13.64 KB[39m
|
140
|
+
[32mESM[39m [1mdist/browser/index.js.map [22m[32m29.14 KB[39m
|
141
|
+
[32mESM[39m ⚡️ Build success in 31ms
|
144
142
|
[32mESM[39m [1mdist/react-native/index.js [22m[32m2.53 KB[39m
|
145
143
|
[32mESM[39m [1mdist/react-native/testing.js [22m[32m120.00 B[39m
|
146
144
|
[32mESM[39m [1mdist/react-native/crypto.js [22m[32m161.00 B[39m
|
147
145
|
[32mESM[39m [1mdist/react-native/index.js.map [22m[32m5.68 KB[39m
|
148
146
|
[32mESM[39m [1mdist/react-native/testing.js.map [22m[32m176.00 B[39m
|
149
147
|
[32mESM[39m [1mdist/react-native/crypto.js.map [22m[32m197.00 B[39m
|
150
|
-
[32mESM[39m ⚡️ Build success in
|
148
|
+
[32mESM[39m ⚡️ Build success in 30ms
|
149
|
+
[32mESM[39m [1mdist/react-core/index.js [22m[32m10.72 KB[39m
|
150
|
+
[32mESM[39m [1mdist/react-core/testing.js [22m[32m1.17 KB[39m
|
151
|
+
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js [22m[32m279.00 B[39m
|
152
|
+
[32mESM[39m [1mdist/react-core/index.js.map [22m[32m33.90 KB[39m
|
153
|
+
[32mESM[39m [1mdist/react-core/testing.js.map [22m[32m1.82 KB[39m
|
154
|
+
[32mESM[39m [1mdist/react-core/chunk-7DYMJ74I.js.map [22m[32m533.00 B[39m
|
155
|
+
[32mESM[39m ⚡️ Build success in 33ms
|
151
156
|
[32mESM[39m [1mdist/expo/index.js [22m[32m4.68 KB[39m
|
152
157
|
[32mESM[39m [1mdist/expo/testing.js [22m[32m112.00 B[39m
|
153
158
|
[32mESM[39m [1mdist/expo/crypto.js [22m[32m153.00 B[39m
|
154
159
|
[32mESM[39m [1mdist/expo/index.js.map [22m[32m10.23 KB[39m
|
155
160
|
[32mESM[39m [1mdist/expo/testing.js.map [22m[32m168.00 B[39m
|
156
161
|
[32mESM[39m [1mdist/expo/crypto.js.map [22m[32m189.00 B[39m
|
157
|
-
[32mESM[39m ⚡️ Build success in
|
158
|
-
[32mESM[39m [1mdist/
|
159
|
-
[32mESM[39m [1mdist/
|
160
|
-
[32mESM[39m ⚡️ Build success in
|
161
|
-
[32mESM[39m [1mdist/react-native-core/index.js [22m[32m18.03 KB[39m
|
162
|
-
[32mESM[39m [1mdist/react-native-core/testing.js [22m[32m119.00 B[39m
|
163
|
-
[32mESM[39m [1mdist/react-native-core/crypto.js [22m[32m2.10 KB[39m
|
164
|
-
[32mESM[39m [1mdist/react-native-core/index.js.map [22m[32m36.85 KB[39m
|
165
|
-
[32mESM[39m [1mdist/react-native-core/testing.js.map [22m[32m175.00 B[39m
|
166
|
-
[32mESM[39m [1mdist/react-native-core/crypto.js.map [22m[32m4.25 KB[39m
|
167
|
-
[32mESM[39m ⚡️ Build success in 31ms
|
162
|
+
[32mESM[39m ⚡️ Build success in 38ms
|
163
|
+
[32mESM[39m [1mdist/prosemirror/index.js [22m[32m77.76 KB[39m
|
164
|
+
[32mESM[39m [1mdist/prosemirror/index.js.map [22m[32m307.20 KB[39m
|
165
|
+
[32mESM[39m ⚡️ Build success in 46ms
|
168
166
|
[32mESM[39m [1mdist/react/index.js [22m[32m24.76 KB[39m
|
169
167
|
[32mESM[39m [1mdist/react/testing.js [22m[32m122.00 B[39m
|
170
168
|
[32mESM[39m [1mdist/react/testing.js.map [22m[32m165.00 B[39m
|
171
169
|
[32mESM[39m [1mdist/react/index.js.map [22m[32m53.56 KB[39m
|
172
|
-
[32mESM[39m ⚡️ Build success in
|
173
|
-
[32mESM[39m [1mdist/
|
174
|
-
[32mESM[39m [1mdist/
|
175
|
-
[32mESM[39m
|
170
|
+
[32mESM[39m ⚡️ Build success in 45ms
|
171
|
+
[32mESM[39m [1mdist/react-native-core/index.js [22m[32m18.03 KB[39m
|
172
|
+
[32mESM[39m [1mdist/react-native-core/crypto.js [22m[32m2.10 KB[39m
|
173
|
+
[32mESM[39m [1mdist/react-native-core/testing.js [22m[32m119.00 B[39m
|
174
|
+
[32mESM[39m [1mdist/react-native-core/index.js.map [22m[32m36.85 KB[39m
|
175
|
+
[32mESM[39m [1mdist/react-native-core/crypto.js.map [22m[32m4.25 KB[39m
|
176
|
+
[32mESM[39m [1mdist/react-native-core/testing.js.map [22m[32m175.00 B[39m
|
177
|
+
[32mESM[39m ⚡️ Build success in 45ms
|
176
178
|
[32mESM[39m [1mdist/inspector/index.js [22m[32m69.71 KB[39m
|
177
179
|
[32mESM[39m [1mdist/inspector/index.js.map [22m[32m121.38 KB[39m
|
178
|
-
[32mESM[39m ⚡️ Build success in
|
179
|
-
[32mESM[39m [1mdist/testing.js [22m[32m7.17 KB[39m
|
180
|
+
[32mESM[39m ⚡️ Build success in 64ms
|
180
181
|
[32mESM[39m [1mdist/index.js [22m[32m26.13 KB[39m
|
182
|
+
[32mESM[39m [1mdist/testing.js [22m[32m7.17 KB[39m
|
181
183
|
[32mESM[39m [1mdist/chunk-GRN6OAUX.js [22m[32m174.37 KB[39m
|
182
184
|
[32mESM[39m [1mdist/testing.js.map [22m[32m14.10 KB[39m
|
183
185
|
[32mESM[39m [1mdist/index.js.map [22m[32m52.92 KB[39m
|
184
186
|
[32mESM[39m [1mdist/chunk-GRN6OAUX.js.map [22m[32m415.70 KB[39m
|
185
|
-
[32mESM[39m ⚡️ Build success in
|
187
|
+
[32mESM[39m ⚡️ Build success in 77ms
|
186
188
|
[32mESM[39m [1mdist/inspector/register-custom-element.js [22m[32m218.00 B[39m
|
187
189
|
[32mESM[39m [1mdist/inspector/register-custom-element.js.map [22m[32m314.00 B[39m
|
188
190
|
[32mESM[39m [1mdist/inspector/custom-element-G6SPZEBR.js [22m[32m1.54 MB[39m
|
189
191
|
[32mESM[39m [1mdist/inspector/custom-element-G6SPZEBR.js.map [22m[32m2.36 MB[39m
|
190
|
-
[32mESM[39m ⚡️ Build success in
|
192
|
+
[32mESM[39m ⚡️ Build success in 110ms
|
191
193
|
|
192
|
-
> jazz-tools@0.18.
|
194
|
+
> jazz-tools@0.18.15 types /home/runner/_work/jazz/jazz/packages/jazz-tools
|
193
195
|
> tsc --outDir dist
|
194
196
|
|
195
197
|
|
196
|
-
> jazz-tools@0.18.
|
198
|
+
> jazz-tools@0.18.15 build:svelte /home/runner/_work/jazz/jazz/packages/jazz-tools
|
197
199
|
> rm -rf dist/svelte && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json
|
198
200
|
|
199
201
|
src/svelte -> dist/svelte
|
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# jazz-tools
|
2
2
|
|
3
|
+
## 0.18.15
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- a584ab3: Add WasmCrypto support for Cloudflare Workers and edge runtimes by importing `jazz-tools/load-edge-wasm`.
|
8
|
+
|
9
|
+
- Enable WasmCrypto functionality by initializing the WebAssembly environment with the import: `import "jazz-tools/load-edge-wasm"` in edge runtimes.
|
10
|
+
- Guarantee compatibility across Cloudflare Workers and other edge runtime environments.
|
11
|
+
|
12
|
+
- Updated dependencies [a584ab3]
|
13
|
+
- cojson@0.18.15
|
14
|
+
- cojson-storage-indexeddb@0.18.15
|
15
|
+
- cojson-transport-ws@0.18.15
|
16
|
+
|
3
17
|
## 0.18.14
|
4
18
|
|
5
19
|
### Patch Changes
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"edge-wasm.d.ts","sourceRoot":"","sources":["../../src/worker/edge-wasm.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"sources":["../../src/worker/edge-wasm.ts"],"sourcesContent":["// InitWasm allow to load the wasm code in edge runtimes (ex. cloudflare worker and vercel edge functions)\nimport { init as InitWasm } from \"cojson/crypto/WasmCrypto/edge\";\nimport { WasmCrypto } from \"cojson/crypto/WasmCrypto\";\n\nWasmCrypto.setInit(InitWasm);\n"],"mappings":";AACA,SAAS,QAAQ,gBAAgB;AACjC,SAAS,kBAAkB;AAE3B,WAAW,QAAQ,QAAQ;","names":[]}
|
package/package.json
CHANGED
@@ -163,11 +163,16 @@
|
|
163
163
|
"@jazz-tools/source": "./src/better-auth/auth/server.ts",
|
164
164
|
"types": "./dist/better-auth/auth/server.d.ts",
|
165
165
|
"default": "./dist/better-auth/auth/server.js"
|
166
|
+
},
|
167
|
+
"./load-edge-wasm": {
|
168
|
+
"@jazz-tools/source": "./src/worker/edge-wasm.ts",
|
169
|
+
"types": "./dist/worker/edge-wasm.d.ts",
|
170
|
+
"default": "./dist/worker/edge-wasm.js"
|
166
171
|
}
|
167
172
|
},
|
168
173
|
"type": "module",
|
169
174
|
"license": "MIT",
|
170
|
-
"version": "0.18.
|
175
|
+
"version": "0.18.15",
|
171
176
|
"dependencies": {
|
172
177
|
"@manuscripts/prosemirror-recreate-steps": "^0.1.4",
|
173
178
|
"@scure/base": "1.2.1",
|
@@ -184,9 +189,9 @@
|
|
184
189
|
"prosemirror-transform": "^1.9.0",
|
185
190
|
"use-sync-external-store": "^1.5.0",
|
186
191
|
"zod": "3.25.76",
|
187
|
-
"cojson": "0.18.
|
188
|
-
"cojson-storage-indexeddb": "0.18.
|
189
|
-
"cojson-transport-ws": "0.18.
|
192
|
+
"cojson": "0.18.15",
|
193
|
+
"cojson-storage-indexeddb": "0.18.15",
|
194
|
+
"cojson-transport-ws": "0.18.15"
|
190
195
|
},
|
191
196
|
"devDependencies": {
|
192
197
|
"@scure/bip39": "^1.3.0",
|