diff --git a/README.md b/README.md index e337c68..e177bec 100644 --- a/README.md +++ b/README.md @@ -25,25 +25,24 @@ You can install this module from npm. Another option is to add it via `script` t ### npm You will need to install `@virgilsecurity/keyknox`. ```sh -npm install @virgilsecurity/keyknox +npm install @virgilsecurity/keyknox@0.3.1 ``` You will also need to install `virgil-crypto` and `virgil-sdk` from npm. ```sh -npm install virgil-crypto@next virgil-sdk@next +npm install virgil-crypto@4.0.0-alpha.13 virgil-sdk@6.0.0-alpha.4 ``` -> Note that supported version of `virgil-crypto` is `4.0.0-alpha.13` and minimum supported version of `virgil-sdk` is `6.0.0-alpha.3`. ### In browser via `script` tag You will need to add `@virgilsecurity/keyknox` script. ```html - + ``` You will also need to add `virgil-crypto` and `virgil-sdk` scripts. ```html - - + + ``` Now you can use global variables `Keyknox`, `Virgil` and `VirgilCrypto` as namespace objects, containing all of `@virgilsecurity/keyknox`, `virgil-sdk` and `virgil-crypto` exports as properties. diff --git a/package.json b/package.json index 3d9e1c2..ff15ca6 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "base-64": "^0.1.0" }, "peerDependencies": { - "virgil-sdk": "^6.0.0-alpha.3" + "virgil-sdk": "6.0.0-alpha.4" }, "devDependencies": { "@types/chai": "^4.1.7", @@ -49,7 +49,7 @@ "ts-node": "^8.3.0", "typescript": "^3.5.1", "uuid": "^3.3.2", - "virgil-crypto": "4.0.0-alpha.3", - "virgil-sdk": "^6.0.0-alpha.3" + "virgil-crypto": "4.0.0-alpha.13", + "virgil-sdk": "6.0.0-alpha.4" } }