0.14.0 (2024-10-30)
Fixes a few issues, and adds a new JS-only function getHybridObjectConstructor(...) which allows you to use new and instanceof with HybridObjects:
// uses NitroModules.createHybridObject<Image>('Image') under the hood
const HybridImage = getHybridObjectConstructor<Image>('Image')
const image1 = new HybridImage()
const image2 = new HybridImage()
const isImage = image1 instanceof HybridImage✨ Features
🐛 Bug Fixes
- Fix
NONNULLfunction pointers (#250) (7afac07) - Fix jboolean parse in Structs (#260) (5cc2337)
- Pre-allocate
defaultValuefor funcs (#255) (25b1917)