From ab4a8c309cb9073bb98cbbd6a1ae678f7530f7ce Mon Sep 17 00:00:00 2001 From: nazeh Date: Thu, 1 Aug 2024 11:43:13 +0300 Subject: [PATCH] chore(js): publish 0.1.4 --- pubky/pkg/README.md | 8 +++----- pubky/pkg/package.json | 3 +-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pubky/pkg/README.md b/pubky/pkg/README.md index 9f5fcb6..d44efc2 100644 --- a/pubky/pkg/README.md +++ b/pubky/pkg/README.md @@ -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(); ``` diff --git a/pubky/pkg/package.json b/pubky/pkg/package.json index f940a5f..53b52b5 100644 --- a/pubky/pkg/package.json +++ b/pubky/pkg/package.json @@ -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": [