Commit Graph

81 Commits

Author SHA1 Message Date
Andre Staltz a6749cafa1
improve feed.publish input assertions 2023-09-07 17:28:43 +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 3a9df124f6
refactor account msg validation 2023-08-28 17:04:23 +03:00
Andre Staltz f1a13eee80
refactor validation 2023-08-28 16:57:25 +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 e6aa33d3f0
add more JSDocs 2023-08-08 14:04:27 +03:00
Andre Staltz 5f76000531
fix which domain is used in identity.add() 2023-07-20 20:23:27 +03:00
Andre Staltz 54f00d1944
new identity.has() API 2023-07-18 23:47:13 +03:00
Andre Staltz 79bc497911
detailed tag union for adding identity keys 2023-07-14 16:14:00 +03:00
Andre Staltz 07c2168f97
identity.add() can implicitly also create the consent 2023-07-11 10:49:33 +03:00
Andre Staltz 0899ac5818
add identity.consent() API 2023-07-10 15:52:18 +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
Andre Staltz 08d3450f20
replace buffer with b4a 2023-06-15 14:55:23 +03:00
Andre Staltz aa5d49d512
replace tape with node:test 2023-06-14 11:56:00 +03:00
Andre Staltz fa16916e82
use ppppp-keypair instead of ssb-keys 2023-06-14 10:48:54 +03:00
Andre Staltz ce5acb849e
properly implement group.add() 2023-05-26 14:37:04 +03:00
Andre Staltz 90395b8bd3
rename feed.getRoot() to feed.getId() 2023-05-26 14:24:39 +03:00
Andre Staltz 0772aa4883
remove validateTangle 2023-05-26 14:20:31 +03:00
Andre Staltz e0a136065e
allow passing test nonce to group.create() 2023-05-26 14:02:13 +03:00
Andre Staltz 8d0d3cf175
msg-v2 with group tangles 2023-05-25 15:52:11 +03:00
Andre Staltz 029e893a4e
make initializeFeed an internal API 2023-04-28 15:22:25 +03:00
Andre Staltz d39ee6b017
refactor: use initializeFeed() inside create() 2023-04-28 11:27:15 +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 a5574b7133
improve package.json files and exports 2023-04-21 14:51:44 +03:00