Commit Graph

72 Commits

Author SHA1 Message Date
Andre Staltz a4e94f1702
add msg-v2 exports in package.json 2023-05-25 17:50:29 +03:00
Andre Staltz 393c0e4827
validate group tangle 2023-05-25 17:10:42 +03:00
Andre Staltz e957a4a578
more msg-v2 tests 2023-05-25 16:11:20 +03:00
Andre Staltz 248e14da42
small facepalm in msg-v2 validation 2023-05-25 16:06:07 +03:00
Andre Staltz 8d0d3cf175
msg-v2 with group tangles 2023-05-25 15:52:11 +03:00
Andre Staltz 975769134c
rename some test files 2023-05-24 10:42:39 +03:00
Andre Staltz 510ebbd6ff
not lgpl 2023-05-23 16:22:27 +03:00
Mikey 301cc6ff41
use json-canon instead of canonicalize (#7) 2023-05-12 15:35:26 +03:00
Mikey e66483391b
alphabetize tangles (#5)
Co-authored-by: André Staltz <andre@staltz.com>
2023-05-09 10:31:44 +03:00
Mikey f8bc73d52b
use "JSON Canonicalization Scheme" (JSC) as deterministic JSON stringify (#4) 2023-05-09 10:27:47 +03:00
Mikey d1247afb06
more strict validation (#1)
in an attempt to preempt problems with non-deterministic (de-)serialization.
2023-05-09 10:19:00 +03:00
Andre Staltz dc636c01c0
add feedv1 protospec 2023-05-05 14:21:28 +03:00
Andre Staltz 0948eadac0
move some tests around 2023-05-05 13:24:38 +03:00
Andre Staltz 029e893a4e
make initializeFeed an internal API 2023-04-28 15:22:25 +03:00
Andre Staltz 52a79e7dff
boring license headers 2023-04-28 14:09:23 +03:00
Andre Staltz d39ee6b017
refactor: use initializeFeed() inside create() 2023-04-28 11:27:15 +03:00
Andre Staltz 9dd5f92ce8
test initializeFeed idempotency 2023-04-28 11:27:00 +03:00
Andre Staltz 6ab3182613
initializeFeed() API 2023-04-28 11:22:46 +03:00
Andre Staltz 65622ac961
Tangle.precedes(a,b) API 2023-04-27 15:51:31 +03:00
Andre Staltz ba0a78b277
fix format-code script 2023-04-26 14:31:14 +03:00
Andre Staltz 3880877726
format code 2023-04-26 14:30:02 +03:00
Andre Staltz 1680719fb8
fix tests to use correct plugin js 2023-04-21 14:54:16 +03:00
Andre Staltz a5574b7133
improve package.json files and exports 2023-04-21 14:51:44 +03:00
Andre Staltz 10e74ea8da
fix package.json files to include feed-v1 2023-04-21 14:45:12 +03:00
Andre Staltz f3bddbfb6a
update CI tool 2023-04-21 14:41:43 +03:00
Andre Staltz 99510e6fb7
set module type to commonjs 2023-04-21 14:39:07 +03:00
Andre Staltz dcab315fe5
different type of package.json exports 2023-04-21 14:37:26 +03:00
Andre Staltz cea1483d3c
update CI 2023-04-21 14:30:00 +03:00
Andre Staltz 898a652921
MITTTTTTTTT 2023-04-21 14:29:18 +03:00
Andre Staltz 9ee6bd6d47
better readme 2023-04-21 14:27:35 +03:00
Andre Staltz 18b9c230d6 lets try this 2023-04-21 14:11:56 +03:00
Andre Staltz 9ddfeb43b2 improve feed-v1-create test 2023-04-18 21:37:00 +03:00
Andre Staltz d040da5409 remove dead comments 2023-04-18 20:34:46 +03:00
Andre Staltz f1e313461e new API validateTangle() 2023-04-18 18:41:28 +03:00
Andre Staltz 3ab7d98550 validate is synchronous 2023-04-18 18:40:52 +03:00
Andre Staltz 8288432785 fix a Tangle.topoSort() corner case 2023-04-18 16:55:53 +03:00
Andre Staltz 656d622271 update comments 2023-04-18 16:28:39 +03:00
Andre Staltz 837a78cbfc improve Tangle logic for unknown root msg 2023-04-18 13:54:15 +03:00
Andre Staltz 188d37fefc dont add deleted msgs to the DBTangle 2023-04-18 13:11:54 +03:00
Andre Staltz 3f7d299559 msg hash is only applied on msg.metadata 2023-04-17 21:49:17 +03:00
Andre Staltz 3686f5de24 add metadata.v, rename metadata.proof to metadata.hash 2023-04-17 18:39:33 +03:00
Andre Staltz faa7b13c92 remove metadata.when from FeedV1 2023-04-17 16:45:52 +03:00
Andre Staltz d2023b5bc0 Tangle class belongs to FeedV1 2023-04-17 16:25:43 +03:00
Andre Staltz 0917361305 validate who+type in feed tangles 2023-04-17 15:57:11 +03:00
Andre Staltz 5883e1df21 just getTangle() 2023-04-15 16:43:20 +03:00
Andre Staltz 01cb78c65a getTangleDeletablesAndErasables() 2023-04-15 16:42:27 +03:00
Andre Staltz fd7b76808b rename a Tangle method 2023-04-15 16:38:51 +03:00
Andre Staltz 0d166644c3 erase() API 2023-04-15 16:38:06 +03:00
Andre Staltz 4f8d2f1355 shuffle some things around 2023-04-15 16:31:16 +03:00
Andre Staltz 7e90efd48d plugin.js knows less about feed-v1 2023-04-15 16:29:01 +03:00