* feat: Allow converting `Promise` from JS to C++
* feat: Only expose `create()` in Promise
* fix: Use new `create()` fn
* feat: Add test for `awaitPromise(...)`
* fix: Call `.then` / `.catch`
* Delete `JSPromise`
* fix: Don't swallow errors in timeouted promise
* chore: Add `exception` include
* fix: Fix promise test
* fix: Properly chain .then and .catch functions
* Update getTests.ts
* chore: Format
* fix: Implement `canConvert` for Promise
* feat: Prettify Prototype names
* perf: Make it fast in release as well.
* Update TypeInfo.hpp
* fix: Remove unnecessary method now
* perf: Make namespace removal `::` faster
* Update TypeInfo.hpp
* fix: Fix `SwiftClosure` not reading `void*` properly - use `Unmanaged<T>` again
* feat: Add a `dispose()` method to `HybridObject`
* feat: Split `registerRawHybridMethod` out of `registerHybridMethod`
* fix: Throw better error for when `NativeState` is nullptr
* Better debug info
* `FunctionType` -> `FunctionKind`
* fix: Either dynamically get name, or statically through typeinfo.
* feat: Base for Kotlin modules
* fix: Properly make sure Nitro C++ is initialized
* Update JNIOnLoad.java
* feat: Set up `initHybrid()` in JHybridObject
* chore: Fix a bunch of linter issues
* fix: Fix fbjni codegen
* Update JHybridObject.hpp
* fix: Make `initHybrid()` JVM static
* feat: Make `mHybridData` private member of each in inheritance chain
* Generate specs
* feat: Set up proper inheritance graph in FBJNI using virtual inheritance `HybridObject` (#46)
* feat: Try to set up proper inheritance in FBJNI
* Virtual inheritance
* Update JHybridImageFactorySpec.cpp
* It works...
* feat: Virtual base
* Update HybridTestObject.hpp
* Update CMakeLists.txt
* Update JHybridObject.hpp
* Virtual dtor
* Dynamic cast to NativeState 🤔
* Virtual proper
* feat: Generate as virtual base?
* chore: Change to `updateNative`
* feat: Cannot default-construct HybridObject
* fix: Use `dynamic` pointer cast for `HybridContext` because `HybridObject` is now a virtual base
* Update README.md
* feat: Make `HybridObject` a `NativeState`
* feat: Get `NativeState` inside `callMethod(...)`, no more passing `this*`
* Update HybridObject.hpp
* fix: Convert NativeState to `jsi::Value` again
* Use `Object.create`
* fix broken test
* feat: Add `__type` hidden state to objects
* chore: Format
* `makeGlobal` -> `makeShared`
* feat: Extract to `HybridObjectPrototype`
* Update HybridObject.hpp
* feat: Properly build Prototype chain
* Cache prototypes
* fix: Fix prototype caching
* Extract to separate file
* fix: Some comments
* chore: Format
* feat: Freeze prototypes
* Remove freeze
* feat: Optimize `NativeState` performance, make it 56x faster (#12)
* fix: Fix `HybridFunction` usage
* Update HybridFunction.hpp
* mark final
* feat: Add new `registerHybrids(...)` API
* fix: Remove logs
* perf: Make `registerHybrids` faster by using function pointer instead of `std::function<...>`
* fix: Turn off memory allocations debugger
* refactor
* Format
* fix: Fix cyclic includes for `JSIConverter+HybridObject`
* DO_NULL_CHECKS
* fix: Use `jsi::Value` directly to avoid down and up casting again
* Add `__type` to `HybridObject` declaration
* feat: Throw `jsi::JSError` again
* feat: Add prototype tests
* feat: Set `__type` on Prototypes as well
* Delete PointerHolder.hpp
* Delete `JSIPrototypeCache`
* fix: Use `jsi::Value` directly