Release 0.14.0
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 HybridObject
s:
// 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
NONNULL
function pointers (#250) (7afac07) - Fix jboolean parse in Structs (#260) (5cc2337)
- Pre-allocate
defaultValue
for funcs (#255) (25b1917)