react-native-worklets 0.8.0-nightly-20251209-adbe0b9da → 0.8.0-nightly-20251211-e7bcde84a
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.
- package/Common/cpp/worklets/Tools/Defs.h +2 -2
- package/Common/cpp/worklets/WorkletRuntime/WorkletRuntime.cpp +2 -1
- package/android/build.gradle +1 -1
- package/lib/module/debug/jsVersion.js +1 -1
- package/lib/typescript/debug/jsVersion.d.ts +1 -1
- package/package.json +3 -3
- package/src/debug/jsVersion.ts +1 -1
|
@@ -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
|
-
|
|
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();
|
package/android/build.gradle
CHANGED
|
@@ -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.
|
|
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-
|
|
8
|
+
export const jsVersion = '0.8.0-nightly-20251211-e7bcde84a';
|
|
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-
|
|
6
|
+
export declare const jsVersion = "0.8.0-nightly-20251211-e7bcde84a";
|
|
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-
|
|
3
|
+
"version": "0.8.0-nightly-20251211-e7bcde84a",
|
|
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
|
|
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
|
|
86
|
+
"react-native": "0.83.0",
|
|
87
87
|
"react-native-builder-bob": "0.40.13",
|
|
88
88
|
"typescript": "5.8.3"
|
|
89
89
|
},
|
package/src/debug/jsVersion.ts
CHANGED
|
@@ -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-
|
|
8
|
+
export const jsVersion = '0.8.0-nightly-20251211-e7bcde84a';
|