javonet-nodejs-sdk 2.3.0 → 2.4.1

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.
Files changed (372) hide show
  1. package/Binaries/Clr/Windows/X64/Javonet.Clr.Utils.dll +0 -0
  2. package/Binaries/Clr/Windows/X64/JavonetClrRuntime.dll +0 -0
  3. package/Binaries/Jvm/Linux/X64/JavonetJvmRuntime.jar +0 -0
  4. package/Binaries/Jvm/MacOs/X64/JavonetJvmRuntime.jar +0 -0
  5. package/Binaries/Jvm/Windows/X64/JavonetJvmRuntime.jar +0 -0
  6. package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  7. package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  8. package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  9. package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  10. package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  11. package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  12. package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  13. package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  14. package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  15. package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  16. package/Binaries/Native/Linux/X64/libUtils.so +0 -0
  17. package/Binaries/Native/Linux/X64/version.txt +1 -1
  18. package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  19. package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  20. package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  21. package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  22. package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  23. package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  24. package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  25. package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  26. package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  27. package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  28. package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  29. package/Binaries/Native/MacOs/X64/version.txt +1 -1
  30. package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  31. package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  32. package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  33. package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  34. package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  35. package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  36. package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  37. package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  38. package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  39. package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  40. package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  41. package/Binaries/Native/Windows/X64/Utils.dll +0 -0
  42. package/Binaries/Native/Windows/X64/version.txt +1 -1
  43. package/Binaries/Netcore/Linux/X64/Javonet.Netcore.Core.dll +0 -0
  44. package/Binaries/Netcore/Linux/X64/Javonet.Netcore.Utils.dll +0 -0
  45. package/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Core.dll +0 -0
  46. package/Binaries/Netcore/MacOs/X64/Javonet.Netcore.Utils.dll +0 -0
  47. package/Binaries/Netcore/Windows/X64/Javonet.Netcore.Core.dll +0 -0
  48. package/Binaries/Netcore/Windows/X64/Javonet.Netcore.Utils.dll +0 -0
  49. package/Binaries/Nodejs/Linux/X64/core/interpreter/Interpreter.js +3 -2
  50. package/Binaries/Nodejs/Linux/X64/core/protocol/CommandSerializer.js +21 -23
  51. package/Binaries/Nodejs/Linux/X64/core/transmitter/Transmitter.js +11 -7
  52. package/Binaries/Nodejs/Linux/X64/core/transmitter/TransmitterWrapper.js +6 -2
  53. package/Binaries/Nodejs/Linux/X64/utils/RuntimeNameHandler.js +30 -0
  54. package/Binaries/Nodejs/Linux/X64/utils/TcpConnectionData.js +43 -6
  55. package/Binaries/Nodejs/MacOs/X64/core/interpreter/Interpreter.js +3 -2
  56. package/Binaries/Nodejs/MacOs/X64/core/protocol/CommandSerializer.js +21 -23
  57. package/Binaries/Nodejs/MacOs/X64/core/transmitter/Transmitter.js +11 -7
  58. package/Binaries/Nodejs/MacOs/X64/core/transmitter/TransmitterWrapper.js +6 -2
  59. package/Binaries/Nodejs/MacOs/X64/utils/RuntimeNameHandler.js +30 -0
  60. package/Binaries/Nodejs/MacOs/X64/utils/TcpConnectionData.js +43 -6
  61. package/Binaries/Nodejs/Windows/X64/core/interpreter/Interpreter.js +3 -2
  62. package/Binaries/Nodejs/Windows/X64/core/protocol/CommandSerializer.js +21 -23
  63. package/Binaries/Nodejs/Windows/X64/core/transmitter/Transmitter.js +11 -7
  64. package/Binaries/Nodejs/Windows/X64/core/transmitter/TransmitterWrapper.js +6 -2
  65. package/Binaries/Nodejs/Windows/X64/utils/RuntimeNameHandler.js +30 -0
  66. package/Binaries/Nodejs/Windows/X64/utils/TcpConnectionData.js +43 -6
  67. package/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Meta/Requirements/Range.pm +776 -0
  68. package/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Meta/Requirements.pm +834 -0
  69. package/Binaries/Perl/Linux/X64/deps/lib/perl5/CPAN/Requirements/Dynamic.pm +384 -0
  70. package/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Config/MakeMaker.pm +141 -0
  71. package/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/Config.pm +43 -5
  72. package/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/HasCompiler.pm +308 -0
  73. package/Binaries/Perl/Linux/X64/deps/lib/perl5/ExtUtils/InstallPaths.pm +3 -3
  74. package/Binaries/Perl/Linux/X64/deps/lib/perl5/Path/Tiny.pm +10 -3
  75. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
  76. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Meta-Requirements-2.143/MYMETA.json +173 -0
  77. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Meta-Requirements-2.143/install.json +1 -0
  78. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Requirements-Dynamic-0.001/MYMETA.json +78 -0
  79. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/CPAN-Requirements-Dynamic-0.001/install.json +1 -0
  80. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +1 -1
  81. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
  82. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
  83. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.46/install.json +1 -1
  84. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
  85. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
  86. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
  87. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
  88. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
  89. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
  90. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
  91. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
  92. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{ExtUtils-Config-0.008 → ExtUtils-Config-0.009}/MYMETA.json +17 -9
  93. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.009/install.json +1 -0
  94. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-HasCompiler-0.025/MYMETA.json +80 -0
  95. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-HasCompiler-0.025/install.json +1 -0
  96. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.026/install.json +1 -1
  97. package/Binaries/Perl/{MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-InstallPaths-0.012 → Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.013}/MYMETA.json +6 -4
  98. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.013/install.json +1 -0
  99. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
  100. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.08/install.json +1 -1
  101. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
  102. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
  103. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
  104. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
  105. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Module-Build-Tiny-0.047 → Module-Build-Tiny-0.048}/MYMETA.json +5 -3
  106. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.048/install.json +1 -0
  107. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
  108. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
  109. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
  110. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
  111. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.10/install.json +1 -1
  112. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.278/install.json +1 -1
  113. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
  114. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
  115. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
  116. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
  117. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
  118. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Path-Tiny-0.144 → Path-Tiny-0.146}/MYMETA.json +4 -4
  119. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -0
  120. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.63/install.json +1 -1
  121. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  122. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
  123. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
  124. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
  125. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
  126. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
  127. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
  128. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.31/install.json +1 -1
  129. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
  130. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
  131. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.1/install.json +1 -1
  132. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/CPAN/Meta/Requirements/.packlist +4 -0
  133. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/CPAN/Requirements/Dynamic/.packlist +2 -0
  134. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
  135. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
  136. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/ExtUtils/Config/.packlist +2 -0
  137. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/ExtUtils/HasCompiler/.packlist +2 -0
  138. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
  139. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
  140. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  141. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
  142. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
  143. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
  144. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  145. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
  146. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/bin/dlrun +0 -0
  147. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +149 -83
  148. package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +15 -10
  149. package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +34 -19
  150. package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +17 -9
  151. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +2 -1
  152. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +31 -9
  153. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +18 -10
  154. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Meta/Requirements/Range.pm +776 -0
  155. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Meta/Requirements.pm +834 -0
  156. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/CPAN/Requirements/Dynamic.pm +384 -0
  157. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config/MakeMaker.pm +141 -0
  158. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/Config.pm +43 -5
  159. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/HasCompiler.pm +308 -0
  160. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/ExtUtils/InstallPaths.pm +3 -3
  161. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/Path/Tiny.pm +10 -3
  162. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Attribute-Util-1.07/install.json +1 -1
  163. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Meta-Requirements-2.143/MYMETA.json +173 -0
  164. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Meta-Requirements-2.143/install.json +1 -0
  165. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Requirements-Dynamic-0.001/MYMETA.json +78 -0
  166. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/CPAN-Requirements-Dynamic-0.001/install.json +1 -0
  167. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Capture-Tiny-0.48/install.json +1 -1
  168. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Class-Load-0.25/install.json +1 -1
  169. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Class-Load-XS-0.10/install.json +1 -1
  170. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Clone-0.46/install.json +1 -1
  171. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-Cmp-0.010/install.json +1 -1
  172. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-OptList-0.114/install.json +1 -1
  173. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Data-UUID-1.227/install.json +1 -1
  174. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
  175. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
  176. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Devel-StackTrace-2.05/install.json +1 -1
  177. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
  178. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Eval-Closure-0.14/install.json +1 -1
  179. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/{ExtUtils-Config-0.008 → ExtUtils-Config-0.009}/MYMETA.json +17 -9
  180. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-Config-0.009/install.json +1 -0
  181. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-HasCompiler-0.025/MYMETA.json +80 -0
  182. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-HasCompiler-0.025/install.json +1 -0
  183. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-Helpers-0.026/install.json +1 -1
  184. package/Binaries/Perl/{Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.012 → MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-InstallPaths-0.013}/MYMETA.json +6 -4
  185. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-InstallPaths-0.013/install.json +1 -0
  186. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/FFI-CheckLib-0.31/install.json +1 -1
  187. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/FFI-Platypus-2.08/install.json +1 -1
  188. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/File-Which-1.27/install.json +1 -1
  189. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/IPC-System-Simple-1.30/install.json +1 -1
  190. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/MRO-Compat-0.15/install.json +1 -1
  191. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Build-0.4234/install.json +1 -1
  192. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/{Module-Build-Tiny-0.047 → Module-Build-Tiny-0.048}/MYMETA.json +5 -3
  193. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Build-Tiny-0.048/install.json +1 -0
  194. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Implementation-0.09/install.json +1 -1
  195. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Runtime-0.016/install.json +1 -1
  196. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
  197. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Moose-2.2207/install.json +1 -1
  198. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Nice-Try-v1.3.10/install.json +1 -1
  199. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/PPI-1.278/install.json +1 -1
  200. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/PPI-XS-0.910/install.json +1 -1
  201. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-DeprecationManager-0.18/install.json +1 -1
  202. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-Stash-0.40/install.json +1 -1
  203. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Package-Stash-XS-0.30/install.json +1 -1
  204. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Params-Util-1.102/install.json +1 -1
  205. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/{Path-Tiny-0.144 → Path-Tiny-0.146}/MYMETA.json +4 -4
  206. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Path-Tiny-0.146/install.json +1 -0
  207. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  208. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Scope-Guard-0.21/install.json +1 -1
  209. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Exporter-0.991/install.json +1 -1
  210. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
  211. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Sub-Install-0.929/install.json +1 -1
  212. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Task-Weaken-1.06/install.json +1 -1
  213. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Test-Fatal-0.017/install.json +1 -1
  214. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Try-Tiny-0.31/install.json +1 -1
  215. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Want-0.29/install.json +1 -1
  216. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/aliased-0.34/install.json +1 -1
  217. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/autobox-v3.0.1/install.json +1 -1
  218. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/CPAN/Meta/Requirements/.packlist +4 -0
  219. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/CPAN/Requirements/Dynamic/.packlist +2 -0
  220. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/ExtUtils/Config/.packlist +2 -0
  221. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/auto/ExtUtils/HasCompiler/.packlist +2 -0
  222. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/perllocal.pod +149 -83
  223. package/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +15 -10
  224. package/Binaries/Perl/MacOs/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +34 -19
  225. package/Binaries/Perl/MacOs/X64/lib/Javonet/Javonet.pm +17 -9
  226. package/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +2 -1
  227. package/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +31 -9
  228. package/Binaries/Perl/MacOs/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +18 -10
  229. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
  230. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
  231. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
  232. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.10/install.json +1 -1
  233. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.278/install.json +1 -1
  234. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
  235. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  236. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
  237. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.1/install.json +1 -1
  238. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  239. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  240. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
  241. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  242. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  243. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +18 -18
  244. package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitter.pm +15 -10
  245. package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Transmitter/PerlTransmitterWrapper.pm +34 -19
  246. package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +17 -9
  247. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/ConnectionType.pm +2 -1
  248. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +31 -9
  249. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeFactory.pm +18 -10
  250. package/Binaries/Python/Linux/X64/javonet/core/interpreter/Interpreter.py +7 -5
  251. package/Binaries/Python/Linux/X64/javonet/core/protocol/CommandSerializer.py +8 -15
  252. package/Binaries/Python/Linux/X64/javonet/core/transmitter/Transmitter.py +28 -0
  253. package/Binaries/Python/Linux/X64/javonet/core/transmitter/{PythonTransmitterWrapper.py → TransmitterWrapper.py} +27 -10
  254. package/Binaries/Python/Linux/X64/javonet/utils/RuntimeNameHandler.py +26 -0
  255. package/Binaries/Python/Linux/X64/javonet/utils/TcpConnectionData.py +29 -0
  256. package/Binaries/Python/MacOs/X64/javonet/core/interpreter/Interpreter.py +7 -5
  257. package/Binaries/Python/MacOs/X64/javonet/core/protocol/CommandSerializer.py +8 -15
  258. package/Binaries/Python/MacOs/X64/javonet/core/transmitter/Transmitter.py +28 -0
  259. package/Binaries/Python/MacOs/X64/javonet/core/transmitter/{PythonTransmitterWrapper.py → TransmitterWrapper.py} +27 -10
  260. package/Binaries/Python/MacOs/X64/javonet/utils/RuntimeNameHandler.py +26 -0
  261. package/Binaries/Python/MacOs/X64/javonet/utils/TcpConnectionData.py +29 -0
  262. package/Binaries/Python/Windows/X64/javonet/core/__pycache__/__init__.cpython-311.pyc +0 -0
  263. package/Binaries/Python/Windows/X64/javonet/core/generator/__pycache__/__init__.cpython-311.pyc +0 -0
  264. package/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-311.pyc +0 -0
  265. package/Binaries/Python/Windows/X64/javonet/core/generator/internal/__pycache__/__init__.cpython-311.pyc +0 -0
  266. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/AbstractCommandHandler.cpython-311.pyc +0 -0
  267. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ArrayGetItemHandler.cpython-311.pyc +0 -0
  268. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ArrayGetRankHandler.cpython-311.pyc +0 -0
  269. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ArrayGetSizeHandler.cpython-311.pyc +0 -0
  270. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ArrayHandler.cpython-311.pyc +0 -0
  271. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ArraySetItemHandler.cpython-311.pyc +0 -0
  272. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CastingHandler.cpython-311.pyc +0 -0
  273. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/CreateClassInstanceHandler.cpython-311.pyc +0 -0
  274. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/DestructReferenceHandler.cpython-311.pyc +0 -0
  275. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetEnumItemHandler.cpython-311.pyc +0 -0
  276. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetEnumNameHandler.cpython-311.pyc +0 -0
  277. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetEnumValueHandler.cpython-311.pyc +0 -0
  278. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetInstanceFieldHandler.cpython-311.pyc +0 -0
  279. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetStaticFieldHandler.cpython-311.pyc +0 -0
  280. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/GetTypeHandler.cpython-311.pyc +0 -0
  281. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/InvokeInstanceMethodHandler.cpython-311.pyc +0 -0
  282. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/InvokeStaticMethodHandler.cpython-311.pyc +0 -0
  283. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/LoadLibraryHandler.cpython-311.pyc +0 -0
  284. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ResolveInstanceHandler.cpython-311.pyc +0 -0
  285. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/SetInstanceFieldHandler.cpython-311.pyc +0 -0
  286. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/SetStaticFieldHandler.cpython-311.pyc +0 -0
  287. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/ValueHandler.cpython-311.pyc +0 -0
  288. package/Binaries/Python/Windows/X64/javonet/core/handler/CommandHandler/__pycache__/__init__.cpython-311.pyc +0 -0
  289. package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/AbstractHandler.cpython-311.pyc +0 -0
  290. package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/Handler.cpython-311.pyc +0 -0
  291. package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/HandlerDictionary.cpython-311.pyc +0 -0
  292. package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/ReferencesCache.cpython-311.pyc +0 -0
  293. package/Binaries/Python/Windows/X64/javonet/core/handler/__pycache__/__init__.cpython-311.pyc +0 -0
  294. package/Binaries/Python/Windows/X64/javonet/core/interpreter/Interpreter.py +7 -5
  295. package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/Interpreter.cpython-311.pyc +0 -0
  296. package/Binaries/Python/Windows/X64/javonet/core/interpreter/__pycache__/__init__.cpython-311.pyc +0 -0
  297. package/Binaries/Python/Windows/X64/javonet/core/protocol/CommandSerializer.py +8 -15
  298. package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-311.pyc +0 -0
  299. package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/CommandSerializer.cpython-311.pyc +0 -0
  300. package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-311.pyc +0 -0
  301. package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/TypeSerializer.cpython-311.pyc +0 -0
  302. package/Binaries/Python/Windows/X64/javonet/core/protocol/__pycache__/__init__.cpython-311.pyc +0 -0
  303. package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/Receiver.cpython-311.pyc +0 -0
  304. package/Binaries/Python/Windows/X64/javonet/core/receiver/__pycache__/__init__.cpython-311.pyc +0 -0
  305. package/Binaries/Python/Windows/X64/javonet/core/transmitter/Transmitter.py +28 -0
  306. package/Binaries/Python/Windows/X64/javonet/core/transmitter/{PythonTransmitterWrapper.py → TransmitterWrapper.py} +27 -10
  307. package/Binaries/Python/Windows/X64/javonet/utils/RuntimeNameHandler.py +26 -0
  308. package/Binaries/Python/Windows/X64/javonet/utils/TcpConnectionData.py +29 -0
  309. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Command.cpython-311.pyc +0 -0
  310. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/CommandType.cpython-311.pyc +0 -0
  311. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ConnectionType.cpython-311.pyc +0 -0
  312. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/ExceptionType.cpython-311.pyc +0 -0
  313. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/RuntimeName.cpython-311.pyc +0 -0
  314. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/StringEncodingMode.cpython-311.pyc +0 -0
  315. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/TcpConnectionData.cpython-311.pyc +0 -0
  316. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/Type.cpython-311.pyc +0 -0
  317. package/Binaries/Python/Windows/X64/javonet/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  318. package/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-311.pyc +0 -0
  319. package/Binaries/Python/Windows/X64/javonet/utils/exception/__pycache__/__init__.cpython-311.pyc +0 -0
  320. package/Binaries/Ruby/Linux/X64/core/interpreter/interpreter.rb +5 -6
  321. package/Binaries/Ruby/Linux/X64/core/protocol/command_serializer.rb +8 -24
  322. package/Binaries/Ruby/Linux/X64/core/transmitter/transmitter.rb +21 -12
  323. package/Binaries/Ruby/Linux/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  324. package/Binaries/Ruby/Linux/X64/utils/command.rb +2 -1
  325. package/Binaries/Ruby/Linux/X64/utils/runtime_name.rb +0 -30
  326. package/Binaries/Ruby/Linux/X64/utils/runtime_name_handler.rb +34 -0
  327. package/Binaries/Ruby/Linux/X64/utils/tcp_connection_data.rb +33 -0
  328. package/Binaries/Ruby/MacOs/X64/core/interpreter/interpreter.rb +5 -6
  329. package/Binaries/Ruby/MacOs/X64/core/protocol/command_serializer.rb +8 -24
  330. package/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter.rb +21 -12
  331. package/Binaries/Ruby/MacOs/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  332. package/Binaries/Ruby/MacOs/X64/utils/command.rb +2 -1
  333. package/Binaries/Ruby/MacOs/X64/utils/runtime_name.rb +0 -30
  334. package/Binaries/Ruby/MacOs/X64/utils/runtime_name_handler.rb +34 -0
  335. package/Binaries/Ruby/MacOs/X64/utils/tcp_connection_data.rb +33 -0
  336. package/Binaries/Ruby/Windows/X64/core/interpreter/interpreter.rb +5 -6
  337. package/Binaries/Ruby/Windows/X64/core/protocol/command_serializer.rb +8 -24
  338. package/Binaries/Ruby/Windows/X64/core/transmitter/transmitter.rb +21 -12
  339. package/Binaries/Ruby/Windows/X64/core/transmitter/transmitter_wrapper.rb +1 -1
  340. package/Binaries/Ruby/Windows/X64/utils/command.rb +2 -1
  341. package/Binaries/Ruby/Windows/X64/utils/runtime_name.rb +0 -30
  342. package/Binaries/Ruby/Windows/X64/utils/runtime_name_handler.rb +34 -0
  343. package/Binaries/Ruby/Windows/X64/utils/tcp_connection_data.rb +33 -0
  344. package/Binaries/version.txt +1 -1
  345. package/_JavonetNativeErrorLogger_2024-05-14.txt +2 -0
  346. package/addon/JavonetNodejsRuntimeAddon.cpp +40 -61
  347. package/addon/JavonetNodejsRuntimeAddon.h +4 -5
  348. package/lib/core/interpreter/Interpreter.js +3 -2
  349. package/lib/core/protocol/CommandSerializer.js +21 -23
  350. package/lib/core/transmitter/Transmitter.js +11 -7
  351. package/lib/core/transmitter/TransmitterWrapper.js +6 -2
  352. package/lib/sdk/ConfigRuntimeFactory.js +113 -0
  353. package/lib/sdk/{internal/InvocationContext.js → InvocationContext.js} +4 -4
  354. package/lib/{Javonet.js → sdk/Javonet.js} +34 -20
  355. package/lib/sdk/{internal/RuntimeContext.js → RuntimeContext.js} +34 -37
  356. package/lib/sdk/{internal/RuntimeFactory.js → RuntimeFactory.js} +2 -2
  357. package/lib/sdk/tools/JsonFileResolver.js +75 -0
  358. package/lib/utils/RuntimeNameHandler.js +30 -0
  359. package/lib/utils/TcpConnectionData.js +43 -6
  360. package/package.json +2 -2
  361. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.008/install.json +0 -1
  362. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.012/install.json +0 -1
  363. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.047/install.json +0 -1
  364. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.144/install.json +0 -1
  365. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-Config-0.008/install.json +0 -1
  366. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/ExtUtils-InstallPaths-0.012/install.json +0 -1
  367. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Module-Build-Tiny-0.047/install.json +0 -1
  368. package/Binaries/Perl/MacOs/X64/deps/lib/perl5/darwin-thread-multi-2level/.meta/Path-Tiny-0.144/install.json +0 -1
  369. package/Binaries/Python/Linux/X64/javonet/core/transmitter/PythonTransmitter.py +0 -24
  370. package/Binaries/Python/MacOs/X64/javonet/core/transmitter/PythonTransmitter.py +0 -24
  371. package/Binaries/Python/Windows/X64/javonet/core/transmitter/PythonTransmitter.py +0 -24
  372. package/lib/sdk/internal/RuntimeContextCounter.js +0 -7
@@ -6,20 +6,24 @@ class Transmitter {
6
6
  return wrapper.sendCommand(messageArray)
7
7
  }
8
8
 
9
- static #activate = function(licenceKey = "", proxyHost = "", proxyUserName="", proxyUserPassword="") {
10
- return wrapper.activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword)
9
+ static #activate = function(licenseKey = "", proxyHost = "", proxyUserName="", proxyUserPassword="") {
10
+ return wrapper.activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword)
11
11
  }
12
12
 
13
- static activateWithLicenceFile() {
13
+ static activateWithLicenseFile() {
14
14
  return this.#activate()
15
15
  }
16
16
 
17
- static activateWithCredentials(licenceKey) {
18
- return this.#activate(licenceKey)
17
+ static activateWithCredentials(licenseKey) {
18
+ return this.#activate(licenseKey)
19
19
  }
20
20
 
21
- static activateWithCredentialsAndProxy(licenceKey, proxyHost, proxyUserName, proxyUserPassword) {
22
- return this.#activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword)
21
+ static activateWithCredentialsAndProxy(licenseKey, proxyHost, proxyUserName, proxyUserPassword) {
22
+ return this.#activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword)
23
+ }
24
+
25
+ static setConfigSource(configSource) {
26
+ return wrapper.setConfigSource(configSource)
23
27
  }
24
28
  }
25
29
 
@@ -12,14 +12,18 @@ class TransmitterWrapper {
12
12
  return library.initializeTransmitter(binariesRootPath)
13
13
  }
14
14
 
15
- static activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword) {
15
+ static activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword) {
16
16
  this.initialize()
17
- return library.activate(licenceKey, proxyHost, proxyUserName, proxyUserPassword)
17
+ return library.activate(licenseKey, proxyHost, proxyUserName, proxyUserPassword)
18
18
  }
19
19
 
20
20
  static sendCommand(messageArray) {
21
21
  return library.sendCommand(messageArray)
22
22
  }
23
+
24
+ static setConfigSource(configSource) {
25
+ return library.setConfigSource(configSource)
26
+ }
23
27
  }
24
28
 
25
29
  module.exports = TransmitterWrapper
@@ -0,0 +1,113 @@
1
+ const RuntimeContext = require("./RuntimeContext")
2
+ const JsonFileResolver = require("./tools/JsonFileResolver")
3
+ const Runtime = require("../utils/RuntimeName")
4
+ const RuntimeNameHandler = require("../utils/RuntimeNameHandler")
5
+ const ConnectionType = require("../utils/ConnectionType")
6
+ const TcpConnectionData = require("../utils/TcpConnectionData")
7
+
8
+ /**
9
+ * The ConfigRuntimeFactory class provides methods for creating runtime contexts.
10
+ * Each method corresponds to a specific runtime (CLR, JVM, .NET Core, Perl, Ruby, Node.js, Python) and returns a RuntimeContext instance for that runtime.
11
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
12
+ */
13
+ class ConfigRuntimeFactory {
14
+ constructor(path) {
15
+ this.path = path
16
+ }
17
+
18
+ /**
19
+ * Creates RuntimeContext instance to interact with the .NET Framework runtime.
20
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
21
+ * @return {RuntimeContext} a RuntimeContext instance for the .NET Framework runtime
22
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
23
+ */
24
+ clr(configName = "default") {
25
+ return this.#getRuntimeContext(Runtime.Clr, configName)
26
+ }
27
+
28
+ /**
29
+ * Creates RuntimeContext instance to interact with the JVM runtime.
30
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
31
+ * @return {RuntimeContext} a RuntimeContext instance for the JVM runtime
32
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
33
+ */
34
+ jvm(configName = "default") {
35
+ return this.#getRuntimeContext(Runtime.Jvm, configName)
36
+ }
37
+
38
+ /**
39
+ * Creates RuntimeContext instance to interact with the .NET runtime.
40
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
41
+ * @return {RuntimeContext} a RuntimeContext instance for the .NET runtime
42
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
43
+ */
44
+ netcore(configName = "default") {
45
+ return this.#getRuntimeContext(Runtime.Netcore, configName)
46
+ }
47
+
48
+ /**
49
+ * Creates RuntimeContext instance to interact with the Perl runtime.
50
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
51
+ * @return {RuntimeContext} a RuntimeContext instance for the Perl runtime
52
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
53
+ */
54
+ perl(configName = "default") {
55
+ return this.#getRuntimeContext(Runtime.Perl, configName)
56
+ }
57
+
58
+ /**
59
+ * Creates RuntimeContext instance to interact with the Python runtime.
60
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
61
+ * @return {RuntimeContext} a RuntimeContext instance for the Python runtime
62
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
63
+ */
64
+ python(configName = "default") {
65
+ return this.#getRuntimeContext(Runtime.Python, configName)
66
+ }
67
+
68
+ /**
69
+ * Creates RuntimeContext instance to interact with the Ruby runtime.
70
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
71
+ * @return {RuntimeContext} a RuntimeContext instance for the Ruby runtime
72
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
73
+ */
74
+ ruby(configName = "default") {
75
+ return this.#getRuntimeContext(Runtime.Ruby, configName)
76
+ }
77
+
78
+ /**
79
+ * Creates RuntimeContext instance to interact with Node.js runtime.
80
+ * @param {string} [configName="default"] - The name of the configuration to use (optional).
81
+ * @return {RuntimeContext} a RuntimeContext instance for the Node.js runtime
82
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
83
+ */
84
+ nodejs(configName = "default") {
85
+ return this.#getRuntimeContext(Runtime.Nodejs, configName)
86
+ }
87
+
88
+ #getRuntimeContext(runtime, configName = "default") {
89
+ let jfr = new JsonFileResolver(this.path);
90
+
91
+ try {
92
+ let licenseKey = jfr.getLicenseKey();
93
+ Transmitter.activateWithCredentials(licenseKey);
94
+ } catch (error) {
95
+ // licenseKey not found - do nothing
96
+ }
97
+
98
+ let connType = jfr.getChannelType(RuntimeNameHandler.getName(runtime), configName);
99
+ if (connType === "tcp") {
100
+ let connData = new TcpConnectionData(jfr.getChannelHost(RuntimeNameHandler.getName(runtime), configName),
101
+ jfr.getChannelPort(RuntimeNameHandler.getName(runtime), configName));
102
+ return RuntimeContext.getInstance(runtime, ConnectionType.TCP, connData);
103
+ } else if (connType === "inMemory") {
104
+ return RuntimeContext.getInstance(runtime, ConnectionType.IN_MEMORY, null);
105
+ } else {
106
+ throw new Error("Invalid connection type");
107
+ }
108
+ }
109
+
110
+
111
+ }
112
+
113
+ module.exports = ConfigRuntimeFactory
@@ -1,7 +1,7 @@
1
- const Interpreter = require("../../core/interpreter/Interpreter");
2
- const Command = require("../../utils/Command");
3
- const CommandType = require("../../utils/CommandType");
4
- const ExceptionThrower = require("../../core/exception/ExceptionThrower");
1
+ const Interpreter = require("../core/interpreter/Interpreter");
2
+ const Command = require("../utils/Command");
3
+ const CommandType = require("../utils/CommandType");
4
+ const ExceptionThrower = require("../core/exception/ExceptionThrower");
5
5
 
6
6
  /**
7
7
  * InvocationContext is a class that represents a context for invoking commands.
@@ -1,9 +1,11 @@
1
- const ConnectionType = require("./utils/ConnectionType");
2
- const RuntimeFactory = require("./sdk/internal/RuntimeFactory");
3
- const Transmitter = require("./core/transmitter/Transmitter");
1
+ const ConnectionType = require("../utils/ConnectionType");
2
+ const RuntimeFactory = require("./RuntimeFactory");
3
+ const ConfigRuntimeFactory = require("./ConfigRuntimeFactory");
4
+ const Transmitter = require("../core/transmitter/Transmitter");
5
+ const TcpConnectionData = require("../utils/TcpConnectionData");
4
6
 
5
7
  //static constructor not supported in nodeJS 12.20
6
- Transmitter.activateWithLicenceFile();
8
+ Transmitter.activateWithLicenseFile();
7
9
 
8
10
  /**
9
11
  * The Javonet class is a singleton class that serves as the entry point for interacting with Javonet.
@@ -18,32 +20,44 @@ class Javonet {
18
20
  * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/in-memory-channel)
19
21
  */
20
22
  static inMemory() {
21
- return new RuntimeFactory(ConnectionType.IN_MEMORY);
23
+ return new RuntimeFactory(ConnectionType.IN_MEMORY, null);
22
24
  }
23
25
 
24
26
  /**
25
27
  * Initializes Javonet with a TCP connection to a remote machine.
26
- * @param {Object} address - The address of the remote machine.
28
+ * @param {TcpConnectionData} tcpConnectionData - The tcp connection data of the remote machine.
27
29
  * @returns {RuntimeFactory} A RuntimeFactory instance configured for a TCP connection.
28
30
  * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/tcp-channel)
29
31
  */
30
- static tcp(address) {
31
- return new RuntimeFactory(ConnectionType.TCP, address);
32
+ static tcp(tcpConnectionData) {
33
+ return new RuntimeFactory(ConnectionType.TCP, tcpConnectionData);
34
+ }
35
+
36
+ /**
37
+ * Initializes Javonet with a custom configuration file taken from external source.
38
+ * Currentyl supported: Configuration file in JSON format
39
+ * @param {string} configPath - Path to a configuration file.
40
+ * @returns {ConfigRuntimeFactory} A ConfigRuntimeFactory instance with configuration data.
41
+ * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/configure-channel)
42
+ */
43
+ static withConfig(configPath) {
44
+ Transmitter.setConfigSource(configPath);
45
+ return new ConfigRuntimeFactory(configPath);
32
46
  }
33
47
 
34
48
  /**
35
49
  * Activates Javonet with the provided license key.
36
- * @param {string} licenceKey - The license key to activate Javonet.
50
+ * @param {string} licenseKey - The license key to activate Javonet.
37
51
  * @returns {number} The activation status code.
38
52
  * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
39
53
  */
40
- static activate(licenceKey) {
41
- return Transmitter.activateWithCredentials(licenceKey);
54
+ static activate(licenseKey) {
55
+ return Transmitter.activateWithCredentials(licenseKey);
42
56
  }
43
57
 
44
58
  /**
45
59
  * Activates Javonet with the provided license key and proxy host.
46
- * @param {string} licenceKey - The license key to activate Javonet.
60
+ * @param {string} licenseKey - The license key to activate Javonet.
47
61
  * @param {string} proxyHost - The host for the proxy server.
48
62
  * @param {string} [proxyUserName=""] - The username for the proxy server (optional).
49
63
  * @param {string} [proxyUserPassword=""] - The password for the proxy server (optional).
@@ -51,16 +65,16 @@ class Javonet {
51
65
  * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/activating-javonet)
52
66
  */
53
67
  static activate(
54
- licenceKey,
55
- proxyHost = "",
56
- proxyUserName = "",
57
- proxyUserPassword = "",
68
+ licenseKey,
69
+ proxyHost = "",
70
+ proxyUserName = "",
71
+ proxyUserPassword = "",
58
72
  ) {
59
73
  return Transmitter.activateWithCredentialsAndProxy(
60
- licenceKey,
61
- proxyHost,
62
- proxyUserName,
63
- proxyUserPassword
74
+ licenseKey,
75
+ proxyHost,
76
+ proxyUserName,
77
+ proxyUserPassword
64
78
  );
65
79
  }
66
80
  }
@@ -1,11 +1,11 @@
1
- const Interpreter = require("../../core/interpreter/Interpreter");
2
- const Command = require("../../utils/Command");
3
- const CommandType = require("../../utils/CommandType");
1
+ const Interpreter = require("../core/interpreter/Interpreter");
2
+ const Command = require("../utils/Command");
3
+ const CommandType = require("../utils/CommandType");
4
4
  const InvocationContext = require("./InvocationContext");
5
- const ConnectionType = require("../../utils/ConnectionType");
6
- const GeneratorHandler = require("../../core/generator/handler/GeneratorHandler");
7
- const ExceptionThrower = require("../../core/exception/ExceptionThrower");
8
- const homedir = require("os").homedir();
5
+ const ConnectionType = require("../utils/ConnectionType");
6
+ const GeneratorHandler = require("../core/generator/handler/GeneratorHandler");
7
+ const ExceptionThrower = require("../core/exception/ExceptionThrower");
8
+
9
9
 
10
10
  /**
11
11
  * Represents a single context which allows interaction with a selected technology.
@@ -21,6 +21,7 @@ const homedir = require("os").homedir();
21
21
  class RuntimeContext {
22
22
  static memoryRuntimeContexts = new Map();
23
23
  static networkRuntimeContexts = new Map();
24
+ static configRuntimeContexts = new Map();
24
25
  #currentCommand;
25
26
  #responseCommand;
26
27
  #interpreter;
@@ -36,36 +37,32 @@ class RuntimeContext {
36
37
  this.#generatorHandler = new GeneratorHandler();
37
38
  }
38
39
 
39
- static getInstance(runtime, connectionType, tcpConnectionData = null) {
40
- if (ConnectionType.TCP === connectionType && tcpConnectionData != null) {
41
- if (RuntimeContext.networkRuntimeContexts.has(tcpConnectionData)) {
42
- const runtimeCtx =
43
- RuntimeContext.networkRuntimeContexts.get(tcpConnectionData);
44
- runtime.command = null;
45
- return runtimeCtx;
46
- } else {
47
- const runtimeCtx = new RuntimeContext(
48
- runtime,
49
- connectionType,
50
- tcpConnectionData
51
- );
52
- RuntimeContext.networkRuntimeContexts.set(
53
- tcpConnectionData,
54
- runtimeCtx
55
- );
56
- return runtimeCtx;
57
- }
58
- } else {
59
- if (RuntimeContext.memoryRuntimeContexts.has(runtime)) {
60
- const runtimeCtx = this.memoryRuntimeContexts.get(runtime);
61
- runtimeCtx.command = null;
62
- return runtimeCtx;
63
- } else {
64
- const runtimeCtx = new RuntimeContext(runtime, connectionType);
65
- RuntimeContext.networkRuntimeContexts.set(runtime, runtimeCtx);
66
- return runtimeCtx;
67
- }
68
- }
40
+ static getInstance(runtimeName, connectionType, tcpConnectionData) {
41
+ switch (connectionType) {
42
+ case ConnectionType.IN_MEMORY:
43
+ if (runtimeName in RuntimeContext.memoryRuntimeContexts) {
44
+ let runtimeCtx = RuntimeContext.memoryRuntimeContexts[runtimeName];
45
+ runtimeCtx.currentCommand = null;
46
+ return runtimeCtx;
47
+ } else {
48
+ let runtimeCtx = new RuntimeContext(runtimeName, connectionType, tcpConnectionData);
49
+ RuntimeContext.memoryRuntimeContexts[runtimeName] = runtimeCtx;
50
+ return runtimeCtx;
51
+ }
52
+ case ConnectionType.TCP:
53
+ let key = runtimeName + JSON.stringify(tcpConnectionData);
54
+ if (key in RuntimeContext.networkRuntimeContexts) {
55
+ let runtimeCtx = RuntimeContext.networkRuntimeContexts[key];
56
+ runtimeCtx.currentCommand = null;
57
+ return runtimeCtx;
58
+ } else {
59
+ let runtimeCtx = new RuntimeContext(runtimeName, connectionType, tcpConnectionData);
60
+ RuntimeContext.networkRuntimeContexts[key] = runtimeCtx;
61
+ return runtimeCtx;
62
+ }
63
+ default:
64
+ throw new Error("Invalid connection type");
65
+ }
69
66
  }
70
67
 
71
68
  /**
@@ -1,4 +1,4 @@
1
- const Runtime = require("../../utils/RuntimeName")
1
+ const Runtime = require("../utils/RuntimeName")
2
2
  const RuntimeContext = require("./RuntimeContext")
3
3
 
4
4
  /**
@@ -7,7 +7,7 @@ const RuntimeContext = require("./RuntimeContext")
7
7
  * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
8
8
  */
9
9
  class RuntimeFactory {
10
- constructor(connectionType, tcpConnectionData = null) {
10
+ constructor(connectionType, tcpConnectionData) {
11
11
  this.connectionType = connectionType
12
12
  this.tcpConnectionData = tcpConnectionData
13
13
  }
@@ -0,0 +1,75 @@
1
+ const fs = require('fs');
2
+
3
+ class JsonFileResolver {
4
+ constructor(path) {
5
+ this.path = path;
6
+ try {
7
+ const data = fs.readFileSync(this.path, 'utf8');
8
+ this.jsonObject = JSON.parse(data);
9
+ } catch (err) {
10
+ throw new Error(`Configuration file ${this.path} not found. Please check your configuration file.`);
11
+ }
12
+ }
13
+
14
+ getLicenseKey() {
15
+ if (!this.jsonObject.hasOwnProperty('licenseKey')) {
16
+ throw new Error("License key not found in configuration file. Please check your configuration file.");
17
+ }
18
+ return this.jsonObject.licenseKey;
19
+ }
20
+
21
+ getRuntimes() {
22
+ return this.jsonObject.runtimes;
23
+ }
24
+
25
+ getRuntime(runtimeName, configName) {
26
+ const runtimes = this.getRuntimes();
27
+ if (runtimes.hasOwnProperty(runtimeName)) {
28
+ const runtime = runtimes[runtimeName];
29
+ if (Array.isArray(runtime)) {
30
+ for (let item of runtime) {
31
+ if (item.name === configName) {
32
+ return item;
33
+ }
34
+ }
35
+ } else if (runtime.name === configName) {
36
+ return runtime;
37
+ }
38
+ }
39
+ throw new Error(`Runtime config ${configName} not found in configuration file for runtime ${runtimeName}. Please check your configuration file.`);
40
+ }
41
+
42
+ getChannel(runtimeName, configName) {
43
+ const runtime = this.getRuntime(runtimeName, configName);
44
+ if (!runtime.hasOwnProperty('channel')) {
45
+ throw new Error(`Channel key not found in configuration file for config ${configName}. Please check your configuration file.`);
46
+ }
47
+ return runtime.channel;
48
+ }
49
+
50
+ getChannelType(runtimeName, configName) {
51
+ const channel = this.getChannel(runtimeName, configName);
52
+ if (!channel.hasOwnProperty('type')) {
53
+ throw new Error(`Channel type not found in configuration file for config ${configName}. Please check your configuration file.`);
54
+ }
55
+ return channel.type;
56
+ }
57
+
58
+ getChannelHost(runtimeName, configName) {
59
+ const channel = this.getChannel(runtimeName, configName);
60
+ if (!channel.hasOwnProperty('host')) {
61
+ throw new Error(`Channel host not found in configuration file for config ${configName}. Please check your configuration file.`);
62
+ }
63
+ return channel.host;
64
+ }
65
+
66
+ getChannelPort(runtimeName, configName) {
67
+ const channel = this.getChannel(runtimeName, configName);
68
+ if (!channel.hasOwnProperty('port')) {
69
+ throw new Error(`Channel port not found in configuration file for config ${configName}. Please check your configuration file.`);
70
+ }
71
+ return channel.port;
72
+ }
73
+ }
74
+
75
+ module.exports = JsonFileResolver;
@@ -0,0 +1,30 @@
1
+ const RuntimeName = require('./RuntimeName');
2
+
3
+ class RuntimeNameHandler {
4
+ static getName(runtimeName) {
5
+ switch (runtimeName) {
6
+ case RuntimeName.Clr:
7
+ return "clr";
8
+ case RuntimeName.Go:
9
+ return "go";
10
+ case RuntimeName.Jvm:
11
+ return "jvm";
12
+ case RuntimeName.Netcore:
13
+ return "netcore";
14
+ case RuntimeName.Perl:
15
+ return "perl";
16
+ case RuntimeName.Python:
17
+ return "python";
18
+ case RuntimeName.Ruby:
19
+ return "ruby";
20
+ case RuntimeName.Nodejs:
21
+ return "nodejs";
22
+ case RuntimeName.Cpp:
23
+ return "cpp";
24
+ default:
25
+ throw new Error("Invalid runtime name.");
26
+ }
27
+ }
28
+ }
29
+
30
+ module.exports = RuntimeNameHandler;
@@ -1,12 +1,49 @@
1
+ const dns = require('dns');
2
+
1
3
  class TcpConnectionData {
4
+
2
5
  constructor(hostname, port) {
3
- this.hostname = hostname
4
- this.port = port
6
+ this.port = port;
7
+ if (hostname === "localhost") {
8
+ this.ipAddress = "127.0.0.1";
9
+ } else {
10
+ this.ipAddress = this.resolveIpAddress(hostname);
11
+ }
5
12
  }
6
- get_hostname() { return this.hostname }
7
13
 
8
- get_port() { return this.port }
9
- }
14
+ equals(other) {
15
+ if (other instanceof TcpConnectionData) {
16
+ return this.ipAddress === other.ipAddress && this.port === other.port;
17
+ }
18
+ return false;
19
+ }
20
+
21
+ resolveIpAddress(hostname) {
22
+ // Check if the input is an IP address
23
+ const ipPattern = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/;
24
+ if (ipPattern.test(hostname)) {
25
+ // If it's an IP address, return it directly
26
+ return hostname;
27
+ } else {
28
+ // If it's not an IP address, try to resolve it as a hostname
29
+ return dns.resolve4(hostname, (err, addresses) => {
30
+ if (err) {
31
+ console.error(err);
32
+ return null;
33
+ }
34
+ return addresses[0];
35
+ });
36
+ }
37
+ }
38
+
39
+ getAddressBytes() {
40
+ return this.ipAddress.split('.').map(Number);
41
+ }
10
42
 
43
+ getPortBytes() {
44
+ return [this.port & 0xFF, this.port >> 8];
45
+ }
46
+
47
+ }
11
48
 
12
- module.exports = TcpConnectionData
49
+ module.exports = TcpConnectionData;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "javonet-nodejs-sdk",
3
- "version": "2.3.0",
3
+ "version": "2.4.1",
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
- "main": "lib/Javonet.js",
5
+ "main": "lib/sdk/Javonet.js",
6
6
  "keywords": [],
7
7
  "author": "SdNCenter Sp. z o. o.",
8
8
  "license": "ISC",
@@ -1 +0,0 @@
1
- {"target":"ExtUtils::Config","pathname":"L/LE/LEONT/ExtUtils-Config-0.008.tar.gz","provides":{"ExtUtils::Config":{"file":"lib/ExtUtils/Config.pm","version":"0.008"}},"name":"ExtUtils::Config","version":"0.008","dist":"ExtUtils-Config-0.008"}
@@ -1 +0,0 @@
1
- {"dist":"ExtUtils-InstallPaths-0.012","name":"ExtUtils::InstallPaths","version":"0.012","pathname":"L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz","provides":{"ExtUtils::InstallPaths":{"file":"lib/ExtUtils/InstallPaths.pm","version":"0.012"}},"target":"ExtUtils::InstallPaths"}
@@ -1 +0,0 @@
1
- {"dist":"Module-Build-Tiny-0.047","version":"0.047","name":"Module::Build::Tiny","provides":{"Module::Build::Tiny":{"version":"0.047","file":"lib/Module/Build/Tiny.pm"}},"pathname":"L/LE/LEONT/Module-Build-Tiny-0.047.tar.gz","target":"Module::Build::Tiny"}
@@ -1 +0,0 @@
1
- {"version":"0.144","name":"Path::Tiny","dist":"Path-Tiny-0.144","target":"Path::Tiny","provides":{"Path::Tiny::Error":{"version":"0.144","file":"lib/Path/Tiny.pm"},"Path::Tiny":{"version":"0.144","file":"lib/Path/Tiny.pm"}},"pathname":"D/DA/DAGOLDEN/Path-Tiny-0.144.tar.gz"}
@@ -1 +0,0 @@
1
- {"version":"0.008","pathname":"L/LE/LEONT/ExtUtils-Config-0.008.tar.gz","name":"ExtUtils::Config","provides":{"ExtUtils::Config":{"file":"lib/ExtUtils/Config.pm","version":"0.008"}},"target":"ExtUtils::Config","dist":"ExtUtils-Config-0.008"}
@@ -1 +0,0 @@
1
- {"dist":"ExtUtils-InstallPaths-0.012","target":"ExtUtils::InstallPaths","provides":{"ExtUtils::InstallPaths":{"version":"0.012","file":"lib/ExtUtils/InstallPaths.pm"}},"name":"ExtUtils::InstallPaths","pathname":"L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz","version":"0.012"}
@@ -1 +0,0 @@
1
- {"pathname":"L/LE/LEONT/Module-Build-Tiny-0.047.tar.gz","version":"0.047","name":"Module::Build::Tiny","provides":{"Module::Build::Tiny":{"file":"lib/Module/Build/Tiny.pm","version":"0.047"}},"dist":"Module-Build-Tiny-0.047","target":"Module::Build::Tiny"}
@@ -1 +0,0 @@
1
- {"target":"Path::Tiny","dist":"Path-Tiny-0.144","provides":{"Path::Tiny":{"file":"lib/Path/Tiny.pm","version":"0.144"},"Path::Tiny::Error":{"version":"0.144","file":"lib/Path/Tiny.pm"}},"name":"Path::Tiny","version":"0.144","pathname":"D/DA/DAGOLDEN/Path-Tiny-0.144.tar.gz"}
@@ -1,24 +0,0 @@
1
- from javonet.core.transmitter.PythonTransmitterWrapper import PythonTransmitterWrapper
2
-
3
-
4
- class PythonTransmitter:
5
-
6
- @staticmethod
7
- def send_command(message):
8
- return PythonTransmitterWrapper.send_command(message)
9
-
10
- @staticmethod
11
- def __activate(licence_key="", proxy_host="", proxy_user_name="", proxy_user_password=""):
12
- return PythonTransmitterWrapper.activate(licence_key, proxy_host, proxy_user_name, proxy_user_password)
13
-
14
- @staticmethod
15
- def activate_with_licence_file():
16
- return PythonTransmitter.__activate()
17
-
18
- @staticmethod
19
- def activate_with_credentials(licence_key):
20
- return PythonTransmitter.__activate(licence_key)
21
-
22
- @staticmethod
23
- def activate_with_credentials_and_proxy(licence_key, proxy_host, proxy_user_name, proxy_user_password):
24
- return PythonTransmitter.__activate(licence_key, proxy_host, proxy_user_name, proxy_user_password)
@@ -1,24 +0,0 @@
1
- from javonet.core.transmitter.PythonTransmitterWrapper import PythonTransmitterWrapper
2
-
3
-
4
- class PythonTransmitter:
5
-
6
- @staticmethod
7
- def send_command(message):
8
- return PythonTransmitterWrapper.send_command(message)
9
-
10
- @staticmethod
11
- def __activate(licence_key="", proxy_host="", proxy_user_name="", proxy_user_password=""):
12
- return PythonTransmitterWrapper.activate(licence_key, proxy_host, proxy_user_name, proxy_user_password)
13
-
14
- @staticmethod
15
- def activate_with_licence_file():
16
- return PythonTransmitter.__activate()
17
-
18
- @staticmethod
19
- def activate_with_credentials(licence_key):
20
- return PythonTransmitter.__activate(licence_key)
21
-
22
- @staticmethod
23
- def activate_with_credentials_and_proxy(licence_key, proxy_host, proxy_user_name, proxy_user_password):
24
- return PythonTransmitter.__activate(licence_key, proxy_host, proxy_user_name, proxy_user_password)