From e4f2728baa340c9a6e91a9460afe0407f71e50c9 Mon Sep 17 00:00:00 2001 From: hambeles <57330182+SelcukDemircioglu@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:38:16 +0300 Subject: [PATCH 1/2] Update index.tsx --- src/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.tsx b/src/index.tsx index e848b98..1b1192b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,4 +1,5 @@ import { NativeModules, Platform } from 'react-native'; +import { RootCheckResult } from './ValueTypes'; const LINKING_ERROR = `The package 'react-native-detect-frida' doesn't seem to be linked. Make sure: \n\n` + From 3c033aa330b329abac0638dd731686d9993d3979 Mon Sep 17 00:00:00 2001 From: hambeles <57330182+SelcukDemircioglu@users.noreply.github.com> Date: Sat, 30 Nov 2024 15:40:59 +0300 Subject: [PATCH 2/2] Update ValueTypes.ts --- src/ValueTypes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ValueTypes.ts b/src/ValueTypes.ts index 724beb9..81af57e 100644 --- a/src/ValueTypes.ts +++ b/src/ValueTypes.ts @@ -1,11 +1,11 @@ -interface CheckStatus { +export interface CheckStatus { id: number; name: string; state: boolean; } // eslint-disable-next-line @typescript-eslint/no-unused-vars -interface RootCheckResult { +export interface RootCheckResult { isRooted: boolean; checkStatus: CheckStatus[]; }