From 553e1338a906c3359ad633d862be01632806bb00 Mon Sep 17 00:00:00 2001 From: Pierre Balzack <96387156+balzack@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:51:55 -0700 Subject: [PATCH] Update README.md --- app/sdk/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/sdk/README.md b/app/sdk/README.md index 17196928..b0e5284a 100644 --- a/app/sdk/README.md +++ b/app/sdk/README.md @@ -15,7 +15,10 @@ The crypto and log params are provided by implementing the [Crypto](https://gith
- Persistent storage can then be provided to the SDK for user communication
+ User communcation is provided through the Session interface
+ +
+ Storage can then be provided to the SDK to persist sessions
Mobile apps typically use the offline store where most of the relational data is saved. The sql param is provided by implementing the [SqlStore](https://github.com/balzack/databag/blob/sdk/app/sdk/src/store.ts) interface. @@ -26,9 +29,6 @@ Browser apps typically the online store where minimal session data is saved. The ```initOnlineStore(web: WebStore): Promise```
-
- User communcation is provided through the Session interface
- Login provides a Session through an account login ```login(handle: string, password: string, node: string, secure: boolean, mfaCode: string | null, params: SessionParams): Promise```