jazz-run 0.7.0-alpha.42 → 0.7.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.
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +180 -104
- package/LICENSE.txt +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +6 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> jazz-run@0.7.
|
|
2
|
+
> jazz-run@0.7.1 build /Users/anselm/jazz/jazz/packages/jazz-run
|
|
3
3
|
> npm run lint && rm -rf ./dist && tsc --sourceMap --outDir dist
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> jazz-run@0.7.
|
|
6
|
+
> jazz-run@0.7.1 lint
|
|
7
7
|
> eslint . --ext ts,tsx
|
|
8
8
|
|
package/.turbo/turbo-lint.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,329 +1,405 @@
|
|
|
1
1
|
# jazz-autosub
|
|
2
2
|
|
|
3
|
+
## 0.7.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- jazz-tools@0.7.3
|
|
9
|
+
|
|
10
|
+
## 0.7.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- jazz-tools@0.7.1
|
|
16
|
+
|
|
17
|
+
## 0.7.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- 5b188ec: Ensure accounts are synced after creation
|
|
22
|
+
- fd86c11: Extract jazz cli into jazz-run package
|
|
23
|
+
- Updated dependencies [8636319]
|
|
24
|
+
- Updated dependencies [1a35307]
|
|
25
|
+
- Updated dependencies [8636319]
|
|
26
|
+
- Updated dependencies [1a35307]
|
|
27
|
+
- Updated dependencies [96c494f]
|
|
28
|
+
- Updated dependencies [59c18c3]
|
|
29
|
+
- Updated dependencies [19f52b7]
|
|
30
|
+
- Updated dependencies [8636319]
|
|
31
|
+
- Updated dependencies [d8fe2b1]
|
|
32
|
+
- Updated dependencies [19004b4]
|
|
33
|
+
- Updated dependencies [a78f168]
|
|
34
|
+
- Updated dependencies [1200aae]
|
|
35
|
+
- Updated dependencies [52675c9]
|
|
36
|
+
- Updated dependencies [129e2c1]
|
|
37
|
+
- Updated dependencies [1cfa279]
|
|
38
|
+
- Updated dependencies [704af7d]
|
|
39
|
+
- Updated dependencies [1a35307]
|
|
40
|
+
- Updated dependencies [460478f]
|
|
41
|
+
- Updated dependencies [6b0418f]
|
|
42
|
+
- Updated dependencies [e299c3e]
|
|
43
|
+
- Updated dependencies [ed5643a]
|
|
44
|
+
- Updated dependencies [bde684f]
|
|
45
|
+
- Updated dependencies [bf0f8ec]
|
|
46
|
+
- Updated dependencies [c4151fc]
|
|
47
|
+
- Updated dependencies [63374cc]
|
|
48
|
+
- Updated dependencies [8636319]
|
|
49
|
+
- Updated dependencies [01ac646]
|
|
50
|
+
- Updated dependencies [a5e68a4]
|
|
51
|
+
- Updated dependencies [952982e]
|
|
52
|
+
- Updated dependencies [1a35307]
|
|
53
|
+
- Updated dependencies [5fa277c]
|
|
54
|
+
- Updated dependencies [60d5ca2]
|
|
55
|
+
- Updated dependencies [21771c4]
|
|
56
|
+
- Updated dependencies [77c2b56]
|
|
57
|
+
- Updated dependencies [63374cc]
|
|
58
|
+
- Updated dependencies [d2e03ff]
|
|
59
|
+
- Updated dependencies [354bdcd]
|
|
60
|
+
- Updated dependencies [60d5ca2]
|
|
61
|
+
- Updated dependencies [69ac514]
|
|
62
|
+
- Updated dependencies [f8a5c46]
|
|
63
|
+
- Updated dependencies [f0f6f1b]
|
|
64
|
+
- Updated dependencies [e5eed5b]
|
|
65
|
+
- Updated dependencies [1a44f87]
|
|
66
|
+
- Updated dependencies [627d895]
|
|
67
|
+
- Updated dependencies [1200aae]
|
|
68
|
+
- Updated dependencies [63374cc]
|
|
69
|
+
- Updated dependencies [ece35b3]
|
|
70
|
+
- Updated dependencies [38d4410]
|
|
71
|
+
- Updated dependencies [85d2b62]
|
|
72
|
+
- Updated dependencies [fd86c11]
|
|
73
|
+
- Updated dependencies [52675c9]
|
|
74
|
+
- Updated dependencies [a423eee]
|
|
75
|
+
- jazz-tools@0.7.0
|
|
76
|
+
- cojson@0.7.0
|
|
77
|
+
- cojson-transport-nodejs-ws@0.7.0
|
|
78
|
+
|
|
3
79
|
## 0.7.0-alpha.42
|
|
4
80
|
|
|
5
81
|
### Patch Changes
|
|
6
82
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
83
|
+
- Updated dependencies
|
|
84
|
+
- jazz-tools@0.7.0-alpha.42
|
|
85
|
+
- cojson@0.7.0-alpha.42
|
|
86
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.42
|
|
11
87
|
|
|
12
88
|
## 0.7.0-alpha.41
|
|
13
89
|
|
|
14
90
|
### Patch Changes
|
|
15
91
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
92
|
+
- Updated dependencies
|
|
93
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.41
|
|
94
|
+
- jazz-tools@0.7.0-alpha.41
|
|
19
95
|
|
|
20
96
|
## 0.7.0-alpha.39
|
|
21
97
|
|
|
22
98
|
### Patch Changes
|
|
23
99
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
100
|
+
- Updated dependencies
|
|
101
|
+
- cojson@0.7.0-alpha.39
|
|
102
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.39
|
|
103
|
+
- jazz-tools@0.7.0-alpha.39
|
|
28
104
|
|
|
29
105
|
## 0.7.0-alpha.38
|
|
30
106
|
|
|
31
107
|
### Patch Changes
|
|
32
108
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
109
|
+
- Updated dependencies
|
|
110
|
+
- Updated dependencies
|
|
111
|
+
- Updated dependencies
|
|
112
|
+
- Updated dependencies
|
|
113
|
+
- jazz-tools@0.7.0-alpha.38
|
|
114
|
+
- cojson@0.7.0-alpha.38
|
|
115
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.38
|
|
40
116
|
|
|
41
117
|
## 0.7.0-alpha.37
|
|
42
118
|
|
|
43
119
|
### Patch Changes
|
|
44
120
|
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
121
|
+
- Updated dependencies
|
|
122
|
+
- cojson@0.7.0-alpha.37
|
|
123
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.37
|
|
124
|
+
- jazz-tools@0.7.0-alpha.37
|
|
49
125
|
|
|
50
126
|
## 0.7.0-alpha.36
|
|
51
127
|
|
|
52
128
|
### Patch Changes
|
|
53
129
|
|
|
54
|
-
-
|
|
55
|
-
-
|
|
56
|
-
-
|
|
57
|
-
-
|
|
58
|
-
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
130
|
+
- Ensure accounts are synced after creation
|
|
131
|
+
- Updated dependencies [1a35307]
|
|
132
|
+
- Updated dependencies [1a35307]
|
|
133
|
+
- Updated dependencies [1a35307]
|
|
134
|
+
- Updated dependencies [6b0418f]
|
|
135
|
+
- Updated dependencies [1a35307]
|
|
136
|
+
- cojson@0.7.0-alpha.36
|
|
137
|
+
- jazz-tools@0.7.0-alpha.36
|
|
138
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.36
|
|
63
139
|
|
|
64
140
|
## 0.7.0-alpha.35
|
|
65
141
|
|
|
66
142
|
### Patch Changes
|
|
67
143
|
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
144
|
+
- Updated dependencies
|
|
145
|
+
- Updated dependencies
|
|
146
|
+
- cojson@0.7.0-alpha.35
|
|
147
|
+
- jazz-tools@0.7.0-alpha.35
|
|
148
|
+
- cojson-transport-nodejs-ws@0.7.0-alpha.35
|
|
73
149
|
|
|
74
150
|
## 0.7.0-alpha.34
|
|
75
151
|
|
|
76
152
|
### Patch Changes
|
|
77
153
|
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
|
|
154
|
+
- Extract jazz cli into jazz-run package
|
|
155
|
+
- Updated dependencies
|
|
156
|
+
- jazz-tools@0.7.0-alpha.34
|
|
81
157
|
|
|
82
158
|
## 0.7.0-alpha.32
|
|
83
159
|
|
|
84
160
|
### Patch Changes
|
|
85
161
|
|
|
86
|
-
-
|
|
87
|
-
-
|
|
162
|
+
- Introduce jazz-tools CLI
|
|
163
|
+
- Clean up exports
|
|
88
164
|
|
|
89
165
|
## 0.7.0-alpha.31
|
|
90
166
|
|
|
91
167
|
### Patch Changes
|
|
92
168
|
|
|
93
|
-
-
|
|
169
|
+
- Get rid of self generics, new create syntax
|
|
94
170
|
|
|
95
171
|
## 0.7.0-alpha.30
|
|
96
172
|
|
|
97
173
|
### Patch Changes
|
|
98
174
|
|
|
99
|
-
-
|
|
175
|
+
- CoValue casting & auto-subbing \_owner
|
|
100
176
|
|
|
101
177
|
## 0.7.0-alpha.29
|
|
102
178
|
|
|
103
179
|
### Patch Changes
|
|
104
180
|
|
|
105
|
-
-
|
|
106
|
-
-
|
|
107
|
-
|
|
181
|
+
- Reintroduce changes from main
|
|
182
|
+
- Updated dependencies
|
|
183
|
+
- cojson@0.7.0-alpha.29
|
|
108
184
|
|
|
109
185
|
## 0.7.0-alpha.28
|
|
110
186
|
|
|
111
187
|
### Patch Changes
|
|
112
188
|
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
|
|
189
|
+
- Implement profile visibility based on groups & new migration signature
|
|
190
|
+
- Updated dependencies
|
|
191
|
+
- cojson@0.7.0-alpha.28
|
|
116
192
|
|
|
117
193
|
## 0.7.0-alpha.27
|
|
118
194
|
|
|
119
195
|
### Patch Changes
|
|
120
196
|
|
|
121
|
-
-
|
|
122
|
-
-
|
|
123
|
-
-
|
|
124
|
-
|
|
197
|
+
- Fix CoList.splice / RawCoList.append
|
|
198
|
+
- Fix Costream[...].all
|
|
199
|
+
- Updated dependencies
|
|
200
|
+
- cojson@0.7.0-alpha.27
|
|
125
201
|
|
|
126
202
|
## 0.7.0-alpha.26
|
|
127
203
|
|
|
128
204
|
### Patch Changes
|
|
129
205
|
|
|
130
|
-
-
|
|
206
|
+
- Fix CoMap.Record.toJSON()
|
|
131
207
|
|
|
132
208
|
## 0.7.0-alpha.25
|
|
133
209
|
|
|
134
210
|
### Patch Changes
|
|
135
211
|
|
|
136
|
-
-
|
|
212
|
+
- Make Account -> Profile a lazy ref schema
|
|
137
213
|
|
|
138
214
|
## 0.7.0-alpha.24
|
|
139
215
|
|
|
140
216
|
### Patch Changes
|
|
141
217
|
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
|
|
218
|
+
- Relax types of CoMap.\_schema
|
|
219
|
+
- Fix schema of Account & Group
|
|
220
|
+
- Make sure delete on CoMaps deletes keys
|
|
221
|
+
- Updated dependencies
|
|
222
|
+
- cojson@0.7.0-alpha.24
|
|
147
223
|
|
|
148
224
|
## 0.7.0-alpha.23
|
|
149
225
|
|
|
150
226
|
### Patch Changes
|
|
151
227
|
|
|
152
|
-
-
|
|
228
|
+
- CoMap fixes and improvements
|
|
153
229
|
|
|
154
230
|
## 0.7.0-alpha.22
|
|
155
231
|
|
|
156
232
|
### Patch Changes
|
|
157
233
|
|
|
158
|
-
-
|
|
234
|
+
- Fix CoMap \_refs for co.items
|
|
159
235
|
|
|
160
236
|
## 0.7.0-alpha.21
|
|
161
237
|
|
|
162
238
|
### Patch Changes
|
|
163
239
|
|
|
164
|
-
-
|
|
240
|
+
- Add maxWidth option for loading images
|
|
165
241
|
|
|
166
242
|
## 0.7.0-alpha.20
|
|
167
243
|
|
|
168
244
|
### Patch Changes
|
|
169
245
|
|
|
170
|
-
-
|
|
246
|
+
- Make fast-check a direct dependency to help dev time resolution
|
|
171
247
|
|
|
172
248
|
## 0.7.0-alpha.19
|
|
173
249
|
|
|
174
250
|
### Patch Changes
|
|
175
251
|
|
|
176
|
-
-
|
|
252
|
+
- More precise imports from @effect/schema
|
|
177
253
|
|
|
178
254
|
## 0.7.0-alpha.17
|
|
179
255
|
|
|
180
256
|
### Patch Changes
|
|
181
257
|
|
|
182
|
-
-
|
|
258
|
+
- Use effect 3.0
|
|
183
259
|
|
|
184
260
|
## 0.7.0-alpha.16
|
|
185
261
|
|
|
186
262
|
### Patch Changes
|
|
187
263
|
|
|
188
|
-
-
|
|
264
|
+
- Make CoMaps even more subclassable
|
|
189
265
|
|
|
190
266
|
## 0.7.0-alpha.15
|
|
191
267
|
|
|
192
268
|
### Patch Changes
|
|
193
269
|
|
|
194
|
-
-
|
|
270
|
+
- More superclass-compatible CoMaps
|
|
195
271
|
|
|
196
272
|
## 0.7.0-alpha.14
|
|
197
273
|
|
|
198
274
|
### Patch Changes
|
|
199
275
|
|
|
200
|
-
-
|
|
276
|
+
- Fix CoStream types
|
|
201
277
|
|
|
202
278
|
## 0.7.0-alpha.13
|
|
203
279
|
|
|
204
280
|
### Patch Changes
|
|
205
281
|
|
|
206
|
-
-
|
|
282
|
+
- Add .all to CoStreamEntry
|
|
207
283
|
|
|
208
284
|
## 0.7.0-alpha.12
|
|
209
285
|
|
|
210
286
|
### Patch Changes
|
|
211
287
|
|
|
212
|
-
-
|
|
288
|
+
- Fix variance of ID.\_\_type
|
|
213
289
|
|
|
214
290
|
## 0.7.0-alpha.11
|
|
215
291
|
|
|
216
292
|
### Patch Changes
|
|
217
293
|
|
|
218
|
-
-
|
|
219
|
-
-
|
|
220
|
-
|
|
294
|
+
- Support stricter TS lint rules
|
|
295
|
+
- Updated dependencies
|
|
296
|
+
- cojson@0.7.0-alpha.11
|
|
221
297
|
|
|
222
298
|
## 0.7.0-alpha.10
|
|
223
299
|
|
|
224
300
|
### Patch Changes
|
|
225
301
|
|
|
226
|
-
-
|
|
227
|
-
-
|
|
228
|
-
|
|
302
|
+
- Clean up API more & re-add jazz-nodejs
|
|
303
|
+
- Updated dependencies
|
|
304
|
+
- cojson@0.7.0-alpha.10
|
|
229
305
|
|
|
230
306
|
## 0.7.0-alpha.9
|
|
231
307
|
|
|
232
308
|
### Patch Changes
|
|
233
309
|
|
|
234
|
-
-
|
|
310
|
+
- Even friendlier for subclassing CoMap
|
|
235
311
|
|
|
236
312
|
## 0.7.0-alpha.8
|
|
237
313
|
|
|
238
314
|
### Patch Changes
|
|
239
315
|
|
|
240
|
-
-
|
|
316
|
+
- More subclass-friendly types in CoMap
|
|
241
317
|
|
|
242
318
|
## 0.7.0-alpha.7
|
|
243
319
|
|
|
244
320
|
### Patch Changes
|
|
245
321
|
|
|
246
|
-
-
|
|
247
|
-
-
|
|
248
|
-
|
|
322
|
+
- Consistent proxy based API
|
|
323
|
+
- Updated dependencies
|
|
324
|
+
- cojson@0.7.0-alpha.7
|
|
249
325
|
|
|
250
326
|
## 0.7.0-alpha.6
|
|
251
327
|
|
|
252
328
|
### Patch Changes
|
|
253
329
|
|
|
254
|
-
-
|
|
330
|
+
- CoMap fix
|
|
255
331
|
|
|
256
332
|
## 0.7.0-alpha.5
|
|
257
333
|
|
|
258
334
|
### Patch Changes
|
|
259
335
|
|
|
260
|
-
-
|
|
261
|
-
-
|
|
262
|
-
|
|
336
|
+
- Refactoring
|
|
337
|
+
- Updated dependencies
|
|
338
|
+
- cojson@0.7.0-alpha.5
|
|
263
339
|
|
|
264
340
|
## 0.7.0-alpha.4
|
|
265
341
|
|
|
266
342
|
### Patch Changes
|
|
267
343
|
|
|
268
|
-
-
|
|
344
|
+
- Make refs on list more precise
|
|
269
345
|
|
|
270
346
|
## 0.7.0-alpha.3
|
|
271
347
|
|
|
272
348
|
### Patch Changes
|
|
273
349
|
|
|
274
|
-
-
|
|
350
|
+
- Make refs type more precise
|
|
275
351
|
|
|
276
352
|
## 0.7.0-alpha.2
|
|
277
353
|
|
|
278
354
|
### Patch Changes
|
|
279
355
|
|
|
280
|
-
-
|
|
356
|
+
- Get rid of Co namespace
|
|
281
357
|
|
|
282
358
|
## 0.7.0-alpha.1
|
|
283
359
|
|
|
284
360
|
### Patch Changes
|
|
285
361
|
|
|
286
|
-
-
|
|
287
|
-
-
|
|
288
|
-
|
|
362
|
+
- Use effect schema much less
|
|
363
|
+
- Updated dependencies
|
|
364
|
+
- cojson@0.7.0-alpha.1
|
|
289
365
|
|
|
290
366
|
## 0.7.0-alpha.0
|
|
291
367
|
|
|
292
368
|
### Minor Changes
|
|
293
369
|
|
|
294
|
-
-
|
|
370
|
+
- New simplified API
|
|
295
371
|
|
|
296
372
|
### Patch Changes
|
|
297
373
|
|
|
298
|
-
-
|
|
299
|
-
|
|
374
|
+
- Updated dependencies
|
|
375
|
+
- cojson@0.7.0-alpha.0
|
|
300
376
|
|
|
301
377
|
## 0.6.1
|
|
302
378
|
|
|
303
379
|
### Patch Changes
|
|
304
380
|
|
|
305
|
-
-
|
|
306
|
-
-
|
|
307
|
-
|
|
381
|
+
- Fix loading of accounts
|
|
382
|
+
- Updated dependencies
|
|
383
|
+
- cojson@0.6.5
|
|
308
384
|
|
|
309
385
|
## 0.6.0
|
|
310
386
|
|
|
311
387
|
### Minor Changes
|
|
312
388
|
|
|
313
|
-
-
|
|
389
|
+
- Make addMember and removeMember take loaded Accounts instead of just IDs
|
|
314
390
|
|
|
315
391
|
### Patch Changes
|
|
316
392
|
|
|
317
|
-
-
|
|
318
|
-
|
|
393
|
+
- Updated dependencies
|
|
394
|
+
- cojson@0.6.0
|
|
319
395
|
|
|
320
396
|
## 0.5.0
|
|
321
397
|
|
|
322
398
|
### Minor Changes
|
|
323
399
|
|
|
324
|
-
-
|
|
400
|
+
- Adding a lot of performance improvements to cojson, add a stresstest for the twit example and make that run smoother in a lot of ways.
|
|
325
401
|
|
|
326
402
|
### Patch Changes
|
|
327
403
|
|
|
328
|
-
-
|
|
329
|
-
|
|
404
|
+
- Updated dependencies
|
|
405
|
+
- cojson@0.5.0
|
package/LICENSE.txt
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { NodeContext, NodeRuntime } from "@effect/platform-node";
|
|
|
4
4
|
import { Console, Effect } from "effect";
|
|
5
5
|
import { websocketReadableStream, websocketWritableStream, } from "cojson-transport-nodejs-ws";
|
|
6
6
|
import { WebSocket } from "ws";
|
|
7
|
-
import { Account, WasmCrypto, cojsonInternals, isControlledAccount } from "jazz-tools";
|
|
7
|
+
import { Account, WasmCrypto, cojsonInternals, isControlledAccount, } from "jazz-tools";
|
|
8
8
|
const jazzTools = Command.make("jazz-tools");
|
|
9
9
|
const name = Options.text("name").pipe(Options.withAlias("n"));
|
|
10
10
|
const peer = Options.text("peer")
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EACH,uBAAuB,EACvB,uBAAuB,GAC1B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,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OAAO,CAAC,IAAI,CAAC,WAAW;CAC5C,CAAC,CAAC;IACK,CAAC,CAAC,CAAC;AACP,CAAC,CACJ,CAAC;AAEF,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAE5C,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;AAE3E,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAEnE,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,QAAQ;CACpB,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CACxC,MAAM,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,EACjC,WAAW,CAAC,OAAO,CACtB,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"bin": "./dist/index.js",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "0.7.
|
|
6
|
+
"version": "0.7.3",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@effect/cli": "^0.36.21",
|
|
9
9
|
"@effect/platform-node": "^0.49.2",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"effect": "^3.1.5",
|
|
12
12
|
"fast-check": "^3.17.2",
|
|
13
13
|
"ws": "^8.14.2",
|
|
14
|
-
"cojson": "0.7.0
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
"cojson": "0.7.0",
|
|
15
|
+
"cojson-transport-nodejs-ws": "0.7.0",
|
|
16
|
+
"jazz-tools": "0.7.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/ws": "^8.5.5",
|
package/src/index.ts
CHANGED
|
@@ -7,7 +7,12 @@ import {
|
|
|
7
7
|
websocketWritableStream,
|
|
8
8
|
} from "cojson-transport-nodejs-ws";
|
|
9
9
|
import { WebSocket } from "ws";
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
Account,
|
|
12
|
+
WasmCrypto,
|
|
13
|
+
cojsonInternals,
|
|
14
|
+
isControlledAccount,
|
|
15
|
+
} from "jazz-tools";
|
|
11
16
|
import type { AccountID } from "cojson";
|
|
12
17
|
|
|
13
18
|
const jazzTools = Command.make("jazz-tools");
|