Skip to content

Commit be8a0ec

Browse files
committed
配置修改
1 parent ff6e6e1 commit be8a0ec

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
2-
"name": "react-native-exception-handler",
2+
"name": "@react-native-oh-tpl/react-native-exception-handler",
33
"version": "2.10.10-0.0.2",
44
"description": "A react native module that lets you to register a global error handler that can capture fatal/non fatal uncaught exceptions.",
55
"react-native": "src/index",
66
"source": "src/index",
77
"main": "lib/commonjs/index",
88
"module": "lib/module/index",
99
"typings": "lib/typescript/index.d.ts",
10+
"publishConfig": {
11+
"registry": "https://registry.npmjs.org/",
12+
"access": "public"
13+
},
1014
"files": [
1115
"src",
1216
"lib",
@@ -35,7 +39,7 @@
3539
},
3640
"repository": {
3741
"type": "git",
38-
"url": "git+https://github.com/a7ul/react-native-exception-handler"
42+
"url": "https://github.com/react-native-oh-library/react-native-exception-handler.git"
3943
},
4044
"keywords": [
4145
"react",

src/NativeExceptionHandler.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* SOFTWARE.
2323
*/
2424

25-
import type { TurboModule } from 'react-native/Libraries/RCTExport';
25+
import type { TurboModule } from "react-native/Libraries/TurboModule/RCTExport";
2626
import { TurboModuleRegistry } from 'react-native';
2727

2828
interface ExceptionHandlerTurboModuleProtocol {

0 commit comments

Comments
 (0)