File tree Expand file tree Collapse file tree
packages/react-native-executorch/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11export const DOWNLOAD_EVENT_ENDPOINT =
22 'https://ai.swmansion.com/telemetry/downloads/api/downloads' ;
3+
4+ // eslint-disable-next-line @typescript-eslint/no-var-requires
5+ export const LIB_VERSION : string = require ( '../../package.json' ) . version ;
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ declare global {
105105 symbols : string ,
106106 independentCharacters ?: boolean
107107 ) => Promise < any > ;
108+ // eslint-disable-next-line camelcase
108109 var __rne_isEmulator : ( ) => boolean ;
109110}
110111// eslint-disable no-var
126127 global . loadTextToSpeechKokoro == null ||
127128 global . loadOCR == null ||
128129 global . loadVerticalOCR == null ||
130+ // eslint-disable-next-line camelcase
129131 global . __rne_isEmulator == null
130132) {
131133 if ( ! ETInstallerNativeModule ) {
Original file line number Diff line number Diff line change 11import { ResourceSource } from '..' ;
22import { getModelNameForUrl } from '../constants/modelUrls' ;
3- import { DOWNLOAD_EVENT_ENDPOINT } from '../constants/resourceFetcher' ;
3+ import { DOWNLOAD_EVENT_ENDPOINT , LIB_VERSION } from '../constants/resourceFetcher' ;
44
55/**
66 * Http status codes
You can’t perform that action at this time.
0 commit comments