@auto_js/napi_exports 0.0.9 → 0.0.10

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.
package/node_api.cc CHANGED
@@ -2,14 +2,12 @@ module;
2
2
  #include "napi_js/extern.h"
3
3
  #include <node_api.h>
4
4
  export module nodejs:node_api;
5
- // NOLINTBEGIN(misc-unused-using-decls)
6
5
 
7
6
  // functions
8
7
  export using ::napi_acquire_threadsafe_function;
9
8
  export using ::napi_add_async_cleanup_hook;
10
9
  export using ::napi_add_env_cleanup_hook;
11
10
  export using ::napi_add_env_cleanup_hook;
12
- export using ::napi_async_cleanup_hook_handle;
13
11
  export using ::napi_call_threadsafe_function;
14
12
  export using ::napi_create_threadsafe_function;
15
13
  export using ::napi_get_threadsafe_function_context;
@@ -17,7 +15,6 @@ export using ::napi_get_uv_event_loop;
17
15
  export using ::napi_ref_threadsafe_function;
18
16
  export using ::napi_release_threadsafe_function;
19
17
  export using ::napi_remove_async_cleanup_hook;
20
- export using ::napi_threadsafe_function_call_js;
21
18
  export using ::napi_unref_threadsafe_function;
22
19
 
23
20
  // NOLINTEND(misc-unused-using-decls)
package/node_api_types.cc CHANGED
@@ -3,8 +3,10 @@ module;
3
3
  export module nodejs:node_api_types;
4
4
  // NOLINTBEGIN(misc-unused-using-decls)
5
5
 
6
+ export using ::napi_async_cleanup_hook_handle;
6
7
  export using ::napi_async_cleanup_hook;
7
8
  export using ::napi_cleanup_hook;
9
+ export using ::napi_threadsafe_function_call_js;
8
10
  export using ::napi_threadsafe_function;
9
11
 
10
12
  // napi_threadsafe_function_release_mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auto_js/napi_exports",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "C++ module exports for nodejs & n-api",
5
5
  "author": "https://github.com/laverdet/",
6
6
  "homepage": "https://github.com/laverdet/isolated-vm/tree/experimental/packages/third_party/nodejs",