javonet-nodejs-sdk 2.4.6 → 2.4.7
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/Binaries/Clr/Windows/X64/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/version.txt +1 -1
- package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X64/Utils.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/Linux/X64/core/handler/Handler.js +1 -1
- package/Binaries/Nodejs/Linux/X64/core/protocol/TypeSerializer.js +1 -1
- package/Binaries/Nodejs/Linux/X64/core/receiver/Receiver.js +7 -4
- package/Binaries/Nodejs/Linux/X64/core/receiver/ReceiverNative.js +2 -0
- package/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- package/Binaries/Nodejs/Linux/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- package/Binaries/Nodejs/MacOs/X64/core/handler/Handler.js +1 -1
- package/Binaries/Nodejs/MacOs/X64/core/protocol/TypeSerializer.js +1 -1
- package/Binaries/Nodejs/MacOs/X64/core/receiver/Receiver.js +7 -4
- package/Binaries/Nodejs/MacOs/X64/core/receiver/ReceiverNative.js +2 -0
- package/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- package/Binaries/Nodejs/MacOs/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- package/Binaries/Nodejs/Windows/X64/core/handler/Handler.js +1 -1
- package/Binaries/Nodejs/Windows/X64/core/protocol/TypeSerializer.js +1 -1
- package/Binaries/Nodejs/Windows/X64/core/receiver/Receiver.js +7 -4
- package/Binaries/Nodejs/Windows/X64/core/receiver/ReceiverNative.js +2 -0
- package/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionSerializer.js +4 -4
- package/Binaries/Nodejs/Windows/X64/{core → utils}/exception/ExceptionThrower.js +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Meta-Requirements-2.143/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Requirements-Dynamic-0.001/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.46/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.009/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-HasCompiler-0.025/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.027/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.08/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.048/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.278/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.63/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.31/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.1/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/bin/dlrun +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +93 -93
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +33 -10
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Meta-Requirements-2.143/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Requirements-Dynamic-0.001/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Capture-Tiny-0.48/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Clone-0.46/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-Config-0.009/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-HasCompiler-0.025/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-Helpers-0.027/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-InstallPaths-0.013/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/FFI-CheckLib-0.31/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/FFI-Platypus-2.08/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Build-0.4234/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Build-Tiny-0.048/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Runtime-0.016/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Nice-Try-v1.3.10/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/PPI-1.278/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Path-Tiny-0.146/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Try-Tiny-0.31/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/autobox-v3.0.1/install.json +1 -1
- package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +94 -94
- package/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- package/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm +33 -10
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.10/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.278/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.1/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Exception/SdkExceptionHelper.pm +93 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +33 -10
- package/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- package/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- package/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +0 -3
- package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
- package/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
- package/Binaries/Ruby/Linux/X64/core/handler/handler.rb +1 -1
- package/Binaries/Ruby/{MacOs/X64/core → Linux/X64/utils}/exceptions/exception_serializer.rb +1 -1
- package/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- package/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +1 -1
- package/Binaries/Ruby/{Linux/X64/core → MacOs/X64/utils}/exceptions/exception_serializer.rb +1 -1
- package/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- package/Binaries/Ruby/Windows/X64/core/handler/handler.rb +1 -1
- package/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_serializer.rb +1 -1
- package/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_thrower.rb +1 -1
- package/Binaries/version.txt +1 -1
- package/lib/core/handler/Handler.js +1 -1
- package/lib/core/protocol/TypeSerializer.js +1 -1
- package/lib/core/receiver/Receiver.js +7 -4
- package/lib/core/receiver/ReceiverNative.js +2 -0
- package/lib/sdk/InvocationContext.js +1 -1
- package/lib/sdk/Javonet.js +84 -61
- package/lib/sdk/RuntimeContext.js +1 -1
- package/lib/sdk/tools/SdkExceptionHelper.js +77 -0
- package/lib/{core → utils}/exception/ExceptionSerializer.js +4 -4
- package/lib/{core → utils}/exception/ExceptionThrower.js +1 -1
- package/package.json +1 -1
- /package/Binaries/Ruby/Linux/X64/{core → utils}/exceptions/exception_type.rb +0 -0
- /package/Binaries/Ruby/MacOs/X64/{core → utils}/exceptions/exception_type.rb +0 -0
- /package/Binaries/Ruby/Windows/X64/{core → utils}/exceptions/exception_type.rb +0 -0
|
@@ -65,9 +65,6 @@ class CommandSerializer:
|
|
|
65
65
|
inner_command = command.get_payload()[0]
|
|
66
66
|
self.insert_into_buffer(TypeSerializer.serialize_command(inner_command))
|
|
67
67
|
queue.append(inner_command)
|
|
68
|
-
elif isinstance(command.get_payload()[0], Exception):
|
|
69
|
-
result = self.serialize_primitive(str(command.get_payload()[0]))
|
|
70
|
-
self.insert_into_buffer(result)
|
|
71
68
|
else:
|
|
72
69
|
result = self.serialize_primitive(command.get_payload()[0])
|
|
73
70
|
self.insert_into_buffer(result)
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ArrayHandler.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/CastingHandler.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/GetTypeHandler.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ValueHandler.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/namespaceCache/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
@@ -65,9 +65,6 @@ class CommandSerializer:
|
|
|
65
65
|
inner_command = command.get_payload()[0]
|
|
66
66
|
self.insert_into_buffer(TypeSerializer.serialize_command(inner_command))
|
|
67
67
|
queue.append(inner_command)
|
|
68
|
-
elif isinstance(command.get_payload()[0], Exception):
|
|
69
|
-
result = self.serialize_primitive(str(command.get_payload()[0]))
|
|
70
|
-
self.insert_into_buffer(result)
|
|
71
68
|
else:
|
|
72
69
|
result = self.serialize_primitive(command.get_payload()[0])
|
|
73
70
|
self.insert_into_buffer(result)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/referenceCache/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/TypeCache.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/core/typeCache/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc
CHANGED
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary file
|
|
@@ -23,7 +23,7 @@ require_relative '../../core/handler/array_handler'
|
|
|
23
23
|
require_relative '../../core/handler/enable_namespace_handler'
|
|
24
24
|
require_relative '../../core/handler/enable_type_handler'
|
|
25
25
|
require_relative '../../core/reference_cache/references_cache'
|
|
26
|
-
require_relative '../../
|
|
26
|
+
require_relative '../../utils/exceptions/exception_serializer'
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Handler < AbstractHandler
|
|
@@ -23,7 +23,7 @@ require_relative '../../core/handler/array_handler'
|
|
|
23
23
|
require_relative '../../core/handler/enable_namespace_handler'
|
|
24
24
|
require_relative '../../core/handler/enable_type_handler'
|
|
25
25
|
require_relative '../../core/reference_cache/references_cache'
|
|
26
|
-
require_relative '../../
|
|
26
|
+
require_relative '../../utils/exceptions/exception_serializer'
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Handler < AbstractHandler
|
|
@@ -23,7 +23,7 @@ require_relative '../../core/handler/array_handler'
|
|
|
23
23
|
require_relative '../../core/handler/enable_namespace_handler'
|
|
24
24
|
require_relative '../../core/handler/enable_type_handler'
|
|
25
25
|
require_relative '../../core/reference_cache/references_cache'
|
|
26
|
-
require_relative '../../
|
|
26
|
+
require_relative '../../utils/exceptions/exception_serializer'
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Handler < AbstractHandler
|
package/Binaries/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.7
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const CommandType = require('../../utils/CommandType')
|
|
2
2
|
const Command = require("../../utils/Command");
|
|
3
3
|
const ReferenceCache = require('../referenceCache/ReferencesCache')
|
|
4
|
-
const ExceptionSerializer = require('
|
|
4
|
+
const ExceptionSerializer = require('../../utils/exception/ExceptionSerializer')
|
|
5
5
|
|
|
6
6
|
const ValueHandler = require('./ValueHandler')
|
|
7
7
|
const LoadLibraryHandler = require('./LoadLibraryHandler')
|
|
@@ -26,7 +26,7 @@ class TypeSerializer {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
static serializeCommand(command) {
|
|
29
|
-
const buffer = Buffer.alloc(7
|
|
29
|
+
const buffer = Buffer.alloc(7)
|
|
30
30
|
buffer.writeUInt8(Type.JAVONET_COMMAND, 0)
|
|
31
31
|
buffer.fill(Buffer.from(this.serializeIntValue(command.payload.length)), 1, 5)
|
|
32
32
|
buffer.writeUInt8(command.runtime, 5)
|
|
@@ -2,11 +2,14 @@ const Interpreter = require('../interpreter/Interpreter')
|
|
|
2
2
|
const interpreter = new Interpreter()
|
|
3
3
|
|
|
4
4
|
class Receiver {
|
|
5
|
-
static sendCommand(
|
|
6
|
-
return interpreter.process(
|
|
5
|
+
static sendCommand(messageByteArray) {
|
|
6
|
+
return interpreter.process(messageByteArray)
|
|
7
7
|
}
|
|
8
|
-
static heartBeat(
|
|
9
|
-
|
|
8
|
+
static heartBeat(messageByteArray) {
|
|
9
|
+
let response = new Int8Array(2)
|
|
10
|
+
response[0] = messageByteArray[11]
|
|
11
|
+
response[1] = messageByteArray[12]-2
|
|
12
|
+
return response
|
|
10
13
|
}
|
|
11
14
|
}
|
|
12
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const Interpreter = require("../core/interpreter/Interpreter");
|
|
2
2
|
const Command = require("../utils/Command");
|
|
3
3
|
const CommandType = require("../utils/CommandType");
|
|
4
|
-
const ExceptionThrower = require("../
|
|
4
|
+
const ExceptionThrower = require("../utils/exception/ExceptionThrower");
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* InvocationContext is a class that represents a context for invoking commands.
|
package/lib/sdk/Javonet.js
CHANGED
|
@@ -3,9 +3,16 @@ const RuntimeFactory = require("./RuntimeFactory");
|
|
|
3
3
|
const ConfigRuntimeFactory = require("./ConfigRuntimeFactory");
|
|
4
4
|
const Transmitter = require("../core/transmitter/Transmitter");
|
|
5
5
|
const TcpConnectionData = require("../utils/TcpConnectionData");
|
|
6
|
+
const SDKExceptionHelper = require("./tools/SdkExceptionHelper")
|
|
6
7
|
|
|
7
8
|
//static constructor not supported in nodeJS 12.20
|
|
8
|
-
|
|
9
|
+
try {
|
|
10
|
+
Transmitter.activateWithLicenseFile();
|
|
11
|
+
} catch (error) {
|
|
12
|
+
// Handle the error using SDKExceptionHelper
|
|
13
|
+
SDKExceptionHelper.sendExceptionToAppInsights(error, "unknown");
|
|
14
|
+
throw error;
|
|
15
|
+
}
|
|
9
16
|
|
|
10
17
|
/**
|
|
11
18
|
* The Javonet class is a singleton class that serves as the entry point for interacting with Javonet.
|
|
@@ -14,71 +21,87 @@ Transmitter.activateWithLicenseFile();
|
|
|
14
21
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/javonet-static-class)
|
|
15
22
|
*/
|
|
16
23
|
class Javonet {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Initializes Javonet using an in-memory channel on the same machine.
|
|
26
|
+
* @returns {RuntimeFactory} A RuntimeFactory instance configured for an in-memory connection.
|
|
27
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/in-memory-channel)
|
|
28
|
+
*/
|
|
29
|
+
static inMemory() {
|
|
30
|
+
return new RuntimeFactory(ConnectionType.IN_MEMORY, null);
|
|
31
|
+
}
|
|
25
32
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Initializes Javonet with a TCP connection to a remote machine.
|
|
35
|
+
* @param {TcpConnectionData} tcpConnectionData - The tcp connection data of the remote machine.
|
|
36
|
+
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a TCP connection.
|
|
37
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/tcp-channel)
|
|
38
|
+
*/
|
|
39
|
+
static tcp(tcpConnectionData) {
|
|
40
|
+
return new RuntimeFactory(ConnectionType.TCP, tcpConnectionData);
|
|
41
|
+
}
|
|
35
42
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Initializes Javonet with a custom configuration file taken from external source.
|
|
45
|
+
* Currentyl supported: Configuration file in JSON format
|
|
46
|
+
* @param {string} configPath - Path to a configuration file.
|
|
47
|
+
* @returns {ConfigRuntimeFactory} A ConfigRuntimeFactory instance with configuration data.
|
|
48
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/configure-channel)
|
|
49
|
+
*/
|
|
50
|
+
static withConfig(configPath) {
|
|
51
|
+
try {
|
|
52
|
+
Transmitter.setConfigSource(configPath);
|
|
53
|
+
return new ConfigRuntimeFactory(configPath);
|
|
54
|
+
} catch (error) {
|
|
55
|
+
SDKExceptionHelper.sendExceptionToAppInsights(error, "unknown");
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Activates Javonet with the provided license key.
|
|
62
|
+
* @param {string} licenseKey - The license key to activate Javonet.
|
|
63
|
+
* @returns {number} The activation status code.
|
|
64
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
|
|
65
|
+
*/
|
|
66
|
+
static activate(licenseKey) {
|
|
67
|
+
try {
|
|
68
|
+
return Transmitter.activateWithCredentials(licenseKey);
|
|
69
|
+
} catch (error) {
|
|
70
|
+
SDKExceptionHelper.sendExceptionToAppInsights(error, licenseKey);
|
|
71
|
+
throw error;
|
|
72
|
+
}
|
|
47
73
|
|
|
48
|
-
|
|
49
|
-
* Activates Javonet with the provided license key.
|
|
50
|
-
* @param {string} licenseKey - The license key to activate Javonet.
|
|
51
|
-
* @returns {number} The activation status code.
|
|
52
|
-
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
|
|
53
|
-
*/
|
|
54
|
-
static activate(licenseKey) {
|
|
55
|
-
return Transmitter.activateWithCredentials(licenseKey);
|
|
56
|
-
}
|
|
74
|
+
}
|
|
57
75
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
/**
|
|
77
|
+
* Activates Javonet with the provided license key and proxy host.
|
|
78
|
+
* @param {string} licenseKey - The license key to activate Javonet.
|
|
79
|
+
* @param {string} proxyHost - The host for the proxy server.
|
|
80
|
+
* @param {string} [proxyUserName=""] - The username for the proxy server (optional).
|
|
81
|
+
* @param {string} [proxyUserPassword=""] - The password for the proxy server (optional).
|
|
82
|
+
* @returns {number} The activation status code.
|
|
83
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
|
|
84
|
+
*/
|
|
85
|
+
static activate(
|
|
86
|
+
licenseKey,
|
|
87
|
+
proxyHost = "",
|
|
88
|
+
proxyUserName = "",
|
|
89
|
+
proxyUserPassword = "",
|
|
90
|
+
) {
|
|
91
|
+
try {
|
|
92
|
+
return Transmitter.activateWithCredentialsAndProxy(
|
|
93
|
+
licenseKey,
|
|
94
|
+
proxyHost,
|
|
95
|
+
proxyUserName,
|
|
96
|
+
proxyUserPassword
|
|
97
|
+
);
|
|
98
|
+
} catch (error) {
|
|
99
|
+
SDKExceptionHelper.sendExceptionToAppInsights(error, licenseKey);
|
|
100
|
+
throw error;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
80
103
|
}
|
|
81
104
|
|
|
82
105
|
module.exports = {
|
|
83
|
-
|
|
106
|
+
Javonet,
|
|
84
107
|
};
|
|
@@ -4,7 +4,7 @@ const CommandType = require("../utils/CommandType");
|
|
|
4
4
|
const InvocationContext = require("./InvocationContext");
|
|
5
5
|
const ConnectionType = require("../utils/ConnectionType");
|
|
6
6
|
const GeneratorHandler = require("../core/generator/handler/GeneratorHandler");
|
|
7
|
-
const ExceptionThrower = require("../
|
|
7
|
+
const ExceptionThrower = require("../utils/exception/ExceptionThrower");
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
const https = require('https');
|
|
2
|
+
const os = require('os');
|
|
3
|
+
const packageJson = require('../../../package.json');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const address = 'https://dc.services.visualstudio.com/v2/track';
|
|
7
|
+
|
|
8
|
+
function sendExceptionToAppInsights(e, licenseKey) {
|
|
9
|
+
return new Promise((resolve, reject) => {
|
|
10
|
+
try {
|
|
11
|
+
const instrumentationKey = '2c751560-90c8-40e9-b5dd-534566514723';
|
|
12
|
+
const javonetVersion = packageJson.version ? packageJson.version : '2.0.0';
|
|
13
|
+
|
|
14
|
+
const nodeName = os.hostname();
|
|
15
|
+
const operationName = 'JavonetSdkException';
|
|
16
|
+
const osName = os.platform();
|
|
17
|
+
const callingRuntimeName = 'Node.js';
|
|
18
|
+
const eventMessage = e.message;
|
|
19
|
+
|
|
20
|
+
const nowGMT = new Date().toISOString();
|
|
21
|
+
const jsonPayload = JSON.stringify({
|
|
22
|
+
name: 'AppEvents',
|
|
23
|
+
time: nowGMT,
|
|
24
|
+
iKey: instrumentationKey,
|
|
25
|
+
tags: {
|
|
26
|
+
'ai.application.ver': javonetVersion,
|
|
27
|
+
'ai.cloud.roleInstance': nodeName,
|
|
28
|
+
'ai.operation.id': '0',
|
|
29
|
+
'ai.operation.parentId': '0',
|
|
30
|
+
'ai.operation.name': operationName,
|
|
31
|
+
'ai.internal.sdkVersion': 'javonet:'+ javonetVersion,
|
|
32
|
+
'ai.internal.nodeName': nodeName,
|
|
33
|
+
},
|
|
34
|
+
data: {
|
|
35
|
+
baseType: 'EventData',
|
|
36
|
+
baseData: {
|
|
37
|
+
ver: 2,
|
|
38
|
+
name: eventMessage,
|
|
39
|
+
properties: {
|
|
40
|
+
OperatingSystem: osName,
|
|
41
|
+
LicenseKey: licenseKey,
|
|
42
|
+
CallingTechnology: callingRuntimeName,
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const options = {
|
|
49
|
+
method: 'POST',
|
|
50
|
+
headers: {
|
|
51
|
+
'Content-Type': 'application/json',
|
|
52
|
+
'Content-Length': jsonPayload.length,
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
const req = https.request(address, options, (res) => {
|
|
57
|
+
console.log('POST Response Code ::', res.statusCode);
|
|
58
|
+
resolve(res.statusCode);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
req.on('error', (error) => {
|
|
62
|
+
console.error(error);
|
|
63
|
+
reject(error);
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
req.write(jsonPayload);
|
|
67
|
+
req.end();
|
|
68
|
+
} catch (error) {
|
|
69
|
+
console.error(error);
|
|
70
|
+
reject(error);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
module.exports = {
|
|
76
|
+
sendExceptionToAppInsights,
|
|
77
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const CommandType = require("
|
|
2
|
-
const Command = require("
|
|
3
|
-
const Runtime = require("
|
|
4
|
-
const ExceptionType = require("
|
|
1
|
+
const CommandType = require("../CommandType");
|
|
2
|
+
const Command = require("../Command");
|
|
3
|
+
const Runtime = require("../RuntimeName");
|
|
4
|
+
const ExceptionType = require("../ExceptionType");
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class ExceptionSerializer {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "javonet-nodejs-sdk",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"description": "Javonet allows you to reference and use modules or packages written in (Java/Kotlin/Groovy/Clojure, C#/VB.NET, Ruby, Perl, Python, JavaScript/TypeScript) like they were created in your technology. It works on Linux/Windows and MacOS for applications created in JVM, CLR/Netcore, Perl, Python, Ruby, NodeJS, C++ or GoLang and gives you unparalleled freedom and flexibility with native performance in building your mixed-technologies products. Let it be accessing best AI or cryptography libraries, devices SDKs, legacy client modules, internal custom packages or anything from public repositories available on NPM, Nuget, PyPI, Maven/Gradle, RubyGems or GitHub. Get free from programming languages barriers today! For more information check out our guides at https://www.javonet.com/guides/v2/",
|
|
5
5
|
"main": "lib/sdk/Javonet.js",
|
|
6
6
|
"keywords": [],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|