We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 874fa52 commit 561b17eCopy full SHA for 561b17e
1 file changed
src/utils/index.ts
@@ -82,6 +82,6 @@ export function isInsiders() {
82
export function getNonce() {
83
let array = new Uint32Array(16);
84
array = crypto.getRandomValues(array);
85
- const buffer = Buffer.from(array);
+ const buffer = Buffer.from(array.buffer);
86
return buffer.toString('base64');
87
}
0 commit comments