Comparing version 8.0.0-1 to 8.0.0
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
{ | ||
"name": "otplib", | ||
"version": "8.0.0-1", | ||
"version": "8.0.0", | ||
"description": "HMAC-based (HOTP) and Time-based (TOTP) One-Time Password library", | ||
@@ -5,0 +5,0 @@ "main": "otplib.js", |
@@ -60,6 +60,14 @@ # otplib | ||
``` | ||
```bash | ||
$ npm install otplib --save | ||
# To install the Release Candidates: | ||
$ npm install otplib@next --save | ||
``` | ||
| Release Type | Version | | ||
| :---------------- | :--------------------------------- | | ||
| Current / Stable | [![npm][npm-badge]][npm-link] | | ||
| Release Candidate | [![npm][npm-next-badge]][npm-link] | | ||
## Upgrading | ||
@@ -137,3 +145,3 @@ | ||
__Example Usage__ | ||
**Example Usage** | ||
@@ -178,3 +186,3 @@ ```js | ||
```html | ||
<script src="https://unpkg.com/otplib@^6.0.0/otplib-browser.js"></script> | ||
<script src="https://unpkg.com/otplib@^8.0.0/otplib-browser.js"></script> | ||
``` | ||
@@ -303,3 +311,3 @@ | ||
```js | ||
// npm install node-qrcode | ||
// npm install qrcode | ||
import qrcode from 'qrcode'; | ||
@@ -329,2 +337,3 @@ import otplib from 'otplib'; | ||
[npm-link]: https://www.npmjs.com/package/otplib | ||
[npm-next-badge]: https://img.shields.io/npm/v/otplib/next.svg?style=flat-square | ||
[npm-downloads-badge]: https://img.shields.io/npm/dt/otplib.svg?style=flat-square | ||
@@ -335,3 +344,3 @@ [circle-badge]: https://img.shields.io/circleci/project/github/yeojz/otplib/master.svg?style=flat-square | ||
[coveralls-link]: https://coveralls.io/github/yeojz/otplib | ||
[pr-welcome-badge]: https://img.shields.io/badge/PRs-Welcome-ff69b4.svg?style=flat-square | ||
[pr-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square | ||
[pr-welcome-link]: https://github.com/yeojz/otplib/blob/master/CONTRIBUTING.md | ||
@@ -338,0 +347,0 @@ [mdn-uint8array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array |
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
@@ -5,3 +5,3 @@ /** | ||
* @author Gerald Yeo <contact@fusedthought.com> | ||
* @version: 8.0.0-1 | ||
* @version: 8.0.0 | ||
* @license: MIT | ||
@@ -8,0 +8,0 @@ **/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
131771
0
353