You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds error enum templating support and adds new configuration parameters (#10)
* feat: add out_dirname_api flag
This allows the caller to configure which type of api should be used to
get the current directory - __dirname (classic node / commonjs) or
import.meta.module (esm)
* fix: add conversion between external module type -> internal module type
* refactor: rename OutputModuleType -> DirnameApi
* feat: add flag to allow disabling of uniffi dylib auto loading
This is important for situations where a uniffi dependency should be
conditionally loaded.
* feat: add check to ensure uniffi native code was loaded before performing a low level ffi function call
* fix: re-export uniffiLoad / uniffiUnload from -node script
* fix: update docs comments for uniffiLoad / uniffiUnload
* fix: add missing `type` prefixes in node script
* refactor: rename node.ts template to livekit-node.ts
* feat: parameterize output sys file name in templates
* refactor: use Default for flag enums
* feat: add out_import_extension parameter for changing import file name extension
* fix: make liftError use non hard coded error type
* refactor: rename template scripts to drop livekit prefix
* fix: remove unused imports
* docs: fix incorrect docstring
* docs: update docstring
* docs: add missing period
"description": "Uniffi wrapper around the {{ ci.crate_name() }} rust crate.",
4
-
"version": "0.0.1",
5
-
{# "main": "{{ node_ts_main_file_name }}.js", FIXME: should this be set? But then I'd need to define a whole build system in here, and that is probably going too far... -#}
0 commit comments