Polyfills for native crypto

This commit is contained in:
Paul Frazee 2022-06-15 17:40:18 -05:00
parent b2dd8d4f44
commit 77b938845a
15 changed files with 243 additions and 81 deletions

View file

@ -1,5 +1,7 @@
if (typeof process.env.REACT_APP_AUTH_LOBBY !== 'string') {
import {REACT_APP_AUTH_LOBBY} from '@env'
if (typeof REACT_APP_AUTH_LOBBY !== 'string') {
throw new Error('ENV: No auth lobby provided')
}
export const AUTH_LOBBY = process.env.REACT_APP_AUTH_LOBBY
export const AUTH_LOBBY = REACT_APP_AUTH_LOBBY