@shopify/react-native-skia 0.1.167 → 0.1.169

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ public:
47
47
  count > 1 && !arguments[1].isUndefined() && !arguments[1].isNull()
48
48
  ? JsiSkMatrix::fromValue(runtime, arguments[1])
49
49
  : nullptr;
50
- auto mode = count > 2 && arguments[2].asBool()
50
+ auto mode = count > 2 && arguments[2].isBool() && arguments[2].getBool()
51
51
  ? SkPath::kExtend_AddPathMode
52
52
  : SkPath::kAppend_AddPathMode;
53
53
  if (matrix == nullptr) {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "setup-skia-web": "./scripts/setup-canvaskit.js"
8
8
  },
9
9
  "title": "React Native Skia",
10
- "version": "0.1.167",
10
+ "version": "0.1.169",
11
11
  "description": "High-performance React Native Graphics using Skia",
12
12
  "main": "lib/module/index.js",
13
13
  "files": [