diff --git a/include/kth/js-native/node.hpp b/include/kth/js-native/node.hpp index ffac07f..cc219ef 100644 --- a/include/kth/js-native/node.hpp +++ b/include/kth/js-native/node.hpp @@ -17,6 +17,14 @@ void node_get_chain(v8::FunctionCallbackInfo const& args); void node_print_thread_id(v8::FunctionCallbackInfo const& args); void node_running(v8::FunctionCallbackInfo const& args); +void node_capi_version(v8::FunctionCallbackInfo const& args); +void node_cppapi_version(v8::FunctionCallbackInfo const& args); +void node_microarchitecture(v8::FunctionCallbackInfo const& args); +void node_march_names(v8::FunctionCallbackInfo const& args); +void node_currency_symbol(v8::FunctionCallbackInfo const& args); +void node_currency(v8::FunctionCallbackInfo const& args); +void node_db_type(v8::FunctionCallbackInfo const& args); + } // namespace kth::js_native #endif //KTH_JS_NATIVE_NODE_HPP_ diff --git a/package-lock.json b/package-lock.json index ddcbd36..316c16f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@knuth/bch-native", - "version": "0.51.0", + "version": "0.52.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@knuth/bch-native", - "version": "0.51.0", + "version": "0.52.0", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 3833075..0f09ba6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@knuth/bch-native", - "version": "0.51.0", + "version": "0.52.0", "description": "Foundation library for @knuth/bch (Bitcoin Cash development platform for Javascript applications)", "repository": { "type": "git", diff --git a/src/kth-native.cpp b/src/kth-native.cpp index 40be4b2..c1806c6 100644 --- a/src/kth-native.cpp +++ b/src/kth-native.cpp @@ -54,6 +54,15 @@ void init(v8::Local exports) { NODE_SET_METHOD(exports, "node_get_chain", node_get_chain); NODE_SET_METHOD(exports, "node_destruct", node_destruct); NODE_SET_METHOD(exports, "node_signal_stop", node_signal_stop); + + NODE_SET_METHOD(exports, "node_capi_version", node_capi_version); + NODE_SET_METHOD(exports, "node_cppapi_version", node_cppapi_version); + NODE_SET_METHOD(exports, "node_microarchitecture", node_microarchitecture); + NODE_SET_METHOD(exports, "node_march_names", node_march_names); + NODE_SET_METHOD(exports, "node_currency_symbol", node_currency_symbol); + NODE_SET_METHOD(exports, "node_currency", node_currency); + NODE_SET_METHOD(exports, "node_db_type", node_db_type); + NODE_SET_METHOD(exports, "config_endpoint_allocate_n", config_endpoint_allocate_n); NODE_SET_METHOD(exports, "config_checkpoint_allocate_n", config_checkpoint_allocate_n); NODE_SET_METHOD(exports, "config_node_settings_default", config_node_settings_default);