chore(js): publish 0.1.4

This commit is contained in:
nazeh
2024-08-01 11:43:13 +03:00
parent 86b7dfd4a4
commit ab4a8c309c
2 changed files with 4 additions and 7 deletions

View File

@@ -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();
```

View File

@@ -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",
@@ -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": [