mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-21 22:57:17 +01:00
fix(env-utils): move publicKey from @suite-common/wallet-constants
This commit is contained in:
committed by
Tomáš Martykán
parent
337fabb4cc
commit
0d54971f34
@@ -28,7 +28,6 @@
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@suite-common/wallet-constants": "workspace:*",
|
||||
"expo-constants": "15.4.5",
|
||||
"ua-parser-js": "^1.0.37"
|
||||
},
|
||||
|
||||
@@ -3,8 +3,7 @@ import { Dimensions, Platform } from 'react-native';
|
||||
import { getLocales } from 'expo-localization';
|
||||
import Constants from 'expo-constants';
|
||||
|
||||
import { publicKey } from '@suite-common/wallet-constants';
|
||||
|
||||
import { publicKey } from './jws';
|
||||
import { EnvUtils } from './types';
|
||||
|
||||
const isWeb = () => false;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import UAParser from 'ua-parser-js';
|
||||
|
||||
import { publicKey } from '@suite-common/wallet-constants';
|
||||
|
||||
import { publicKey } from './jws';
|
||||
import { EnvUtils, Environment } from './types';
|
||||
|
||||
export const isWeb = () => process.env.SUITE_TYPE === 'web';
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": { "outDir": "libDev" },
|
||||
"references": [
|
||||
{
|
||||
"path": "../../suite-common/wallet-constants"
|
||||
}
|
||||
]
|
||||
"references": []
|
||||
}
|
||||
|
||||
@@ -4,9 +4,5 @@
|
||||
"outDir": "lib"
|
||||
},
|
||||
"include": ["./src"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../suite-common/wallet-constants"
|
||||
}
|
||||
]
|
||||
"references": []
|
||||
}
|
||||
|
||||
@@ -3,4 +3,3 @@ export * from './formDraft';
|
||||
export * from './polling';
|
||||
export * from './sendForm';
|
||||
export * from './discovery';
|
||||
export * from './jws';
|
||||
|
||||
Reference in New Issue
Block a user