mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-01-03 06:14:34 +01:00
chore(js): publish 0.1.4
This commit is contained in:
@@ -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();
|
||||
```
|
||||
|
||||
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user