otpauth
otpauth copied to clipboard
One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers.
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.4 to 4.8.3. Release notes Sourced from typescript's releases. TypeScript 4.8.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps the npm-development-dependencies group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [chai](https://github.com/chaijs/chai) and [rollup](https://github.com/rollup/rollup). Updates `@types/node` from 20.11.17 to 20.11.19 Commits See full diff in compare view Updates `chai` from 5.0.3 to 5.1.0...
Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 12944059f7caf321d5e41246e29549f0752185d4 to 0f37bd81694f91f7edc1c990461a7fc67ef7e3d8. Commits 0f37bd8 Move cache save to runs.post and exit early (#60) See full diff in compare view Dependabot will resolve any conflicts with this...
``` generateRandomBase32 = () => { const buffer = crypto.randomBytes(15); const base32 = encode(buffer).replace(/=/g, '').substring(0, 24); return base32; }; totpGenerate(secret: string): OTPAuth.TOTP { const totp = new OTPAuth.TOTP({ issuer: Config.ISSUER,...
See #296 for original issue. --- This package uses [jsSHA](https://npmjs.com/package/jssha) as a dependency, which [adds 21.4 kB](https://bundlephobia.com/package/[email protected]) to the bundle size (ESM minified). This is ~77.4% of this module's bundle...
... to make it a bit easier for newbies on the subject. A few comments are "AFAIK", so feel free to correct anything I got wrong.
I am trying to integrate our company's logo into the OTPAuth TOTP object for better branding and visual identification. Currently, the object is initialized as follows: ```js const totp =...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3. Release notes Sourced from ossf/scorecard-action's releases. v2.3.3 [!NOTE] There is no v2.3.2 release as a step was skipped in the release process. This was...
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5. Release notes Sourced from actions/checkout's releases. v4.1.5 What's Changed Update NPM dependencies by @cory-miller in actions/checkout#1703 Bump github/codeql-action from 2 to 3 by @dependabot...
Bumps the npm-development-dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.12.8` | `20.12.11` | | [chai](https://github.com/chaijs/chai)...