* adding needed polyfills * adding new package * updated key validation * updated suggusted words component * updated breez test function * updated mnemoinc generator to new package * updated mnemoic to seed to new package * updated back btn * added a minute sync count * updated restore page
17 lines
425 B
JavaScript
17 lines
425 B
JavaScript
// Must be the first import
|
|
import 'react-native-get-random-values';
|
|
|
|
import 'react-native-gesture-handler';
|
|
|
|
// Buffer polyfill
|
|
import {Buffer} from '@craftzdog/react-native-buffer';
|
|
global.Buffer = Buffer;
|
|
|
|
// Text encoder/decoder polyfill (if needed)
|
|
import 'text-encoding-polyfill';
|
|
|
|
// Process polyfill
|
|
global.process = global.process || {};
|
|
global.process.env = global.process.env || {};
|
|
global.process.browser = true;
|