File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Using CommonJS syntax:
3131
3232<!-- prettier-ignore-start -->
3333``` typescript
34- const {randomBytesSeed} = require (' @csquare/random-bytes-seed' );
34+ const { randomBytesSeed } = require (' @csquare/random-bytes-seed' );
3535
3636const output = randomBytesSeed (10 , ' my-seed' ); // Generate a 10-bytes, stable buffer
3737```
5151
5252<!-- prettier-ignore-start -->
5353``` typescript
54- import {randomBytesSeed } from ' @csquare/random-bytes-seed' ;
54+ import { randomBytesSeed } from ' @csquare/random-bytes-seed' ;
5555
5656const output = randomBytesSeed (10 , ' my-seed' ); // Generate a 10-bytes, stable buffer
5757```
@@ -68,7 +68,7 @@ change the base seed by overriding the default options.
6868
6969<!-- prettier-ignore-start -->
7070``` typescript
71- import {options } from ' @csquare/random-bytes-seed' ;
71+ import { options } from ' @csquare/random-bytes-seed' ;
7272
7373options .seed = ' any-string-you-want' ; // Override the base seed for all future calls
7474```
You can’t perform that action at this time.
0 commit comments