Skip to content

Commit

Permalink
feat(env): remove support for RANDOM_BYTES_BASE_SEED
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Bour committed May 28, 2021
1 parent 3dded3d commit 911ee66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Version 0.1.2 - Remove support for `RANDOM_BYTES_BASE_SEED`](https://github.com/csquare-ai/random-bytes-seed/releases/tag/0.1.2)

- **feat**(env): remove support for `RANDOM_BYTES_BASE_SEED`

## [Version 0.1.1 - Non-default export](https://github.com/csquare-ai/random-bytes-seed/releases/tag/0.1.1)

- **feat**(package): expose `randomBytesSeed` as a non default export
Expand Down
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
coverageReporters: ['clover']
};
coverageReporters: ['clover', 'text'],
};
2 changes: 1 addition & 1 deletion src/random-bytes-seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createHash, randomBytes } from 'crypto';
*/
export const options = {
algorithm: 'sha256',
seed: process.env.RANDOM_BYTES_BASE_SEED ?? 'random-bytes-seed',
seed: 'random-bytes-seed',
};

/**
Expand Down

0 comments on commit 911ee66

Please sign in to comment.