react-native-worklets 0.8.0-nightly-20251214-10058a8fb → 0.8.0-nightly-20251215-ac491ac0a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,13 +14,15 @@ feature_flags = "-DWORKLETS_FEATURE_FLAGS=\"#{worklets_get_static_feature_flags(
14
14
  version_flags = "-DWORKLETS_VERSION=#{package['version']} -DREACT_NATIVE_MINOR_VERSION=#{$worklets_config[:react_native_minor_version]}"
15
15
  worklets_profiling_flag = ENV['IS_WORKLETS_PROFILING'] ? '-DWORKLETS_PROFILING' : ''
16
16
  bundle_mode_flag = $worklets_config[:bundle_mode] ? '-DWORKLETS_BUNDLE_MODE' : ''
17
- # React Native doesn't expose these flags, but not having them
18
- # can lead to runtime errors due to ABI mismatches.
19
- # There's also
20
- # HERMESVM_PROFILER_OPCODE
21
- # HERMESVM_PROFILER_BB
22
- # which shouldn't be defined in standard setups.
23
- hermes_debug_hidden_flags = 'HERMES_ENABLE_DEBUGGER=1'
17
+ hermes_v1_flag = ENV['RCT_HERMES_V1_ENABLED'] == '1' ? '-DHERMES_V1_ENABLED' : ''
18
+
19
+ # React Native doesn't expose these flags, but not having them
20
+ # can lead to runtime errors due to ABI mismatches.
21
+ # There's also
22
+ # HERMESVM_PROFILER_OPCODE
23
+ # HERMESVM_PROFILER_BB
24
+ # which shouldn't be defined in standard setups.
25
+ hermes_debug_hidden_flags = 'HERMES_ENABLE_DEBUGGER=1'
24
26
 
25
27
  Pod::Spec.new do |s|
26
28
  s.name = "RNWorklets"
@@ -74,7 +76,7 @@ Pod::Spec.new do |s|
74
76
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
75
77
  "GCC_PREPROCESSOR_DEFINITIONS[config=*Debug*]" => "$(inherited) #{hermes_debug_hidden_flags}",
76
78
  "GCC_PREPROCESSOR_DEFINITIONS[config=*Release*]" => "$(inherited)",
77
- "OTHER_CFLAGS" => "$(inherited) #{feature_flags} #{version_flags} #{worklets_profiling_flag} #{bundle_mode_flag}",
79
+ "OTHER_CFLAGS" => "$(inherited) #{feature_flags} #{version_flags} #{worklets_profiling_flag} #{bundle_mode_flag} #{hermes_v1_flag}",
78
80
  }
79
81
  s.xcconfig = {
80
82
  "HEADER_SEARCH_PATHS" => [
@@ -5,5 +5,5 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '0.8.0-nightly-20251214-10058a8fb';
8
+ export const jsVersion = '0.8.0-nightly-20251215-ac491ac0a';
9
9
  //# sourceMappingURL=jsVersion.js.map
@@ -3,5 +3,5 @@
3
3
  * version used to build the native part of the library in runtime. Remember to
4
4
  * keep this in sync with the version declared in `package.json`
5
5
  */
6
- export declare const jsVersion = "0.8.0-nightly-20251214-10058a8fb";
6
+ export declare const jsVersion = "0.8.0-nightly-20251215-ac491ac0a";
7
7
  //# sourceMappingURL=jsVersion.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-worklets",
3
- "version": "0.8.0-nightly-20251214-10058a8fb",
3
+ "version": "0.8.0-nightly-20251215-ac491ac0a",
4
4
  "description": "The React Native multithreading library",
5
5
  "keywords": [
6
6
  "react-native",
@@ -5,4 +5,4 @@
5
5
  * version used to build the native part of the library in runtime. Remember to
6
6
  * keep this in sync with the version declared in `package.json`
7
7
  */
8
- export const jsVersion = '0.8.0-nightly-20251214-10058a8fb';
8
+ export const jsVersion = '0.8.0-nightly-20251215-ac491ac0a';