@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.
Files changed (3) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
  3. 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
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@synonymdev/pubky",
3
3
  "type": "module",
4
4
  "description": "Pubky client",
5
- "version": "0.0.2",
5
+ "version": "0.0.3",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",