fix(env-utils): move publicKey from @suite-common/wallet-constants

This commit is contained in:
Tomas Martykan
2024-05-29 14:16:44 +02:00
committed by Tomáš Martykán
parent 337fabb4cc
commit 0d54971f34
7 changed files with 4 additions and 16 deletions

View File

@@ -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"
},

View File

@@ -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;

View File

@@ -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';

View File

@@ -1,9 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "libDev" },
"references": [
{
"path": "../../suite-common/wallet-constants"
}
]
"references": []
}

View File

@@ -4,9 +4,5 @@
"outDir": "lib"
},
"include": ["./src"],
"references": [
{
"path": "../../suite-common/wallet-constants"
}
]
"references": []
}

View File

@@ -3,4 +3,3 @@ export * from './formDraft';
export * from './polling';
export * from './sendForm';
export * from './discovery';
export * from './jws';