Skip to content

Commit

Permalink
chore(js): publish 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Aug 1, 2024
1 parent 86b7dfd commit ab4a8c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions pubky/pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,10 @@ Run the local testnet server
npm run testnet
```

Pass the logged addresses as inputs to `PubkyClient`
Use the logged addresses as inputs to `PubkyClient`

```js
import { PubkyClient, PublicKey } from '../index.js'
import { PubkyClient } from '../index.js'

const client = new PubkyClient().setPkarrRelays(["http://localhost:15411/pkarr"]);

let homeserver = PublicKey.from("8pinxxgqs41n4aididenw5apqp1urfmzdztr8jt4abrkdn435ewo");
const client = new PubkyClient().testnet();
```
3 changes: 1 addition & 2 deletions pubky/pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@synonymdev/pubky",
"type": "module",
"description": "Pubky client",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -14,7 +14,6 @@
"test-nodejs": "tape test/*.js -cov",
"test-browser": "browserify test/*.js -p esmify | npx tape-run",
"build": "cargo run --bin bundle_pubky_npm",
"preinstall": "npm run build",
"prepublishOnly": "npm run build && npm run test"
},
"files": [
Expand Down

0 comments on commit ab4a8c3

Please sign in to comment.