mirror of
https://github.com/luxfi/wallet.git
synced 2026-07-27 03:37:41 +00:00
security: zero @uniswap deps — all forked to @luxamm/*
Supply chain hardening: - @uniswap/sdk-core -> @luxamm/sdk-core - @uniswap/v3-sdk -> @luxamm/v3-sdk - @uniswap/v4-sdk -> @luxamm/v4-sdk - @uniswap/universal-router-sdk -> @luxamm/universal-router-sdk - @uniswap/analytics -> @luxamm/analytics - @uniswap/analytics-events -> @luxamm/analytics-events - @uniswap/client-* -> @luxamm/client-* - @uniswap/ethers-rs-mobile -> @luxamm/ethers-rs-mobile - Package names: @uniswap/extension -> @luxfi/extension - Package names: @uniswap/mobile -> @luxfi/mobile - 48 source files updated (imports) - Removed broken @uniswap/eslint-config workspace refs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@uniswap/extension",
|
||||
"name": "@luxfi/extension",
|
||||
"version": "0.0.0",
|
||||
"browserslist": "last 2 chrome versions",
|
||||
"dependencies": {
|
||||
@@ -15,12 +15,12 @@
|
||||
"@hanzogui/core": "3.0.6",
|
||||
"@tanstack/react-query": "5.90.20",
|
||||
"@types/uuid": "9.0.1",
|
||||
"@uniswap/analytics-events": "2.43.0",
|
||||
"@uniswap/client-notification-service": "0.0.11",
|
||||
"@uniswap/sdk-core": "7.12.1",
|
||||
"@uniswap/universal-router-sdk": "4.33.0",
|
||||
"@uniswap/v3-sdk": "3.29.1",
|
||||
"@uniswap/v4-sdk": "1.29.1",
|
||||
"@luxamm/analytics-events": "2.43.0",
|
||||
"@luxamm/client-notification-service": "0.0.11",
|
||||
"@luxamm/sdk-core": "7.12.1",
|
||||
"@luxamm/universal-router-sdk": "4.33.0",
|
||||
"@luxamm/v3-sdk": "3.29.1",
|
||||
"@luxamm/v4-sdk": "1.29.1",
|
||||
"@universe/api": "workspace:^",
|
||||
"@universe/gating": "workspace:^",
|
||||
"@universe/notifications": "workspace:^",
|
||||
@@ -70,7 +70,6 @@
|
||||
"@types/redux-persist-webextension-storage": "1.0.3",
|
||||
"@types/ua-parser-js": "0.7.31",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260311.1",
|
||||
"@uniswap/eslint-config": "workspace:^",
|
||||
"@welldone-software/why-did-you-render": "10.0.1",
|
||||
"clean-webpack-plugin": "4.0.0",
|
||||
"concurrently": "8.2.2",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { memo, useCallback } from 'react'
|
||||
import { Flex } from 'ui/src'
|
||||
// This is intentionally imported from the native file as only the web app requires a web specific implementation
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '@tamagui/core/reset.css'
|
||||
import 'src/app/Global.css'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { createHashRouter, RouterProvider } from 'react-router'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { useCallback, useMemo, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useDispatch } from 'react-redux'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { NonfungiblePositionManager } from '@uniswap/v3-sdk'
|
||||
import { NonfungiblePositionManager } from '@luxamm/v3-sdk'
|
||||
import {
|
||||
NFPMCommand,
|
||||
NfpmCommandSchema,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CommandType } from '@uniswap/universal-router-sdk'
|
||||
import { FeeAmount as FeeAmountV3 } from '@uniswap/v3-sdk'
|
||||
import { CommandType } from '@luxamm/universal-router-sdk'
|
||||
import { FeeAmount as FeeAmountV3 } from '@luxamm/v3-sdk'
|
||||
import { BigNumberSchema } from 'src/app/features/dappRequests/types/EthersTypes'
|
||||
import { z } from 'zod'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { useDappContext } from 'src/app/features/dapp/DappContext'
|
||||
import { useDappLastChainId } from 'src/app/features/dapp/hooks'
|
||||
import { focusOrCreateUniswapInterfaceTab } from 'src/app/navigation/utils'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useApolloClient } from '@apollo/client'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { FeatureFlags, useFeatureFlag } from '@universe/gating'
|
||||
import { getIsNotificationServiceLocalOverrideEnabled } from '@universe/notifications'
|
||||
import React, { memo, useCallback, useEffect, useState } from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { cloneElement, memo, useCallback, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useInterfaceBuyNavigator } from 'src/app/features/for/utils'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { memo, useEffect, useState } from 'react'
|
||||
import Animated, { useAnimatedStyle, useSharedValue, withDelay, withTiming } from 'react-native-reanimated'
|
||||
import { useDispatch, useSelector } from 'react-redux'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Currency } from '@uniswap/sdk-core'
|
||||
import { Currency } from '@luxamm/sdk-core'
|
||||
import { memo, useState } from 'react'
|
||||
import { useInterfaceBuyNavigator } from 'src/app/features/for/utils'
|
||||
import { AppRoutes } from 'src/app/navigation/constants'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { CommandParser, CommandType, type UniversalRouterCall } from '@uniswap/universal-router-sdk'
|
||||
import { Actions, V4BaseActionsParser, type V4RouterCall } from '@uniswap/v4-sdk'
|
||||
import { CommandParser, CommandType, type UniversalRouterCall } from '@luxamm/universal-router-sdk'
|
||||
import { Actions, V4BaseActionsParser, type V4RouterCall } from '@luxamm/v4-sdk'
|
||||
import { EthSendTransactionRPCActions } from 'src/app/features/dappRequests/types/DappRequestTypes'
|
||||
import { parseCalldata as parseNfPMCalldata } from 'src/app/features/dappRequests/types/NonfungiblePositionManager'
|
||||
import { type NonfungiblePositionManagerCall } from 'src/app/features/dappRequests/types/NonfungiblePositionManagerTypes'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { queryOptions } from '@tanstack/react-query'
|
||||
import { PlatformType } from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { PlatformType } from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import {
|
||||
createFetchClient,
|
||||
createNotificationsApiClient,
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction, SharedQueryClient } from '@universe/api'
|
||||
import {
|
||||
createNotificationDataSource,
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import {
|
||||
Metadata,
|
||||
Notification,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { type ReactiveCondition } from '@universe/notifications'
|
||||
import { GlobalErrorEvent } from 'src/app/events/constants'
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
Content,
|
||||
Metadata,
|
||||
Notification,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { ContentStyle } from '@universe/api'
|
||||
import {
|
||||
APP_RATING_NOTIFICATION_ID,
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
Metadata,
|
||||
Notification,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { type TriggerCondition } from '@universe/notifications/src/notification-data-source/implementations/createLocalTriggerDataSource'
|
||||
import { type ExtensionState } from 'src/store/extensionReducer'
|
||||
|
||||
@@ -165,14 +165,14 @@ export default defineConfig({
|
||||
preserveSymlinks: true,
|
||||
modules: [path.resolve(__dirname, 'node_modules')],
|
||||
dedupe: [
|
||||
'@uniswap/sdk-core',
|
||||
'@uniswap/v2-sdk',
|
||||
'@uniswap/v3-sdk',
|
||||
'@uniswap/v4-sdk',
|
||||
'@uniswap/router-sdk',
|
||||
'@uniswap/universal-router-sdk',
|
||||
'@uniswap/uniswapx-sdk',
|
||||
'@uniswap/permit2-sdk',
|
||||
'@luxamm/sdk-core',
|
||||
'@luxamm/v2-sdk',
|
||||
'@luxamm/v3-sdk',
|
||||
'@luxamm/v4-sdk',
|
||||
'@luxamm/router-sdk',
|
||||
'@luxamm/universal-router-sdk',
|
||||
'@luxamm/uniswapx-sdk',
|
||||
'@luxamm/permit2-sdk',
|
||||
'jsbi',
|
||||
'ethers',
|
||||
'react',
|
||||
@@ -247,14 +247,14 @@ export default defineConfig({
|
||||
'tamagui',
|
||||
'@tamagui/web',
|
||||
'ui',
|
||||
'@uniswap/sdk-core',
|
||||
'@uniswap/v2-sdk',
|
||||
'@uniswap/v3-sdk',
|
||||
'@uniswap/v4-sdk',
|
||||
'@uniswap/router-sdk',
|
||||
'@uniswap/universal-router-sdk',
|
||||
'@uniswap/uniswapx-sdk',
|
||||
'@uniswap/permit2-sdk',
|
||||
'@luxamm/sdk-core',
|
||||
'@luxamm/v2-sdk',
|
||||
'@luxamm/v3-sdk',
|
||||
'@luxamm/v4-sdk',
|
||||
'@luxamm/router-sdk',
|
||||
'@luxamm/universal-router-sdk',
|
||||
'@luxamm/uniswapx-sdk',
|
||||
'@luxamm/permit2-sdk',
|
||||
'jsbi',
|
||||
'ethers',
|
||||
'react-router',
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@uniswap/mobile",
|
||||
"name": "@luxfi/mobile",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"license": "GPL-3.0-or-later",
|
||||
@@ -108,13 +108,13 @@
|
||||
"@sparkfabrik/react-native-idfa-aaid": "1.2.0",
|
||||
"@tanstack/react-query": "5.90.20",
|
||||
"@testing-library/react": "16.3.0",
|
||||
"@uniswap/analytics": "1.7.2",
|
||||
"@uniswap/analytics-events": "2.43.0",
|
||||
"@uniswap/client-data-api": "0.0.59",
|
||||
"@uniswap/client-explore": "0.0.17",
|
||||
"@uniswap/client-notification-service": "0.0.11",
|
||||
"@uniswap/ethers-rs-mobile": "0.0.5",
|
||||
"@uniswap/sdk-core": "7.12.1",
|
||||
"@luxamm/analytics": "1.7.2",
|
||||
"@luxamm/analytics-events": "2.43.0",
|
||||
"@luxamm/client-data-api": "0.0.59",
|
||||
"@luxamm/client-explore": "0.0.17",
|
||||
"@luxamm/client-notification-service": "0.0.11",
|
||||
"@luxamm/ethers-rs-mobile": "0.0.5",
|
||||
"@luxamm/sdk-core": "7.12.1",
|
||||
"@universe/api": "workspace:^",
|
||||
"@universe/gating": "workspace:^",
|
||||
"@universe/hashcash-native": "workspace:^",
|
||||
@@ -224,7 +224,6 @@
|
||||
"@types/react": "19.0.10",
|
||||
"@types/redux-mock-store": "1.0.6",
|
||||
"@typescript/native-preview": "7.0.0-dev.20260311.1",
|
||||
"@uniswap/eslint-config": "workspace:^",
|
||||
"@welldone-software/why-did-you-render": "10.0.1",
|
||||
"babel-loader": "8.2.3",
|
||||
"babel-plugin-module-resolver": "5.0.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { BlurView } from 'expo-blur'
|
||||
import React, { memo, useCallback, useEffect, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
NavigationContainerRefWithCurrent,
|
||||
} from '@react-navigation/native'
|
||||
import { useMutation } from '@tanstack/react-query'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React, { FC, PropsWithChildren, useEffect, useRef, useState } from 'react'
|
||||
import { EmitterSubscription, Linking } from 'react-native'
|
||||
import { useDispatch } from 'react-redux'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Currency } from '@uniswap/sdk-core'
|
||||
import { Currency } from '@luxamm/sdk-core'
|
||||
import React from 'react'
|
||||
import { Trans } from 'react-i18next'
|
||||
import { WalletConnectSigningRequest } from 'src/features/walletConnect/walletConnectSlice'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React from 'react'
|
||||
import { SvgProps } from 'react-native-svg'
|
||||
import { useSelector } from 'react-redux'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React from 'react'
|
||||
import { Route, TabView, TabViewProps } from 'react-native-tab-view'
|
||||
import { SectionName } from 'uniswap/src/features/telemetry/constants'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React, { useCallback, useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import ContextMenu from 'react-native-context-menu-view'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { FeatureFlags, useFeatureFlag } from '@universe/gating'
|
||||
import React, { useCallback, useEffect } from 'react'
|
||||
import { Gesture, GestureDetector, State } from 'react-native-gesture-handler'
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
TokenRankingsResponse,
|
||||
TokenRankingsStat,
|
||||
TokenStats,
|
||||
} from '@uniswap/client-explore/dist/uniswap/explore/v1/service_pb'
|
||||
} from '@luxamm/client-explore/dist/uniswap/explore/v1/service_pb'
|
||||
import { ALL_NETWORKS_ARG } from '@universe/api'
|
||||
import { FeatureFlags, useFeatureFlag } from '@universe/gating'
|
||||
import React, { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { useCallback, useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import type { NativeSyntheticEvent } from 'react-native'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ChartPeriod } from '@uniswap/client-data-api/dist/data/v1/api_pb'
|
||||
import { ChartPeriod } from '@luxamm/client-data-api/dist/data/v1/api_pb'
|
||||
import { LinearGradient } from 'expo-linear-gradient'
|
||||
import { memo, useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useQueryClient } from '@tanstack/react-query'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { ChartPeriod } from '@uniswap/client-data-api/dist/data/v1/api_pb'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { ChartPeriod } from '@luxamm/client-data-api/dist/data/v1/api_pb'
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react'
|
||||
import { navigate } from 'src/app/navigation/rootNavigation'
|
||||
import { PortfolioChart } from 'src/components/home/PortfolioChart/PortfolioChart'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ChartPeriod } from '@uniswap/client-data-api/dist/data/v1/api_pb'
|
||||
import { ChartPeriod } from '@luxamm/client-data-api/dist/data/v1/api_pb'
|
||||
import { useEffect, useMemo } from 'react'
|
||||
import { type ChartData } from 'src/components/home/PortfolioChart/SparklineChart'
|
||||
import { useSporeColors } from 'ui/src'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { FeatureFlags, useFeatureFlag } from '@universe/gating'
|
||||
import React, { useCallback, useEffect, useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import 'react-native-reanimated'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useDispatch } from 'react-redux'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import React, { useCallback, useMemo } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { NativeSyntheticEvent, Share } from 'react-native'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { OneSignal } from 'react-native-onesignal'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { OnboardingStackBaseParams, useOnboardingStackNavigation } from 'src/app/navigation/types'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ReactNativeIdfaAaid from '@sparkfabrik/react-native-idfa-aaid'
|
||||
import { ANONYMOUS_DEVICE_ID, OriginApplication } from '@uniswap/analytics'
|
||||
import { ANONYMOUS_DEVICE_ID, OriginApplication } from '@luxamm/analytics'
|
||||
import DeviceInfo from 'react-native-device-info'
|
||||
import { call, delay, fork, select } from 'typed-redux-saga'
|
||||
import { uniswapUrls } from 'uniswap/src/constants/urls'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { queryOptions } from '@tanstack/react-query'
|
||||
import { PlatformType } from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { PlatformType } from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import {
|
||||
createFetchClient,
|
||||
createNotificationsApiClient,
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import type { MobileState } from 'src/app/mobileReducer'
|
||||
import { BannerId, MOBILE_NAV_PREFIX } from 'src/notification-service/data-sources/banners/types'
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { FeatureFlags, getFeatureFlag } from '@universe/gating'
|
||||
import { BannerId } from 'src/notification-service/data-sources/banners/types'
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { FeatureFlags, getFeatureFlag } from '@universe/gating'
|
||||
import { checkNotifications, type PermissionStatus } from 'react-native-permissions'
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import type { MobileState } from 'src/app/mobileReducer'
|
||||
import { BannerId, MOBILE_NAV_PREFIX } from 'src/notification-service/data-sources/banners/types'
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction, SharedQueryClient } from '@universe/api'
|
||||
import type { MobileState } from 'src/app/mobileReducer'
|
||||
import { BannerId, UNITAG_NAV_PREFIX } from 'src/notification-service/data-sources/banners/types'
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import {
|
||||
Notification,
|
||||
NotificationVersion,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { BackgroundType, ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { DynamicConfigs, ForceUpgradeConfigKey, type ForceUpgradeStatus, getDynamicConfigValue } from '@universe/gating'
|
||||
import { createIntervalNotificationDataSource, type NotificationDataSource } from '@universe/notifications'
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
ContentStyle,
|
||||
Notification,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { type ReactiveCondition } from '@universe/notifications'
|
||||
import { type MobileState } from 'src/app/mobileReducer'
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
Content,
|
||||
Metadata,
|
||||
Notification,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { ContentStyle } from '@universe/api'
|
||||
import { type MobileState } from 'src/app/mobileReducer'
|
||||
import {
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
Metadata,
|
||||
Notification,
|
||||
OnClick,
|
||||
} from '@uniswap/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
} from '@luxamm/client-notification-service/dist/uniswap/notificationservice/v1/api_pb'
|
||||
import { ContentStyle, type InAppNotification, OnClickAction } from '@universe/api'
|
||||
import { type TriggerCondition } from '@universe/notifications/src/notification-data-source/implementations/createLocalTriggerDataSource'
|
||||
import { type MobileState } from 'src/app/mobileReducer'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { RouteProp } from '@react-navigation/native'
|
||||
import { useIsFocused, useNavigation, useRoute, useScrollToTop } from '@react-navigation/native'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { FeatureFlags, useFeatureFlag } from '@universe/gating'
|
||||
import { useEffect, useRef, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
||||
import { ReactNavigationPerformanceView } from '@shopify/react-native-performance-navigation'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { DynamicConfigs, OnDeviceRecoveryConfigKey, useDynamicConfigValue } from '@universe/gating'
|
||||
import dayjs from 'dayjs'
|
||||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { TFunction } from 'i18next'
|
||||
import React, { useCallback, useEffect, useRef, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useFocusEffect } from '@react-navigation/core'
|
||||
import { NativeStackScreenProps } from '@react-navigation/native-stack'
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { addScreenshotListener } from 'expo-screen-capture'
|
||||
import React, { useCallback, useEffect, useReducer, useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { SharedEventName } from '@uniswap/analytics-events'
|
||||
import { SharedEventName } from '@luxamm/analytics-events'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { AppStackScreenProp } from 'src/app/navigation/types'
|
||||
|
||||
Reference in New Issue
Block a user