Trying to organize ssblit better.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3980 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-09-11 17:42:41 +00:00
parent 26691051a5
commit f983c3d987
9 changed files with 435 additions and 286 deletions

View File

@@ -15,6 +15,9 @@ tfrpc.register(async function databaseGet(key) {
tfrpc.register(async function databaseSet(key, value) {
return g_database ? g_database.set(key, value) : undefined;
});
tfrpc.register(async function createIdentity() {
return ssb.createIdentity();
});
tfrpc.register(async function getIdentities() {
return ssb.getIdentities();
});