javonet-nodejs-sdk 2.5.13 → 2.5.15
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/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPhpRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRuby342RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- package/Binaries/Native/Linux/ARM64/version.txt +1 -1
- 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/libJavonetPhpRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPython2RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby342RuntimeNative.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/libperl.so.5.34.0 +0 -0
- package/Binaries/Native/Linux/X64/libpython2.7.so.1.0 +0 -0
- package/Binaries/Native/Linux/X64/libruby.so.3.4.2 +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/libJavonetPhpRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby342RuntimeNative.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/libruby.3.4.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- package/Binaries/Native/Windows/ARM64/version.txt +0 -0
- 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/JavonetPerl540RuntimeNativeAuxiliary.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPython2RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.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/python27.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X64/x64-ucrt-ruby340.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPhpRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPython2RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X86/Utils.dll +0 -0
- package/Binaries/Native/Windows/X86/version.txt +1 -1
- package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +4 -0
- package/Binaries/Nodejs/lib/core/protocol/CommandDeserializer.js +30 -14
- package/Binaries/Nodejs/lib/core/protocol/CommandSerializer.js +38 -25
- package/Binaries/Nodejs/lib/core/protocol/TypeSerializer.js +1 -1
- package/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/Binaries/Nodejs/lib/sdk/InvocationContext.js +3 -5
- package/Binaries/Nodejs/lib/sdk/Javonet.js +1 -1
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +2 -4
- package/Binaries/Nodejs/lib/sdk/RuntimeFactory.js +9 -0
- package/Binaries/Nodejs/lib/utils/RuntimeName.js +2 -0
- package/Binaries/Nodejs/lib/utils/RuntimeNameHandler.js +4 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Module/Runtime.pm +227 -222
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Path/Tiny.pm +74 -15
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/MYMETA.json +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/Capture-Tiny-0.50/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/MYMETA.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/MYMETA.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/Data-Cmp-0.010/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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.010/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/MYMETA.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.10/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/MYMETA.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/MYMETA.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/MYMETA.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-Tiny-0.051/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/MYMETA.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.018/MYMETA.json +83 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.018/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/MYMETA.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/MYMETA.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.15/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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 → Path-Tiny-0.148}/MYMETA.json +11 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.148/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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/MYMETA.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.32/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/MYMETA.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/YAML-PP-v0.39.0/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.39.0/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/MYMETA.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.2/MYMETA.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/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/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/Scalar/Util/Numeric/Numeric.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/autobox/autobox.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +92 -114
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +1 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +7 -6
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +26 -25
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +6 -4
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +15 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +6 -3
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -4
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +11 -10
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +11 -8
- package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +9 -7
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +5 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +6 -3
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/Type.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeFactory.pm +2 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +1 -1
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +10 -0
- 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.15/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/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/Safe-Isa-1.000010/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/Test-Fatal-0.017/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/YAML-PP-v0.39.0/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/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 +25 -25
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/ResolveInstanceHandler.pm +1 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/HandlerDictionary.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/ReferencesCache.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Interpreter/Interpreter.pm +7 -6
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandDeserializer.pm +26 -25
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/CommandSerializer.pm +6 -4
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeDeserializer.pm +15 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Protocol/TypeSerializer.pm +6 -3
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Receiver/Receiver.pm +7 -4
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +11 -10
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +11 -8
- package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +9 -7
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLib.pm +5 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +6 -3
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/StringEncodingMode.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/Type.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeFactory.pm +2 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +1 -1
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +10 -0
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +1 -1
- package/Binaries/Python/javonet/core/handler/LoadLibraryHandler.py +14 -5
- package/Binaries/Python/javonet/core/interpreter/Interpreter.py +1 -2
- package/Binaries/Python/javonet/core/protocol/CommandDeserializer.py +28 -11
- package/Binaries/Python/javonet/core/protocol/CommandSerializer.py +18 -17
- package/Binaries/Python/javonet/core/receiver/Receiver.py +1 -0
- package/Binaries/Python/javonet/core/transmitter/TransmitterWrapper.py +44 -46
- package/Binaries/Python/javonet/utils/Command.py +1 -1
- package/Binaries/Python/javonet/utils/RuntimeName.py +2 -0
- package/Binaries/Python/javonet/utils/RuntimeNameHandler.py +4 -0
- package/Binaries/Python/javonet/utils/exception/ExceptionSerializer.py +21 -15
- package/Binaries/Python/javonet/utils/exception/ExceptionThrower.py +43 -39
- package/Binaries/Python2/javonet/__init__.py +32 -0
- package/Binaries/Python2/javonet/core/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/callback/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/callback/callbackFunc.py +20 -0
- package/Binaries/Python2/javonet/core/delegateCache/DelegatesCache.py +73 -0
- package/Binaries/Python2/javonet/core/delegateCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/handler/AbstractCommandHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/AbstractHandler.py +9 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetItemHandler.py +51 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetRankHandler.py +41 -0
- package/Binaries/Python2/javonet/core/handler/ArrayGetSizeHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/ArrayHandler.py +25 -0
- package/Binaries/Python2/javonet/core/handler/ArraySetItemHandler.py +60 -0
- package/Binaries/Python2/javonet/core/handler/CastingHandler.py +11 -0
- package/Binaries/Python2/javonet/core/handler/CreateClassInstanceHandler.py +39 -0
- package/Binaries/Python2/javonet/core/handler/DestructReferenceHandler.py +25 -0
- package/Binaries/Python2/javonet/core/handler/EnableNamespaceHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/EnableTypeHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumItemHandler.py +54 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumNameHandler.py +44 -0
- package/Binaries/Python2/javonet/core/handler/GetEnumValueHandler.py +36 -0
- package/Binaries/Python2/javonet/core/handler/GetInstanceFieldHandler.py +40 -0
- package/Binaries/Python2/javonet/core/handler/GetInstanceMethodAsDelegateHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetStaticFieldHandler.py +41 -0
- package/Binaries/Python2/javonet/core/handler/GetStaticMethodAsDelegateHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/GetTypeHandler.py +115 -0
- package/Binaries/Python2/javonet/core/handler/Handler.py +152 -0
- package/Binaries/Python2/javonet/core/handler/HandlerDictionary.py +23 -0
- package/Binaries/Python2/javonet/core/handler/InvokeDelegateHandler.py +56 -0
- package/Binaries/Python2/javonet/core/handler/InvokeGlobalFunctionHandler.py +78 -0
- package/Binaries/Python2/javonet/core/handler/InvokeInstanceMethodHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/InvokeStaticMethodHandler.py +45 -0
- package/Binaries/Python2/javonet/core/handler/LoadLibraryHandler.py +62 -0
- package/Binaries/Python2/javonet/core/handler/PassDelegateHandler.py +36 -0
- package/Binaries/Python2/javonet/core/handler/ResolveInstanceHandler.py +33 -0
- package/Binaries/Python2/javonet/core/handler/SetInstanceFieldHandler.py +42 -0
- package/Binaries/Python2/javonet/core/handler/SetStaticFieldHandler.py +43 -0
- package/Binaries/Python2/javonet/core/handler/ValueHandler.py +27 -0
- package/Binaries/Python2/javonet/core/handler/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/interpreter/Interpreter.py +36 -0
- package/Binaries/Python2/javonet/core/namespaceCache/NamespaceCache.py +69 -0
- package/Binaries/Python2/javonet/core/namespaceCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/protocol/CommandDeserializer.py +237 -0
- package/Binaries/Python2/javonet/core/protocol/CommandSerializer.py +56 -0
- package/Binaries/Python2/javonet/core/protocol/TypeDeserializer.py +154 -0
- package/Binaries/Python2/javonet/core/protocol/TypeSerializer.py +187 -0
- package/Binaries/Python2/javonet/core/receiver/Receiver.py +35 -0
- package/Binaries/Python2/javonet/core/receiver/__init__.py +1 -0
- package/Binaries/Python2/javonet/core/referenceCache/ReferencesCache.py +57 -0
- package/Binaries/Python2/javonet/core/transmitter/Transmitter.py +59 -0
- package/Binaries/Python2/javonet/core/transmitter/TransmitterWrapper.py +102 -0
- package/Binaries/Python2/javonet/core/typeCache/TypeCache.py +69 -0
- package/Binaries/Python2/javonet/core/typeCache/__init__.py +4 -0
- package/Binaries/Python2/javonet/core/webSocketClient/WebSocketClient.py +39 -0
- package/Binaries/Python2/javonet/utils/Command.py +170 -0
- package/Binaries/Python2/javonet/utils/CommandType.py +154 -0
- package/Binaries/Python2/javonet/utils/ConnectionType.py +36 -0
- package/Binaries/Python2/javonet/utils/ExceptionType.py +95 -0
- package/Binaries/Python2/javonet/utils/PythonStringBuilder.py +38 -0
- package/Binaries/Python2/javonet/utils/RuntimeLogger.py +50 -0
- package/Binaries/Python2/javonet/utils/RuntimeName.py +120 -0
- package/Binaries/Python2/javonet/utils/RuntimeNameHandler.py +47 -0
- package/Binaries/Python2/javonet/utils/StringEncodingMode.py +38 -0
- package/Binaries/Python2/javonet/utils/Type.py +68 -0
- package/Binaries/Python2/javonet/utils/UtilsConst.py +38 -0
- package/Binaries/Python2/javonet/utils/__init__.py +4 -0
- package/Binaries/Python2/javonet/utils/connectionData/IConnectionData.py +45 -0
- package/Binaries/Python2/javonet/utils/connectionData/InMemoryConnectionData.py +32 -0
- package/Binaries/Python2/javonet/utils/connectionData/TcpConnectionData.py +142 -0
- package/Binaries/Python2/javonet/utils/connectionData/WsConnectionData.py +75 -0
- package/Binaries/Python2/javonet/utils/connectionData/__init__.py +4 -0
- package/Binaries/Python2/javonet/utils/exception/ExceptionSerializer.py +94 -0
- package/Binaries/Python2/javonet/utils/exception/ExceptionThrower.py +85 -0
- package/Binaries/Python2/javonet/utils/exception/JavonetException.py +31 -0
- package/Binaries/Python2/javonet/utils/exception/__init__.py +4 -0
- package/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/Linux/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/Linux/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/Linux/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/Linux/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/Linux/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/Linux/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/Linux/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/Linux/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/MacOs/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/MacOs/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/MacOs/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/MacOs/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/MacOs/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/MacOs/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/MacOs/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/MacOs/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +10 -9
- package/Binaries/Ruby/Windows/X64/core/namespace_cache/namespace_cache.rb +18 -16
- package/Binaries/Ruby/Windows/X64/core/protocol/command_deserializer.rb +41 -30
- package/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +17 -19
- package/Binaries/Ruby/Windows/X64/core/protocol/type_deserializer.rb +72 -11
- package/Binaries/Ruby/Windows/X64/core/protocol/type_serializer.rb +181 -20
- package/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb +1 -1
- package/Binaries/Ruby/Windows/X64/core/reference_cache/references_cache.rb +14 -8
- package/Binaries/Ruby/Windows/X64/core/type_cache/type_cache.rb +14 -12
- package/Binaries/Ruby/Windows/X64/utils/runtime_name.rb +2 -0
- package/Binaries/Ruby/Windows/X64/utils/runtime_name_handler.rb +6 -0
- package/Binaries/version.txt +1 -1
- package/dist/Javonet.d.ts +74 -50
- package/dist/lib/core/interpreter/Interpreter.js +4 -0
- package/dist/lib/core/protocol/CommandDeserializer.js +30 -14
- package/dist/lib/core/protocol/CommandSerializer.js +38 -25
- package/dist/lib/core/protocol/TypeSerializer.js +1 -1
- package/dist/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/dist/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/dist/lib/sdk/InvocationContext.js +3 -5
- package/dist/lib/sdk/Javonet.js +1 -1
- package/dist/lib/sdk/RuntimeContext.js +2 -4
- package/dist/lib/sdk/RuntimeFactory.js +9 -0
- package/dist/lib/utils/RuntimeName.js +2 -0
- package/dist/lib/utils/RuntimeNameHandler.js +4 -0
- package/lib/core/webSocketClient/WebSocketClient.js +51 -46
- package/lib/sdk/ConfigRuntimeFactory.js +10 -0
- package/lib/sdk/Javonet.js +1 -1
- package/package.json +1 -1
- package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libpython3.12.so.1.0 +0 -0
- package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +0 -33
- package/Binaries/Native/Linux/X64/libperl.so.5.30.0 +0 -0
- package/Binaries/Native/Linux/X64/libpython3.11.so.1.0 +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/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libpython3.11.dylib +0 -0
- package/Binaries/Native/Windows/ARM64/python312.dll +0 -0
- package/Binaries/Native/Windows/X64/python312.dll +0 -0
- package/Binaries/Native/Windows/X86/python312.dll +0 -0
- package/Binaries/Perl/Linux/X64/deps/bin/config_data +0 -249
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Module/Build.pm +0 -1097
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/MYMETA.json +0 -54
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/MYMETA.json +0 -161
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/MYMETA.json +0 -62
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/MYMETA.json +0 -58
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Clone.pm +0 -99
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util/XS.pm +0 -42
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/List/Util.pm +0 -836
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/List/Utils.pm +0 -43
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Scalar/Util.pm +0 -390
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/Sub/Util.pm +0 -153
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/.packlist +0 -4
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/Clone.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Clone/autosplit.ix +0 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/.packlist +0 -11
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Python/javonet/core/generator/handler/AbstractGeneretatorHandler.py +0 -8
- package/Binaries/Python/javonet/core/generator/handler/CreateInstanceGeneratorHandler.py +0 -44
- package/Binaries/Python/javonet/core/generator/handler/GeneratorHandler.py +0 -65
- package/Binaries/Python/javonet/core/generator/handler/GetInstanceFieldGeneratorHandler.py +0 -36
- package/Binaries/Python/javonet/core/generator/handler/GetStaticFieldGeneratorHandler.py +0 -39
- package/Binaries/Python/javonet/core/generator/handler/GetTypeGeneratorHandler.py +0 -92
- package/Binaries/Python/javonet/core/generator/handler/Handlers.py +0 -59
- package/Binaries/Python/javonet/core/generator/handler/InvokeInstanceMethodGeneratorHandler.py +0 -53
- package/Binaries/Python/javonet/core/generator/handler/InvokeStaticMethodGeneratorHandler.py +0 -54
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedArgumentNameHandler.py +0 -12
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedClassInstanceHandler.py +0 -12
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedClassNameHandler.py +0 -31
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedMethodNameHandler.py +0 -30
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedModifierHandler.py +0 -21
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedReturnTypeHandler.py +0 -13
- package/Binaries/Python/javonet/core/generator/handler/shared/SharedTypeHandler.py +0 -57
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedBodyHandler.py +0 -10
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.py +0 -21
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.py +0 -16
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.py +0 -22
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedGetTypeBodyHandler.py +0 -16
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.py +0 -47
- package/Binaries/Python/javonet/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.py +0 -55
- package/Binaries/Python/javonet/core/generator/internal/CommonGenerator.py +0 -23
- package/Binaries/Python/javonet/core/generator/internal/PythonStringBuilder.py +0 -15
- package/Binaries/Python/javonet/core/generator/internal/SharedHandlerType.py +0 -12
- package/Binaries/Ruby/Linux/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/Linux/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/Linux/X64/external_lib/singleton.rb +0 -172
- package/Binaries/Ruby/MacOs/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/MacOs/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/MacOs/X64/external_lib/singleton.rb +0 -172
- package/Binaries/Ruby/Windows/X64/external_lib/random/formatter.rb +0 -373
- package/Binaries/Ruby/Windows/X64/external_lib/securerandom.rb +0 -96
- package/Binaries/Ruby/Windows/X64/external_lib/singleton.rb +0 -172
- /package/Binaries/Native/Windows/X64/{JavonetPerlRuntimeNativeAuxiliary.dll → JavonetPerl532RuntimeNativeAuxiliary.dll} +0 -0
- /package/Binaries/{Python/javonet/core/generator → Python2/javonet/core/interpreter}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler → Python2/javonet/core/protocol}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler/shared → Python2/javonet/core/referenceCache}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/handler/shared/body → Python2/javonet/core/transmitter}/__init__.py +0 -0
- /package/Binaries/{Python/javonet/core/generator/internal → Python2/javonet/core/webSocketClient}/__init__.py +0 -0
|
@@ -5,21 +5,21 @@ class TypeSerializer
|
|
|
5
5
|
|
|
6
6
|
def self.serialize_primitive(payload_item)
|
|
7
7
|
if payload_item.nil?
|
|
8
|
-
return
|
|
8
|
+
return serialize_nil
|
|
9
9
|
elsif [true, false].include? payload_item
|
|
10
|
-
return
|
|
10
|
+
return serialize_bool(payload_item)
|
|
11
11
|
elsif payload_item.is_a? Integer
|
|
12
|
-
if (-2 ** 31..2 ** 31).include?(payload_item)
|
|
13
|
-
return
|
|
14
|
-
elsif (-2 ** 63..2 ** 63).include?(payload_item)
|
|
15
|
-
return
|
|
12
|
+
if (-2 ** 31..2 ** 31 - 1).include?(payload_item)
|
|
13
|
+
return serialize_int(payload_item)
|
|
14
|
+
elsif (-2 ** 63..2 ** 63 - 1).include?(payload_item)
|
|
15
|
+
return serialize_longlong(payload_item)
|
|
16
16
|
else
|
|
17
|
-
return
|
|
17
|
+
return serialize_ullong(payload_item)
|
|
18
18
|
end
|
|
19
19
|
elsif payload_item.is_a? String
|
|
20
|
-
return
|
|
20
|
+
return serialize_string(payload_item)
|
|
21
21
|
elsif payload_item.is_a? Float
|
|
22
|
-
return
|
|
22
|
+
return serialize_double(payload_item)
|
|
23
23
|
elsif payload_item.is_a?
|
|
24
24
|
else
|
|
25
25
|
raise Exception.new("Payload not supported in command serializer")
|
|
@@ -27,18 +27,18 @@ class TypeSerializer
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def self.serialize_command(command)
|
|
30
|
-
length =
|
|
30
|
+
length = int_to_bytes(command.payload.length)
|
|
31
31
|
return [Type::COMMAND] + length + [command.runtime_name, command.command_type]
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
def self.serialize_string(string_value)
|
|
35
35
|
encoded_string_list = string_value.bytes
|
|
36
|
-
length =
|
|
36
|
+
length = int_to_bytes(encoded_string_list.length)
|
|
37
37
|
return [Type::JAVONET_STRING, StringEncodingMode::UTF8] + length + encoded_string_list
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def self.serialize_int(int_value)
|
|
41
|
-
encoded_int_list =
|
|
41
|
+
encoded_int_list = int_to_bytes(int_value)
|
|
42
42
|
length = encoded_int_list.length
|
|
43
43
|
return [Type::JAVONET_INTEGER, length] + encoded_int_list
|
|
44
44
|
end
|
|
@@ -50,43 +50,43 @@ class TypeSerializer
|
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
def self.serialize_float(float_value)
|
|
53
|
-
encoded_float_list =
|
|
53
|
+
encoded_float_list = float_to_bytes(float_value)
|
|
54
54
|
length = encoded_float_list.length
|
|
55
55
|
return [Type::JAVONET_FLOAT, length] + encoded_float_list
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def self.serialize_byte(byte_value)
|
|
59
|
-
encoded_byte_list = [byte_value]
|
|
59
|
+
encoded_byte_list = [byte_value & 0xFF]
|
|
60
60
|
length = encoded_byte_list.length
|
|
61
61
|
return [Type::JAVONET_BYTE, length] + encoded_byte_list
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
def self.serialize_char(char_value)
|
|
65
|
-
encoded_char_list = [char_value]
|
|
65
|
+
encoded_char_list = [char_value & 0xFF]
|
|
66
66
|
length = encoded_char_list.length
|
|
67
67
|
return [Type::JAVONET_CHAR, length] + encoded_char_list
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def self.serialize_longlong(longlong_value)
|
|
71
|
-
encoded_longlong_list =
|
|
71
|
+
encoded_longlong_list = longlong_to_bytes(longlong_value)
|
|
72
72
|
length = encoded_longlong_list.length
|
|
73
73
|
return [Type::JAVONET_LONG_LONG, length] + encoded_longlong_list
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
def self.serialize_double(double_value)
|
|
77
|
-
encoded_double_list =
|
|
77
|
+
encoded_double_list = double_to_bytes(double_value)
|
|
78
78
|
length = encoded_double_list.length
|
|
79
79
|
return [Type::JAVONET_DOUBLE, length] + encoded_double_list
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
def self.serialize_uint(uint_value)
|
|
83
|
-
encoded_uint_list =
|
|
83
|
+
encoded_uint_list = uint_to_bytes(uint_value)
|
|
84
84
|
length = encoded_uint_list.length
|
|
85
85
|
return [Type::JAVONET_UNSIGNED_INTEGER, length] + encoded_uint_list
|
|
86
86
|
end
|
|
87
87
|
|
|
88
88
|
def self.serialize_ullong(ullong_value)
|
|
89
|
-
encoded_ullong_list =
|
|
89
|
+
encoded_ullong_list = ullong_to_bytes(ullong_value)
|
|
90
90
|
length = encoded_ullong_list.length
|
|
91
91
|
return [Type::JAVONET_UNSIGNED_LONG_LONG, length] + encoded_ullong_list
|
|
92
92
|
end
|
|
@@ -95,4 +95,165 @@ class TypeSerializer
|
|
|
95
95
|
return [Type::JAVONET_NULL, 1, 0]
|
|
96
96
|
end
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
# Helper methods for byte conversion
|
|
99
|
+
def self.int_to_bytes(value)
|
|
100
|
+
# Convert to 4-byte (32-bit) integer, little-endian
|
|
101
|
+
[
|
|
102
|
+
value & 0xFF,
|
|
103
|
+
(value >> 8) & 0xFF,
|
|
104
|
+
(value >> 16) & 0xFF,
|
|
105
|
+
(value >> 24) & 0xFF
|
|
106
|
+
]
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
def self.uint_to_bytes(value)
|
|
110
|
+
# Convert to 4-byte unsigned integer, little-endian
|
|
111
|
+
[
|
|
112
|
+
value & 0xFF,
|
|
113
|
+
(value >> 8) & 0xFF,
|
|
114
|
+
(value >> 16) & 0xFF,
|
|
115
|
+
(value >> 24) & 0xFF
|
|
116
|
+
]
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
def self.longlong_to_bytes(value)
|
|
120
|
+
# Convert to 8-byte (64-bit) integer, little-endian
|
|
121
|
+
[
|
|
122
|
+
value & 0xFF,
|
|
123
|
+
(value >> 8) & 0xFF,
|
|
124
|
+
(value >> 16) & 0xFF,
|
|
125
|
+
(value >> 24) & 0xFF,
|
|
126
|
+
(value >> 32) & 0xFF,
|
|
127
|
+
(value >> 40) & 0xFF,
|
|
128
|
+
(value >> 48) & 0xFF,
|
|
129
|
+
(value >> 56) & 0xFF
|
|
130
|
+
]
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
def self.ullong_to_bytes(value)
|
|
134
|
+
# Convert to 8-byte unsigned long long, little-endian
|
|
135
|
+
[
|
|
136
|
+
value & 0xFF,
|
|
137
|
+
(value >> 8) & 0xFF,
|
|
138
|
+
(value >> 16) & 0xFF,
|
|
139
|
+
(value >> 24) & 0xFF,
|
|
140
|
+
(value >> 32) & 0xFF,
|
|
141
|
+
(value >> 40) & 0xFF,
|
|
142
|
+
(value >> 48) & 0xFF,
|
|
143
|
+
(value >> 56) & 0xFF
|
|
144
|
+
]
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
def self.float_to_bytes(value)
|
|
148
|
+
# IEEE 754 single-precision binary floating-point format (32-bit)
|
|
149
|
+
# Manual implementation without using pack
|
|
150
|
+
bits = 0
|
|
151
|
+
|
|
152
|
+
if value == 0
|
|
153
|
+
# Zero is a special case
|
|
154
|
+
return [0, 0, 0, 0]
|
|
155
|
+
elsif value.nan?
|
|
156
|
+
# NaN is another special case
|
|
157
|
+
bits = 0x7FC00000
|
|
158
|
+
elsif value.infinite?
|
|
159
|
+
# Handle infinity
|
|
160
|
+
bits = value > 0 ? 0x7F800000 : 0xFF800000
|
|
161
|
+
else
|
|
162
|
+
# Regular number
|
|
163
|
+
sign = value < 0 ? 1 : 0
|
|
164
|
+
value = value.abs
|
|
165
|
+
|
|
166
|
+
# Get exponent and fraction
|
|
167
|
+
exponent = Math.log2(value).floor
|
|
168
|
+
fraction = value / (2.0**exponent) - 1.0
|
|
169
|
+
|
|
170
|
+
# Normalize exponent for IEEE 754 bias
|
|
171
|
+
biased_exponent = exponent + 127
|
|
172
|
+
|
|
173
|
+
# Clamp exponent to valid range
|
|
174
|
+
if biased_exponent <= 0
|
|
175
|
+
# Denormalized values
|
|
176
|
+
biased_exponent = 0
|
|
177
|
+
fraction = value / (2.0**(-126))
|
|
178
|
+
elsif biased_exponent >= 255
|
|
179
|
+
# Overflow, return infinity
|
|
180
|
+
biased_exponent = 255
|
|
181
|
+
fraction = 0
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
# Assemble the bits
|
|
185
|
+
fraction_bits = (fraction * 0x800000).round & 0x7FFFFF
|
|
186
|
+
bits = (sign << 31) | (biased_exponent << 23) | fraction_bits
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
# Convert to bytes (little-endian)
|
|
190
|
+
[
|
|
191
|
+
bits & 0xFF,
|
|
192
|
+
(bits >> 8) & 0xFF,
|
|
193
|
+
(bits >> 16) & 0xFF,
|
|
194
|
+
(bits >> 24) & 0xFF
|
|
195
|
+
]
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
def self.double_to_bytes(value)
|
|
199
|
+
# IEEE 754 double-precision binary floating-point format (64-bit)
|
|
200
|
+
# Manual implementation without using pack
|
|
201
|
+
bits_low = 0
|
|
202
|
+
bits_high = 0
|
|
203
|
+
|
|
204
|
+
if value == 0
|
|
205
|
+
# Zero is a special case
|
|
206
|
+
return [0, 0, 0, 0, 0, 0, 0, 0]
|
|
207
|
+
elsif value.nan?
|
|
208
|
+
# NaN is another special case
|
|
209
|
+
bits_high = 0x7FF80000
|
|
210
|
+
bits_low = 0
|
|
211
|
+
elsif value.infinite?
|
|
212
|
+
# Handle infinity
|
|
213
|
+
bits_high = value > 0 ? 0x7FF00000 : 0xFFF00000
|
|
214
|
+
bits_low = 0
|
|
215
|
+
else
|
|
216
|
+
# Regular number
|
|
217
|
+
sign = value < 0 ? 1 : 0
|
|
218
|
+
value = value.abs
|
|
219
|
+
|
|
220
|
+
# Get exponent and fraction
|
|
221
|
+
exponent = Math.log2(value).floor
|
|
222
|
+
fraction = value / (2.0**exponent) - 1.0
|
|
223
|
+
|
|
224
|
+
# Normalize exponent for IEEE 754 bias
|
|
225
|
+
biased_exponent = exponent + 1023
|
|
226
|
+
|
|
227
|
+
# Clamp exponent to valid range
|
|
228
|
+
if biased_exponent <= 0
|
|
229
|
+
# Denormalized values
|
|
230
|
+
biased_exponent = 0
|
|
231
|
+
fraction = value / (2.0**(-1022))
|
|
232
|
+
elsif biased_exponent >= 2047
|
|
233
|
+
# Overflow, return infinity
|
|
234
|
+
biased_exponent = 2047
|
|
235
|
+
fraction = 0
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
# Assemble the bits
|
|
239
|
+
# Convert fraction to 52-bit integer
|
|
240
|
+
fraction_bits = (fraction * 0x10000000000000).round
|
|
241
|
+
|
|
242
|
+
# Split into high and low 32-bit words
|
|
243
|
+
bits_high = (sign << 31) | (biased_exponent << 20) | ((fraction_bits >> 32) & 0xFFFFF)
|
|
244
|
+
bits_low = fraction_bits & 0xFFFFFFFF
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# Convert to bytes (little-endian)
|
|
248
|
+
[
|
|
249
|
+
bits_low & 0xFF,
|
|
250
|
+
(bits_low >> 8) & 0xFF,
|
|
251
|
+
(bits_low >> 16) & 0xFF,
|
|
252
|
+
(bits_low >> 24) & 0xFF,
|
|
253
|
+
bits_high & 0xFF,
|
|
254
|
+
(bits_high >> 8) & 0xFF,
|
|
255
|
+
(bits_high >> 16) & 0xFF,
|
|
256
|
+
(bits_high >> 24) & 0xFF
|
|
257
|
+
]
|
|
258
|
+
end
|
|
259
|
+
end
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
require_relative './../../external_lib/singleton'
|
|
2
|
-
require_relative './../../external_lib/securerandom'
|
|
3
|
-
|
|
4
1
|
class ReferencesCache
|
|
5
|
-
|
|
2
|
+
# Make 'new' a private class method so no other instances can be created.
|
|
3
|
+
private_class_method :new
|
|
4
|
+
|
|
5
|
+
def self.instance
|
|
6
|
+
@instance ||= new
|
|
7
|
+
end
|
|
6
8
|
|
|
7
9
|
def initialize
|
|
8
|
-
@references_cache =
|
|
10
|
+
@references_cache = {}
|
|
9
11
|
end
|
|
10
12
|
|
|
11
13
|
def cache_reference(object_reference)
|
|
12
|
-
uuid_ =
|
|
14
|
+
uuid_ = generate_uuid
|
|
13
15
|
@references_cache[uuid_] = object_reference
|
|
14
16
|
uuid_
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
def resolve_reference(guid)
|
|
18
20
|
if @references_cache[guid].nil?
|
|
19
|
-
raise
|
|
21
|
+
raise "Unable to resolve reference with id: #{guid}"
|
|
20
22
|
else
|
|
21
23
|
@references_cache[guid]
|
|
22
24
|
end
|
|
@@ -30,4 +32,8 @@ class ReferencesCache
|
|
|
30
32
|
0
|
|
31
33
|
end
|
|
32
34
|
end
|
|
33
|
-
|
|
35
|
+
|
|
36
|
+
def generate_uuid
|
|
37
|
+
[8, 4, 4, 4, 12].map { |n| rand(16**n).to_s(16).rjust(n, '0') }.join('-')
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
require_relative './../../external_lib/singleton'
|
|
2
|
-
|
|
3
1
|
class TypeCache
|
|
4
|
-
include Singleton
|
|
5
|
-
|
|
6
2
|
attr_accessor :type_cache
|
|
7
3
|
|
|
4
|
+
def self.instance
|
|
5
|
+
@instance ||= new
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
private_class_method :new
|
|
9
|
+
|
|
8
10
|
def initialize
|
|
9
11
|
@type_cache = []
|
|
10
12
|
end
|
|
@@ -18,14 +20,14 @@ class TypeCache
|
|
|
18
20
|
end
|
|
19
21
|
|
|
20
22
|
def is_type_allowed(type_to_check)
|
|
21
|
-
if type_to_check.is_a?(Module)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
@type_cache.any? do
|
|
28
|
-
|
|
23
|
+
name_to_check = if type_to_check.is_a?(Module)
|
|
24
|
+
type_to_check.name
|
|
25
|
+
else
|
|
26
|
+
"#{type_to_check.class.name}::#{type_to_check.name}"
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
@type_cache.any? do |pattern|
|
|
30
|
+
/#{pattern}/.match?(name_to_check)
|
|
29
31
|
end
|
|
30
32
|
end
|
|
31
33
|
|
package/Binaries/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5.
|
|
1
|
+
2.5.15
|
package/dist/Javonet.d.ts
CHANGED
|
@@ -137,9 +137,8 @@ declare module "Binaries/Nodejs/lib/core/protocol/CommandDeserializer" {
|
|
|
137
137
|
*/
|
|
138
138
|
deserialize(): Command;
|
|
139
139
|
isAtEnd(): boolean;
|
|
140
|
-
readObject(typeNum: any):
|
|
141
|
-
readCommand():
|
|
142
|
-
readCommandRecursively(numberOfElementsInPayloadLeft: any, cmd: any): any;
|
|
140
|
+
readObject(typeNum: any): string | number | bigint | boolean | Command | (() => bigint) | null;
|
|
141
|
+
readCommand(): Command;
|
|
143
142
|
readString(): string;
|
|
144
143
|
readInt(): number;
|
|
145
144
|
readBool(): boolean;
|
|
@@ -163,7 +162,7 @@ declare module "Binaries/Nodejs/lib/utils/CustomError" {
|
|
|
163
162
|
declare module "Binaries/Nodejs/lib/core/protocol/TypeSerializer" {
|
|
164
163
|
export = TypeSerializer;
|
|
165
164
|
class TypeSerializer {
|
|
166
|
-
static
|
|
165
|
+
static serializePrimitive(payload_item: any): Buffer<ArrayBuffer>;
|
|
167
166
|
static serializeCommand(command: any): Buffer<ArrayBuffer>;
|
|
168
167
|
static serializeString(string_value: any): Buffer<ArrayBuffer>;
|
|
169
168
|
static serializeInt(int_value: any): Buffer<ArrayBuffer>;
|
|
@@ -190,13 +189,14 @@ declare module "Binaries/Nodejs/lib/utils/RuntimeName" {
|
|
|
190
189
|
export let Ruby: 6;
|
|
191
190
|
export let Nodejs: 7;
|
|
192
191
|
export let Cpp: 8;
|
|
192
|
+
export let Php: 9;
|
|
193
|
+
export let Python27: 10;
|
|
193
194
|
}
|
|
194
195
|
declare module "Binaries/Nodejs/lib/core/protocol/CommandSerializer" {
|
|
195
196
|
export = CommandSerializer;
|
|
196
197
|
class CommandSerializer {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
#private;
|
|
198
|
+
serialize(rootCommand: any, connectionData: any): Uint8Array<any>;
|
|
199
|
+
serializeRecursively(command: any, buffers: any): void;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
declare module "Binaries/Nodejs/lib/utils/ConnectionType" {
|
|
@@ -231,6 +231,12 @@ declare module "Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient" {
|
|
|
231
231
|
* @type {boolean}
|
|
232
232
|
*/
|
|
233
233
|
isDisconnectedAfterMessage: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Connects to the WebSocket server.
|
|
236
|
+
* @async
|
|
237
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
238
|
+
*/
|
|
239
|
+
connect(): Promise<WebSocket>;
|
|
234
240
|
/**
|
|
235
241
|
* Sends messageArray through websocket connection
|
|
236
242
|
* @async
|
|
@@ -246,18 +252,9 @@ declare module "Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient" {
|
|
|
246
252
|
* Connects to the WebSocket server.
|
|
247
253
|
* @private
|
|
248
254
|
* @async
|
|
249
|
-
* @returns {Promise<
|
|
255
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
250
256
|
*/
|
|
251
257
|
private _connect;
|
|
252
|
-
/**
|
|
253
|
-
* Sends the data to the WebSocket server and listens for a response.
|
|
254
|
-
* @private
|
|
255
|
-
* @async
|
|
256
|
-
* @param {string|Buffer|ArrayBuffer|Buffer[]} data - The data to send.
|
|
257
|
-
* @param {Function} resolve - The resolve function for the Promise.
|
|
258
|
-
* @param {Function} reject - The reject function for the Promise.
|
|
259
|
-
*/
|
|
260
|
-
private _sendMessage;
|
|
261
258
|
}
|
|
262
259
|
}
|
|
263
260
|
declare module "Binaries/Nodejs/lib/core/transmitter/TransmitterWebsocket" {
|
|
@@ -731,6 +728,12 @@ declare module "Binaries/Nodejs/lib/sdk/RuntimeFactory" {
|
|
|
731
728
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
732
729
|
*/
|
|
733
730
|
nodejs(): RuntimeContext;
|
|
731
|
+
/**
|
|
732
|
+
* Creates RuntimeContext instance to interact with the Python runtime.
|
|
733
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python runtime
|
|
734
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
735
|
+
*/
|
|
736
|
+
python27(): RuntimeContext;
|
|
734
737
|
}
|
|
735
738
|
import RuntimeContext = require("Binaries/Nodejs/lib/sdk/RuntimeContext");
|
|
736
739
|
}
|
|
@@ -1635,7 +1638,7 @@ declare module "Binaries/Nodejs/lib/core/receiver/Receiver" {
|
|
|
1635
1638
|
/**
|
|
1636
1639
|
* @param {number[]} messageByteArray
|
|
1637
1640
|
*/
|
|
1638
|
-
static sendCommand(messageByteArray: number[]):
|
|
1641
|
+
static sendCommand(messageByteArray: number[]): Uint8Array<any>;
|
|
1639
1642
|
static heartBeat(messageByteArray: any): Int8Array<ArrayBuffer>;
|
|
1640
1643
|
Receiver(): void;
|
|
1641
1644
|
}
|
|
@@ -1767,6 +1770,13 @@ declare module "Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory" {
|
|
|
1767
1770
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
1768
1771
|
*/
|
|
1769
1772
|
nodejs(configName?: string): RuntimeContext;
|
|
1773
|
+
/**
|
|
1774
|
+
* Creates RuntimeContext instance to interact with the Python 2.7 runtime.
|
|
1775
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
1776
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python 2.7 runtime
|
|
1777
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
1778
|
+
*/
|
|
1779
|
+
python27(configName?: string): RuntimeContext;
|
|
1770
1780
|
#private;
|
|
1771
1781
|
}
|
|
1772
1782
|
import { RuntimeContext } from "Binaries/Nodejs";
|
|
@@ -1798,7 +1808,7 @@ declare module "Binaries/Nodejs/lib/sdk/Javonet" {
|
|
|
1798
1808
|
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a WebSocket connection.
|
|
1799
1809
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/websocket-channel)
|
|
1800
1810
|
*/
|
|
1801
|
-
static
|
|
1811
|
+
static webSocket(wsConnectionData: WsConnectionData): RuntimeFactory;
|
|
1802
1812
|
/**
|
|
1803
1813
|
* Initializes Javonet with a custom configuration file taken from external source.
|
|
1804
1814
|
* Currentyl supported: Configuration file in JSON format
|
|
@@ -1982,9 +1992,8 @@ declare module "dist/lib/core/protocol/CommandDeserializer" {
|
|
|
1982
1992
|
*/
|
|
1983
1993
|
deserialize(): Command;
|
|
1984
1994
|
isAtEnd(): boolean;
|
|
1985
|
-
readObject(typeNum: any):
|
|
1986
|
-
readCommand():
|
|
1987
|
-
readCommandRecursively(numberOfElementsInPayloadLeft: any, cmd: any): any;
|
|
1995
|
+
readObject(typeNum: any): string | number | bigint | boolean | Command | (() => bigint) | null;
|
|
1996
|
+
readCommand(): Command;
|
|
1988
1997
|
readString(): string;
|
|
1989
1998
|
readInt(): number;
|
|
1990
1999
|
readBool(): boolean;
|
|
@@ -2008,7 +2017,7 @@ declare module "dist/lib/utils/CustomError" {
|
|
|
2008
2017
|
declare module "dist/lib/core/protocol/TypeSerializer" {
|
|
2009
2018
|
export = TypeSerializer;
|
|
2010
2019
|
class TypeSerializer {
|
|
2011
|
-
static
|
|
2020
|
+
static serializePrimitive(payload_item: any): Buffer<ArrayBuffer>;
|
|
2012
2021
|
static serializeCommand(command: any): Buffer<ArrayBuffer>;
|
|
2013
2022
|
static serializeString(string_value: any): Buffer<ArrayBuffer>;
|
|
2014
2023
|
static serializeInt(int_value: any): Buffer<ArrayBuffer>;
|
|
@@ -2035,13 +2044,14 @@ declare module "dist/lib/utils/RuntimeName" {
|
|
|
2035
2044
|
export let Ruby: 6;
|
|
2036
2045
|
export let Nodejs: 7;
|
|
2037
2046
|
export let Cpp: 8;
|
|
2047
|
+
export let Php: 9;
|
|
2048
|
+
export let Python27: 10;
|
|
2038
2049
|
}
|
|
2039
2050
|
declare module "dist/lib/core/protocol/CommandSerializer" {
|
|
2040
2051
|
export = CommandSerializer;
|
|
2041
2052
|
class CommandSerializer {
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
#private;
|
|
2053
|
+
serialize(rootCommand: any, connectionData: any): Uint8Array<any>;
|
|
2054
|
+
serializeRecursively(command: any, buffers: any): void;
|
|
2045
2055
|
}
|
|
2046
2056
|
}
|
|
2047
2057
|
declare module "dist/lib/utils/ConnectionType" {
|
|
@@ -2076,6 +2086,12 @@ declare module "dist/lib/core/webSocketClient/WebSocketClient" {
|
|
|
2076
2086
|
* @type {boolean}
|
|
2077
2087
|
*/
|
|
2078
2088
|
isDisconnectedAfterMessage: boolean;
|
|
2089
|
+
/**
|
|
2090
|
+
* Connects to the WebSocket server.
|
|
2091
|
+
* @async
|
|
2092
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
2093
|
+
*/
|
|
2094
|
+
connect(): Promise<WebSocket>;
|
|
2079
2095
|
/**
|
|
2080
2096
|
* Sends messageArray through websocket connection
|
|
2081
2097
|
* @async
|
|
@@ -2091,18 +2107,9 @@ declare module "dist/lib/core/webSocketClient/WebSocketClient" {
|
|
|
2091
2107
|
* Connects to the WebSocket server.
|
|
2092
2108
|
* @private
|
|
2093
2109
|
* @async
|
|
2094
|
-
* @returns {Promise<
|
|
2110
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
2095
2111
|
*/
|
|
2096
2112
|
private _connect;
|
|
2097
|
-
/**
|
|
2098
|
-
* Sends the data to the WebSocket server and listens for a response.
|
|
2099
|
-
* @private
|
|
2100
|
-
* @async
|
|
2101
|
-
* @param {string|Buffer|ArrayBuffer|Buffer[]} data - The data to send.
|
|
2102
|
-
* @param {Function} resolve - The resolve function for the Promise.
|
|
2103
|
-
* @param {Function} reject - The reject function for the Promise.
|
|
2104
|
-
*/
|
|
2105
|
-
private _sendMessage;
|
|
2106
2113
|
}
|
|
2107
2114
|
}
|
|
2108
2115
|
declare module "dist/lib/core/transmitter/TransmitterWebsocket" {
|
|
@@ -2576,6 +2583,12 @@ declare module "dist/lib/sdk/RuntimeFactory" {
|
|
|
2576
2583
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
2577
2584
|
*/
|
|
2578
2585
|
nodejs(): RuntimeContext;
|
|
2586
|
+
/**
|
|
2587
|
+
* Creates RuntimeContext instance to interact with the Python runtime.
|
|
2588
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python runtime
|
|
2589
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
2590
|
+
*/
|
|
2591
|
+
python27(): RuntimeContext;
|
|
2579
2592
|
}
|
|
2580
2593
|
import RuntimeContext = require("@javonet/core/lib/sdk/RuntimeContext");
|
|
2581
2594
|
}
|
|
@@ -3480,7 +3493,7 @@ declare module "dist/lib/core/receiver/Receiver" {
|
|
|
3480
3493
|
/**
|
|
3481
3494
|
* @param {number[]} messageByteArray
|
|
3482
3495
|
*/
|
|
3483
|
-
static sendCommand(messageByteArray: number[]):
|
|
3496
|
+
static sendCommand(messageByteArray: number[]): Uint8Array<any>;
|
|
3484
3497
|
static heartBeat(messageByteArray: any): Int8Array<ArrayBuffer>;
|
|
3485
3498
|
Receiver(): void;
|
|
3486
3499
|
}
|
|
@@ -3612,6 +3625,13 @@ declare module "dist/lib/sdk/ConfigRuntimeFactory" {
|
|
|
3612
3625
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
3613
3626
|
*/
|
|
3614
3627
|
nodejs(configName?: string): RuntimeContext;
|
|
3628
|
+
/**
|
|
3629
|
+
* Creates RuntimeContext instance to interact with the Python 2.7 runtime.
|
|
3630
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
3631
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python 2.7 runtime
|
|
3632
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
3633
|
+
*/
|
|
3634
|
+
python27(configName?: string): RuntimeContext;
|
|
3615
3635
|
#private;
|
|
3616
3636
|
}
|
|
3617
3637
|
import { RuntimeContext } from "@javonet/core";
|
|
@@ -3643,7 +3663,7 @@ declare module "dist/lib/sdk/Javonet" {
|
|
|
3643
3663
|
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a WebSocket connection.
|
|
3644
3664
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/websocket-channel)
|
|
3645
3665
|
*/
|
|
3646
|
-
static
|
|
3666
|
+
static webSocket(wsConnectionData: WsConnectionData): RuntimeFactory;
|
|
3647
3667
|
/**
|
|
3648
3668
|
* Initializes Javonet with a custom configuration file taken from external source.
|
|
3649
3669
|
* Currentyl supported: Configuration file in JSON format
|
|
@@ -4482,7 +4502,7 @@ declare module "lib/core/receiver/Receiver" {
|
|
|
4482
4502
|
/**
|
|
4483
4503
|
* @param {number[]} messageByteArray
|
|
4484
4504
|
*/
|
|
4485
|
-
static sendCommand(messageByteArray: number[]):
|
|
4505
|
+
static sendCommand(messageByteArray: number[]): Uint8Array<any>;
|
|
4486
4506
|
static heartBeat(messageByteArray: any): Int8Array<ArrayBuffer>;
|
|
4487
4507
|
Receiver(): void;
|
|
4488
4508
|
}
|
|
@@ -4538,6 +4558,12 @@ declare module "lib/core/webSocketClient/WebSocketClient" {
|
|
|
4538
4558
|
* @type {boolean}
|
|
4539
4559
|
*/
|
|
4540
4560
|
isDisconnectedAfterMessage: boolean;
|
|
4561
|
+
/**
|
|
4562
|
+
* Connects to the WebSocket server.
|
|
4563
|
+
* @async
|
|
4564
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
4565
|
+
*/
|
|
4566
|
+
connect(): Promise<WebSocket>;
|
|
4541
4567
|
/**
|
|
4542
4568
|
* Sends messageArray through websocket connection
|
|
4543
4569
|
* @async
|
|
@@ -4553,18 +4579,9 @@ declare module "lib/core/webSocketClient/WebSocketClient" {
|
|
|
4553
4579
|
* Connects to the WebSocket server.
|
|
4554
4580
|
* @private
|
|
4555
4581
|
* @async
|
|
4556
|
-
* @returns {Promise<
|
|
4582
|
+
* @returns {Promise<WebSocket>} - A promise that resolves when the connection is established.
|
|
4557
4583
|
*/
|
|
4558
4584
|
private _connect;
|
|
4559
|
-
/**
|
|
4560
|
-
* Sends the data to the WebSocket server and listens for a response.
|
|
4561
|
-
* @private
|
|
4562
|
-
* @async
|
|
4563
|
-
* @param {string|Buffer|ArrayBuffer|Buffer[]} data - The data to send.
|
|
4564
|
-
* @param {Function} resolve - The resolve function for the Promise.
|
|
4565
|
-
* @param {Function} reject - The reject function for the Promise.
|
|
4566
|
-
*/
|
|
4567
|
-
private _sendMessage;
|
|
4568
4585
|
}
|
|
4569
4586
|
}
|
|
4570
4587
|
declare module "lib/core/transmitter/TransmitterWebsocket" {
|
|
@@ -4699,6 +4716,13 @@ declare module "lib/sdk/ConfigRuntimeFactory" {
|
|
|
4699
4716
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
4700
4717
|
*/
|
|
4701
4718
|
nodejs(configName?: string): RuntimeContext;
|
|
4719
|
+
/**
|
|
4720
|
+
* Creates RuntimeContext instance to interact with the Python 2.7 runtime.
|
|
4721
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
4722
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python 2.7 runtime
|
|
4723
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
4724
|
+
*/
|
|
4725
|
+
python27(configName?: string): RuntimeContext;
|
|
4702
4726
|
#private;
|
|
4703
4727
|
}
|
|
4704
4728
|
import { RuntimeContext } from "@javonet/core";
|
|
@@ -4730,7 +4754,7 @@ declare module "lib/sdk/Javonet" {
|
|
|
4730
4754
|
* @returns {RuntimeFactory} A RuntimeFactory instance configured for a WebSocket connection.
|
|
4731
4755
|
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/websocket-channel)
|
|
4732
4756
|
*/
|
|
4733
|
-
static
|
|
4757
|
+
static webSocket(wsConnectionData: WsConnectionData): RuntimeFactory;
|
|
4734
4758
|
/**
|
|
4735
4759
|
* Initializes Javonet with a custom configuration file taken from external source.
|
|
4736
4760
|
* Currentyl supported: Configuration file in JSON format
|