Commit Graph

31 Commits

Author SHA1 Message Date
Andre Staltz 5b81c6ea82
move config.path to config.db.path 2023-11-24 15:44:25 +02:00
Andre Staltz ac8e730b64
fix some typescript 2023-11-23 15:43:41 +02:00
Andre Staltz 3e4fe864f7
align impl and spec regarding account key purposes 2023-11-16 14:09:55 +02:00
Andre Staltz fc47a4006b
account msgs have "account__" domain prefix 2023-11-16 12:09:00 +02:00
Andre Staltz 1ff84756bc
flatten tagged union in msg AccountData 2023-11-16 11:29:55 +02:00
Andre Staltz 9223402335
refactor: simplify some code in MsgV3 2023-11-13 20:44:20 +02:00
Andre Staltz accc41a68c
refactor: remove unreachable code in MsgV3 2023-11-13 15:33:03 +02:00
Andre Staltz c1f527b5d5
refactor: cosmetics 2023-10-26 13:03:52 +03:00
Andre Staltz b87ca604eb
fix minor Tangle class issues 2023-10-19 17:06:51 +03:00
Andre Staltz 75b36e9730
add API tangle.root 2023-10-19 15:10:24 +03:00
Andre Staltz 748125b6e6
add tangle.id field 2023-10-19 13:37:57 +03:00
Andre Staltz 6996fb2d20
use polyfill friendly "path" instead of "node:path" 2023-10-18 14:45:06 +03:00
Andre Staltz 31ec544522
fix tangle getShortestPath against cycles 2023-09-26 15:31:19 +03:00
Andre Staltz 385b34dbd6
tangle.getDeletablesAndErasables() accepts many args 2023-09-14 16:54:43 +03:00
Andre Staltz 530797317d
make Msg type generic in msg.data 2023-09-14 12:54:01 +03:00
Andre Staltz a6749cafa1
improve feed.publish input assertions 2023-09-07 17:28:43 +03:00
Andre Staltz 25eb244608
allow adding erased msgs 2023-09-07 16:38:58 +03:00
Andre Staltz b92d25c6a2
validation on add() supports encrypted inner msgs 2023-08-31 13:33:13 +03:00
Andre Staltz 222f54ea52
minor refactoring and rename message=>msg 2023-08-29 10:22:52 +03:00
Andre Staltz f1a13eee80
refactor validation 2023-08-28 16:57:25 +03:00
Andre Staltz 0beb2477a2
more Tangle getter renaming 2023-08-28 15:56:21 +03:00
Andre Staltz 0b7f49846e
rename some Tangle getters 2023-08-28 15:47:24 +03:00
Andre Staltz c76584953b
some breaking change renaming
msgHash => msgID
Feed root => moot
rec.hash => rec.id
2023-08-28 15:14:20 +03:00
Andre Staltz af4325ef94
rename identity to account 2023-08-08 16:33:36 +03:00
Andre Staltz 557ea2252c
implement powers in identity.add() 2023-08-08 15:31:23 +03:00
Andre Staltz 79bc497911
detailed tag union for adding identity keys 2023-07-14 16:14:00 +03:00
Andre Staltz 0899ac5818
add identity.consent() API 2023-07-10 15:52:18 +03:00
Andre Staltz a442a26c2a
tiny refactor around msgv3.createIdentity() 2023-06-25 20:50:02 +03:00
Andre Staltz df98d499f1
identity tangle always has metadata.identity=self 2023-06-25 20:48:20 +03:00
Andre Staltz 674e2ba66c
use TypeScript in JSDoc 2023-06-25 18:48:24 +03:00
Andre Staltz d97d29fca0
rename type=>domain, group=>identity 2023-06-25 11:07:22 +03:00