react-native-yoga-jsi 0.0.3 → 0.1.0

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.
@@ -366,7 +366,7 @@ namespace nodeProperties
366
366
  if (count > 1 && arguments[1].isNumber())
367
367
  ownerHeight = arguments[1].getNumber();
368
368
 
369
- if (count == 3)
369
+ if (count == 3 && arguments[2].isNumber())
370
370
  direction = static_cast<YGDirection>(arguments[2].getNumber());
371
371
 
372
372
  YGNodeCalculateLayout(node, ownerWidth, ownerHeight, direction);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-yoga-jsi",
3
- "version": "0.0.3",
3
+ "version": "0.1.0",
4
4
  "description": "Using Yoga with JSI in React Native",
5
5
  "packageManager": "bun@1.1.26",
6
6
  "main": "lib/commonjs/index",