diff --git a/.gitignore b/.gitignore index 8f51723aff57d7d2a16a026d7d58234cccd6bc14..eda777a66606e89808b3b5fe48a116cbdacf5719 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .DS_Store .idea node_modules +scripts diff --git a/harmony/background_timer.har b/harmony/background_timer.har index 9e4cd5e277cfa237678b8026d2b3d7cc311b9a5c..4eb2be9ddf7abfa9890d5d678b9b68f9e19e0f8f 100644 Binary files a/harmony/background_timer.har and b/harmony/background_timer.har differ diff --git a/harmony/background_timer/oh-package.json5 b/harmony/background_timer/oh-package.json5 index 1ddd51b839a2a3af1c5cb7b6904311a41e9a15cd..911a2f766d4902c0dd761e5e7fb07cb3025332ac 100644 --- a/harmony/background_timer/oh-package.json5 +++ b/harmony/background_timer/oh-package.json5 @@ -1,11 +1,11 @@ { - "name": "@react-native-ohos/react-native-background-timer", - "version": "2.4.2-rc.1", - "description": "Please describe the basic information.", - "main": "Index.ets", - "author": "", - "license": "MIT", - "dependencies": { - "@rnoh/react-native-openharmony": '^0.72.38' - } -} + name: '@react-native-ohos/react-native-background-timer', + version: '2.4.2-rc.2', + description: 'Please describe the basic information.', + main: 'Index.ets', + author: '', + license: 'MIT', + dependencies: { + '@rnoh/react-native-openharmony': '^0.72.38', + }, +} \ No newline at end of file diff --git a/package.json b/package.json index 19d0e0fecf9ec7cc674f1db4c7516c449a7aaba3..c05f22064950321725bac1829d222b105446ea1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-ohos/react-native-background-timer", - "version": "2.4.2-rc.1", + "version": "2.4.2-rc.2", "description": "Emit event periodically (even when app is in the background)", "keywords": [ "react-native", @@ -12,7 +12,7 @@ "main": "index.js", "scripts": { "eslint": "eslint *.js", - "eslint:fix": "yarn eslint --fix", + "eslint:fix": "yarn eslint --fix", "test": "echo \"Error: no test specified\" && exit 1", "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name react-native-background-timer --cpp-output-path ./harmony/background_timer/src/main/cpp/generated --ets-output-path ./harmony/background_timer/src/main/ets/generated --turbo-modules-spec-paths ./src/RNBackgroundTimerSpec.ts" }, @@ -60,4 +60,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file