mirror of
https://github.com/luxfi/wallet.git
synced 2026-10-30 15:13:19 +00:00
Replace every @uniswap/* package import with @luxamm/* (lux fork already canonical for SDK pieces). Replace app.uniswap.org URLs with lux.exchange, uniswap.org with lux.network. Replace brand strings (Uniswap Wallet → Lux Wallet, Uniswap Extension → Lux Extension, Uniswap Labs → Lux Labs Inc.) where they appear in user-facing UI. Rename handleUniswapAppDeepLink → handleLuxAppDeepLink, also rename focusOrCreateUniswapInterfaceTab → focusOrCreateLuxInterfaceTab. Manifest host_permissions updated to lux.exchange and *.lux.network. Lockfile regeneration: TODO — run pnpm install to refresh after this commit. Transitive @uniswap/* references in pnpm-lock.yaml are upstream-package internals. Protocol-level identifiers (UniswapMethodHandler, UniswapMethods, UniswapOpenSidebarRequest, handleUniswapX, UniswapXOrderDetails) are preserved because they reference wire-protocol method names (uniswap_openSidebar) and external SDK type exports — renaming would break upstream contracts. iOS Uniswap target directory and uniswapteam.slack.com / github.com/Uniswap/universe doc refs are out-of-scope per directive (separate native-build cleanup). Same hard-banishment rule as tamagui (per feedback memory).
24 lines
765 B
TypeScript
24 lines
765 B
TypeScript
import AsyncStorage from '@react-native-async-storage/async-storage'
|
|
import { MMKV } from 'react-native-mmkv'
|
|
import type { ReactotronReactNative } from 'reactotron-react-native'
|
|
import Reactotron, { openInEditor } from 'reactotron-react-native'
|
|
import mmkvPlugin from 'reactotron-react-native-mmkv'
|
|
import { reactotronRedux } from 'reactotron-redux'
|
|
|
|
const storage = new MMKV()
|
|
|
|
const reactotron = Reactotron.setAsyncStorageHandler(AsyncStorage)
|
|
.configure({
|
|
name: 'Lux Wallet',
|
|
onConnect: () => {
|
|
Reactotron.clear()
|
|
},
|
|
})
|
|
.use(mmkvPlugin<ReactotronReactNative>({ storage, ignore: ['react-query-cache', 'apollo-cache-persist'] }))
|
|
.use(reactotronRedux())
|
|
.use(openInEditor())
|
|
.useReactNative()
|
|
.connect()
|
|
|
|
export default reactotron
|