Skip to content

Commit 911ee66

Browse files
author
Mathieu Bour
committed
feat(env): remove support for RANDOM_BYTES_BASE_SEED
1 parent 3dded3d commit 911ee66

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [Version 0.1.2 - Remove support for `RANDOM_BYTES_BASE_SEED`](https://github.com/csquare-ai/random-bytes-seed/releases/tag/0.1.2)
4+
5+
- **feat**(env): remove support for `RANDOM_BYTES_BASE_SEED`
6+
37
## [Version 0.1.1 - Non-default export](https://github.com/csquare-ai/random-bytes-seed/releases/tag/0.1.1)
48

59
- **feat**(package): expose `randomBytesSeed` as a non default export

jest.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
preset: 'ts-jest',
33
testEnvironment: 'node',
4-
coverageReporters: ['clover']
5-
};
4+
coverageReporters: ['clover', 'text'],
5+
};

src/random-bytes-seed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { createHash, randomBytes } from 'crypto';
66
*/
77
export const options = {
88
algorithm: 'sha256',
9-
seed: process.env.RANDOM_BYTES_BASE_SEED ?? 'random-bytes-seed',
9+
seed: 'random-bytes-seed',
1010
};
1111

1212
/**

0 commit comments

Comments
 (0)