@shopify/react-native-skia 0.1.204 → 0.1.207

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.
@@ -145,7 +145,7 @@ public abstract class SkiaBaseView extends ReactViewGroup implements TextureView
145
145
  public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
146
146
  Log.i(tag, "onSurfaceTextureDestroyed");
147
147
  // https://developer.android.com/reference/android/view/TextureView.SurfaceTextureListener#onSurfaceTextureDestroyed(android.graphics.SurfaceTexture)
148
- destroySurface();
148
+ surfaceDestroyed();
149
149
  createSurfaceTexture();
150
150
  return false;
151
151
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  #include "JsiSkData.h"
9
9
  #include "JsiSkHostObjects.h"
10
- #include "JsiSkTypefaceFontProvider.h"
10
+ #include "JsiSkTypeFaceFontProvider.h"
11
11
 
12
12
  namespace RNSkia {
13
13
 
@@ -19,7 +19,7 @@ class SkWriteBuffer;
19
19
  * of `SkColorFilters::Table`, and provides a way to share the table data between client code and
20
20
  * the returned SkColorFilter. Once created, an SkColorTable is immutable.
21
21
  */
22
- class SkColorTable : public SkRefCnt {
22
+ class SK_API SkColorTable : public SkRefCnt {
23
23
  public:
24
24
  // Creates a new SkColorTable with 'table' used for all four channels. The table is copied into
25
25
  // the SkColorTable.
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.204",
10
+ "version": "0.1.207",
11
11
  "description": "High-performance React Native Graphics using Skia",
12
12
  "main": "lib/module/index.js",
13
13
  "files": [