@synonymdev/pubky 0.1.3 → 0.1.5
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 +4 -6
- package/browser.js +3 -3
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ let homeserver = PublicKey.from("8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn4
|
|
|
24
24
|
|
|
25
25
|
await client.signup(keypair, homeserver)
|
|
26
26
|
|
|
27
|
-
const publicKey = keypair.
|
|
27
|
+
const publicKey = keypair.publicKey();
|
|
28
28
|
|
|
29
29
|
// Pubky URL
|
|
30
30
|
let url = `pubky://${publicKey.z32()}/pub/example.com/arbitrary`;
|
|
@@ -71,12 +71,10 @@ Run the local testnet server
|
|
|
71
71
|
npm run testnet
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
Use the logged addresses as inputs to `PubkyClient`
|
|
75
75
|
|
|
76
76
|
```js
|
|
77
|
-
import { PubkyClient
|
|
77
|
+
import { PubkyClient } from '../index.js'
|
|
78
78
|
|
|
79
|
-
const client = new PubkyClient().
|
|
80
|
-
|
|
81
|
-
let homeserver = PublicKey.from("8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn435ewo");
|
|
79
|
+
const client = new PubkyClient().testnet();
|
|
82
80
|
```
|