diff --git a/README.md b/README.md index a2495a5..367c374 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,12 @@ The library can be used by NodeJS applications, tools, and other automations to ## Installation +You can install the SDK using Git during the closed beta period: + ``` -npm install @1password/connect +npm install "git+ssh://git@github.com:1Password/connect-sdk-js.git#semver:~v0.0.1" ``` +_`semvar:~v0.0.1` will ensure you install the latest pre-release build_ ## Usage @@ -25,7 +28,7 @@ import {OnePasswordConnect, ItemBuilder} from "@1password/connect" // Create new connector with HTTP Pooling const op = OnePasswordConnect({ serverUrl: "http://localhost:8000", - token: "my-token" , + token: "my-token", keepAlive: true }); ``` diff --git a/package-lock.json b/package-lock.json index 2590a54..92e5b10 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "@1password/op-secret-server-js", + "name": "@1password/connect", "version": "0.0.1", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index df3dd87..6ea3482 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "dist/" ], "scripts": { - "prepare": "npm run test && npm run build", + "prepublishOnly": "npm run test && npm run lint", + "prepare": "npm run build", "test": "jest", "build": "tsc", "lint": "eslint ./src --ext .ts"