8000 fix(crypto): getRandomValues return value (#10658) · NativeScript/NativeScript@603b2dc · GitHub
[go: up one dir, main page]

Skip to content

Commit 603b2dc

Browse files
authored
fix(crypto): getRandomValues return value (#10658)
1 parent 17a94a2 commit 603b2dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/wgc/crypto/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ export class Crypto {
3131

3232
NSCCrypto.getRandomValues(data);
3333
}
34+
return typedArray;
3435
}
3536
}

0 commit comments

Comments
 (0)
0