react-native-worklets 0.8.0-nightly-20251210-adbe0b9da → 0.8.0-nightly-20251212-10058a8fb

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.
@@ -9,7 +9,7 @@ so we have to check if headers are available.
9
9
  #define JS_RUNTIME_HERMES 1
10
10
  #endif
11
11
 
12
- #if REACT_NATIVE_MINOR_VERSION >= 84
12
+ #if REACT_NATIVE_MINOR_VERSION >= 84 || defined(WORKLETS_BUNDLE_MODE)
13
13
  #include <cxxreact/JSBigString.h>
14
14
  namespace worklets {
15
15
  using JSBigStringBuffer = facebook::react::JSBigString;
@@ -19,4 +19,4 @@ using JSBigStringBuffer = facebook::react::JSBigString;
19
19
  namespace worklets {
20
20
  using JSBigStringBuffer = facebook::react::BigStringBuffer;
21
21
  }
22
- #endif // REACT_NATIVE_MINOR_VERSION >= 84
22
+ #endif // REACT_NATIVE_MINOR_VERSION >= 84 || defined(WORKLETS_BUNDLE_MODE)
@@ -116,7 +116,8 @@ void WorkletRuntime::init(std::shared_ptr<JSIWorkletsModuleProxy> jsiWorkletsMod
116
116
  }
117
117
 
118
118
  try {
119
- rt.evaluateJavaScript(script, sourceUrl);
119
+ auto buffer = std::make_shared<const BigStringBuffer>(script);
120
+ rt.evaluateJavaScript(buffer, sourceUrl);
120
121
  } catch (facebook::jsi::JSError error) {
121
122
  const auto &message = error.getMessage();
122
123
  const auto &stack = error.getStack();
@@ -102,7 +102,7 @@ def WORKLETS_PROFILING = safeAppExtGet("enableWorkletsProfiling", false)
102
102
  // Set version for prefab
103
103
  version WORKLETS_VERSION
104
104
 
105
- def workletsPrefabHeadersDir = project.file("${getLayout().getBuildDirectory()}/prefab-headers/worklets")
105
+ def workletsPrefabHeadersDir = project.file("${getLayout().getBuildDirectory().getAsFile().get().absolutePath}/prefab-headers/worklets")
106
106
 
107
107
  def JS_RUNTIME = {
108
108
  // Override JS runtime with environment variable
@@ -312,7 +312,7 @@ tasks.register('prepareWorkletsHeadersForPrefabs', Copy) {
312
312
  from("$projectDir/src/main/cpp")
313
313
  from("$projectDir/../Common/cpp")
314
314
  include("worklets/**/*.h")
315
- into(workletsPrefabHeadersDir)
315
+ into(workletsPrefabHeadersDir.absolutePath)
316
316
  }
317
317
 
318
318
  interface FSService {
@@ -338,7 +338,7 @@ repositories {
338
338
  dependencies {
339
339
  implementation "com.facebook.yoga:proguard-annotations:1.19.0"
340
340
  implementation "androidx.transition:transition:1.6.0"
341
- implementation "androidx.core:core:1.17.0"
341
+ implementation "androidx.core:core:1.15.0"
342
342
 
343
343
  implementation "com.facebook.react:react-android" // version substituted by RNGP
344
344
  if (JS_RUNTIME == "hermes") {
@@ -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-20251210-adbe0b9da';
8
+ export const jsVersion = '0.8.0-nightly-20251212-10058a8fb';
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-20251210-adbe0b9da";
6
+ export declare const jsVersion = "0.8.0-nightly-20251212-10058a8fb";
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-20251210-adbe0b9da",
3
+ "version": "0.8.0-nightly-20251212-10058a8fb",
4
4
  "description": "The React Native multithreading library",
5
5
  "keywords": [
6
6
  "react-native",
@@ -71,7 +71,7 @@
71
71
  "@babel/cli": "7.28.3",
72
72
  "@babel/core": "7.28.4",
73
73
  "@react-native-community/cli": "20.0.0",
74
- "@react-native/eslint-config": "0.83.0-rc.5",
74
+ "@react-native/eslint-config": "0.83.0",
75
75
  "@types/jest": "30.0.0",
76
76
  "@types/node": "24.7.0",
77
77
  "@types/react": "19.2.2",
@@ -83,7 +83,7 @@
83
83
  "madge": "8.0.0",
84
84
  "prettier": "3.6.2",
85
85
  "react": "19.2.0",
86
- "react-native": "0.83.0-rc.5",
86
+ "react-native": "0.83.0",
87
87
  "react-native-builder-bob": "0.40.13",
88
88
  "typescript": "5.8.3"
89
89
  },
@@ -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-20251210-adbe0b9da';
8
+ export const jsVersion = '0.8.0-nightly-20251212-10058a8fb';