Skip to content

Releases: epicweb-dev/totp

v2.1.1

19 Jan 02:06
5667722
Compare
Choose a tag to compare

2.1.1 (2025-01-19)

Bug Fixes

  • add missing repository.url value to create new release (#19) (5667722)

v2.0.0

08 Sep 20:31
e4b8a20
Compare
Choose a tag to compare

2.0.0 (2024-09-08)

Features

  • Convert Buffer and node crypto to web apis (#11) (e4b8a20)

BREAKING CHANGES

  • exported functions are now async
  • the name of the algorithm option has changed from SHA1 / SHA256 / etc. to SHA-1, SHA-256, etc.

NOTE: if you're looking at upgrading to this with the Epic Stack, you'll need to migrate your existing verifications. Here's some SQL you can use:

-- Update SHA1 to SHA-1
UPDATE "Verification"
SET "algorithm" = 'SHA-1'
WHERE "algorithm" = 'SHA1';

-- Update SHA256 to SHA-256
UPDATE "Verification"
SET "algorithm" = 'SHA-256'
WHERE "algorithm" = 'SHA256';

-- Update SHA512 to SHA-512
UPDATE "Verification"
SET "algorithm" = 'SHA-512'
WHERE "algorithm" = 'SHA512';

You could add this as a migration script, or run it as a one-time thing.

v1.1.3

29 Aug 18:16
90fdbf2
Compare
Choose a tag to compare

1.1.3 (2024-08-29)

Bug Fixes

  • use new base 32 encode and decode (#9) (dc6d694), closes #8

v1.1.2

05 Feb 19:52
c3d9a28
Compare
Choose a tag to compare

1.1.2 (2024-02-05)

Bug Fixes

  • use node-prefixed import for crypto (#7) (c3d9a28)

v1.1.1

19 Sep 22:46
4952a52
Compare
Choose a tag to compare

1.1.1 (2023-09-19)

Bug Fixes

v1.1.0

13 Sep 15:24
c13760f
Compare
Choose a tag to compare

1.1.0 (2023-09-13)

Features

v1.0.6

02 Aug 17:28
Compare
Choose a tag to compare

1.0.6 (2023-08-02)

Bug Fixes

  • do not export Buffer type (14952d1)

v1.0.5

02 Aug 17:27
Compare
Choose a tag to compare

1.0.5 (2023-08-02)

Bug Fixes

  • set options.window to number (e83ceb3)

v1.0.4

02 Aug 16:46
Compare
Choose a tag to compare

1.0.4 (2023-08-02)

Bug Fixes

  • add install instructions (05a6d19)

v1.0.3

02 Aug 16:38
Compare
Choose a tag to compare

1.0.3 (2023-08-02)

Bug Fixes