Skip to content

Releases

v1.1.1

Choose a tag to compare

@jose-compu jose-compu released this 21 Jul 16:20

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

Choose a tag to compare

@jose-compu jose-compu released this 19 May 08:33

Changelog

All notable changes to this project are documented in this file.

[1.1.0] - 2026-05-19

Added

  • isRFC9381Compliant() and getVRFSuiteInfo() for suite metadata
  • VRFError, VRFErrorCode, and *OrThrow APIs on VRF
  • RFC 9381 RSA-FDH cross-vector tests (Microsoft libvrf fixtures)
  • VRF.createRsaFromPrimes() for test vectors and trusted key import
  • VRF.secretKeyToBytes() / VRF.secretKeyFromBytes() (treat output as secret)
  • Browser CI smoke test (npm run test:browser-smoke)
  • npm run test:full for slow RSA 3072/4096 matrix
  • npm run benchmark for prove/verify timing
  • Dependabot configuration

Fixed

  • RSA-FDH/PSS aligned with Microsoft libvrf (suite strings, MGF1 salt, RFC 9381 TBS)
  • RSA public key import (components-public for MGF1 salt)
  • Honest README and package description (EC VRF not RFC 9381 interoperable)

Changed

  • Default npm test uses a fast matrix (2048 RSA + EC); full matrix is optional

v1.0.5

Choose a tag to compare

@jose-compu jose-compu released this 18 Nov 08:16

Node.js 18.x Compatibility Fixes

  • Fixed ESLint errors for Node.js 18.x compatibility:
    • Replaced @ts-ignore with @ts-expect-error in src/ec/ecvrf.ts (line 150)
    • Replaced require('crypto') with proper ES6 import statement (line 162)
    • Fixed any type warnings in src/ec/ecdh-wrapper.ts (lines 110, 173) with proper eslint-disable comments
    • Fixed any type warning in src/ec/ecvrf.ts (line 325) with proper eslint-disable comment
    • Added @ts-expect-error directive for unused private method initializeSync (line 152)

All tests passing (46 tests). Linting clean.

v1.0.4

Choose a tag to compare

@jose-compu jose-compu released this 17 Nov 18:26

Release v1.0.4 - Browser Support for EC VRF

New Features

  • ✅ EC VRF now works in browsers using WebCrypto API
  • ✅ Async APIs for browser: createAsync(), getPublicKeyAsync(), getVRFProofAsync(), verifyVRFProofAsync()
  • ✅ Node.js backward compatibility maintained with sync APIs
  • ✅ All 46 tests passing

Changes

  • Added WebCrypto API support for EC VRF operations
  • Created ECDH wrapper for browser compatibility
  • Added hashAsync() function for WebCrypto hashing
  • Updated README with browser usage examples

Browser Support

  • EC VRF (EC_VRF_P256_SHA256_TAI) now works in browsers
  • RSA VRFs still require Node.js (node-rsa dependency)
  • Browser bundle: 112KB minified

v1.0.3

Choose a tag to compare

@jose-compu jose-compu released this 17 Nov 18:10

Release v1.0.3 - Fix browser build: Added Buffer polyfill to webpack config to fix 'Buffer is not defined' error in browsers. Browser bundle now works correctly with EC VRF.

v1.0.2

Choose a tag to compare

@jose-compu jose-compu released this 17 Nov 18:03

Release v1.0.2 - Cleaned dependencies: Removed unused @noble/curves and @noble/hashes packages. Only node-rsa remains as a runtime dependency.

v1.0.1

Choose a tag to compare

@jose-compu jose-compu released this 17 Nov 17:41
32a4123

Release v1.0.1 - Test release with browser build and automated NPM publishing