Add API to get version information (#2309)
This commit is contained in:
@@ -29,6 +29,8 @@ void InitNonStreamingSpeakerDiarization(Napi::Env env, Napi::Object exports);
|
||||
|
||||
void InitNonStreamingSpeechDenoiser(Napi::Env env, Napi::Object exports);
|
||||
|
||||
void InitVersion(Napi::Env env, Napi::Object exports);
|
||||
|
||||
#if __OHOS__
|
||||
void InitUtils(Napi::Env env, Napi::Object exports);
|
||||
#endif
|
||||
@@ -47,6 +49,7 @@ Napi::Object Init(Napi::Env env, Napi::Object exports) {
|
||||
InitKeywordSpotting(env, exports);
|
||||
InitNonStreamingSpeakerDiarization(env, exports);
|
||||
InitNonStreamingSpeechDenoiser(env, exports);
|
||||
InitVersion(env, exports);
|
||||
|
||||
#if __OHOS__
|
||||
InitUtils(env, exports);
|
||||
|
||||
Reference in New Issue
Block a user