@synonymdev/pubky 0.1.3 → 0.1.4

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 (2) hide show
  1. package/README.md +3 -5
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -71,12 +71,10 @@ Run the local testnet server
71
71
  npm run testnet
72
72
  ```
73
73
 
74
- Pass the logged addresses as inputs to `PubkyClient`
74
+ Use the logged addresses as inputs to `PubkyClient`
75
75
 
76
76
  ```js
77
- import { PubkyClient, PublicKey } from '../index.js'
77
+ import { PubkyClient } from '../index.js'
78
78
 
79
- const client = new PubkyClient().setPkarrRelays(["http://localhost:15411/pkarr"]);
80
-
81
- let homeserver = PublicKey.from("8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn435ewo");
79
+ const client = new PubkyClient().testnet();
82
80
  ```
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.1.3",
5
+ "version": "0.1.4",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -14,7 +14,6 @@
14
14
  "test-nodejs": "tape test/*.js -cov",
15
15
  "test-browser": "browserify test/*.js -p esmify | npx tape-run",
16
16
  "build": "cargo run --bin bundle_pubky_npm",
17
- "preinstall": "npm run build",
18
17
  "prepublishOnly": "npm run build && npm run test"
19
18
  },
20
19
  "files": [