Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

otplib

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

otplib - npm Package Compare versions

Comparing version 8.0.0-1 to 8.0.0

2

authenticator.js

@@ -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 @@ **/

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc