@zaber/motion 2.5.1 → 2.7.0-save-load

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 (741) hide show
  1. package/binding.gyp +2 -3
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/{node → lib}/ascii/alert_event.d.ts +0 -0
  4. package/dist/{node → lib}/ascii/alert_event.js +0 -0
  5. package/dist/{node → lib}/ascii/alert_event.js.map +0 -0
  6. package/dist/{node → lib}/ascii/all_axes.d.ts +0 -0
  7. package/dist/{node → lib}/ascii/all_axes.js +0 -0
  8. package/dist/{node → lib}/ascii/all_axes.js.map +0 -0
  9. package/dist/{web → lib}/ascii/axis.d.ts +18 -0
  10. package/dist/{node → lib}/ascii/axis.js +40 -0
  11. package/dist/lib/ascii/axis.js.map +1 -0
  12. package/dist/{node → lib}/ascii/axis_identity.d.ts +0 -0
  13. package/dist/{node → lib}/ascii/axis_identity.js +0 -0
  14. package/dist/{node → lib}/ascii/axis_identity.js.map +0 -0
  15. package/dist/{node → lib}/ascii/axis_settings.d.ts +14 -0
  16. package/dist/{web → lib}/ascii/axis_settings.js +30 -0
  17. package/dist/lib/ascii/axis_settings.js.map +1 -0
  18. package/dist/{node → lib}/ascii/axis_type.d.ts +0 -0
  19. package/dist/{node → lib}/ascii/axis_type.js +0 -0
  20. package/dist/{node → lib}/ascii/axis_type.js.map +0 -0
  21. package/dist/{web → lib}/ascii/connection.d.ts +14 -2
  22. package/dist/{web → lib}/ascii/connection.js +22 -2
  23. package/dist/lib/ascii/connection.js.map +1 -0
  24. package/dist/{web → lib}/ascii/device.d.ts +20 -0
  25. package/dist/{node → lib}/ascii/device.js +40 -0
  26. package/dist/lib/ascii/device.js.map +1 -0
  27. package/dist/{node → lib}/ascii/device_identity.d.ts +0 -0
  28. package/dist/{node → lib}/ascii/device_identity.js +0 -0
  29. package/dist/{node → lib}/ascii/device_identity.js.map +0 -0
  30. package/dist/{node → lib}/ascii/device_io.d.ts +0 -0
  31. package/dist/{node → lib}/ascii/device_io.js +0 -0
  32. package/dist/{node → lib}/ascii/device_io.js.map +0 -0
  33. package/dist/{node → lib}/ascii/device_io_info.d.ts +0 -0
  34. package/dist/{node → lib}/ascii/device_io_info.js +0 -0
  35. package/dist/{node → lib}/ascii/device_io_info.js.map +0 -0
  36. package/dist/{web → lib}/ascii/device_settings.d.ts +14 -0
  37. package/dist/{web → lib}/ascii/device_settings.js +28 -0
  38. package/dist/lib/ascii/device_settings.js.map +1 -0
  39. package/dist/{node → lib}/ascii/index.d.ts +0 -0
  40. package/dist/{node → lib}/ascii/index.js +0 -0
  41. package/dist/{node → lib}/ascii/index.js.map +0 -0
  42. package/dist/{node → lib}/ascii/lockstep.d.ts +0 -0
  43. package/dist/{node → lib}/ascii/lockstep.js +0 -0
  44. package/dist/{node → lib}/ascii/lockstep.js.map +0 -0
  45. package/dist/{node → lib}/ascii/lockstep_axes.d.ts +0 -0
  46. package/dist/{node → lib}/ascii/lockstep_axes.js +0 -0
  47. package/dist/{node → lib}/ascii/lockstep_axes.js.map +0 -0
  48. package/dist/{node → lib}/ascii/message_type.d.ts +0 -0
  49. package/dist/{node → lib}/ascii/message_type.js +0 -0
  50. package/dist/{node → lib}/ascii/message_type.js.map +0 -0
  51. package/dist/{node → lib}/ascii/response.d.ts +0 -0
  52. package/dist/{node → lib}/ascii/response.js +0 -0
  53. package/dist/{node → lib}/ascii/response.js.map +0 -0
  54. package/dist/{web → lib}/ascii/setting_constants.d.ts +360 -0
  55. package/dist/{node → lib}/ascii/setting_constants.js +360 -0
  56. package/dist/lib/ascii/setting_constants.js.map +1 -0
  57. package/dist/{web → lib}/ascii/stream.d.ts +6 -0
  58. package/dist/{web → lib}/ascii/stream.js +13 -0
  59. package/dist/lib/ascii/stream.js.map +1 -0
  60. package/dist/{web → lib}/ascii/stream_axis_definition.d.ts +1 -1
  61. package/dist/{node → lib}/ascii/stream_axis_definition.js +0 -0
  62. package/dist/{node → lib}/ascii/stream_axis_definition.js.map +1 -1
  63. package/dist/{node → lib}/ascii/stream_axis_type.d.ts +0 -0
  64. package/dist/{node → lib}/ascii/stream_axis_type.js +0 -0
  65. package/dist/{node → lib}/ascii/stream_axis_type.js.map +0 -0
  66. package/dist/{node → lib}/ascii/stream_buffer.d.ts +1 -0
  67. package/dist/{node → lib}/ascii/stream_buffer.js +1 -0
  68. package/dist/lib/ascii/stream_buffer.js.map +1 -0
  69. package/dist/{node → lib}/ascii/stream_mode.d.ts +0 -0
  70. package/dist/{node → lib}/ascii/stream_mode.js +0 -0
  71. package/dist/{node → lib}/ascii/stream_mode.js.map +0 -0
  72. package/dist/{node → lib}/ascii/transport.d.ts +0 -0
  73. package/dist/{node → lib}/ascii/transport.js +0 -0
  74. package/dist/{node → lib}/ascii/transport.js.map +0 -0
  75. package/dist/{node → lib}/ascii/unknown_response_event.d.ts +0 -0
  76. package/dist/{node → lib}/ascii/unknown_response_event.js +0 -0
  77. package/dist/{node → lib}/ascii/unknown_response_event.js.map +0 -0
  78. package/dist/{node → lib}/ascii/warning_flags.d.ts +0 -0
  79. package/dist/{node → lib}/ascii/warning_flags.js +0 -0
  80. package/dist/{node → lib}/ascii/warning_flags.js.map +0 -0
  81. package/dist/{node → lib}/ascii/warnings.d.ts +0 -0
  82. package/dist/{node → lib}/ascii/warnings.js +0 -0
  83. package/dist/{node → lib}/ascii/warnings.js.map +0 -0
  84. package/dist/{node → lib}/ascii_ns.d.ts +0 -0
  85. package/dist/{node → lib}/ascii_ns.js +0 -0
  86. package/dist/{node → lib}/ascii_ns.js.map +0 -0
  87. package/dist/{node → lib}/binary/binary_settings.d.ts +0 -0
  88. package/dist/{node → lib}/binary/binary_settings.js +0 -0
  89. package/dist/{node → lib}/binary/binary_settings.js.map +0 -0
  90. package/dist/{node → lib}/binary/command_code.d.ts +0 -0
  91. package/dist/{node → lib}/binary/command_code.js +0 -0
  92. package/dist/{node → lib}/binary/command_code.js.map +0 -0
  93. package/dist/{node → lib}/binary/connection.d.ts +0 -1
  94. package/dist/{web → lib}/binary/connection.js +0 -1
  95. package/dist/lib/binary/connection.js.map +1 -0
  96. package/dist/{node → lib}/binary/device.d.ts +0 -0
  97. package/dist/{node → lib}/binary/device.js +0 -0
  98. package/dist/{node → lib}/binary/device.js.map +0 -0
  99. package/dist/{node → lib}/binary/device_identity.d.ts +0 -0
  100. package/dist/{node → lib}/binary/device_identity.js +0 -0
  101. package/dist/{node → lib}/binary/device_identity.js.map +0 -0
  102. package/dist/{node → lib}/binary/device_settings.d.ts +0 -0
  103. package/dist/{node → lib}/binary/device_settings.js +0 -0
  104. package/dist/{node → lib}/binary/device_settings.js.map +0 -0
  105. package/dist/{node → lib}/binary/device_type.d.ts +0 -0
  106. package/dist/{node → lib}/binary/device_type.js +0 -0
  107. package/dist/{node → lib}/binary/device_type.js.map +0 -0
  108. package/dist/{node → lib}/binary/error_code.d.ts +0 -0
  109. package/dist/{node → lib}/binary/error_code.js +0 -0
  110. package/dist/{node → lib}/binary/error_code.js.map +0 -0
  111. package/dist/{node → lib}/binary/index.d.ts +0 -0
  112. package/dist/{node → lib}/binary/index.js +0 -0
  113. package/dist/{node → lib}/binary/index.js.map +0 -0
  114. package/dist/{node → lib}/binary/message.d.ts +0 -0
  115. package/dist/{node → lib}/binary/message.js +0 -0
  116. package/dist/{node → lib}/binary/message.js.map +0 -0
  117. package/dist/{node → lib}/binary/reply_code.d.ts +0 -0
  118. package/dist/{node → lib}/binary/reply_code.js +0 -0
  119. package/dist/{node → lib}/binary/reply_code.js.map +0 -0
  120. package/dist/{node → lib}/binary/reply_only_event.d.ts +0 -0
  121. package/dist/{node → lib}/binary/reply_only_event.js +0 -0
  122. package/dist/{node → lib}/binary/reply_only_event.js.map +0 -0
  123. package/dist/{node → lib}/binary/unknown_response_event.d.ts +0 -0
  124. package/dist/{node → lib}/binary/unknown_response_event.js +0 -0
  125. package/dist/{node → lib}/binary/unknown_response_event.js.map +0 -0
  126. package/dist/{node → lib}/binary_ns.d.ts +0 -0
  127. package/dist/{node → lib}/binary_ns.js +0 -0
  128. package/dist/{node → lib}/binary_ns.js.map +0 -0
  129. package/dist/lib/can_set_state_axis_response.d.ts +16 -0
  130. package/dist/lib/can_set_state_axis_response.js +18 -0
  131. package/dist/lib/can_set_state_axis_response.js.map +1 -0
  132. package/dist/lib/can_set_state_device_response.d.ts +17 -0
  133. package/dist/lib/can_set_state_device_response.js +19 -0
  134. package/dist/lib/can_set_state_device_response.js.map +1 -0
  135. package/dist/{node → lib}/device_db_source_type.d.ts +0 -0
  136. package/dist/{node → lib}/device_db_source_type.js +0 -0
  137. package/dist/{node → lib}/device_db_source_type.js.map +0 -0
  138. package/dist/{node → lib}/exceptions/binary_command_failed_exception.d.ts +0 -0
  139. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js +0 -0
  140. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js.map +0 -0
  141. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.d.ts +0 -0
  142. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js +0 -0
  143. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js.map +0 -0
  144. package/dist/{node → lib}/exceptions/command_failed_exception.d.ts +0 -0
  145. package/dist/{node → lib}/exceptions/command_failed_exception.js +0 -0
  146. package/dist/{node → lib}/exceptions/command_failed_exception.js.map +0 -0
  147. package/dist/{node → lib}/exceptions/command_failed_exception_data.d.ts +0 -0
  148. package/dist/{node → lib}/exceptions/command_failed_exception_data.js +0 -0
  149. package/dist/{node → lib}/exceptions/command_failed_exception_data.js.map +0 -0
  150. package/dist/{node → lib}/exceptions/command_preempted_exception.d.ts +0 -0
  151. package/dist/{node → lib}/exceptions/command_preempted_exception.js +0 -0
  152. package/dist/{node → lib}/exceptions/command_preempted_exception.js.map +0 -0
  153. package/dist/{node → lib}/exceptions/connection_closed_exception.d.ts +0 -0
  154. package/dist/{node → lib}/exceptions/connection_closed_exception.js +0 -0
  155. package/dist/{node → lib}/exceptions/connection_closed_exception.js.map +0 -0
  156. package/dist/{node → lib}/exceptions/connection_failed_exception.d.ts +0 -0
  157. package/dist/{node → lib}/exceptions/connection_failed_exception.js +0 -0
  158. package/dist/{node → lib}/exceptions/connection_failed_exception.js.map +0 -0
  159. package/dist/{node → lib}/exceptions/conversion_failed_exception.d.ts +0 -0
  160. package/dist/{node → lib}/exceptions/conversion_failed_exception.js +0 -0
  161. package/dist/{node → lib}/exceptions/conversion_failed_exception.js.map +0 -0
  162. package/dist/{node → lib}/exceptions/device_address_conflict_exception.d.ts +0 -0
  163. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js +0 -0
  164. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js.map +0 -0
  165. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.d.ts +0 -0
  166. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js +0 -0
  167. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js.map +0 -0
  168. package/dist/{node → lib}/exceptions/device_busy_exception.d.ts +0 -0
  169. package/dist/{node → lib}/exceptions/device_busy_exception.js +0 -0
  170. package/dist/{node → lib}/exceptions/device_busy_exception.js.map +0 -0
  171. package/dist/{node → lib}/exceptions/device_db_failed_exception.d.ts +0 -0
  172. package/dist/{node → lib}/exceptions/device_db_failed_exception.js +0 -0
  173. package/dist/{node → lib}/exceptions/device_db_failed_exception.js.map +0 -0
  174. package/dist/{node → lib}/exceptions/device_failed_exception.d.ts +0 -0
  175. package/dist/{node → lib}/exceptions/device_failed_exception.js +0 -0
  176. package/dist/{node → lib}/exceptions/device_failed_exception.js.map +0 -0
  177. package/dist/{node → lib}/exceptions/device_not_identified_exception.d.ts +0 -0
  178. package/dist/{node → lib}/exceptions/device_not_identified_exception.js +0 -0
  179. package/dist/{node → lib}/exceptions/device_not_identified_exception.js.map +0 -0
  180. package/dist/lib/exceptions/g_code_execution_exception.d.ts +14 -0
  181. package/dist/lib/exceptions/g_code_execution_exception.js +32 -0
  182. package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -0
  183. package/dist/lib/exceptions/g_code_execution_exception_data.d.ts +17 -0
  184. package/dist/lib/exceptions/g_code_execution_exception_data.js +18 -0
  185. package/dist/lib/exceptions/g_code_execution_exception_data.js.map +1 -0
  186. package/dist/lib/exceptions/g_code_syntax_exception.d.ts +14 -0
  187. package/dist/lib/exceptions/g_code_syntax_exception.js +32 -0
  188. package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -0
  189. package/dist/lib/exceptions/g_code_syntax_exception_data.d.ts +17 -0
  190. package/dist/lib/exceptions/g_code_syntax_exception_data.js +18 -0
  191. package/dist/lib/exceptions/g_code_syntax_exception_data.js.map +1 -0
  192. package/dist/{web → lib}/exceptions/index.d.ts +8 -0
  193. package/dist/{node → lib}/exceptions/index.js +18 -1
  194. package/dist/lib/exceptions/index.js.map +1 -0
  195. package/dist/{node → lib}/exceptions/internal_error_exception.d.ts +0 -0
  196. package/dist/{node → lib}/exceptions/internal_error_exception.js +0 -0
  197. package/dist/{node → lib}/exceptions/internal_error_exception.js.map +0 -0
  198. package/dist/{node → lib}/exceptions/invalid_argument_exception.d.ts +0 -0
  199. package/dist/{node → lib}/exceptions/invalid_argument_exception.js +0 -0
  200. package/dist/{node → lib}/exceptions/invalid_argument_exception.js.map +0 -0
  201. package/dist/{node → lib}/exceptions/invalid_data_exception.d.ts +0 -0
  202. package/dist/{node → lib}/exceptions/invalid_data_exception.js +0 -0
  203. package/dist/{node → lib}/exceptions/invalid_data_exception.js.map +0 -0
  204. package/dist/{node → lib}/exceptions/invalid_packet_exception.d.ts +0 -0
  205. package/dist/{node → lib}/exceptions/invalid_packet_exception.js +0 -0
  206. package/dist/{node → lib}/exceptions/invalid_packet_exception.js.map +0 -0
  207. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.d.ts +0 -0
  208. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js +0 -0
  209. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js.map +0 -0
  210. package/dist/{node → lib}/exceptions/invalid_park_state_exception.d.ts +0 -0
  211. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js +0 -0
  212. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js.map +0 -0
  213. package/dist/{node → lib}/exceptions/invalid_response_exception.d.ts +0 -0
  214. package/dist/{node → lib}/exceptions/invalid_response_exception.js +0 -0
  215. package/dist/{node → lib}/exceptions/invalid_response_exception.js.map +0 -0
  216. package/dist/{node → lib}/exceptions/invalid_response_exception_data.d.ts +0 -0
  217. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js +0 -0
  218. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js.map +0 -0
  219. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.d.ts +0 -0
  220. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js +0 -0
  221. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js.map +0 -0
  222. package/dist/{node → lib}/exceptions/io_failed_exception.d.ts +0 -0
  223. package/dist/{node → lib}/exceptions/io_failed_exception.js +0 -0
  224. package/dist/{node → lib}/exceptions/io_failed_exception.js.map +0 -0
  225. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.d.ts +0 -0
  226. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js +0 -0
  227. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js.map +0 -0
  228. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.d.ts +0 -0
  229. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js +0 -0
  230. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js.map +0 -0
  231. package/dist/{node → lib}/exceptions/motion_lib_exception.d.ts +0 -0
  232. package/dist/{node → lib}/exceptions/motion_lib_exception.js +0 -0
  233. package/dist/{node → lib}/exceptions/motion_lib_exception.js.map +0 -0
  234. package/dist/{node → lib}/exceptions/movement_failed_exception.d.ts +0 -0
  235. package/dist/{node → lib}/exceptions/movement_failed_exception.js +0 -0
  236. package/dist/{node → lib}/exceptions/movement_failed_exception.js.map +0 -0
  237. package/dist/{node → lib}/exceptions/movement_failed_exception_data.d.ts +0 -0
  238. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js +0 -0
  239. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js.map +0 -0
  240. package/dist/{node → lib}/exceptions/movement_interrupted_exception.d.ts +0 -0
  241. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js +0 -0
  242. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js.map +0 -0
  243. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.d.ts +0 -0
  244. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js +0 -0
  245. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js.map +0 -0
  246. package/dist/{node → lib}/exceptions/no_device_found_exception.d.ts +0 -0
  247. package/dist/{node → lib}/exceptions/no_device_found_exception.js +0 -0
  248. package/dist/{node → lib}/exceptions/no_device_found_exception.js.map +0 -0
  249. package/dist/{node → lib}/exceptions/not_supported_exception.d.ts +0 -0
  250. package/dist/{node → lib}/exceptions/not_supported_exception.js +0 -0
  251. package/dist/{node → lib}/exceptions/not_supported_exception.js.map +0 -0
  252. package/dist/{node → lib}/exceptions/os_failed_exception.d.ts +0 -0
  253. package/dist/{node → lib}/exceptions/os_failed_exception.js +0 -0
  254. package/dist/{node → lib}/exceptions/os_failed_exception.js.map +0 -0
  255. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.d.ts +0 -0
  256. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js +0 -0
  257. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js.map +0 -0
  258. package/dist/{node → lib}/exceptions/request_timeout_exception.d.ts +0 -0
  259. package/dist/{node → lib}/exceptions/request_timeout_exception.js +0 -0
  260. package/dist/{node → lib}/exceptions/request_timeout_exception.js.map +0 -0
  261. package/dist/{node → lib}/exceptions/serial_port_busy_exception.d.ts +0 -0
  262. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js +0 -0
  263. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js.map +0 -0
  264. package/dist/lib/exceptions/set_device_state_exception_data.d.ts +25 -0
  265. package/dist/lib/exceptions/set_device_state_exception_data.js +21 -0
  266. package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -0
  267. package/dist/lib/exceptions/set_device_state_failed_exception.d.ts +14 -0
  268. package/dist/lib/exceptions/set_device_state_failed_exception.js +32 -0
  269. package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -0
  270. package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +20 -0
  271. package/dist/lib/exceptions/set_peripheral_state_exception_data.js +19 -0
  272. package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -0
  273. package/dist/lib/exceptions/set_peripheral_state_failed_exception.d.ts +14 -0
  274. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +32 -0
  275. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -0
  276. package/dist/{node → lib}/exceptions/setting_not_found_exception.d.ts +0 -0
  277. package/dist/{node → lib}/exceptions/setting_not_found_exception.js +0 -0
  278. package/dist/{node → lib}/exceptions/setting_not_found_exception.js.map +0 -0
  279. package/dist/{node → lib}/exceptions/stream_execution_exception.d.ts +0 -0
  280. package/dist/{node → lib}/exceptions/stream_execution_exception.js +0 -0
  281. package/dist/{node → lib}/exceptions/stream_execution_exception.js.map +0 -0
  282. package/dist/{node → lib}/exceptions/stream_execution_exception_data.d.ts +0 -0
  283. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js +0 -0
  284. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js.map +0 -0
  285. package/dist/{node → lib}/exceptions/stream_mode_exception.d.ts +0 -0
  286. package/dist/{node → lib}/exceptions/stream_mode_exception.js +0 -0
  287. package/dist/{node → lib}/exceptions/stream_mode_exception.js.map +0 -0
  288. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.d.ts +0 -0
  289. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js +0 -0
  290. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js.map +0 -0
  291. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.d.ts +0 -0
  292. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js +0 -0
  293. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js.map +0 -0
  294. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.d.ts +0 -0
  295. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js +0 -0
  296. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js.map +0 -0
  297. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -0
  298. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js +0 -0
  299. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js.map +0 -0
  300. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.d.ts +0 -0
  301. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js +0 -0
  302. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js.map +0 -0
  303. package/dist/{node → lib}/exceptions/transport_already_used_exception.d.ts +0 -0
  304. package/dist/{node → lib}/exceptions/transport_already_used_exception.js +0 -0
  305. package/dist/{node → lib}/exceptions/transport_already_used_exception.js.map +0 -0
  306. package/dist/{node → lib}/exceptions/unknown_request_exception.d.ts +0 -0
  307. package/dist/{node → lib}/exceptions/unknown_request_exception.js +0 -0
  308. package/dist/{node → lib}/exceptions/unknown_request_exception.js.map +0 -0
  309. package/dist/lib/finalizer.d.ts +5 -0
  310. package/dist/lib/finalizer.js +21 -0
  311. package/dist/lib/finalizer.js.map +1 -0
  312. package/dist/{node → lib}/firmware_version.d.ts +0 -0
  313. package/dist/{node → lib}/firmware_version.js +0 -0
  314. package/dist/{node → lib}/firmware_version.js.map +0 -0
  315. package/dist/lib/gateway/bindings.d.ts +5 -0
  316. package/dist/lib/gateway/bindings.js +35 -0
  317. package/dist/lib/gateway/bindings.js.map +1 -0
  318. package/dist/{node/gateway/bindings.d.ts → lib/gateway/bindings.node.d.ts} +0 -0
  319. package/dist/{node/gateway/bindings.js → lib/gateway/bindings.node.js} +1 -1
  320. package/dist/lib/gateway/bindings.node.js.map +1 -0
  321. package/dist/{web/gateway/bindings.d.ts → lib/gateway/bindings.wasm.d.ts} +0 -0
  322. package/dist/{web/gateway/bindings.js → lib/gateway/bindings.wasm.js} +2 -1
  323. package/dist/lib/gateway/bindings.wasm.js.map +1 -0
  324. package/dist/{node → lib}/gateway/call.d.ts +0 -0
  325. package/dist/{web → lib}/gateway/call.js +2 -2
  326. package/dist/lib/gateway/call.js.map +1 -0
  327. package/dist/{node → lib}/gateway/convert_exceptions.d.ts +0 -0
  328. package/dist/{node → lib}/gateway/convert_exceptions.js +4 -0
  329. package/dist/lib/gateway/convert_exceptions.js.map +1 -0
  330. package/dist/{node → lib}/gateway/events.d.ts +0 -1
  331. package/dist/{node → lib}/gateway/events.js +4 -7
  332. package/dist/lib/gateway/events.js.map +1 -0
  333. package/dist/{node → lib}/gateway/index.d.ts +0 -0
  334. package/dist/{node → lib}/gateway/index.js +0 -0
  335. package/dist/{node → lib}/gateway/index.js.map +0 -0
  336. package/dist/{node → lib}/gateway/serialization.d.ts +0 -0
  337. package/dist/{node → lib}/gateway/serialization.js +0 -0
  338. package/dist/{node → lib}/gateway/serialization.js.map +0 -0
  339. package/dist/lib/gateway/wasm-exec.d.ts +1 -0
  340. package/dist/{web/wasm → lib/gateway}/wasm-exec.js +13 -54
  341. package/dist/lib/gateway/wasm-exec.js.map +1 -0
  342. package/dist/lib/gateway/wasm.d.ts +4 -0
  343. package/dist/{web/wasm → lib/gateway}/wasm.js +1 -3
  344. package/dist/lib/gateway/wasm.js.map +1 -0
  345. package/dist/lib/gcode/axis_mapping.d.ts +16 -0
  346. package/dist/{web/measurement.js → lib/gcode/axis_mapping.js} +11 -11
  347. package/dist/lib/gcode/axis_mapping.js.map +1 -0
  348. package/dist/lib/gcode/index.d.ts +8 -0
  349. package/dist/lib/gcode/index.js +20 -0
  350. package/dist/lib/gcode/index.js.map +1 -0
  351. package/dist/lib/gcode/translate_message.d.ts +21 -0
  352. package/dist/lib/gcode/translate_message.js +19 -0
  353. package/dist/lib/gcode/translate_message.js.map +1 -0
  354. package/dist/lib/gcode/translate_result.d.ts +17 -0
  355. package/dist/lib/gcode/translate_result.js +19 -0
  356. package/dist/lib/gcode/translate_result.js.map +1 -0
  357. package/dist/lib/gcode/translator.d.ts +68 -0
  358. package/dist/lib/gcode/translator.js +144 -0
  359. package/dist/lib/gcode/translator.js.map +1 -0
  360. package/dist/lib/gcode/translator_axis_definition.d.ts +20 -0
  361. package/dist/lib/gcode/translator_axis_definition.js +48 -0
  362. package/dist/lib/gcode/translator_axis_definition.js.map +1 -0
  363. package/dist/lib/gcode/translator_config.d.ts +18 -0
  364. package/dist/lib/gcode/translator_config.js +41 -0
  365. package/dist/lib/gcode/translator_config.js.map +1 -0
  366. package/dist/lib/gcode/translator_definition.d.ts +18 -0
  367. package/dist/{web/ascii/stream_axis_definition.js → lib/gcode/translator_definition.js} +11 -18
  368. package/dist/lib/gcode/translator_definition.js.map +1 -0
  369. package/dist/lib/gcode/translator_live.d.ts +70 -0
  370. package/dist/lib/gcode/translator_live.js +147 -0
  371. package/dist/lib/gcode/translator_live.js.map +1 -0
  372. package/dist/lib/gcode_ns.d.ts +19 -0
  373. package/dist/{web/tools.js → lib/gcode_ns.js} +14 -20
  374. package/dist/lib/gcode_ns.js.map +1 -0
  375. package/dist/{node → lib}/index.d.ts +3 -1
  376. package/dist/{node → lib}/index.js +6 -2
  377. package/dist/lib/index.js.map +1 -0
  378. package/dist/{node → lib}/library.d.ts +0 -0
  379. package/dist/{node → lib}/library.js +0 -0
  380. package/dist/{node → lib}/library.js.map +0 -0
  381. package/dist/{node → lib}/log_output_mode.d.ts +0 -0
  382. package/dist/{node → lib}/log_output_mode.js +0 -0
  383. package/dist/{node → lib}/log_output_mode.js.map +0 -0
  384. package/dist/{web → lib}/measurement.d.ts +1 -1
  385. package/dist/{node → lib}/measurement.js +0 -0
  386. package/dist/{node → lib}/measurement.js.map +1 -1
  387. package/dist/{node → lib}/protobufs/main_pb.d.ts +785 -0
  388. package/dist/{node → lib}/protobufs/main_pb.js +6039 -2
  389. package/dist/lib/protobufs/main_pb.js.map +1 -0
  390. package/dist/{node → lib}/rotation_direction.d.ts +0 -0
  391. package/dist/{node → lib}/rotation_direction.js +0 -0
  392. package/dist/{node → lib}/rotation_direction.js.map +0 -0
  393. package/dist/{node → lib}/tools.d.ts +0 -0
  394. package/dist/{node → lib}/tools.js +0 -0
  395. package/dist/{node → lib}/tools.js.map +0 -0
  396. package/dist/{node → lib}/units.d.ts +0 -0
  397. package/dist/{node → lib}/units.js +0 -0
  398. package/dist/{node → lib}/units.js.map +0 -0
  399. package/dist/lib/wasm.d.ts +4 -0
  400. package/dist/{web/init.js → lib/wasm.js} +5 -4
  401. package/dist/lib/wasm.js.map +1 -0
  402. package/package.json +9 -16
  403. package/dist/node/ascii/axis.d.ts +0 -172
  404. package/dist/node/ascii/axis.js.map +0 -1
  405. package/dist/node/ascii/axis_settings.js +0 -107
  406. package/dist/node/ascii/axis_settings.js.map +0 -1
  407. package/dist/node/ascii/connection.d.ts +0 -203
  408. package/dist/node/ascii/connection.js +0 -380
  409. package/dist/node/ascii/connection.js.map +0 -1
  410. package/dist/node/ascii/device.d.ts +0 -165
  411. package/dist/node/ascii/device.js.map +0 -1
  412. package/dist/node/ascii/device_settings.d.ts +0 -41
  413. package/dist/node/ascii/device_settings.js +0 -103
  414. package/dist/node/ascii/device_settings.js.map +0 -1
  415. package/dist/node/ascii/setting_constants.d.ts +0 -563
  416. package/dist/node/ascii/setting_constants.js.map +0 -1
  417. package/dist/node/ascii/stream.d.ts +0 -307
  418. package/dist/node/ascii/stream.js +0 -659
  419. package/dist/node/ascii/stream.js.map +0 -1
  420. package/dist/node/ascii/stream_axis_definition.d.ts +0 -17
  421. package/dist/node/ascii/stream_buffer.js.map +0 -1
  422. package/dist/node/binary/connection.js +0 -211
  423. package/dist/node/binary/connection.js.map +0 -1
  424. package/dist/node/exceptions/index.d.ts +0 -48
  425. package/dist/node/exceptions/index.js.map +0 -1
  426. package/dist/node/gateway/bindings.js.map +0 -1
  427. package/dist/node/gateway/call.js +0 -46
  428. package/dist/node/gateway/call.js.map +0 -1
  429. package/dist/node/gateway/convert_exceptions.js.map +0 -1
  430. package/dist/node/gateway/events.js.map +0 -1
  431. package/dist/node/index.js.map +0 -1
  432. package/dist/node/init.d.ts +0 -1
  433. package/dist/node/init.js +0 -8
  434. package/dist/node/init.js.map +0 -1
  435. package/dist/node/measurement.d.ts +0 -17
  436. package/dist/web/ascii/alert_event.d.ts +0 -28
  437. package/dist/web/ascii/alert_event.js +0 -21
  438. package/dist/web/ascii/alert_event.js.map +0 -1
  439. package/dist/web/ascii/all_axes.d.ts +0 -46
  440. package/dist/web/ascii/all_axes.js +0 -122
  441. package/dist/web/ascii/all_axes.js.map +0 -1
  442. package/dist/web/ascii/axis.js +0 -367
  443. package/dist/web/ascii/axis.js.map +0 -1
  444. package/dist/web/ascii/axis_identity.d.ts +0 -29
  445. package/dist/web/ascii/axis_identity.js +0 -21
  446. package/dist/web/ascii/axis_identity.js.map +0 -1
  447. package/dist/web/ascii/axis_settings.d.ts +0 -41
  448. package/dist/web/ascii/axis_settings.js.map +0 -1
  449. package/dist/web/ascii/axis_type.d.ts +0 -8
  450. package/dist/web/ascii/axis_type.js +0 -15
  451. package/dist/web/ascii/axis_type.js.map +0 -1
  452. package/dist/web/ascii/connection.js.map +0 -1
  453. package/dist/web/ascii/device.js +0 -296
  454. package/dist/web/ascii/device.js.map +0 -1
  455. package/dist/web/ascii/device_identity.d.ts +0 -33
  456. package/dist/web/ascii/device_identity.js +0 -23
  457. package/dist/web/ascii/device_identity.js.map +0 -1
  458. package/dist/web/ascii/device_io.d.ts +0 -80
  459. package/dist/web/ascii/device_io.js +0 -199
  460. package/dist/web/ascii/device_io.js.map +0 -1
  461. package/dist/web/ascii/device_io_info.d.ts +0 -24
  462. package/dist/web/ascii/device_io_info.js +0 -20
  463. package/dist/web/ascii/device_io_info.js.map +0 -1
  464. package/dist/web/ascii/device_settings.js.map +0 -1
  465. package/dist/web/ascii/index.d.ts +0 -26
  466. package/dist/web/ascii/index.js +0 -56
  467. package/dist/web/ascii/index.js.map +0 -1
  468. package/dist/web/ascii/lockstep.d.ts +0 -120
  469. package/dist/web/ascii/lockstep.js +0 -281
  470. package/dist/web/ascii/lockstep.js.map +0 -1
  471. package/dist/web/ascii/lockstep_axes.d.ts +0 -24
  472. package/dist/web/ascii/lockstep_axes.js +0 -20
  473. package/dist/web/ascii/lockstep_axes.js.map +0 -1
  474. package/dist/web/ascii/message_type.d.ts +0 -10
  475. package/dist/web/ascii/message_type.js +0 -17
  476. package/dist/web/ascii/message_type.js.map +0 -1
  477. package/dist/web/ascii/response.d.ts +0 -37
  478. package/dist/web/ascii/response.js +0 -23
  479. package/dist/web/ascii/response.js.map +0 -1
  480. package/dist/web/ascii/setting_constants.js +0 -570
  481. package/dist/web/ascii/setting_constants.js.map +0 -1
  482. package/dist/web/ascii/stream.js.map +0 -1
  483. package/dist/web/ascii/stream_axis_definition.js.map +0 -1
  484. package/dist/web/ascii/stream_axis_type.d.ts +0 -7
  485. package/dist/web/ascii/stream_axis_type.js +0 -14
  486. package/dist/web/ascii/stream_axis_type.js.map +0 -1
  487. package/dist/web/ascii/stream_buffer.d.ts +0 -27
  488. package/dist/web/ascii/stream_buffer.js +0 -71
  489. package/dist/web/ascii/stream_buffer.js.map +0 -1
  490. package/dist/web/ascii/stream_mode.d.ts +0 -9
  491. package/dist/web/ascii/stream_mode.js +0 -16
  492. package/dist/web/ascii/stream_mode.js.map +0 -1
  493. package/dist/web/ascii/transport.d.ts +0 -38
  494. package/dist/web/ascii/transport.js +0 -91
  495. package/dist/web/ascii/transport.js.map +0 -1
  496. package/dist/web/ascii/unknown_response_event.d.ts +0 -37
  497. package/dist/web/ascii/unknown_response_event.js +0 -23
  498. package/dist/web/ascii/unknown_response_event.js.map +0 -1
  499. package/dist/web/ascii/warning_flags.d.ts +0 -137
  500. package/dist/web/ascii/warning_flags.js +0 -144
  501. package/dist/web/ascii/warning_flags.js.map +0 -1
  502. package/dist/web/ascii/warnings.d.ts +0 -19
  503. package/dist/web/ascii/warnings.js +0 -62
  504. package/dist/web/ascii/warnings.js.map +0 -1
  505. package/dist/web/ascii_ns.d.ts +0 -55
  506. package/dist/web/ascii_ns.js +0 -53
  507. package/dist/web/ascii_ns.js.map +0 -1
  508. package/dist/web/binary/binary_settings.d.ts +0 -70
  509. package/dist/web/binary/binary_settings.js +0 -77
  510. package/dist/web/binary/binary_settings.js.map +0 -1
  511. package/dist/web/binary/command_code.d.ts +0 -102
  512. package/dist/web/binary/command_code.js +0 -109
  513. package/dist/web/binary/command_code.js.map +0 -1
  514. package/dist/web/binary/connection.d.ts +0 -115
  515. package/dist/web/binary/connection.js.map +0 -1
  516. package/dist/web/binary/device.d.ts +0 -192
  517. package/dist/web/binary/device.js +0 -375
  518. package/dist/web/binary/device.js.map +0 -1
  519. package/dist/web/binary/device_identity.d.ts +0 -42
  520. package/dist/web/binary/device_identity.js +0 -25
  521. package/dist/web/binary/device_identity.js.map +0 -1
  522. package/dist/web/binary/device_settings.d.ts +0 -24
  523. package/dist/web/binary/device_settings.js +0 -66
  524. package/dist/web/binary/device_settings.js.map +0 -1
  525. package/dist/web/binary/device_type.d.ts +0 -8
  526. package/dist/web/binary/device_type.js +0 -15
  527. package/dist/web/binary/device_type.js.map +0 -1
  528. package/dist/web/binary/error_code.d.ts +0 -97
  529. package/dist/web/binary/error_code.js +0 -104
  530. package/dist/web/binary/error_code.js.map +0 -1
  531. package/dist/web/binary/index.d.ts +0 -12
  532. package/dist/web/binary/index.js +0 -28
  533. package/dist/web/binary/index.js.map +0 -1
  534. package/dist/web/binary/message.d.ts +0 -20
  535. package/dist/web/binary/message.js +0 -19
  536. package/dist/web/binary/message.js.map +0 -1
  537. package/dist/web/binary/reply_code.d.ts +0 -12
  538. package/dist/web/binary/reply_code.js +0 -19
  539. package/dist/web/binary/reply_code.js.map +0 -1
  540. package/dist/web/binary/reply_only_event.d.ts +0 -20
  541. package/dist/web/binary/reply_only_event.js +0 -19
  542. package/dist/web/binary/reply_only_event.js.map +0 -1
  543. package/dist/web/binary/unknown_response_event.d.ts +0 -20
  544. package/dist/web/binary/unknown_response_event.js +0 -19
  545. package/dist/web/binary/unknown_response_event.js.map +0 -1
  546. package/dist/web/binary_ns.d.ts +0 -27
  547. package/dist/web/binary_ns.js +0 -39
  548. package/dist/web/binary_ns.js.map +0 -1
  549. package/dist/web/device_db_source_type.d.ts +0 -7
  550. package/dist/web/device_db_source_type.js +0 -14
  551. package/dist/web/device_db_source_type.js.map +0 -1
  552. package/dist/web/exceptions/binary_command_failed_exception.d.ts +0 -14
  553. package/dist/web/exceptions/binary_command_failed_exception.js +0 -32
  554. package/dist/web/exceptions/binary_command_failed_exception.js.map +0 -1
  555. package/dist/web/exceptions/binary_command_failed_exception_data.d.ts +0 -12
  556. package/dist/web/exceptions/binary_command_failed_exception_data.js +0 -17
  557. package/dist/web/exceptions/binary_command_failed_exception_data.js.map +0 -1
  558. package/dist/web/exceptions/command_failed_exception.d.ts +0 -14
  559. package/dist/web/exceptions/command_failed_exception.js +0 -32
  560. package/dist/web/exceptions/command_failed_exception.js.map +0 -1
  561. package/dist/web/exceptions/command_failed_exception_data.d.ts +0 -24
  562. package/dist/web/exceptions/command_failed_exception_data.js +0 -20
  563. package/dist/web/exceptions/command_failed_exception_data.js.map +0 -1
  564. package/dist/web/exceptions/command_preempted_exception.d.ts +0 -7
  565. package/dist/web/exceptions/command_preempted_exception.js +0 -17
  566. package/dist/web/exceptions/command_preempted_exception.js.map +0 -1
  567. package/dist/web/exceptions/connection_closed_exception.d.ts +0 -7
  568. package/dist/web/exceptions/connection_closed_exception.js +0 -17
  569. package/dist/web/exceptions/connection_closed_exception.js.map +0 -1
  570. package/dist/web/exceptions/connection_failed_exception.d.ts +0 -7
  571. package/dist/web/exceptions/connection_failed_exception.js +0 -17
  572. package/dist/web/exceptions/connection_failed_exception.js.map +0 -1
  573. package/dist/web/exceptions/conversion_failed_exception.d.ts +0 -7
  574. package/dist/web/exceptions/conversion_failed_exception.js +0 -17
  575. package/dist/web/exceptions/conversion_failed_exception.js.map +0 -1
  576. package/dist/web/exceptions/device_address_conflict_exception.d.ts +0 -14
  577. package/dist/web/exceptions/device_address_conflict_exception.js +0 -32
  578. package/dist/web/exceptions/device_address_conflict_exception.js.map +0 -1
  579. package/dist/web/exceptions/device_address_conflict_exception_data.d.ts +0 -12
  580. package/dist/web/exceptions/device_address_conflict_exception_data.js +0 -17
  581. package/dist/web/exceptions/device_address_conflict_exception_data.js.map +0 -1
  582. package/dist/web/exceptions/device_busy_exception.d.ts +0 -7
  583. package/dist/web/exceptions/device_busy_exception.js +0 -17
  584. package/dist/web/exceptions/device_busy_exception.js.map +0 -1
  585. package/dist/web/exceptions/device_db_failed_exception.d.ts +0 -7
  586. package/dist/web/exceptions/device_db_failed_exception.js +0 -17
  587. package/dist/web/exceptions/device_db_failed_exception.js.map +0 -1
  588. package/dist/web/exceptions/device_failed_exception.d.ts +0 -8
  589. package/dist/web/exceptions/device_failed_exception.js +0 -18
  590. package/dist/web/exceptions/device_failed_exception.js.map +0 -1
  591. package/dist/web/exceptions/device_not_identified_exception.d.ts +0 -7
  592. package/dist/web/exceptions/device_not_identified_exception.js +0 -17
  593. package/dist/web/exceptions/device_not_identified_exception.js.map +0 -1
  594. package/dist/web/exceptions/index.js +0 -102
  595. package/dist/web/exceptions/index.js.map +0 -1
  596. package/dist/web/exceptions/internal_error_exception.d.ts +0 -7
  597. package/dist/web/exceptions/internal_error_exception.js +0 -17
  598. package/dist/web/exceptions/internal_error_exception.js.map +0 -1
  599. package/dist/web/exceptions/invalid_argument_exception.d.ts +0 -7
  600. package/dist/web/exceptions/invalid_argument_exception.js +0 -17
  601. package/dist/web/exceptions/invalid_argument_exception.js.map +0 -1
  602. package/dist/web/exceptions/invalid_data_exception.d.ts +0 -7
  603. package/dist/web/exceptions/invalid_data_exception.js +0 -17
  604. package/dist/web/exceptions/invalid_data_exception.js.map +0 -1
  605. package/dist/web/exceptions/invalid_packet_exception.d.ts +0 -14
  606. package/dist/web/exceptions/invalid_packet_exception.js +0 -32
  607. package/dist/web/exceptions/invalid_packet_exception.js.map +0 -1
  608. package/dist/web/exceptions/invalid_packet_exception_data.d.ts +0 -16
  609. package/dist/web/exceptions/invalid_packet_exception_data.js +0 -18
  610. package/dist/web/exceptions/invalid_packet_exception_data.js.map +0 -1
  611. package/dist/web/exceptions/invalid_park_state_exception.d.ts +0 -7
  612. package/dist/web/exceptions/invalid_park_state_exception.js +0 -17
  613. package/dist/web/exceptions/invalid_park_state_exception.js.map +0 -1
  614. package/dist/web/exceptions/invalid_response_exception.d.ts +0 -14
  615. package/dist/web/exceptions/invalid_response_exception.js +0 -32
  616. package/dist/web/exceptions/invalid_response_exception.js.map +0 -1
  617. package/dist/web/exceptions/invalid_response_exception_data.d.ts +0 -12
  618. package/dist/web/exceptions/invalid_response_exception_data.js +0 -17
  619. package/dist/web/exceptions/invalid_response_exception_data.js.map +0 -1
  620. package/dist/web/exceptions/io_channel_out_of_range_exception.d.ts +0 -7
  621. package/dist/web/exceptions/io_channel_out_of_range_exception.js +0 -17
  622. package/dist/web/exceptions/io_channel_out_of_range_exception.js.map +0 -1
  623. package/dist/web/exceptions/io_failed_exception.d.ts +0 -7
  624. package/dist/web/exceptions/io_failed_exception.js +0 -17
  625. package/dist/web/exceptions/io_failed_exception.js.map +0 -1
  626. package/dist/web/exceptions/lockstep_enabled_exception.d.ts +0 -7
  627. package/dist/web/exceptions/lockstep_enabled_exception.js +0 -17
  628. package/dist/web/exceptions/lockstep_enabled_exception.js.map +0 -1
  629. package/dist/web/exceptions/lockstep_not_enabled_exception.d.ts +0 -7
  630. package/dist/web/exceptions/lockstep_not_enabled_exception.js +0 -17
  631. package/dist/web/exceptions/lockstep_not_enabled_exception.js.map +0 -1
  632. package/dist/web/exceptions/motion_lib_exception.d.ts +0 -8
  633. package/dist/web/exceptions/motion_lib_exception.js +0 -15
  634. package/dist/web/exceptions/motion_lib_exception.js.map +0 -1
  635. package/dist/web/exceptions/movement_failed_exception.d.ts +0 -14
  636. package/dist/web/exceptions/movement_failed_exception.js +0 -32
  637. package/dist/web/exceptions/movement_failed_exception.js.map +0 -1
  638. package/dist/web/exceptions/movement_failed_exception_data.d.ts +0 -16
  639. package/dist/web/exceptions/movement_failed_exception_data.js +0 -18
  640. package/dist/web/exceptions/movement_failed_exception_data.js.map +0 -1
  641. package/dist/web/exceptions/movement_interrupted_exception.d.ts +0 -14
  642. package/dist/web/exceptions/movement_interrupted_exception.js +0 -32
  643. package/dist/web/exceptions/movement_interrupted_exception.js.map +0 -1
  644. package/dist/web/exceptions/movement_interrupted_exception_data.d.ts +0 -16
  645. package/dist/web/exceptions/movement_interrupted_exception_data.js +0 -18
  646. package/dist/web/exceptions/movement_interrupted_exception_data.js.map +0 -1
  647. package/dist/web/exceptions/no_device_found_exception.d.ts +0 -7
  648. package/dist/web/exceptions/no_device_found_exception.js +0 -17
  649. package/dist/web/exceptions/no_device_found_exception.js.map +0 -1
  650. package/dist/web/exceptions/not_supported_exception.d.ts +0 -7
  651. package/dist/web/exceptions/not_supported_exception.js +0 -17
  652. package/dist/web/exceptions/not_supported_exception.js.map +0 -1
  653. package/dist/web/exceptions/os_failed_exception.d.ts +0 -7
  654. package/dist/web/exceptions/os_failed_exception.js +0 -17
  655. package/dist/web/exceptions/os_failed_exception.js.map +0 -1
  656. package/dist/web/exceptions/out_of_request_ids_exception.d.ts +0 -7
  657. package/dist/web/exceptions/out_of_request_ids_exception.js +0 -17
  658. package/dist/web/exceptions/out_of_request_ids_exception.js.map +0 -1
  659. package/dist/web/exceptions/request_timeout_exception.d.ts +0 -7
  660. package/dist/web/exceptions/request_timeout_exception.js +0 -17
  661. package/dist/web/exceptions/request_timeout_exception.js.map +0 -1
  662. package/dist/web/exceptions/serial_port_busy_exception.d.ts +0 -7
  663. package/dist/web/exceptions/serial_port_busy_exception.js +0 -17
  664. package/dist/web/exceptions/serial_port_busy_exception.js.map +0 -1
  665. package/dist/web/exceptions/setting_not_found_exception.d.ts +0 -7
  666. package/dist/web/exceptions/setting_not_found_exception.js +0 -17
  667. package/dist/web/exceptions/setting_not_found_exception.js.map +0 -1
  668. package/dist/web/exceptions/stream_execution_exception.d.ts +0 -14
  669. package/dist/web/exceptions/stream_execution_exception.js +0 -32
  670. package/dist/web/exceptions/stream_execution_exception.js.map +0 -1
  671. package/dist/web/exceptions/stream_execution_exception_data.d.ts +0 -16
  672. package/dist/web/exceptions/stream_execution_exception_data.js +0 -18
  673. package/dist/web/exceptions/stream_execution_exception_data.js.map +0 -1
  674. package/dist/web/exceptions/stream_mode_exception.d.ts +0 -7
  675. package/dist/web/exceptions/stream_mode_exception.js +0 -17
  676. package/dist/web/exceptions/stream_mode_exception.js.map +0 -1
  677. package/dist/web/exceptions/stream_movement_failed_exception.d.ts +0 -14
  678. package/dist/web/exceptions/stream_movement_failed_exception.js +0 -32
  679. package/dist/web/exceptions/stream_movement_failed_exception.js.map +0 -1
  680. package/dist/web/exceptions/stream_movement_failed_exception_data.d.ts +0 -16
  681. package/dist/web/exceptions/stream_movement_failed_exception_data.js +0 -18
  682. package/dist/web/exceptions/stream_movement_failed_exception_data.js.map +0 -1
  683. package/dist/web/exceptions/stream_movement_interrupted_exception.d.ts +0 -14
  684. package/dist/web/exceptions/stream_movement_interrupted_exception.js +0 -32
  685. package/dist/web/exceptions/stream_movement_interrupted_exception.js.map +0 -1
  686. package/dist/web/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -16
  687. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js +0 -18
  688. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js.map +0 -1
  689. package/dist/web/exceptions/stream_setup_failed_exception.d.ts +0 -7
  690. package/dist/web/exceptions/stream_setup_failed_exception.js +0 -17
  691. package/dist/web/exceptions/stream_setup_failed_exception.js.map +0 -1
  692. package/dist/web/exceptions/transport_already_used_exception.d.ts +0 -7
  693. package/dist/web/exceptions/transport_already_used_exception.js +0 -17
  694. package/dist/web/exceptions/transport_already_used_exception.js.map +0 -1
  695. package/dist/web/exceptions/unknown_request_exception.d.ts +0 -7
  696. package/dist/web/exceptions/unknown_request_exception.js +0 -17
  697. package/dist/web/exceptions/unknown_request_exception.js.map +0 -1
  698. package/dist/web/firmware_version.d.ts +0 -20
  699. package/dist/web/firmware_version.js +0 -19
  700. package/dist/web/firmware_version.js.map +0 -1
  701. package/dist/web/gateway/bindings.js.map +0 -1
  702. package/dist/web/gateway/call.d.ts +0 -6
  703. package/dist/web/gateway/call.js.map +0 -1
  704. package/dist/web/gateway/convert_exceptions.d.ts +0 -4
  705. package/dist/web/gateway/convert_exceptions.js +0 -74
  706. package/dist/web/gateway/convert_exceptions.js.map +0 -1
  707. package/dist/web/gateway/events.d.ts +0 -9
  708. package/dist/web/gateway/events.js +0 -60
  709. package/dist/web/gateway/events.js.map +0 -1
  710. package/dist/web/gateway/index.d.ts +0 -4
  711. package/dist/web/gateway/index.js +0 -23
  712. package/dist/web/gateway/index.js.map +0 -1
  713. package/dist/web/gateway/serialization.d.ts +0 -6
  714. package/dist/web/gateway/serialization.js +0 -39
  715. package/dist/web/gateway/serialization.js.map +0 -1
  716. package/dist/web/index.d.ts +0 -12
  717. package/dist/web/index.js +0 -33
  718. package/dist/web/index.js.map +0 -1
  719. package/dist/web/init.d.ts +0 -5
  720. package/dist/web/init.js.map +0 -1
  721. package/dist/web/library.d.ts +0 -30
  722. package/dist/web/library.js +0 -73
  723. package/dist/web/library.js.map +0 -1
  724. package/dist/web/log_output_mode.d.ts +0 -9
  725. package/dist/web/log_output_mode.js +0 -16
  726. package/dist/web/log_output_mode.js.map +0 -1
  727. package/dist/web/measurement.js.map +0 -1
  728. package/dist/web/protobufs/main_pb.d.ts +0 -5228
  729. package/dist/web/protobufs/main_pb.js +0 -39387
  730. package/dist/web/rotation_direction.d.ts +0 -9
  731. package/dist/web/rotation_direction.js +0 -16
  732. package/dist/web/rotation_direction.js.map +0 -1
  733. package/dist/web/tools.d.ts +0 -10
  734. package/dist/web/tools.js.map +0 -1
  735. package/dist/web/units.d.ts +0 -147
  736. package/dist/web/units.js +0 -167
  737. package/dist/web/units.js.map +0 -1
  738. package/dist/web/wasm/wasm-exec.d.ts +0 -1
  739. package/dist/web/wasm/wasm-exec.js.map +0 -1
  740. package/dist/web/wasm/wasm.d.ts +0 -14
  741. package/dist/web/wasm/wasm.js.map +0 -1
@@ -1,9 +0,0 @@
1
- /**
2
- * Direction of rotation.
3
- */
4
- export declare enum RotationDirection {
5
- CLOCKWISE = 0,
6
- COUNTERCLOCKWISE = 1,
7
- CW = 0,
8
- CCW = 1
9
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.RotationDirection = void 0;
6
- /**
7
- * Direction of rotation.
8
- */
9
- var RotationDirection;
10
- (function (RotationDirection) {
11
- RotationDirection[RotationDirection["CLOCKWISE"] = 0] = "CLOCKWISE";
12
- RotationDirection[RotationDirection["COUNTERCLOCKWISE"] = 1] = "COUNTERCLOCKWISE";
13
- RotationDirection[RotationDirection["CW"] = 0] = "CW";
14
- RotationDirection[RotationDirection["CCW"] = 1] = "CCW";
15
- })(RotationDirection = exports.RotationDirection || (exports.RotationDirection = {}));
16
- //# sourceMappingURL=rotation_direction.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rotation_direction.js","sourceRoot":"","sources":["../../src-web/rotation_direction.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD;;GAEG;AACH,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,mEAAa,CAAA;IACb,iFAAoB,CAAA;IACpB,qDAAM,CAAA;IACN,uDAAO,CAAA;AACT,CAAC,EALW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAK5B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\n/**\n * Direction of rotation.\n */\nexport enum RotationDirection {\n CLOCKWISE = 0,\n COUNTERCLOCKWISE = 1,\n CW = 0,\n CCW = 1,\n}\n"]}
@@ -1,10 +0,0 @@
1
- /**
2
- * Class providing various utility functions.
3
- */
4
- export declare class Tools {
5
- /**
6
- * Lists all serial ports on the computer.
7
- * @return Array of serial port names.
8
- */
9
- static listSerialPorts(): Promise<string[]>;
10
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"tools.js","sourceRoot":"","sources":["../../src-web/tools.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AAErC;;GAEG;AACH,MAAa,KAAK;IAEhB;;;OAGG;IACI,MAAM,CAAC,KAAK,CAAC,eAAe;QACjC,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;QAE3C,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,yBAAyB,EACzB,OAAO,EACP,OAAO,CAAC,4BAA4B,CAAC,CAAC;QACxC,OAAO,QAAQ,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;CACF;AAfD,sBAeC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\n\n/**\n * Class providing various utility functions.\n */\nexport class Tools {\n\n /**\n * Lists all serial ports on the computer.\n * @return Array of serial port names.\n */\n public static async listSerialPorts(): Promise<string[]> {\n const request = new gateway.EmptyRequest();\n\n const response = await gateway.callAsync<gateway.ToolsListSerialPortsResponse>(\n 'tools/list_serial_ports',\n request,\n gateway.ToolsListSerialPortsResponse);\n return response.getPortsList();\n }\n}\n"]}
@@ -1,147 +0,0 @@
1
- export declare namespace Units {
2
- const NATIVE: Native;
3
- }
4
- export declare type Native = '';
5
- export declare enum Length {
6
- METRES = "Length:metres",
7
- 'm' = "Length:metres",
8
- CENTIMETRES = "Length:centimetres",
9
- 'cm' = "Length:centimetres",
10
- MILLIMETRES = "Length:millimetres",
11
- 'mm' = "Length:millimetres",
12
- MICROMETRES = "Length:micrometres",
13
- 'µm' = "Length:micrometres",
14
- NANOMETRES = "Length:nanometres",
15
- 'nm' = "Length:nanometres",
16
- INCHES = "Length:inches",
17
- 'in' = "Length:inches"
18
- }
19
- export declare enum Velocity {
20
- METRES_PER_SECOND = "Velocity:metres per second",
21
- 'm/s' = "Velocity:metres per second",
22
- CENTIMETRES_PER_SECOND = "Velocity:centimetres per second",
23
- 'cm/s' = "Velocity:centimetres per second",
24
- MILLIMETRES_PER_SECOND = "Velocity:millimetres per second",
25
- 'mm/s' = "Velocity:millimetres per second",
26
- MICROMETRES_PER_SECOND = "Velocity:micrometres per second",
27
- 'µm/s' = "Velocity:micrometres per second",
28
- NANOMETRES_PER_SECOND = "Velocity:nanometres per second",
29
- 'nm/s' = "Velocity:nanometres per second",
30
- INCHES_PER_SECOND = "Velocity:inches per second",
31
- 'in/s' = "Velocity:inches per second"
32
- }
33
- export declare enum Acceleration {
34
- METRES_PER_SECOND_SQUARED = "Acceleration:metres per second squared",
35
- 'm/s²' = "Acceleration:metres per second squared",
36
- CENTIMETRES_PER_SECOND_SQUARED = "Acceleration:centimetres per second squared",
37
- 'cm/s²' = "Acceleration:centimetres per second squared",
38
- MILLIMETRES_PER_SECOND_SQUARED = "Acceleration:millimetres per second squared",
39
- 'mm/s²' = "Acceleration:millimetres per second squared",
40
- MICROMETRES_PER_SECOND_SQUARED = "Acceleration:micrometres per second squared",
41
- 'µm/s²' = "Acceleration:micrometres per second squared",
42
- NANOMETRES_PER_SECOND_SQUARED = "Acceleration:nanometres per second squared",
43
- 'nm/s²' = "Acceleration:nanometres per second squared",
44
- INCHES_PER_SECOND_SQUARED = "Acceleration:inches per second squared",
45
- 'in/s²' = "Acceleration:inches per second squared"
46
- }
47
- export declare enum Angle {
48
- DEGREES = "Angle:degrees",
49
- '°' = "Angle:degrees",
50
- RADIANS = "Angle:radians",
51
- 'rad' = "Angle:radians"
52
- }
53
- export declare enum AngularVelocity {
54
- DEGREES_PER_SECOND = "Angular Velocity:degrees per second",
55
- '°/s' = "Angular Velocity:degrees per second",
56
- RADIANS_PER_SECOND = "Angular Velocity:radians per second",
57
- 'rad/s' = "Angular Velocity:radians per second"
58
- }
59
- export declare enum AngularAcceleration {
60
- DEGREES_PER_SECOND_SQUARED = "Angular Acceleration:degrees per second squared",
61
- '°/s²' = "Angular Acceleration:degrees per second squared",
62
- RADIANS_PER_SECOND_SQUARED = "Angular Acceleration:radians per second squared",
63
- 'rad/s²' = "Angular Acceleration:radians per second squared"
64
- }
65
- export declare enum ACElectricCurrent {
66
- AMPERES_PEAK = "AC Electric Current:amperes peak",
67
- 'A(peak)' = "AC Electric Current:amperes peak",
68
- AMPERES_RMS = "AC Electric Current:amperes RMS",
69
- 'A(RMS)' = "AC Electric Current:amperes RMS"
70
- }
71
- export declare enum Percent {
72
- PERCENT = "Percent:percent",
73
- '%' = "Percent:percent"
74
- }
75
- export declare enum DCElectricCurrent {
76
- AMPERES = "DC Electric Current:amperes",
77
- 'A' = "DC Electric Current:amperes"
78
- }
79
- export declare enum Force {
80
- NEWTONS = "Force:newtons",
81
- 'N' = "Force:newtons",
82
- MILLINEWTONS = "Force:millinewtons",
83
- 'mN' = "Force:millinewtons",
84
- POUNDS_FORCE = "Force:pounds-force",
85
- 'lbf' = "Force:pounds-force",
86
- KILONEWTONS = "Force:kilonewtons",
87
- 'kN' = "Force:kilonewtons"
88
- }
89
- export declare enum Time {
90
- SECONDS = "Time:seconds",
91
- 's' = "Time:seconds",
92
- MILLISECONDS = "Time:milliseconds",
93
- 'ms' = "Time:milliseconds",
94
- MICROSECONDS = "Time:microseconds",
95
- 'µs' = "Time:microseconds"
96
- }
97
- export declare enum Torque {
98
- NEWTON_METRES = "Torque:newton metres",
99
- 'N⋅m' = "Torque:newton metres",
100
- NEWTON_CENTIMETRES = "Torque:newton centimetres",
101
- 'N⋅cm' = "Torque:newton centimetres",
102
- POUND_FORCE_FEET = "Torque:pound-force-feet",
103
- 'lbf⋅ft' = "Torque:pound-force-feet",
104
- OUNCE_FORCE_INCHES = "Torque:ounce-force-inches",
105
- 'ozf⋅in' = "Torque:ounce-force-inches"
106
- }
107
- export declare enum Inertia {
108
- GRAMS = "Inertia:grams",
109
- 'g' = "Inertia:grams",
110
- KILOGRAMS = "Inertia:kilograms",
111
- 'kg' = "Inertia:kilograms",
112
- MILLIGRAMS = "Inertia:milligrams",
113
- 'mg' = "Inertia:milligrams",
114
- POUNDS = "Inertia:pounds",
115
- 'lb' = "Inertia:pounds",
116
- OUNCES = "Inertia:ounces",
117
- 'oz' = "Inertia:ounces"
118
- }
119
- export declare enum RotationalInertia {
120
- GRAM_SQUARE_METRE = "Rotational Inertia:gram-square metre",
121
- 'g⋅m²' = "Rotational Inertia:gram-square metre",
122
- KILOGRAM_SQUARE_METRE = "Rotational Inertia:kilogram-square metre",
123
- 'kg⋅m²' = "Rotational Inertia:kilogram-square metre",
124
- POUND_SQUARE_FEET = "Rotational Inertia:pound-square-feet",
125
- 'lb⋅ft²' = "Rotational Inertia:pound-square-feet"
126
- }
127
- export declare enum ForceConstant {
128
- NEWTONS_PER_AMP = "Force Constant:newtons per amp",
129
- 'N/A' = "Force Constant:newtons per amp",
130
- MILLINEWTONS_PER_AMP = "Force Constant:millinewtons per amp",
131
- 'mN/A' = "Force Constant:millinewtons per amp",
132
- KILONEWTONS_PER_AMP = "Force Constant:kilonewtons per amp",
133
- 'kN/A' = "Force Constant:kilonewtons per amp",
134
- POUNDS_FORCE_PER_AMP = "Force Constant:pounds-force per amp",
135
- 'lbf/A' = "Force Constant:pounds-force per amp"
136
- }
137
- export declare enum TorqueConstant {
138
- NEWTON_METRES_PER_AMP = "Torque Constant:newton metres per amp",
139
- 'N⋅m/A' = "Torque Constant:newton metres per amp",
140
- MILLINEWTON_METRES_PER_AMP = "Torque Constant:millinewton metres per amp",
141
- 'mN⋅m/A' = "Torque Constant:millinewton metres per amp",
142
- KILONEWTON_METRES_PER_AMP = "Torque Constant:kilonewton metres per amp",
143
- 'kN⋅m/A' = "Torque Constant:kilonewton metres per amp",
144
- POUND_FORCE_FEET_PER_AMP = "Torque Constant:pound-force-feet per amp",
145
- 'lbf⋅ft/A' = "Torque Constant:pound-force-feet per amp"
146
- }
147
- export declare type Units = Native | Length | Velocity | Acceleration | Angle | AngularVelocity | AngularAcceleration | ACElectricCurrent | Percent | DCElectricCurrent | Force | Time | Torque | Inertia | RotationalInertia | ForceConstant | TorqueConstant;
package/dist/web/units.js DELETED
@@ -1,167 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TorqueConstant = exports.ForceConstant = exports.RotationalInertia = exports.Inertia = exports.Torque = exports.Time = exports.Force = exports.DCElectricCurrent = exports.Percent = exports.ACElectricCurrent = exports.AngularAcceleration = exports.AngularVelocity = exports.Angle = exports.Acceleration = exports.Velocity = exports.Length = exports.Units = void 0;
4
- // This file is generated from the Zaber device database. Do not manually edit this file.
5
- var Units;
6
- (function (Units) {
7
- Units.NATIVE = '';
8
- })(Units = exports.Units || (exports.Units = {}));
9
- var Length;
10
- (function (Length) {
11
- Length["METRES"] = "Length:metres";
12
- Length["m"] = "Length:metres";
13
- Length["CENTIMETRES"] = "Length:centimetres";
14
- Length["cm"] = "Length:centimetres";
15
- Length["MILLIMETRES"] = "Length:millimetres";
16
- Length["mm"] = "Length:millimetres";
17
- Length["MICROMETRES"] = "Length:micrometres";
18
- Length["\u00B5m"] = "Length:micrometres";
19
- Length["NANOMETRES"] = "Length:nanometres";
20
- Length["nm"] = "Length:nanometres";
21
- Length["INCHES"] = "Length:inches";
22
- Length["in"] = "Length:inches";
23
- })(Length = exports.Length || (exports.Length = {}));
24
- var Velocity;
25
- (function (Velocity) {
26
- Velocity["METRES_PER_SECOND"] = "Velocity:metres per second";
27
- Velocity["m/s"] = "Velocity:metres per second";
28
- Velocity["CENTIMETRES_PER_SECOND"] = "Velocity:centimetres per second";
29
- Velocity["cm/s"] = "Velocity:centimetres per second";
30
- Velocity["MILLIMETRES_PER_SECOND"] = "Velocity:millimetres per second";
31
- Velocity["mm/s"] = "Velocity:millimetres per second";
32
- Velocity["MICROMETRES_PER_SECOND"] = "Velocity:micrometres per second";
33
- Velocity["\u00B5m/s"] = "Velocity:micrometres per second";
34
- Velocity["NANOMETRES_PER_SECOND"] = "Velocity:nanometres per second";
35
- Velocity["nm/s"] = "Velocity:nanometres per second";
36
- Velocity["INCHES_PER_SECOND"] = "Velocity:inches per second";
37
- Velocity["in/s"] = "Velocity:inches per second";
38
- })(Velocity = exports.Velocity || (exports.Velocity = {}));
39
- var Acceleration;
40
- (function (Acceleration) {
41
- Acceleration["METRES_PER_SECOND_SQUARED"] = "Acceleration:metres per second squared";
42
- Acceleration["m/s\u00B2"] = "Acceleration:metres per second squared";
43
- Acceleration["CENTIMETRES_PER_SECOND_SQUARED"] = "Acceleration:centimetres per second squared";
44
- Acceleration["cm/s\u00B2"] = "Acceleration:centimetres per second squared";
45
- Acceleration["MILLIMETRES_PER_SECOND_SQUARED"] = "Acceleration:millimetres per second squared";
46
- Acceleration["mm/s\u00B2"] = "Acceleration:millimetres per second squared";
47
- Acceleration["MICROMETRES_PER_SECOND_SQUARED"] = "Acceleration:micrometres per second squared";
48
- Acceleration["\u00B5m/s\u00B2"] = "Acceleration:micrometres per second squared";
49
- Acceleration["NANOMETRES_PER_SECOND_SQUARED"] = "Acceleration:nanometres per second squared";
50
- Acceleration["nm/s\u00B2"] = "Acceleration:nanometres per second squared";
51
- Acceleration["INCHES_PER_SECOND_SQUARED"] = "Acceleration:inches per second squared";
52
- Acceleration["in/s\u00B2"] = "Acceleration:inches per second squared";
53
- })(Acceleration = exports.Acceleration || (exports.Acceleration = {}));
54
- var Angle;
55
- (function (Angle) {
56
- Angle["DEGREES"] = "Angle:degrees";
57
- Angle["\u00B0"] = "Angle:degrees";
58
- Angle["RADIANS"] = "Angle:radians";
59
- Angle["rad"] = "Angle:radians";
60
- })(Angle = exports.Angle || (exports.Angle = {}));
61
- var AngularVelocity;
62
- (function (AngularVelocity) {
63
- AngularVelocity["DEGREES_PER_SECOND"] = "Angular Velocity:degrees per second";
64
- AngularVelocity["\u00B0/s"] = "Angular Velocity:degrees per second";
65
- AngularVelocity["RADIANS_PER_SECOND"] = "Angular Velocity:radians per second";
66
- AngularVelocity["rad/s"] = "Angular Velocity:radians per second";
67
- })(AngularVelocity = exports.AngularVelocity || (exports.AngularVelocity = {}));
68
- var AngularAcceleration;
69
- (function (AngularAcceleration) {
70
- AngularAcceleration["DEGREES_PER_SECOND_SQUARED"] = "Angular Acceleration:degrees per second squared";
71
- AngularAcceleration["\u00B0/s\u00B2"] = "Angular Acceleration:degrees per second squared";
72
- AngularAcceleration["RADIANS_PER_SECOND_SQUARED"] = "Angular Acceleration:radians per second squared";
73
- AngularAcceleration["rad/s\u00B2"] = "Angular Acceleration:radians per second squared";
74
- })(AngularAcceleration = exports.AngularAcceleration || (exports.AngularAcceleration = {}));
75
- var ACElectricCurrent;
76
- (function (ACElectricCurrent) {
77
- ACElectricCurrent["AMPERES_PEAK"] = "AC Electric Current:amperes peak";
78
- ACElectricCurrent["A(peak)"] = "AC Electric Current:amperes peak";
79
- ACElectricCurrent["AMPERES_RMS"] = "AC Electric Current:amperes RMS";
80
- ACElectricCurrent["A(RMS)"] = "AC Electric Current:amperes RMS";
81
- })(ACElectricCurrent = exports.ACElectricCurrent || (exports.ACElectricCurrent = {}));
82
- var Percent;
83
- (function (Percent) {
84
- Percent["PERCENT"] = "Percent:percent";
85
- Percent["%"] = "Percent:percent";
86
- })(Percent = exports.Percent || (exports.Percent = {}));
87
- var DCElectricCurrent;
88
- (function (DCElectricCurrent) {
89
- DCElectricCurrent["AMPERES"] = "DC Electric Current:amperes";
90
- DCElectricCurrent["A"] = "DC Electric Current:amperes";
91
- })(DCElectricCurrent = exports.DCElectricCurrent || (exports.DCElectricCurrent = {}));
92
- var Force;
93
- (function (Force) {
94
- Force["NEWTONS"] = "Force:newtons";
95
- Force["N"] = "Force:newtons";
96
- Force["MILLINEWTONS"] = "Force:millinewtons";
97
- Force["mN"] = "Force:millinewtons";
98
- Force["POUNDS_FORCE"] = "Force:pounds-force";
99
- Force["lbf"] = "Force:pounds-force";
100
- Force["KILONEWTONS"] = "Force:kilonewtons";
101
- Force["kN"] = "Force:kilonewtons";
102
- })(Force = exports.Force || (exports.Force = {}));
103
- var Time;
104
- (function (Time) {
105
- Time["SECONDS"] = "Time:seconds";
106
- Time["s"] = "Time:seconds";
107
- Time["MILLISECONDS"] = "Time:milliseconds";
108
- Time["ms"] = "Time:milliseconds";
109
- Time["MICROSECONDS"] = "Time:microseconds";
110
- Time["\u00B5s"] = "Time:microseconds";
111
- })(Time = exports.Time || (exports.Time = {}));
112
- var Torque;
113
- (function (Torque) {
114
- Torque["NEWTON_METRES"] = "Torque:newton metres";
115
- Torque["N\u22C5m"] = "Torque:newton metres";
116
- Torque["NEWTON_CENTIMETRES"] = "Torque:newton centimetres";
117
- Torque["N\u22C5cm"] = "Torque:newton centimetres";
118
- Torque["POUND_FORCE_FEET"] = "Torque:pound-force-feet";
119
- Torque["lbf\u22C5ft"] = "Torque:pound-force-feet";
120
- Torque["OUNCE_FORCE_INCHES"] = "Torque:ounce-force-inches";
121
- Torque["ozf\u22C5in"] = "Torque:ounce-force-inches";
122
- })(Torque = exports.Torque || (exports.Torque = {}));
123
- var Inertia;
124
- (function (Inertia) {
125
- Inertia["GRAMS"] = "Inertia:grams";
126
- Inertia["g"] = "Inertia:grams";
127
- Inertia["KILOGRAMS"] = "Inertia:kilograms";
128
- Inertia["kg"] = "Inertia:kilograms";
129
- Inertia["MILLIGRAMS"] = "Inertia:milligrams";
130
- Inertia["mg"] = "Inertia:milligrams";
131
- Inertia["POUNDS"] = "Inertia:pounds";
132
- Inertia["lb"] = "Inertia:pounds";
133
- Inertia["OUNCES"] = "Inertia:ounces";
134
- Inertia["oz"] = "Inertia:ounces";
135
- })(Inertia = exports.Inertia || (exports.Inertia = {}));
136
- var RotationalInertia;
137
- (function (RotationalInertia) {
138
- RotationalInertia["GRAM_SQUARE_METRE"] = "Rotational Inertia:gram-square metre";
139
- RotationalInertia["g\u22C5m\u00B2"] = "Rotational Inertia:gram-square metre";
140
- RotationalInertia["KILOGRAM_SQUARE_METRE"] = "Rotational Inertia:kilogram-square metre";
141
- RotationalInertia["kg\u22C5m\u00B2"] = "Rotational Inertia:kilogram-square metre";
142
- RotationalInertia["POUND_SQUARE_FEET"] = "Rotational Inertia:pound-square-feet";
143
- RotationalInertia["lb\u22C5ft\u00B2"] = "Rotational Inertia:pound-square-feet";
144
- })(RotationalInertia = exports.RotationalInertia || (exports.RotationalInertia = {}));
145
- var ForceConstant;
146
- (function (ForceConstant) {
147
- ForceConstant["NEWTONS_PER_AMP"] = "Force Constant:newtons per amp";
148
- ForceConstant["N/A"] = "Force Constant:newtons per amp";
149
- ForceConstant["MILLINEWTONS_PER_AMP"] = "Force Constant:millinewtons per amp";
150
- ForceConstant["mN/A"] = "Force Constant:millinewtons per amp";
151
- ForceConstant["KILONEWTONS_PER_AMP"] = "Force Constant:kilonewtons per amp";
152
- ForceConstant["kN/A"] = "Force Constant:kilonewtons per amp";
153
- ForceConstant["POUNDS_FORCE_PER_AMP"] = "Force Constant:pounds-force per amp";
154
- ForceConstant["lbf/A"] = "Force Constant:pounds-force per amp";
155
- })(ForceConstant = exports.ForceConstant || (exports.ForceConstant = {}));
156
- var TorqueConstant;
157
- (function (TorqueConstant) {
158
- TorqueConstant["NEWTON_METRES_PER_AMP"] = "Torque Constant:newton metres per amp";
159
- TorqueConstant["N\u22C5m/A"] = "Torque Constant:newton metres per amp";
160
- TorqueConstant["MILLINEWTON_METRES_PER_AMP"] = "Torque Constant:millinewton metres per amp";
161
- TorqueConstant["mN\u22C5m/A"] = "Torque Constant:millinewton metres per amp";
162
- TorqueConstant["KILONEWTON_METRES_PER_AMP"] = "Torque Constant:kilonewton metres per amp";
163
- TorqueConstant["kN\u22C5m/A"] = "Torque Constant:kilonewton metres per amp";
164
- TorqueConstant["POUND_FORCE_FEET_PER_AMP"] = "Torque Constant:pound-force-feet per amp";
165
- TorqueConstant["lbf\u22C5ft/A"] = "Torque Constant:pound-force-feet per amp";
166
- })(TorqueConstant = exports.TorqueConstant || (exports.TorqueConstant = {}));
167
- //# sourceMappingURL=units.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"units.js","sourceRoot":"","sources":["../../src-web/units.ts"],"names":[],"mappings":";;;AAAA,yFAAyF;AACzF,IAAiB,KAAK,CAErB;AAFD,WAAiB,KAAK;IACP,YAAM,GAAW,EAAE,CAAC;AACnC,CAAC,EAFgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAErB;AAID,IAAY,MAaX;AAbD,WAAY,MAAM;IAChB,kCAAwB,CAAA;IACxB,6BAAqB,CAAA;IACrB,4CAAkC,CAAA;IAClC,mCAA2B,CAAA;IAC3B,4CAAkC,CAAA;IAClC,mCAA2B,CAAA;IAC3B,4CAAkC,CAAA;IAClC,wCAA2B,CAAA;IAC3B,0CAAgC,CAAA;IAChC,kCAA0B,CAAA;IAC1B,kCAAwB,CAAA;IACxB,8BAAsB,CAAA;AACxB,CAAC,EAbW,MAAM,GAAN,cAAM,KAAN,cAAM,QAajB;AAED,IAAY,QAaX;AAbD,WAAY,QAAQ;IAClB,4DAAgD,CAAA;IAChD,8CAAoC,CAAA;IACpC,sEAA0D,CAAA;IAC1D,oDAA0C,CAAA;IAC1C,sEAA0D,CAAA;IAC1D,oDAA0C,CAAA;IAC1C,sEAA0D,CAAA;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AAA;AACzB,CAAC,EAXW,OAAO,GAAP,eAAO,KAAP,eAAO,QAWlB;AAED,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,+EAA0D,CAAA;IAC1D,4EAA+C,CAAA;IAC/C,uFAAkE,CAAA;IAClE,iFAAoD,CAAA;IACpD,+EAA0D,CAAA;IAC1D,8EAAiD,CAAA;AACnD,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAED,IAAY,aASX;AATD,WAAY,aAAa;IACvB,mEAAkD,CAAA;IAClD,uDAAwC,CAAA;IACxC,6EAA4D,CAAA;IAC5D,6DAA8C,CAAA;IAC9C,2EAA0D,CAAA;IAC1D,4DAA6C,CAAA;IAC7C,6EAA4D,CAAA;IAC5D,8DAA+C,CAAA;AACjD,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB;AAED,IAAY,cASX;AATD,WAAY,cAAc;IACxB,iFAA+D,CAAA;IAC/D,sEAAiD,CAAA;IACjD,2FAAyE,CAAA;IACzE,4EAAuD,CAAA;IACvD,yFAAuE,CAAA;IACvE,2EAAsD,CAAA;IACtD,uFAAqE,CAAA;IACrE,4EAAuD,CAAA;AACzD,CAAC,EATW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QASzB","sourcesContent":["// This file is generated from the Zaber device database. Do not manually edit this file.\nexport namespace Units {\n export const NATIVE: Native = '';\n}\n\nexport type Native = '';\n\nexport enum Length {\n METRES = 'Length:metres',\n 'm' = 'Length:metres',\n CENTIMETRES = 'Length:centimetres',\n 'cm' = 'Length:centimetres',\n MILLIMETRES = 'Length:millimetres',\n 'mm' = 'Length:millimetres',\n MICROMETRES = 'Length:micrometres',\n 'µm' = 'Length:micrometres',\n NANOMETRES = 'Length:nanometres',\n 'nm' = 'Length:nanometres',\n INCHES = 'Length:inches',\n 'in' = 'Length:inches',\n}\n\nexport enum Velocity {\n METRES_PER_SECOND = 'Velocity:metres per second',\n 'm/s' = 'Velocity:metres per second',\n CENTIMETRES_PER_SECOND = 'Velocity:centimetres per second',\n 'cm/s' = 'Velocity:centimetres per second',\n MILLIMETRES_PER_SECOND = 'Velocity:millimetres per second',\n 'mm/s' = 'Velocity:millimetres per second',\n MICROMETRES_PER_SECOND = 'Velocity:micrometres per second',\n 'µm/s' = 'Velocity:micrometres per second',\n NANOMETRES_PER_SECOND = 'Velocity:nanometres per second',\n 'nm/s' = 'Velocity:nanometres per second',\n INCHES_PER_SECOND = 'Velocity:inches per second',\n 'in/s' = 'Velocity:inches per second',\n}\n\nexport enum Acceleration {\n METRES_PER_SECOND_SQUARED = 'Acceleration:metres per second squared',\n 'm/s²' = 'Acceleration:metres per second squared',\n CENTIMETRES_PER_SECOND_SQUARED = 'Acceleration:centimetres per second squared',\n 'cm/s²' = 'Acceleration:centimetres per second squared',\n MILLIMETRES_PER_SECOND_SQUARED = 'Acceleration:millimetres per second squared',\n 'mm/s²' = 'Acceleration:millimetres per second squared',\n MICROMETRES_PER_SECOND_SQUARED = 'Acceleration:micrometres per second squared',\n 'µm/s²' = 'Acceleration:micrometres per second squared',\n NANOMETRES_PER_SECOND_SQUARED = 'Acceleration:nanometres per second squared',\n 'nm/s²' = 'Acceleration:nanometres per second squared',\n INCHES_PER_SECOND_SQUARED = 'Acceleration:inches per second squared',\n 'in/s²' = 'Acceleration:inches per second squared',\n}\n\nexport enum Angle {\n DEGREES = 'Angle:degrees',\n '°' = 'Angle:degrees',\n RADIANS = 'Angle:radians',\n 'rad' = 'Angle:radians',\n}\n\nexport enum AngularVelocity {\n DEGREES_PER_SECOND = 'Angular Velocity:degrees per second',\n '°/s' = 'Angular Velocity:degrees per second',\n RADIANS_PER_SECOND = 'Angular Velocity:radians per second',\n 'rad/s' = 'Angular Velocity:radians per second',\n}\n\nexport enum AngularAcceleration {\n DEGREES_PER_SECOND_SQUARED = 'Angular Acceleration:degrees per second squared',\n '°/s²' = 'Angular Acceleration:degrees per second squared',\n RADIANS_PER_SECOND_SQUARED = 'Angular Acceleration:radians per second squared',\n 'rad/s²' = 'Angular Acceleration:radians per second squared',\n}\n\nexport enum ACElectricCurrent {\n AMPERES_PEAK = 'AC Electric Current:amperes peak',\n 'A(peak)' = 'AC Electric Current:amperes peak',\n AMPERES_RMS = 'AC Electric Current:amperes RMS',\n 'A(RMS)' = 'AC Electric Current:amperes RMS',\n}\n\nexport enum Percent {\n PERCENT = 'Percent:percent',\n '%' = 'Percent:percent',\n}\n\nexport enum DCElectricCurrent {\n AMPERES = 'DC Electric Current:amperes',\n 'A' = 'DC Electric Current:amperes',\n}\n\nexport enum Force {\n NEWTONS = 'Force:newtons',\n 'N' = 'Force:newtons',\n MILLINEWTONS = 'Force:millinewtons',\n 'mN' = 'Force:millinewtons',\n POUNDS_FORCE = 'Force:pounds-force',\n 'lbf' = 'Force:pounds-force',\n KILONEWTONS = 'Force:kilonewtons',\n 'kN' = 'Force:kilonewtons',\n}\n\nexport enum Time {\n SECONDS = 'Time:seconds',\n 's' = 'Time:seconds',\n MILLISECONDS = 'Time:milliseconds',\n 'ms' = 'Time:milliseconds',\n MICROSECONDS = 'Time:microseconds',\n 'µs' = 'Time:microseconds',\n}\n\nexport enum Torque {\n NEWTON_METRES = 'Torque:newton metres',\n 'N⋅m' = 'Torque:newton metres',\n NEWTON_CENTIMETRES = 'Torque:newton centimetres',\n 'N⋅cm' = 'Torque:newton centimetres',\n POUND_FORCE_FEET = 'Torque:pound-force-feet',\n 'lbf⋅ft' = 'Torque:pound-force-feet',\n OUNCE_FORCE_INCHES = 'Torque:ounce-force-inches',\n 'ozf⋅in' = 'Torque:ounce-force-inches',\n}\n\nexport enum Inertia {\n GRAMS = 'Inertia:grams',\n 'g' = 'Inertia:grams',\n KILOGRAMS = 'Inertia:kilograms',\n 'kg' = 'Inertia:kilograms',\n MILLIGRAMS = 'Inertia:milligrams',\n 'mg' = 'Inertia:milligrams',\n POUNDS = 'Inertia:pounds',\n 'lb' = 'Inertia:pounds',\n OUNCES = 'Inertia:ounces',\n 'oz' = 'Inertia:ounces',\n}\n\nexport enum RotationalInertia {\n GRAM_SQUARE_METRE = 'Rotational Inertia:gram-square metre',\n 'g⋅m²' = 'Rotational Inertia:gram-square metre',\n KILOGRAM_SQUARE_METRE = 'Rotational Inertia:kilogram-square metre',\n 'kg⋅m²' = 'Rotational Inertia:kilogram-square metre',\n POUND_SQUARE_FEET = 'Rotational Inertia:pound-square-feet',\n 'lb⋅ft²' = 'Rotational Inertia:pound-square-feet',\n}\n\nexport enum ForceConstant {\n NEWTONS_PER_AMP = 'Force Constant:newtons per amp',\n 'N/A' = 'Force Constant:newtons per amp',\n MILLINEWTONS_PER_AMP = 'Force Constant:millinewtons per amp',\n 'mN/A' = 'Force Constant:millinewtons per amp',\n KILONEWTONS_PER_AMP = 'Force Constant:kilonewtons per amp',\n 'kN/A' = 'Force Constant:kilonewtons per amp',\n POUNDS_FORCE_PER_AMP = 'Force Constant:pounds-force per amp',\n 'lbf/A' = 'Force Constant:pounds-force per amp',\n}\n\nexport enum TorqueConstant {\n NEWTON_METRES_PER_AMP = 'Torque Constant:newton metres per amp',\n 'N⋅m/A' = 'Torque Constant:newton metres per amp',\n MILLINEWTON_METRES_PER_AMP = 'Torque Constant:millinewton metres per amp',\n 'mN⋅m/A' = 'Torque Constant:millinewton metres per amp',\n KILONEWTON_METRES_PER_AMP = 'Torque Constant:kilonewton metres per amp',\n 'kN⋅m/A' = 'Torque Constant:kilonewton metres per amp',\n POUND_FORCE_FEET_PER_AMP = 'Torque Constant:pound-force-feet per amp',\n 'lbf⋅ft/A' = 'Torque Constant:pound-force-feet per amp',\n}\n\nexport type Units = Native | Length | Velocity | Acceleration | Angle | AngularVelocity | AngularAcceleration | ACElectricCurrent | Percent | DCElectricCurrent | Force | Time | Torque | Inertia | RotationalInertia | ForceConstant | TorqueConstant;\n"]}
@@ -1 +0,0 @@
1
- export declare const wasmExec: () => void;
@@ -1 +0,0 @@
1
- {"version":3,"file":"wasm-exec.js","sourceRoot":"","sources":["../../../src-web/wasm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xF,EAAE,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;QACvB,WAAW,CAAC,WAAW,CAAE,MAAc,CAAC,EAAE,CAAC,YAAY,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,MAAW,EAAE,EAAE;YAC/G,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAS,EAAE,EAAE;gBAChC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE;oBAC7B,iDAAiD;oBACjD,EAAE,CAAC,aAAa,GAAG,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC;oBAC7B,EAAE,CAAC,OAAO,EAAE,CAAC;iBACb;YACF,CAAC,CAAC,CAAC;YACH,OAAO,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAChC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAQ,EAAE,EAAE;YACrB,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;KACH;AACF,CAAC,CAAC;AA5lBW,QAAA,QAAQ,YA4lBnB","sourcesContent":["/*\nIMPORTANT\nThis file was copied from `https://github.com/golang/go/blob/release-branch.go1.15/misc/wasm/wasm_exec.js`\nas a .js file and then manuallly converted to TypeScript. It has also been modified a bit to reduce\ncompiler warning about how the `require()` function is being used\n*/\n\n// Copyright 2018 The Go Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexport const wasmExec = () => {\n\t// Map multiple JavaScript environments to a single common API,\n\t// preferring web standards over Node.js API.\n\t//\n\t// Environments considered:\n\t// - Browsers\n\t// - Node.js\n\t// - Electron\n\t// - Parcel\n\n\tif (typeof global !== \"undefined\") {\n\t\t// global already exists\n\t} else if (typeof window !== \"undefined\") {\n\t\twindow.global = (window as any);\n\t} else if (typeof self !== \"undefined\") {\n\t\tself.global = (self as any);\n\t} else {\n\t\tthrow new Error(\"cannot export Go (neither global, window nor self is defined)\");\n\t}\n\n\tif (!(global as any).require && typeof require !== \"undefined\") {\n\t\t(global as any).require = require;\n\t}\n\n\ttry {\n\t\tif (!(global as any).fs && (global as any).require) {\n\t\t\tconst fs = (global as any).require(\"fs\");\n\t\t\tif (Object.keys(fs)) {\n\t\t\t\t(global as any).fs = fs;\n\t\t\t}\n\t\t}\n\t} catch(e) {}\n\n\tconst enosys = () => {\n\t\tconst err:any = new Error(\"not implemented\");\n\t\terr.code = \"ENOSYS\";\n\t\treturn err;\n\t};\n\n\tif (!(global as any).fs) {\n\t\tlet outputBuf = \"\";\n\t\t(global as any).fs = {\n\t\t\tconstants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused\n\t\t\twriteSync(fd: any, buf: any) {\n\t\t\t\toutputBuf += decoder.decode(buf);\n\t\t\t\tconst nl = outputBuf.lastIndexOf(\"\\n\");\n\t\t\t\tif (nl != -1) {\n\t\t\t\t\tconsole.log(outputBuf.substr(0, nl));\n\t\t\t\t\toutputBuf = outputBuf.substr(nl + 1);\n\t\t\t\t}\n\t\t\t\treturn buf.length;\n\t\t\t},\n\t\t\twrite(fd: any, buf: any, offset: any, length: any, position: any, callback: any) {\n\t\t\t\tif (offset !== 0 || length !== buf.length || position !== null) {\n\t\t\t\t\tcallback(enosys());\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst n = this.writeSync(fd, buf);\n\t\t\t\tcallback(null, n);\n\t\t\t},\n\t\t\tchmod(path: any, mode: any, callback: any) { callback(enosys()); },\n\t\t\tchown(path: any, uid: any, gid: any, callback: any) { callback(enosys()); },\n\t\t\tclose(fd: any, callback: any) { callback(enosys()); },\n\t\t\tfchmod(fd: any, mode: any, callback: any) { callback(enosys()); },\n\t\t\tfchown(fd: any, uid: any, gid: any, callback: any) { callback(enosys()); },\n\t\t\tfstat(fd: any, callback: any) { callback(enosys()); },\n\t\t\tfsync(fd: any, callback: any) { callback(null); },\n\t\t\tftruncate(fd: any, length: any, callback: any) { callback(enosys()); },\n\t\t\tlchown(path: any, uid: any, gid: any, callback: any) { callback(enosys()); },\n\t\t\tlink(path: any, link: any, callback: any) { callback(enosys()); },\n\t\t\tlstat(path: any, callback: any) { callback(enosys()); },\n\t\t\tmkdir(path: any, perm: any, callback: any) { callback(enosys()); },\n\t\t\topen(path: any, flags: any, mode: any, callback: any) { callback(enosys()); },\n\t\t\tread(fd: any, buffer: any, offset: any, length: any, position: any, callback: any) { callback(enosys()); },\n\t\t\treaddir(path: any, callback: any) { callback(enosys()); },\n\t\t\treadlink(path: any, callback: any) { callback(enosys()); },\n\t\t\trename(from: any, to: any, callback: any) { callback(enosys()); },\n\t\t\trmdir(path: any, callback: any) { callback(enosys()); },\n\t\t\tstat(path: any, callback: any) { callback(enosys()); },\n\t\t\tsymlink(path: any, link: any, callback: any) { callback(enosys()); },\n\t\t\ttruncate(path: any, length: any, callback: any) { callback(enosys()); },\n\t\t\tunlink(path: any, callback: any) { callback(enosys()); },\n\t\t\tutimes(path: any, atime: any, mtime: any, callback: any) { callback(enosys()); },\n\t\t};\n\t}\n\n\tif (!(global as any).process) {\n\t\t(global as any).process = {\n\t\t\tgetuid() { return -1; },\n\t\t\tgetgid() { return -1; },\n\t\t\tgeteuid() { return -1; },\n\t\t\tgetegid() { return -1; },\n\t\t\tgetgroups() { throw enosys(); },\n\t\t\tpid: -1,\n\t\t\tppid: -1,\n\t\t\tumask() { throw enosys(); },\n\t\t\tcwd() { throw enosys(); },\n\t\t\tchdir() { throw enosys(); },\n\t\t}\n\t}\n\n\tif (!(global as any).crypto) {\n\t\tconst nodeCrypto = (global as any).require(\"crypto\");\n\t\t(global as any).crypto = {\n\t\t\tgetRandomValues(b: any) {\n\t\t\t\tnodeCrypto.randomFillSync(b);\n\t\t\t},\n\t\t};\n\t}\n\n\tif (!(global as any).performance) {\n\t\t(global as any).performance = {\n\t\t\tnow() {\n\t\t\t\tconst [sec, nsec] = process.hrtime();\n\t\t\t\treturn sec * 1000 + nsec / 1000000;\n\t\t\t},\n\t\t};\n\t}\n\n\tif (!(global as any).TextEncoder) {\n\t\t(global as any).TextEncoder = (global as any).require(\"util\").TextEncoder;\n\t}\n\n\tif (!(global as any).TextDecoder) {\n\t\t(global as any).TextDecoder = (global as any).require(\"util\").TextDecoder;\n\t}\n\n\t// End of polyfills for common API.\n\n\tconst encoder = new (global as any).TextEncoder();\n\tconst decoder = new (global as any).TextDecoder();\n\n\t(global as any).Go = class {\n\t\tpublic argv: any;\n\t\tpublic env: any;\n\t\tpublic mem: any;\n\t\tpublic exited: any;\n\t\tpublic exit: any;\n\t\tpublic _ids: any;\n\t\tpublic _idPool: any;\n\t\tpublic _goRefCounts: any;\n\t\tpublic _exitPromise: any;\n\t\tpublic _resolveExitPromise: any;\n\t\tpublic _nextCallbackTimeoutID: any;\n\t\tpublic _pendingEvent: any;\n\t\tpublic _scheduledTimeouts: any;\n\t\tpublic _inst: any;\n\t\tpublic _values: any;\n\t\tpublic _refs: any;\n\t\tpublic importObject: any;\n\n\t\tconstructor() {\n\t\t\tthis.argv = [\"js\"];\n\t\t\tthis.env = {};\n\t\t\tthis.exit = (code: any) => {\n\t\t\t\tif (code !== 0) {\n\t\t\t\t\tconsole.warn(\"exit code:\", code);\n\t\t\t\t}\n\t\t\t};\n\t\t\tthis._exitPromise = new Promise((resolve: any) => {\n\t\t\t\tthis._resolveExitPromise = resolve;\n\t\t\t});\n\t\t\tthis._pendingEvent = null;\n\t\t\tthis._scheduledTimeouts = new Map();\n\t\t\tthis._nextCallbackTimeoutID = 1;\n\n\t\t\tconst setInt64 = (addr: any, v: any) => {\n\t\t\t\tthis.mem.setUint32(addr + 0, v, true);\n\t\t\t\tthis.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);\n\t\t\t}\n\n\t\t\tconst getInt64 = (addr: any) => {\n\t\t\t\tconst low = this.mem.getUint32(addr + 0, true);\n\t\t\t\tconst high = this.mem.getInt32(addr + 4, true);\n\t\t\t\treturn low + high * 4294967296;\n\t\t\t}\n\n\t\t\tconst loadValue = (addr: any) => {\n\t\t\t\tconst f = this.mem.getFloat64(addr, true);\n\t\t\t\tif (f === 0) {\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\t\t\t\tif (!isNaN(f)) {\n\t\t\t\t\treturn f;\n\t\t\t\t}\n\n\t\t\t\tconst id = this.mem.getUint32(addr, true);\n\t\t\t\treturn this._values[id];\n\t\t\t}\n\n\t\t\tconst storeValue = (addr: any, v: any) => {\n\t\t\t\tconst nanHead = 0x7FF80000;\n\n\t\t\t\tif (typeof v === \"number\" && v !== 0) {\n\t\t\t\t\tif (isNaN(v)) {\n\t\t\t\t\t\tthis.mem.setUint32(addr + 4, nanHead, true);\n\t\t\t\t\t\tthis.mem.setUint32(addr, 0, true);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthis.mem.setFloat64(addr, v, true);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (v === undefined) {\n\t\t\t\t\tthis.mem.setFloat64(addr, 0, true);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tlet id = this._ids.get(v);\n\t\t\t\tif (id === undefined) {\n\t\t\t\t\tid = this._idPool.pop();\n\t\t\t\t\tif (id === undefined) {\n\t\t\t\t\t\tid = this._values.length;\n\t\t\t\t\t}\n\t\t\t\t\tthis._values[id] = v;\n\t\t\t\t\tthis._goRefCounts[id] = 0;\n\t\t\t\t\tthis._ids.set(v, id);\n\t\t\t\t}\n\t\t\t\tthis._goRefCounts[id]++;\n\t\t\t\tlet typeFlag = 0;\n\t\t\t\tswitch (typeof v) {\n\t\t\t\t\tcase \"object\":\n\t\t\t\t\t\tif (v !== null) {\n\t\t\t\t\t\t\ttypeFlag = 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"string\":\n\t\t\t\t\t\ttypeFlag = 2;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"symbol\":\n\t\t\t\t\t\ttypeFlag = 3;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \"function\":\n\t\t\t\t\t\ttypeFlag = 4;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tthis.mem.setUint32(addr + 4, nanHead | typeFlag, true);\n\t\t\t\tthis.mem.setUint32(addr, id, true);\n\t\t\t}\n\n\t\t\tconst loadSlice = (addr: any) => {\n\t\t\t\tconst array = getInt64(addr + 0);\n\t\t\t\tconst len = getInt64(addr + 8);\n\t\t\t\treturn new Uint8Array(this._inst.exports.mem.buffer, array, len);\n\t\t\t}\n\n\t\t\tconst loadSliceOfValues = (addr: any) => {\n\t\t\t\tconst array = getInt64(addr + 0);\n\t\t\t\tconst len = getInt64(addr + 8);\n\t\t\t\tconst a = new Array(len);\n\t\t\t\tfor (let i = 0; i < len; i++) {\n\t\t\t\t\ta[i] = loadValue(array + i * 8);\n\t\t\t\t}\n\t\t\t\treturn a;\n\t\t\t}\n\n\t\t\tconst loadString = (addr: any) => {\n\t\t\t\tconst saddr = getInt64(addr + 0);\n\t\t\t\tconst len = getInt64(addr + 8);\n\t\t\t\treturn decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));\n\t\t\t}\n\n\t\t\tconst timeOrigin = Date.now() - performance.now();\n\t\t\tthis.importObject = {\n\t\t\t\tgo: {\n\t\t\t\t\t// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)\n\t\t\t\t\t// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported\n\t\t\t\t\t// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).\n\t\t\t\t\t// This changes the SP, thus we have to update the SP used by the imported function.\n\n\t\t\t\t\t// func wasmExit(code int32)\n\t\t\t\t\t\"runtime.wasmExit\": (sp: any) => {\n\t\t\t\t\t\tconst code = this.mem.getInt32(sp + 8, true);\n\t\t\t\t\t\tthis.exited = true;\n\t\t\t\t\t\tdelete this._inst;\n\t\t\t\t\t\tdelete this._values;\n\t\t\t\t\t\tdelete this._goRefCounts;\n\t\t\t\t\t\tdelete this._ids;\n\t\t\t\t\t\tdelete this._idPool;\n\t\t\t\t\t\tthis.exit(code);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)\n\t\t\t\t\t\"runtime.wasmWrite\": (sp: any) => {\n\t\t\t\t\t\tconst fd = getInt64(sp + 8);\n\t\t\t\t\t\tconst p = getInt64(sp + 16);\n\t\t\t\t\t\tconst n = this.mem.getInt32(sp + 24, true);\n\t\t\t\t\t\t(global as any).fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func resetMemoryDataView()\n\t\t\t\t\t\"runtime.resetMemoryDataView\": (sp: any) => {\n\t\t\t\t\t\tthis.mem = new DataView(this._inst.exports.mem.buffer);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func nanotime1() int64\n\t\t\t\t\t\"runtime.nanotime1\": (sp: any) => {\n\t\t\t\t\t\tsetInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func walltime1() (sec int64, nsec int32)\n\t\t\t\t\t\"runtime.walltime1\": (sp: any) => {\n\t\t\t\t\t\tconst msec = (new Date).getTime();\n\t\t\t\t\t\tsetInt64(sp + 8, msec / 1000);\n\t\t\t\t\t\tthis.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func scheduleTimeoutEvent(delay int64) int32\n\t\t\t\t\t\"runtime.scheduleTimeoutEvent\": (sp: any) => {\n\t\t\t\t\t\tconst id = this._nextCallbackTimeoutID;\n\t\t\t\t\t\tthis._nextCallbackTimeoutID++;\n\t\t\t\t\t\tthis._scheduledTimeouts.set(id, setTimeout(\n\t\t\t\t\t\t\t() => {\n\t\t\t\t\t\t\t\tthis._resume();\n\t\t\t\t\t\t\t\twhile (this._scheduledTimeouts.has(id)) {\n\t\t\t\t\t\t\t\t\t// for some reason Go failed to register the timeout event, log and try again\n\t\t\t\t\t\t\t\t\t// (temporary workaround for https://github.com/golang/go/issues/28975)\n\t\t\t\t\t\t\t\t\tconsole.warn(\"scheduleTimeoutEvent: missed timeout event\");\n\t\t\t\t\t\t\t\t\tthis._resume();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tgetInt64(sp + 8) + 1, // setTimeout has been seen to fire up to 1 millisecond early\n\t\t\t\t\t\t));\n\t\t\t\t\t\tthis.mem.setInt32(sp + 16, id, true);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func clearTimeoutEvent(id int32)\n\t\t\t\t\t\"runtime.clearTimeoutEvent\": (sp: any) => {\n\t\t\t\t\t\tconst id = this.mem.getInt32(sp + 8, true);\n\t\t\t\t\t\tclearTimeout(this._scheduledTimeouts.get(id));\n\t\t\t\t\t\tthis._scheduledTimeouts.delete(id);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func getRandomData(r []byte)\n\t\t\t\t\t\"runtime.getRandomData\": (sp: any) => {\n\t\t\t\t\t\tcrypto.getRandomValues(loadSlice(sp + 8));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func finalizeRef(v ref)\n\t\t\t\t\t\"syscall/js.finalizeRef\": (sp: any) => {\n\t\t\t\t\t\tconst id = this.mem.getUint32(sp + 8, true);\n\t\t\t\t\t\tthis._goRefCounts[id]--;\n\t\t\t\t\t\tif (this._goRefCounts[id] === 0) {\n\t\t\t\t\t\t\tconst v = this._values[id];\n\t\t\t\t\t\t\tthis._values[id] = null;\n\t\t\t\t\t\t\tthis._ids.delete(v);\n\t\t\t\t\t\t\tthis._idPool.push(id);\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// func stringVal(value string) ref\n\t\t\t\t\t\"syscall/js.stringVal\": (sp: any) => {\n\t\t\t\t\t\tstoreValue(sp + 24, loadString(sp + 8));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueGet(v ref, p string) ref\n\t\t\t\t\t\"syscall/js.valueGet\": (sp: any) => {\n\t\t\t\t\t\tconst result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));\n\t\t\t\t\t\tsp = this._inst.exports.getsp(); // see comment above\n\t\t\t\t\t\tstoreValue(sp + 32, result);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueSet(v ref, p string, x ref)\n\t\t\t\t\t\"syscall/js.valueSet\": (sp: any) => {\n\t\t\t\t\t\tReflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueDelete(v ref, p string)\n\t\t\t\t\t\"syscall/js.valueDelete\": (sp: any) => {\n\t\t\t\t\t\tReflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueIndex(v ref, i int) ref\n\t\t\t\t\t\"syscall/js.valueIndex\": (sp: any) => {\n\t\t\t\t\t\tstoreValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));\n\t\t\t\t\t},\n\n\t\t\t\t\t// valueSetIndex(v ref, i int, x ref)\n\t\t\t\t\t\"syscall/js.valueSetIndex\": (sp: any) => {\n\t\t\t\t\t\tReflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueCall(v ref, m string, args []ref) (ref, bool)\n\t\t\t\t\t\"syscall/js.valueCall\": (sp: any) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tconst v = loadValue(sp + 8);\n\t\t\t\t\t\t\tconst m = Reflect.get(v, loadString(sp + 16));\n\t\t\t\t\t\t\tconst args = loadSliceOfValues(sp + 32);\n\t\t\t\t\t\t\tconst result = Reflect.apply(m, v, args);\n\t\t\t\t\t\t\tsp = this._inst.exports.getsp(); // see comment above\n\t\t\t\t\t\t\tstoreValue(sp + 56, result);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 64, 1);\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\tstoreValue(sp + 56, err);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 64, 0);\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueInvoke(v ref, args []ref) (ref, bool)\n\t\t\t\t\t\"syscall/js.valueInvoke\": (sp: any) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tconst v = loadValue(sp + 8);\n\t\t\t\t\t\t\tconst args = loadSliceOfValues(sp + 16);\n\t\t\t\t\t\t\tconst result = Reflect.apply(v, undefined, args);\n\t\t\t\t\t\t\tsp = this._inst.exports.getsp(); // see comment above\n\t\t\t\t\t\t\tstoreValue(sp + 40, result);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 1);\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\tstoreValue(sp + 40, err);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 0);\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueNew(v ref, args []ref) (ref, bool)\n\t\t\t\t\t\"syscall/js.valueNew\": (sp: any) => {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tconst v = loadValue(sp + 8);\n\t\t\t\t\t\t\tconst args = loadSliceOfValues(sp + 16);\n\t\t\t\t\t\t\tconst result = Reflect.construct(v, args);\n\t\t\t\t\t\t\tsp = this._inst.exports.getsp(); // see comment above\n\t\t\t\t\t\t\tstoreValue(sp + 40, result);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 1);\n\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\tstoreValue(sp + 40, err);\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 0);\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueLength(v ref) int\n\t\t\t\t\t\"syscall/js.valueLength\": (sp: any) => {\n\t\t\t\t\t\tsetInt64(sp + 16, parseInt(loadValue(sp + 8).length));\n\t\t\t\t\t},\n\n\t\t\t\t\t// valuePrepareString(v ref) (ref, int)\n\t\t\t\t\t\"syscall/js.valuePrepareString\": (sp: any) => {\n\t\t\t\t\t\tconst str = encoder.encode(String(loadValue(sp + 8)));\n\t\t\t\t\t\tstoreValue(sp + 16, str);\n\t\t\t\t\t\tsetInt64(sp + 24, str.length);\n\t\t\t\t\t},\n\n\t\t\t\t\t// valueLoadString(v ref, b []byte)\n\t\t\t\t\t\"syscall/js.valueLoadString\": (sp: any) => {\n\t\t\t\t\t\tconst str = loadValue(sp + 8);\n\t\t\t\t\t\tloadSlice(sp + 16).set(str);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func valueInstanceOf(v ref, t ref) bool\n\t\t\t\t\t\"syscall/js.valueInstanceOf\": (sp: any) => {\n\t\t\t\t\t\tthis.mem.setUint8(sp + 24, (loadValue(sp + 8) instanceof loadValue(sp + 16)) ? 1 : 0);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func copyBytesToGo(dst []byte, src ref) (int, bool)\n\t\t\t\t\t\"syscall/js.copyBytesToGo\": (sp: any) => {\n\t\t\t\t\t\tconst dst = loadSlice(sp + 8);\n\t\t\t\t\t\tconst src = loadValue(sp + 32);\n\t\t\t\t\t\tif (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 0);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst toCopy = src.subarray(0, dst.length);\n\t\t\t\t\t\tdst.set(toCopy);\n\t\t\t\t\t\tsetInt64(sp + 40, toCopy.length);\n\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 1);\n\t\t\t\t\t},\n\n\t\t\t\t\t// func copyBytesToJS(dst ref, src []byte) (int, bool)\n\t\t\t\t\t\"syscall/js.copyBytesToJS\": (sp: any) => {\n\t\t\t\t\t\tconst dst = loadValue(sp + 8);\n\t\t\t\t\t\tconst src = loadSlice(sp + 16);\n\t\t\t\t\t\tif (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {\n\t\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 0);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst toCopy = src.subarray(0, dst.length);\n\t\t\t\t\t\tdst.set(toCopy);\n\t\t\t\t\t\tsetInt64(sp + 40, toCopy.length);\n\t\t\t\t\t\tthis.mem.setUint8(sp + 48, 1);\n\t\t\t\t\t},\n\n\t\t\t\t\t\"debug\": (value: any) => {\n\t\t\t\t\t\tconsole.log(value);\n\t\t\t\t\t},\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\tasync run(instance: any) {\n\t\t\tthis._inst = instance;\n\t\t\tthis.mem = new DataView(this._inst.exports.mem.buffer);\n\t\t\tthis._values = [ // JS values that Go currently has references to, indexed by reference id\n\t\t\t\tNaN,\n\t\t\t\t0,\n\t\t\t\tnull,\n\t\t\t\ttrue,\n\t\t\t\tfalse,\n\t\t\t\tglobal,\n\t\t\t\tthis,\n\t\t\t];\n\t\t\tthis._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id\n\t\t\tthis._ids = new Map<any, number>([ // mapping from JS values to reference ids\n\t\t\t\t[0, 1],\n\t\t\t\t[null, 2],\n\t\t\t\t[true, 3],\n\t\t\t\t[false, 4],\n\t\t\t\t[global, 5],\n\t\t\t\t[this, 6],\n\t\t\t]);\n\t\t\tthis._idPool = []; // unused ids that have been garbage collected\n\t\t\tthis.exited = false; // whether the Go program has exited\n\n\t\t\t// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.\n\t\t\tlet offset = 4096;\n\n\t\t\tconst strPtr = (str: any) => {\n\t\t\t\tconst ptr = offset;\n\t\t\t\tconst bytes = encoder.encode(str + \"\\0\");\n\t\t\t\tnew Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);\n\t\t\t\toffset += bytes.length;\n\t\t\t\tif (offset % 8 !== 0) {\n\t\t\t\t\toffset += 8 - (offset % 8);\n\t\t\t\t}\n\t\t\t\treturn ptr;\n\t\t\t};\n\n\t\t\tconst argc = this.argv.length;\n\n\t\t\tconst argvPtrs = [];\n\t\t\tthis.argv.forEach((arg: any) => {\n\t\t\t\targvPtrs.push(strPtr(arg));\n\t\t\t});\n\t\t\targvPtrs.push(0);\n\n\t\t\tconst keys = Object.keys(this.env).sort();\n\t\t\tkeys.forEach((key: any) => {\n\t\t\t\targvPtrs.push(strPtr(`${key}=${this.env[key]}`));\n\t\t\t});\n\t\t\targvPtrs.push(0);\n\n\t\t\tconst argv = offset;\n\t\t\targvPtrs.forEach((ptr: any) => {\n\t\t\t\tthis.mem.setUint32(offset, ptr, true);\n\t\t\t\tthis.mem.setUint32(offset + 4, 0, true);\n\t\t\t\toffset += 8;\n\t\t\t});\n\n\t\t\tthis._inst.exports.run(argc, argv);\n\t\t\tif (this.exited) {\n\t\t\t\tthis._resolveExitPromise();\n\t\t\t}\n\t\t\tawait this._exitPromise;\n\t\t}\n\n\t\t_resume() {\n\t\t\tif (this.exited) {\n\t\t\t\tthrow new Error(\"Go program has already exited\");\n\t\t\t}\n\t\t\tthis._inst.exports.resume();\n\t\t\tif (this.exited) {\n\t\t\t\tthis._resolveExitPromise();\n\t\t\t}\n\t\t}\n\n\t\t_makeFuncWrapper(id: any) {\n\t\t\tconst go = this;\n\t\t\tconst thisRef: any = this;\n\t\t\treturn function () {\n\t\t\t\tconst event: any = { id: id, this: thisRef, args: arguments };\n\t\t\t\tgo._pendingEvent = event;\n\t\t\t\tgo._resume();\n\t\t\t\treturn event.result;\n\t\t\t};\n\t\t}\n\t}\n\n\tif (\n\t\t(global as any).require &&\n\t\t(global as any).require.main === module &&\n\t\t(global as any).process &&\n\t\t(global as any).process.versions &&\n\t\t!(global as any).process.versions.electron\n\t) {\n\t\tif (process.argv.length < 3) {\n\t\t\tconsole.error(\"usage: go_js_wasm_exec [wasm binary] [arguments]\");\n\t\t\tprocess.exit(1);\n\t\t}\n\n\t\tconst go = new (global as any).Go();\n\t\tgo.argv = process.argv.slice(2);\n\t\tgo.env = Object.assign({ TMPDIR: (global as any).require(\"os\").tmpdir() }, process.env);\n\t\tgo.exit = process.exit;\n\t\tWebAssembly.instantiate((global as any).fs.readFileSync(process.argv[2]), go.importObject).then((result: any) => {\n\t\t\tprocess.on(\"exit\", (code: any) => { // Node.js exits if no event handler is pending\n\t\t\t\tif (code === 0 && !go.exited) {\n\t\t\t\t\t// deadlock, make Go print error and stack traces\n\t\t\t\t\tgo._pendingEvent = { id: 0 };\n\t\t\t\t\tgo._resume();\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn go.run(result.instance);\n\t\t}).catch((err: any) => {\n\t\t\tconsole.error(err);\n\t\t\tprocess.exit(1);\n\t\t});\n\t}\n};\n"]}
@@ -1,14 +0,0 @@
1
- declare global {
2
- interface Window {
3
- Go: new () => any;
4
- WebAssembly: any;
5
- __zmlStarted: () => void;
6
- __zmlSetEventHandler: (eventHandler: (event: string) => void) => void;
7
- __zmlRequest: (request: string, callback?: (response: string) => void) => string | undefined;
8
- __zmlShutdown: () => void;
9
- }
10
- }
11
- export interface RunWasmResult {
12
- runPromise: Promise<void>;
13
- }
14
- export declare const runWasm: (fetchResponse: Promise<Response>) => Promise<RunWasmResult>;
@@ -1 +0,0 @@
1
- {"version":3,"file":"wasm.js","sourceRoot":"","sources":["../../../src-web/wasm/wasm.ts"],"names":[],"mappings":";;;AAAA,2CAAuC;AACvC,8CAAsD;AAkB/C,MAAM,OAAO,GAAG,KAAK,EAAE,aAAgC,EAA0B,EAAE;IACxF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE;QACd,oBAAQ,EAAE,CAAC;KACZ;IACD,MAAM,EAAE,GAAG,IAAI,MAAM,CAAC,EAAE,EAAE,CAAC;IAC3B,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,oBAAoB,CAC1D,aAAa,EACb,EAAE,CAAC,YAAY,CAChB,CAAC;IACF,MAAM,YAAY,GAAG,IAAI,OAAO,CAAO,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,GAAG,OAAO,CAAC,CAAC;IACjF,MAAM,UAAU,GAAG,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAE3C,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC;IAC/C,0BAAiB,EAAE,CAAC;IACpB,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC,CAAC;AAfW,QAAA,OAAO,WAelB","sourcesContent":["import { wasmExec } from './wasm-exec';\nimport { setupEventHandler } from '../gateway/events';\n\ndeclare global {\n interface Window {\n Go: new () => any;\n WebAssembly: any;\n\n __zmlStarted: () => void;\n __zmlSetEventHandler: (eventHandler: (event: string) => void) => void;\n __zmlRequest: (request: string, callback?: (response: string) => void) => string | undefined;\n __zmlShutdown: () => void;\n }\n}\n\nexport interface RunWasmResult {\n runPromise: Promise<void>;\n}\n\nexport const runWasm = async (fetchResponse: Promise<Response>): Promise<RunWasmResult> => {\n if (!window.Go) {\n wasmExec();\n }\n const go = new window.Go();\n const result = await window.WebAssembly.instantiateStreaming(\n fetchResponse,\n go.importObject\n );\n const startPromise = new Promise<void>(resolve => window.__zmlStarted = resolve);\n const runPromise = go.run(result.instance);\n\n await Promise.race([startPromise, runPromise]);\n setupEventHandler();\n return { runPromise };\n};\n"]}