From a9f04b2bc6bb94dbe59e467e6e13a7b40496a959 Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sun, 17 Aug 2025 00:53:08 +0700 Subject: [PATCH] fix(shims): unproxify to prevent additional lookups --- shims/@react-navigation~native.ts | 3 ++- shims/@react-navigation~stack.ts | 3 ++- shims/@shopify~flash-list.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/shims/@react-navigation~native.ts b/shims/@react-navigation~native.ts index a339bf6..168fa12 100644 --- a/shims/@react-navigation~native.ts +++ b/shims/@react-navigation~native.ts @@ -1,3 +1,4 @@ import { ReactNavigationNative } from '@revenge-mod/externals/react-navigation' +import { unproxify } from '@revenge-mod/utils/proxy' -module.exports = ReactNavigationNative +module.exports = unproxify(ReactNavigationNative) diff --git a/shims/@react-navigation~stack.ts b/shims/@react-navigation~stack.ts index 08d6f88..85b4d60 100644 --- a/shims/@react-navigation~stack.ts +++ b/shims/@react-navigation~stack.ts @@ -1,3 +1,4 @@ import { ReactNavigationStack } from '@revenge-mod/externals/react-navigation' +import { unproxify } from '@revenge-mod/utils/proxy' -module.exports = ReactNavigationStack +module.exports = unproxify(ReactNavigationStack) diff --git a/shims/@shopify~flash-list.ts b/shims/@shopify~flash-list.ts index ac18604..5694da2 100644 --- a/shims/@shopify~flash-list.ts +++ b/shims/@shopify~flash-list.ts @@ -1,3 +1,4 @@ import { FlashList } from '@revenge-mod/externals/shopify' +import { unproxify } from '@revenge-mod/utils/proxy' -module.exports = FlashList +module.exports = unproxify(FlashList)