Commit graph

53 commits

Author SHA1 Message Date
Alex Good
748dc954be
Remove async automerge-wasm wrapper
By moving to wasm-bindgens `bundler` target rather than using the `web`
target we remove the need for an async initialization step on the
automerge-wasm package. This means that the automerge-js package can now
depend directly on automerge-wasm and perform initialization itself,
thus making automerge-js a drop in replacement for the `automerge` JS
package (hopefully).

We bump the versions of automerge-wasm and automerge-types.
2022-09-26 17:40:22 -05:00
Orion Henry
6d05cbd9e3 fix indexOf 2022-08-23 12:13:32 -05:00
Orion Henry
44b6709a60 add getBackend to automerge-js 2022-06-16 17:49:32 -04:00
Orion Henry
210c6d2045 move types to their own package 2022-05-27 10:23:51 -07:00
Orion Henry
3a44ccd52d clean up lint, simplify package, hand write an index.d.ts 2022-05-23 19:04:31 +02:00
Orion Henry
515a2eb94b removing some ts errors 2022-05-22 13:53:11 -04:00
Orion Henry
1cf8f80ba4 pull wasm out of deps 2022-05-22 13:53:11 -04:00
Orion Henry
551f6e1343 convert automerge-js to typescript 2022-05-22 13:53:11 -04:00
Orion Henry
cfa1067c19 rework wasm function to use js types more directly 2022-01-28 17:07:59 -05:00
Orion Henry
54fec3e438 lamport compare was backward on actorids and so was value resolution 2022-01-20 14:17:11 -08:00
Orion Henry
d50062b769 move values into the counter type - remove need for vis_window 2022-01-14 06:27:42 -08:00
Orion Henry
d2a7cc5f75 get sync tests working 2022-01-09 08:05:00 -08:00
Orion Henry
9d0caab6b6 import the uuid tests 2021-12-22 15:36:57 -05:00
Orion Henry
4c90b5f822 get js text tests working 2021-12-22 15:08:31 -05:00
Orion Henry
fc89a26302 first pass for sync in js/wasm 2021-12-18 00:22:20 -05:00
Orion Henry
1739a7e7b1 encode/decode sync in wasm 2021-12-17 21:14:16 -05:00
Orion Henry
9c237c7f00 remove expanded_op and internal_op_type 2021-12-17 12:39:26 -05:00
Orion Henry
89a2e4a0fa remove old seq_scan code 2021-12-13 07:45:38 -05:00
Orion Henry
670de06bdf rework op_set query system 2021-12-10 15:35:51 -05:00
Orion Henry
70b482b827 go faster 2021-12-03 21:56:59 -08:00
Orion Henry
4fe61e42d4 splice 2021-11-30 11:29:51 -08:00
Orion Henry
a87fc3c1d3 profiling and seq_tree 2021-11-29 17:27:47 -07:00
Orion Henry
73991a9469 text first pass 2021-11-28 08:04:30 -07:00
Orion Henry
e76a3e4ae9 fix tx actorid bug 2021-11-27 18:45:32 -07:00
Orion Henry
c3328997a6 inc() 2021-11-26 21:26:35 -05:00
Orion Henry
288f214964 start on encode/decode 2021-11-19 14:44:20 -05:00
Orion Henry
c1d33386bf out of order changes handled 2021-11-19 11:43:37 -05:00
Orion Henry
c7f43aff82 numeric indexes 2021-11-19 11:15:22 -05:00
Orion Henry
a0b8a6cfe3 load() 2021-11-17 15:59:23 -05:00
Orion Henry
efce75558e rework the api to be set(), insert(), inc(), del() 2021-11-17 13:27:52 -05:00
Orion Henry
e4bffe9ddc 108/123 tests passing 2021-11-16 18:35:21 -05:00
Orion Henry
8f3ac5a626 fix merge bug 2021-11-16 18:09:49 -05:00
Orion Henry
8a980d5340 list tests passing 2021-11-16 16:12:50 -05:00
Orion Henry
5f6524d216 conflicted obj/list 2021-11-13 08:46:09 -05:00
Orion Henry
d396cd17eb more tests passing 2021-11-13 00:04:43 -05:00
Orion Henry
94f6855390 make in lists 2021-11-12 23:48:31 -05:00
Orion Henry
b2f7fc9f93 ignore updates / w conflicts 2021-11-12 17:39:05 -05:00
Orion Henry
112a5bc8f1 getConflicts, getHistory 2021-11-12 16:03:57 -05:00
Orion Henry
cde3ac95f1 more tests 2021-11-12 12:39:18 -05:00
Orion Henry
ab5565481e applyChanges 2021-11-11 18:40:19 -05:00
Orion Henry
8fe90456cb list update working 2021-10-29 18:40:12 -04:00
Orion Henry
fb593a974e lists part1 2021-10-18 20:53:08 -04:00
Orion Henry
4ac25ee700 more tests 2021-10-15 10:01:11 -04:00
Orion Henry
a0693ffac2 more legacy tests 2021-10-14 10:59:51 -04:00
Orion Henry
15209cedf9 first two legacy tests passing 2021-10-12 08:16:37 -04:00
Orion Henry
6c6c5293f9 bugfix - naked float 2021-10-11 12:37:01 -04:00
Orion Henry
fdf389974c all types (except cursors) working 2021-10-11 12:34:12 -04:00
Orion Henry
8fe614f0a0 bytes 2021-09-30 12:30:34 -04:00
Orion Henry
c25aae32e4 null counter timestamp 2021-09-30 12:13:08 -04:00
Orion Henry
3ad95dce23 map pred/succ works 2021-09-30 12:04:16 -04:00