Orion Henry
68ed77a5c6
merge OpObserver into AutoCommit
2022-06-07 14:46:19 +02:00
Orion Henry
df8cae8a2b
README
2022-05-23 19:25:23 +02: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
bd35361354
fixed typescript errors, pull wasm dep (mostly) out
2022-05-22 13:53:11 -04:00
Scott Trinh
d2fba6bf04
Use an UnknownObject
type alias
2022-05-22 13:53:11 -04:00
Orion Henry
fd02585d2a
removed a bunch of lint errors
2022-05-22 13:53:11 -04:00
Orion Henry
515a2eb94b
removing some ts errors
2022-05-22 13:53:11 -04:00
Orion Henry
5e1bdb79ed
eslint --fix
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
226bbeb023
tslint to eslint
2022-05-22 13:53:11 -04:00
Orion Henry
1eec70f116
example webpack for js
2022-05-22 13:53:11 -04:00
Orion Henry
4f898b67b3
able to build npm package
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
965240d8f6
Merge remote-tracking branch 'origin/experiment' into wasm_readme
2022-04-08 18:07:44 -04:00
Andrew Jeffery
07553195fa
Update wasm and js with new names
2022-04-08 18:23:56 +01:00
Orion Henry
9f3ae61b91
use doc.text() in js toString()
2022-04-07 14:24:12 -04:00
Orion Henry
9fe8447d21
loadDoc -> load() and forkAt()
2022-04-07 01:19:27 -04:00
Orion Henry
4edb034a64
adding readme tests
2022-04-04 12:50:08 -04:00
Andrew Jeffery
d331ceb6d4
Rename set to put and set_object to put_object
2022-04-01 13:40:58 +01:00
Andrew Jeffery
632857a4e6
Rename del and inc in wasm and js
2022-04-01 13:36:26 +01:00
Andrew Jeffery
3631ddfd55
Fix js side
2022-04-01 11:48:04 +01:00
Andrew Jeffery
535d2eb92f
Fix js proxy api
2022-03-04 11:46:03 +00:00
Orion Henry
2fc0705907
change MAP,LIST,TEXT to be {},[],'' - allow recursion
2022-02-23 19:43:13 -05:00
Orion Henry
836e6ba510
fix return types
2022-01-31 17:21:16 -05: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
a12af10ee1
optimize js
2022-01-19 18:08:15 -05: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
04c7e9184d
port over all the sync tests to the wasm api
2022-01-09 08:05:00 -08:00
Orion Henry
b67098d5e1
convert automerge-js to use import/export
2022-01-09 08:05:00 -08:00
Orion Henry
d2a7cc5f75
get sync tests working
2022-01-09 08:05:00 -08:00
Alex Good
de5332af05
Run the js_test in CI
...
We add a script for running the js tests in `scripts/ci/js_tests`. This
script can also be run locally. We move the `automerge-js` package to
below the `automerge-wasm` crate as it is specifically testing the wasm
interface. We also add an action to the github actions workflow for CI
to run the js tests.
2021-12-30 17:30:38 -05: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
780298b72c
docs, tests, code cleanup
2021-12-21 09:23:34 -08:00
Orion Henry
8eb147333c
use value_at() in the js wrapper
2021-12-21 09:23:34 -08: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
26ccaf63cc
readme and new tests
2021-12-15 19:07:39 -05:00
Orion Henry
89a2e4a0fa
remove old seq_scan code
2021-12-13 07:45:38 -05:00
Orion Henry
a1a7e42dfa
remove begin - make tx implicit
2021-12-12 12:51:27 -08: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
8ffccd96bc
cleanup and op_tree
2021-11-29 19:08:32 -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