@synonymdev/pubky 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
- package/browser.js +0 -966
package/README.md
CHANGED
|
@@ -24,11 +24,11 @@ let homeserver = PublicKey.from("8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn4
|
|
|
24
24
|
|
|
25
25
|
await client.signup(keypair, homeserver)
|
|
26
26
|
|
|
27
|
+
const publicKey = keypair.public_key();
|
|
28
|
+
|
|
27
29
|
// Verify that you are signed in.
|
|
28
30
|
const session = await client.session(publicKey)
|
|
29
31
|
|
|
30
|
-
const publicKey = keypair.public_key();
|
|
31
|
-
|
|
32
32
|
const body = Buffer.from(JSON.stringify({ foo: 'bar' }))
|
|
33
33
|
|
|
34
34
|
// PUT public data, by authorized client
|