diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-07-19 14:40:06 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-07-19 14:40:06 -0500 |
commit | 6b32698b3e020e5910c92b72a1677e7cd56287d6 (patch) | |
tree | 745f9676c581272e01fddf4387dc322145e93811 /src/platform | |
parent | 84dac9fa39c58da05af9fb3a2eb0e29699355c97 (diff) | |
download | voidsky-6b32698b3e020e5910c92b72a1677e7cd56287d6.tar.zst |
Bundle official msrcrypto distro in the source (solves some bugs, probably safer)
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/polyfills.native.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/polyfills.native.ts b/src/platform/polyfills.native.ts index dd1ecf7eb..e37a76958 100644 --- a/src/platform/polyfills.native.ts +++ b/src/platform/polyfills.native.ts @@ -2,7 +2,7 @@ import {NativeModules} from 'react-native' const {AppSecureRandomModule} = NativeModules import {toByteArray} from 'base64-js' // @ts-ignore we dont have types for this -prf -import crypto from 'msrcrypto' +import crypto from '../third-party/msrcrypto' import '@zxing/text-encoding' // TextEncoder / TextDecoder async function generateSecureRandom(bytes: number) { |