feat: update headers from nodejs/node tag v24.9.0 (#60)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
diff --git a/include/js_native_api.h b/include/js_native_api.h
index e1d27a8..7bf3311 100644
--- a/include/js_native_api.h
+++ b/include/js_native_api.h
@@ -348,7 +348,7 @@
// Deletes a reference. The referenced value is released, and may
// be GC'd unless there are other references to it.
-NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(napi_env env,
+NAPI_EXTERN napi_status NAPI_CDECL napi_delete_reference(node_api_basic_env env,
napi_ref ref);
// Increments the reference count, optionally returning the resulting count.
@@ -470,6 +470,7 @@
napi_value* arraybuffer,
size_t* byte_offset);
+
// version management
NAPI_EXTERN napi_status NAPI_CDECL napi_get_version(node_api_basic_env env,
uint32_t* result);