node-opcua-address-space 2.54.0 → 2.57.0

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 (336) hide show
  1. package/LICENSE +20 -20
  2. package/dist/source/address_space_ts.js.map +1 -1
  3. package/dist/source/continuation_points/continuation_point_manager.d.ts +27 -16
  4. package/dist/source/continuation_points/continuation_point_manager.js +141 -48
  5. package/dist/source/continuation_points/continuation_point_manager.js.map +1 -1
  6. package/dist/source/helpers/adjust_browse_direction.js.map +1 -1
  7. package/dist/source/helpers/call_helpers.js.map +1 -1
  8. package/dist/source/helpers/check_event_clause.js.map +1 -1
  9. package/dist/source/helpers/coerce_enum_value.js.map +1 -1
  10. package/dist/source/helpers/ensure_secure_access.js +0 -13
  11. package/dist/source/helpers/ensure_secure_access.js.map +1 -1
  12. package/dist/source/helpers/resolve_opaque_on_address_space.js.map +1 -1
  13. package/dist/source/loader/load_nodeset2.js +30 -6
  14. package/dist/source/loader/load_nodeset2.js.map +1 -1
  15. package/dist/source/loader/namespace_post_step.js.map +1 -1
  16. package/dist/source/loader/register_node_promoter.js.map +1 -1
  17. package/dist/source/namespace_machine_state.d.ts +1 -1
  18. package/dist/source/pseudo_session.js +23 -24
  19. package/dist/source/pseudo_session.js.map +1 -1
  20. package/dist/source/session_context.js.map +1 -1
  21. package/dist/source/set_namespace_meta_data.js.map +1 -1
  22. package/dist/src/address_space.d.ts +7 -8
  23. package/dist/src/address_space.js +2 -2
  24. package/dist/src/address_space.js.map +1 -1
  25. package/dist/src/address_space_private.d.ts +4 -5
  26. package/dist/src/alarms_and_conditions/check_where_clause.js +1 -1
  27. package/dist/src/alarms_and_conditions/check_where_clause.js.map +1 -1
  28. package/dist/src/alarms_and_conditions/condition.js.map +1 -1
  29. package/dist/src/alarms_and_conditions/extract_event_fields.js.map +1 -1
  30. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.js.map +1 -1
  31. package/dist/src/alarms_and_conditions/ua_base_event_impl.js.map +1 -1
  32. package/dist/src/alarms_and_conditions/ua_condition_impl.js.map +1 -1
  33. package/dist/src/alarms_and_conditions/ua_discrete_alarm_impl.js.map +1 -1
  34. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.js.map +1 -1
  35. package/dist/src/alarms_and_conditions/ua_limit_alarm_impl.js.map +1 -1
  36. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.js.map +1 -1
  37. package/dist/src/alarms_and_conditions/ua_off_normal_alarm_impl.js.map +1 -1
  38. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.js.map +1 -1
  39. package/dist/src/base_node_impl.js.map +1 -1
  40. package/dist/src/data_access/add_dataItem_stuff.js.map +1 -1
  41. package/dist/src/data_access/check_variant_compatibility_ua_analog_item.js.map +1 -1
  42. package/dist/src/data_access/ua_multistate_discrete_impl.js.map +1 -1
  43. package/dist/src/event_data.js.map +1 -1
  44. package/dist/src/extension_object_array_node.js.map +1 -1
  45. package/dist/src/historical_access/address_space_historical_data_node.js +28 -59
  46. package/dist/src/historical_access/address_space_historical_data_node.js.map +1 -1
  47. package/dist/src/namespace_impl.d.ts +2 -2
  48. package/dist/src/namespace_impl.js +6 -6
  49. package/dist/src/namespace_impl.js.map +1 -1
  50. package/dist/src/nodeid_manager.js +1 -4
  51. package/dist/src/nodeid_manager.js.map +1 -1
  52. package/dist/src/nodeset_tools/nodeset_to_xml.js +1 -1
  53. package/dist/src/nodeset_tools/nodeset_to_xml.js.map +1 -1
  54. package/dist/src/nodeset_tools/typedictionary_to_xml.d.ts +1 -1
  55. package/dist/src/nodeset_tools/typedictionary_to_xml.js +3 -2
  56. package/dist/src/nodeset_tools/typedictionary_to_xml.js.map +1 -1
  57. package/dist/src/reference_impl.js +3 -1
  58. package/dist/src/reference_impl.js.map +1 -1
  59. package/dist/src/state_machine/finite_state_machine.js.map +1 -1
  60. package/dist/src/state_machine/ua_shelving_state_machine_ex.js.map +1 -1
  61. package/dist/src/state_machine/ua_two_state_variable.js.map +1 -1
  62. package/dist/src/tool_isSupertypeOf.js.map +1 -1
  63. package/dist/src/ua_method_impl.d.ts +1 -1
  64. package/dist/src/ua_method_impl.js.map +1 -1
  65. package/dist/src/ua_object_impl.d.ts +10 -6
  66. package/dist/src/ua_object_impl.js +1 -1
  67. package/dist/src/ua_object_impl.js.map +1 -1
  68. package/dist/src/ua_object_type_impl.js.map +1 -1
  69. package/dist/src/ua_reference_type_impl.js +3 -1
  70. package/dist/src/ua_reference_type_impl.js.map +1 -1
  71. package/dist/src/ua_variable_impl.d.ts +8 -7
  72. package/dist/src/ua_variable_impl.js +6 -10
  73. package/dist/src/ua_variable_impl.js.map +1 -1
  74. package/dist/src/ua_variable_type_impl.js.map +1 -1
  75. package/dist/src/ua_view_impl.js.map +1 -1
  76. package/distHelpers/alarms_and_conditions_demo.js.map +1 -1
  77. package/distHelpers/boiler_system.d.ts +1 -1
  78. package/distHelpers/boiler_system.js +1 -2
  79. package/distHelpers/boiler_system.js.map +1 -1
  80. package/distHelpers/create_minimalist_address_space_nodeset.js +1 -0
  81. package/distHelpers/create_minimalist_address_space_nodeset.js.map +1 -1
  82. package/distHelpers/date_utils.d.ts +3 -0
  83. package/distHelpers/date_utils.js +10 -0
  84. package/distHelpers/date_utils.js.map +1 -0
  85. package/distHelpers/get_mini_address_space.js.map +1 -1
  86. package/distHelpers/index.d.ts +2 -0
  87. package/distHelpers/index.js +2 -0
  88. package/distHelpers/index.js.map +1 -1
  89. package/distHelpers/mock_session.d.ts +14 -0
  90. package/distHelpers/mock_session.js +26 -0
  91. package/distHelpers/mock_session.js.map +1 -0
  92. package/generate.js +1 -1
  93. package/nodeJS.d.ts +1 -1
  94. package/package.json +39 -40
  95. package/source/address_space_ts.ts +0 -3
  96. package/source/continuation_points/continuation_point_manager.ts +178 -64
  97. package/source/helpers/adjust_browse_direction.ts +3 -3
  98. package/source/helpers/argument_list.ts +1 -1
  99. package/source/helpers/call_helpers.ts +0 -1
  100. package/source/helpers/check_event_clause.ts +2 -9
  101. package/source/helpers/coerce_enum_value.ts +3 -3
  102. package/source/helpers/ensure_secure_access.ts +1 -13
  103. package/source/helpers/resolve_opaque_on_address_space.ts +4 -1
  104. package/source/interfaces/alarms_and_conditions/condition_info_i.ts +13 -13
  105. package/source/interfaces/data_access/ua_multistate_value_discrete_ex.ts +0 -1
  106. package/source/interfaces/data_access/ua_y_array_item_ex.ts +4 -2
  107. package/source/interfaces/state_machine/ua_exclusive_limit_state_machine_type_ex.ts +5 -1
  108. package/source/interfaces/state_machine/ua_state_machine_type.ts +2 -2
  109. package/source/loader/load_nodeset2.ts +41 -9
  110. package/source/loader/namespace_post_step.ts +1 -2
  111. package/source/loader/register_node_promoter.ts +4 -1
  112. package/source/namespace.ts +4 -6
  113. package/source/namespace_machine_state.ts +1 -2
  114. package/source/pseudo_session.ts +37 -29
  115. package/source/session_context.ts +1 -8
  116. package/source/set_namespace_meta_data.ts +21 -15
  117. package/source/xml_writer.ts +0 -1
  118. package/source_nodejs/index.ts +1 -1
  119. package/src/address_space.ts +17 -16
  120. package/src/address_space_private.ts +7 -12
  121. package/src/alarms_and_conditions/check_where_clause.ts +21 -22
  122. package/src/alarms_and_conditions/condition.ts +0 -1
  123. package/src/alarms_and_conditions/extract_event_fields.ts +0 -1
  124. package/src/alarms_and_conditions/ua_acknowledgeable_condition_impl.ts +7 -4
  125. package/src/alarms_and_conditions/ua_base_event_impl.ts +11 -15
  126. package/src/alarms_and_conditions/ua_condition_impl.ts +22 -31
  127. package/src/alarms_and_conditions/ua_discrete_alarm_impl.ts +39 -33
  128. package/src/alarms_and_conditions/ua_exclusive_deviation_alarm_impl.ts +2 -2
  129. package/src/alarms_and_conditions/ua_exclusive_level_alarm_impl.ts +4 -5
  130. package/src/alarms_and_conditions/ua_limit_alarm_impl.ts +16 -16
  131. package/src/alarms_and_conditions/ua_non_exclusive_limit_alarm_impl.ts +8 -8
  132. package/src/alarms_and_conditions/ua_off_normal_alarm_impl.ts +9 -10
  133. package/src/alarms_and_conditions/ua_system_off_normal_alarm_impl.ts +2 -4
  134. package/src/apply_condition_refresh.ts +2 -2
  135. package/src/base_node_impl.ts +2 -2
  136. package/src/data_access/add_dataItem_stuff.ts +4 -4
  137. package/src/data_access/check_variant_compatibility_ua_analog_item.ts +12 -15
  138. package/src/data_access/ua_multistate_discrete_impl.ts +6 -3
  139. package/src/data_access/ua_multistate_value_discrete.ts +1 -1
  140. package/src/event_data.ts +1 -7
  141. package/src/extension_object_array_node.ts +4 -10
  142. package/src/historical_access/address_space_historical_data_node.ts +39 -63
  143. package/src/namespace_impl.ts +5 -5
  144. package/src/namespace_private.ts +1 -1
  145. package/src/nodeid_manager.ts +2 -5
  146. package/src/nodeset_tools/nodeset_to_xml.ts +5 -5
  147. package/src/nodeset_tools/typedictionary_to_xml.ts +7 -5
  148. package/src/reference_impl.ts +4 -2
  149. package/src/state_machine/finite_state_machine.ts +426 -428
  150. package/src/state_machine/ua_shelving_state_machine_ex.ts +13 -4
  151. package/src/state_machine/ua_two_state_variable.ts +5 -7
  152. package/src/tool_isSupertypeOf.ts +2 -6
  153. package/src/ua_condition_type.ts +0 -1
  154. package/src/ua_method_impl.ts +18 -8
  155. package/src/ua_object_impl.ts +13 -8
  156. package/src/ua_object_type_impl.ts +7 -4
  157. package/src/ua_reference_type_impl.ts +6 -12
  158. package/src/ua_variable_impl.ts +11 -15
  159. package/src/ua_variable_type_impl.ts +2 -2
  160. package/src/ua_view_impl.ts +3 -6
  161. package/testHelpers.d.ts +1 -1
  162. package/test_helpers/add_event_generator_object.ts +2 -2
  163. package/test_helpers/alarms_and_conditions_demo.ts +9 -8
  164. package/test_helpers/assertHasMatchingReference.ts +43 -43
  165. package/test_helpers/boiler_system.ts +610 -618
  166. package/test_helpers/create_minimalist_address_space_nodeset.ts +13 -13
  167. package/test_helpers/date_utils.ts +5 -0
  168. package/test_helpers/dump_statemachine.ts +2 -2
  169. package/test_helpers/get_address_space_fixture.ts +30 -30
  170. package/test_helpers/get_mini_address_space.ts +42 -42
  171. package/test_helpers/index.ts +13 -11
  172. package/test_helpers/mock_session.ts +34 -0
  173. package/test_helpers/test_fixtures/dataType_in_separateNamespace.xml +150 -150
  174. package/test_helpers/test_fixtures/dataType_in_separateNamespace_basic.xml +57 -57
  175. package/test_helpers/test_fixtures/dataType_in_separateNamespace_mix.xml +135 -135
  176. package/test_helpers/test_fixtures/dataType_issue.xml +80 -0
  177. package/test_helpers/test_fixtures/dataType_withEnumeration.xml +82 -82
  178. package/test_helpers/test_fixtures/dataType_with_isOptionSet.xml +194 -194
  179. package/test_helpers/test_fixtures/dataType_with_union.xml +1 -1
  180. package/test_helpers/test_fixtures/datatype_as_per_1.04.xml +1 -2
  181. package/test_helpers/test_fixtures/fixture_empty_nodeset2.xml +106 -106
  182. package/test_helpers/test_fixtures/fixture_simple_statemachine_nodeset2.xml +1303 -1303
  183. package/test_helpers/test_fixtures/fixuture_nodeset_objects_with_some_methods.xml +362 -362
  184. package/test_helpers/test_fixtures/issue_846.xml +3172 -3172
  185. package/test_helpers/test_fixtures/issue_899_variable_with_nodeid_value.xml +32 -32
  186. package/test_helpers/test_fixtures/mini.nodeset.withVariousVariables.xml +194 -194
  187. package/test_helpers/test_fixtures/minimalist_nodeset_with_models.xml +8 -8
  188. package/test_helpers/test_fixtures/minimalist_nodeset_with_models_more_complex.xml +16 -16
  189. package/test_helpers/test_fixtures/nodeset_with_analog_items.xml +45 -45
  190. package/.nyc_output/0d52ec22-23b7-4df1-9695-d5cf1dc6a6a7.json +0 -1
  191. package/.nyc_output/processinfo/0d52ec22-23b7-4df1-9695-d5cf1dc6a6a7.json +0 -1
  192. package/.nyc_output/processinfo/index.json +0 -1
  193. package/.vscode/settings.json +0 -7
  194. package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.d.ts +0 -23
  195. package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.js +0 -3
  196. package/dist/source/interfaces/alarms_and_conditions/ua_condition_base_i.js.map +0 -1
  197. package/dist/source/interfaces/data_access/ua_discrete_item.d.ts +0 -6
  198. package/dist/source/interfaces/data_access/ua_discrete_item.js +0 -3
  199. package/dist/source/interfaces/data_access/ua_discrete_item.js.map +0 -1
  200. package/dist/source/interfaces/data_access/ua_multistate_discrete.d.ts +0 -25
  201. package/dist/source/interfaces/data_access/ua_multistate_discrete.js +0 -3
  202. package/dist/source/interfaces/data_access/ua_multistate_discrete.js.map +0 -1
  203. package/dist/source/interfaces/data_access/ua_multistate_value_discrete.d.ts +0 -27
  204. package/dist/source/interfaces/data_access/ua_multistate_value_discrete.js +0 -3
  205. package/dist/source/interfaces/data_access/ua_multistate_value_discrete.js.map +0 -1
  206. package/dist/source/interfaces/data_access/ua_two_state_discrete.d.ts +0 -17
  207. package/dist/source/interfaces/data_access/ua_two_state_discrete.js +0 -3
  208. package/dist/source/interfaces/data_access/ua_two_state_discrete.js.map +0 -1
  209. package/dist/source/interfaces/data_access/ua_y_array_item.d.ts +0 -19
  210. package/dist/source/interfaces/data_access/ua_y_array_item.js +0 -3
  211. package/dist/source/interfaces/data_access/ua_y_array_item.js.map +0 -1
  212. package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.d.ts +0 -11
  213. package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.js +0 -3
  214. package/dist/source/interfaces/state_machine/exclusive_limit_state_machine.js.map +0 -1
  215. package/dist/source/interfaces/state_machine/finite_state_machine.d.ts +0 -70
  216. package/dist/source/interfaces/state_machine/finite_state_machine.js +0 -3
  217. package/dist/source/interfaces/state_machine/finite_state_machine.js.map +0 -1
  218. package/dist/source/interfaces/state_machine/program_finite_state_machine.d.ts +0 -74
  219. package/dist/source/interfaces/state_machine/program_finite_state_machine.js +0 -3
  220. package/dist/source/interfaces/state_machine/program_finite_state_machine.js.map +0 -1
  221. package/dist/source/interfaces/state_machine/state_machine.d.ts +0 -342
  222. package/dist/source/interfaces/state_machine/state_machine.js +0 -3
  223. package/dist/source/interfaces/state_machine/state_machine.js.map +0 -1
  224. package/dist/source/interfaces/state_machine/ua_finite_state_variable.d.ts +0 -18
  225. package/dist/source/interfaces/state_machine/ua_finite_state_variable.js +0 -3
  226. package/dist/source/interfaces/state_machine/ua_finite_state_variable.js.map +0 -1
  227. package/dist/source/interfaces/state_machine/ua_state_variable.d.ts +0 -29
  228. package/dist/source/interfaces/state_machine/ua_state_variable.js +0 -3
  229. package/dist/source/interfaces/state_machine/ua_state_variable.js.map +0 -1
  230. package/dist/source/interfaces/state_machine/ua_two_state_variable.d.ts +0 -26
  231. package/dist/source/interfaces/state_machine/ua_two_state_variable.js +0 -3
  232. package/dist/source/interfaces/state_machine/ua_two_state_variable.js.map +0 -1
  233. package/dist/source/interfaces/subscription_diagnostics_variable.d.ts +0 -41
  234. package/dist/source/interfaces/subscription_diagnostics_variable.js +0 -3
  235. package/dist/source/interfaces/subscription_diagnostics_variable.js.map +0 -1
  236. package/dist/source/ua_namespace_meta_data_type.d.ts +0 -71
  237. package/dist/source/ua_namespace_meta_data_type.js +0 -3
  238. package/dist/source/ua_namespace_meta_data_type.js.map +0 -1
  239. package/dist/src/alarms_and_conditions/base_event_type.d.ts +0 -26
  240. package/dist/src/alarms_and_conditions/base_event_type.js +0 -41
  241. package/dist/src/alarms_and_conditions/base_event_type.js.map +0 -1
  242. package/dist/src/alarms_and_conditions/shelving_state_machine.d.ts +0 -22
  243. package/dist/src/alarms_and_conditions/shelving_state_machine.js +0 -241
  244. package/dist/src/alarms_and_conditions/shelving_state_machine.js.map +0 -1
  245. package/dist/src/alarms_and_conditions/trip_alarm.d.ts +0 -16
  246. package/dist/src/alarms_and_conditions/trip_alarm.js +0 -21
  247. package/dist/src/alarms_and_conditions/trip_alarm.js.map +0 -1
  248. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.d.ts +0 -54
  249. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.js +0 -255
  250. package/dist/src/alarms_and_conditions/ua_acknowledgeable_condition_base.js.map +0 -1
  251. package/dist/src/alarms_and_conditions/ua_alarm_condition_base.d.ts +0 -138
  252. package/dist/src/alarms_and_conditions/ua_alarm_condition_base.js +0 -460
  253. package/dist/src/alarms_and_conditions/ua_alarm_condition_base.js.map +0 -1
  254. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.d.ts +0 -35
  255. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.js +0 -32
  256. package/dist/src/alarms_and_conditions/ua_certificate_expiration_alarm.js.map +0 -1
  257. package/dist/src/alarms_and_conditions/ua_condition_base.d.ts +0 -191
  258. package/dist/src/alarms_and_conditions/ua_condition_base.js +0 -1029
  259. package/dist/src/alarms_and_conditions/ua_condition_base.js.map +0 -1
  260. package/dist/src/alarms_and_conditions/ua_discrete_alarm.d.ts +0 -11
  261. package/dist/src/alarms_and_conditions/ua_discrete_alarm.js +0 -58
  262. package/dist/src/alarms_and_conditions/ua_discrete_alarm.js.map +0 -1
  263. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.d.ts +0 -24
  264. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.js +0 -59
  265. package/dist/src/alarms_and_conditions/ua_exclusive_deviation_alarm.js.map +0 -1
  266. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.d.ts +0 -14
  267. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.js +0 -17
  268. package/dist/src/alarms_and_conditions/ua_exclusive_level_alarm.js.map +0 -1
  269. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.d.ts +0 -22
  270. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.js +0 -87
  271. package/dist/src/alarms_and_conditions/ua_exclusive_limit_alarm.js.map +0 -1
  272. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.d.ts +0 -6
  273. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.js +0 -11
  274. package/dist/src/alarms_and_conditions/ua_exclusive_rate_of_change_alarm.js.map +0 -1
  275. package/dist/src/alarms_and_conditions/ua_limit_alarm.d.ts +0 -76
  276. package/dist/src/alarms_and_conditions/ua_limit_alarm.js +0 -237
  277. package/dist/src/alarms_and_conditions/ua_limit_alarm.js.map +0 -1
  278. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.d.ts +0 -27
  279. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.js +0 -62
  280. package/dist/src/alarms_and_conditions/ua_non_exclusive_deviation_alarm.js.map +0 -1
  281. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.d.ts +0 -49
  282. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.js +0 -176
  283. package/dist/src/alarms_and_conditions/ua_non_exclusive_limit_alarm.js.map +0 -1
  284. package/dist/src/alarms_and_conditions/ua_off_normal_alarm.d.ts +0 -47
  285. package/dist/src/alarms_and_conditions/ua_off_normal_alarm.js +0 -151
  286. package/dist/src/alarms_and_conditions/ua_off_normal_alarm.js.map +0 -1
  287. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.d.ts +0 -16
  288. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.js +0 -18
  289. package/dist/src/alarms_and_conditions/ua_system_off_normal_alarm.js.map +0 -1
  290. package/dist/src/base_node.d.ts +0 -279
  291. package/dist/src/base_node.js +0 -1364
  292. package/dist/src/base_node.js.map +0 -1
  293. package/dist/src/data_access/ua_analog_item.d.ts +0 -13
  294. package/dist/src/data_access/ua_analog_item.js +0 -37
  295. package/dist/src/data_access/ua_analog_item.js.map +0 -1
  296. package/dist/src/data_access/ua_data_item.d.ts +0 -16
  297. package/dist/src/data_access/ua_data_item.js +0 -66
  298. package/dist/src/data_access/ua_data_item.js.map +0 -1
  299. package/dist/src/data_access/ua_multistate_discrete.d.ts +0 -23
  300. package/dist/src/data_access/ua_multistate_discrete.js +0 -131
  301. package/dist/src/data_access/ua_multistate_discrete.js.map +0 -1
  302. package/dist/src/namespace.d.ts +0 -479
  303. package/dist/src/namespace.js +0 -1774
  304. package/dist/src/namespace.js.map +0 -1
  305. package/dist/src/reference.d.ts +0 -43
  306. package/dist/src/reference.js +0 -138
  307. package/dist/src/reference.js.map +0 -1
  308. package/dist/src/session_context.d.ts +0 -4
  309. package/dist/src/session_context.js +0 -9
  310. package/dist/src/session_context.js.map +0 -1
  311. package/dist/src/ua_data_type.d.ts +0 -83
  312. package/dist/src/ua_data_type.js +0 -289
  313. package/dist/src/ua_data_type.js.map +0 -1
  314. package/dist/src/ua_method.d.ts +0 -42
  315. package/dist/src/ua_method.js +0 -204
  316. package/dist/src/ua_method.js.map +0 -1
  317. package/dist/src/ua_object.d.ts +0 -29
  318. package/dist/src/ua_object.js +0 -153
  319. package/dist/src/ua_object.js.map +0 -1
  320. package/dist/src/ua_object_type.d.ts +0 -49
  321. package/dist/src/ua_object_type.js +0 -124
  322. package/dist/src/ua_object_type.js.map +0 -1
  323. package/dist/src/ua_reference_type.d.ts +0 -42
  324. package/dist/src/ua_reference_type.js +0 -138
  325. package/dist/src/ua_reference_type.js.map +0 -1
  326. package/dist/src/ua_variable.d.ts +0 -346
  327. package/dist/src/ua_variable.js +0 -1721
  328. package/dist/src/ua_variable.js.map +0 -1
  329. package/dist/src/ua_variable_type.d.ts +0 -54
  330. package/dist/src/ua_variable_type.js +0 -555
  331. package/dist/src/ua_variable_type.js.map +0 -1
  332. package/dist/src/ua_view.d.ts +0 -16
  333. package/dist/src/ua_view.js +0 -42
  334. package/dist/src/ua_view.js.map +0 -1
  335. package/src/alarms_and_conditions/debug.log +0 -1
  336. package/test_helpers/test_fixtures/issue_849.xml +0 -3169
package/LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014-2021 Etienne Rossignon
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014-2021 Etienne Rossignon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1 +1 @@
1
- {"version":3,"file":"address_space_ts.js","sourceRoot":"","sources":["../../source/address_space_ts.ts"],"names":[],"mappings":";;;AAyDA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,6EAAc,CAAA;IACd,kBAAkB;AACtB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAuFD,MAAa,YAAY;IAOrB;QACI,WAAW;IACf,CAAC;IANM,MAAM,CAAC,MAAM;QAChB,OAAO,IAAI,YAAY,EAAkB,CAAC;IAC9C,CAAC;CAKJ;AAVD,oCAUC"}
1
+ {"version":3,"file":"address_space_ts.js","sourceRoot":"","sources":["../../source/address_space_ts.ts"],"names":[],"mappings":";;;AAwDA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,6EAAc,CAAA;IACd,kBAAkB;AACtB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAsFD,MAAa,YAAY;IAOrB;QACI,WAAW;IACf,CAAC;IANM,MAAM,CAAC,MAAM;QAChB,OAAO,IAAI,YAAY,EAAkB,CAAC;IAC9C,CAAC;CAKJ;AAVD,oCAUC"}
@@ -1,21 +1,32 @@
1
- import { StatusCode } from "node-opcua-status-code";
2
- import { BrowseResultOptions, ReferenceDescription } from "node-opcua-types";
3
- import { ContinuationPoint } from "node-opcua-address-space-base";
4
- export interface ContinuationPointInfo extends BrowseResultOptions {
5
- continuationPoint?: ContinuationPoint;
6
- references?: ReferenceDescription[];
7
- statusCode: StatusCode;
8
- }
9
- export declare class ContinuationPointManager {
10
- private readonly _map;
1
+ import { ReferenceDescription } from "node-opcua-types";
2
+ import { IContinuationPointManager, IContinuationPointInfo, ContinuationData } from "node-opcua-address-space-base";
3
+ import { DataValue } from "node-opcua-data-value";
4
+ export declare class ContinuationPointManager implements IContinuationPointManager {
5
+ private _map;
11
6
  constructor();
12
7
  /**
13
- * returns true if the current number of active continuation point has reach the limit
14
- * specified in maxBrowseContinuationPoint
8
+ * returns true if the current number of active continuation point has reached the limit
9
+ * specified in maxContinuationPoint
15
10
  * @param maxBrowseContinuationPoint
16
11
  */
17
- hasReachMaximum(maxBrowseContinuationPoint: number): boolean;
18
- register(maxElements: number, values: ReferenceDescription[]): ContinuationPointInfo;
19
- getNext(continuationPoint: ContinuationPoint): ContinuationPointInfo;
20
- cancel(continuationPoint: ContinuationPoint): ContinuationPointInfo;
12
+ hasReachedMaximum(maxContinuationPoint: number): boolean;
13
+ clearContinuationPoints(): void;
14
+ registerHistoryReadRaw(numValuesPerNode: number, dataValues: DataValue[], continuationData: ContinuationData): IContinuationPointInfo<DataValue>;
15
+ getNextHistoryReadRaw(numValues: number, continuationData: ContinuationData): IContinuationPointInfo<DataValue>;
16
+ registerReferences(maxElements: number, values: ReferenceDescription[], continuationData: ContinuationData): IContinuationPointInfo<ReferenceDescription>;
17
+ /**
18
+ * - releaseContinuationPoints = TRUE
19
+ *
20
+ * passed continuationPoints shall be reset to free resources in
21
+ * the Server. The continuation points are released and the results
22
+ * and diagnosticInfos arrays are empty.
23
+ *
24
+ * - releaseContinuationPoints = FALSE
25
+ *
26
+ * passed continuationPoints shall be used to get the next set of
27
+ * browse information
28
+ */
29
+ getNextReferences(numValues: number, continuationData: ContinuationData): IContinuationPointInfo<ReferenceDescription>;
30
+ private _register;
31
+ private _getNext;
21
32
  }
@@ -4,8 +4,63 @@ exports.ContinuationPointManager = void 0;
4
4
  /**
5
5
  * @module node-opcua-server
6
6
  */
7
- const node_opcua_assert_1 = require("node-opcua-assert");
8
7
  const node_opcua_status_code_1 = require("node-opcua-status-code");
8
+ /**
9
+ * from https://reference.opcfoundation.org/v104/Core/docs/Part4/7.6/
10
+ *
11
+ * A ContinuationPoint is used to pause a Browse, QueryFirst or HistoryRead operation and allow it to be restarted later by calling BrowseNext,
12
+ * QueryNext or HistoryRead.
13
+ * - Operations are paused when the number of results found exceeds the limits set by either the Client or the Server.
14
+ * - The Client specifies the maximum number of results per operation in the request message.
15
+ * - A Server shall not return more than this number of results but it may return fewer results.
16
+ * - The Server allocates a ContinuationPoint if there are more results to return.
17
+ * - Servers shall support at least one ContinuationPoint per Session.
18
+ * - Servers specify a maximum number of ContinuationPoints per Session in the ServerCapabilities Object defined in OPC 10000-5.
19
+ * - ContinuationPoints remain active until
20
+ * a/ the Client retrieves the remaining results,
21
+ * b/ or, the Client releases the ContinuationPoint
22
+ * c/ or the Session is closed.
23
+ * - A Server shall automatically free ContinuationPoints from prior requests from a Session if they are needed to process a new request
24
+ * from this Session.
25
+ * - The Server returns a Bad_ContinuationPointInvalid error if a Client tries to use a ContinuationPoint that has been released.
26
+ * - A Client can avoid this situation by completing paused operations before starting new operations.
27
+ * - Requests will often specify multiple operations that may or may not require a ContinuationPoint.
28
+ * - A Server shall process the operations until it uses the maximum number of continuation points in this response.
29
+ * Once that happens the Server shall return a Bad_NoContinuationPoints error for any remaining operations. A Client can avoid
30
+ * this situation by sending requests with a number of operations that do not exceed the maximum number of ContinuationPoints
31
+ * per Session defined for the Service in the ServerCapabilities Object defined in OPC 10000-5.
32
+ * A Client restarts an operation by passing the ContinuationPoint back to the Server. Server should always be able to reuse the ContinuationPoint
33
+ * provided so Servers shall never return Bad_NoContinuationPoints error when continuing a previously halted operation.
34
+ * A ContinuationPoint is a subtype of the ByteString data type.
35
+ *
36
+ *
37
+ * for historical access: https://reference.opcfoundation.org/v104/Core/docs/Part11/6.3/
38
+ *
39
+ * The continuationPoint parameter in the HistoryRead Service is used to mark a point from which to continue
40
+ * the read if not all values could be returned in one response. The value is opaque for the Client and is
41
+ * only used to maintain the state information for the Server to continue from. *
42
+ *
43
+ * For HistoricalDataNode requests, a Server may use the timestamp of the last returned data item if the timestamp
44
+ * is unique. This can reduce the need in the Server to store state information for the continuation point.
45
+ * The Client specifies the maximum number of results per operation in the request Message. A Server shall
46
+ * not return more than this number of results but it may return fewer results. The Server allocates a
47
+ * ContinuationPoint if there are more results to return. The Server may return fewer results due to buffer issues
48
+ * or other internal constraints. It may also be required to return a continuationPoint due to HistoryRead
49
+ * parameter constraints. If a request is taking a long time to calculate and is approaching the timeout time, the
50
+ * Server may return partial results with a continuation point. This may be done if the calculation is going to
51
+ * take more time than the Client timeout. In some cases it may take longer than the Client timeout to calculate
52
+ * even one result. Then the Server may return zero results with a continuation point that allows the Server to
53
+ * resume the calculation on the next Client read call. For additional discussions regarding ContinuationPoints
54
+ * and HistoryRead please see the individual extensible HistoryReadDetails parameter in 6.4.
55
+ * If the Client specifies a ContinuationPoint, then the HistoryReadDetails parameter and the TimestampsToReturn
56
+ * parameter are ignored, because it does not make sense to request different parameters when continuing from a
57
+ * previous call. It is permissible to change the dataEncoding parameter with each request.
58
+ * If the Client specifies a ContinuationPoint that is no longer valid, then the Server shall return a
59
+ * Bad_ContinuationPointInvalid error.
60
+ * If the releaseContinuationPoints parameter is set in the request the Server shall not return any data and shall
61
+ * release all ContinuationPoints passed in the request. If the ContinuationPoint for an operation is missing or
62
+ * invalid then the StatusCode for the operation shall be Bad_ContinuationPointInvalid.
63
+ */
9
64
  let counter = 0;
10
65
  function make_key() {
11
66
  // return crypto.randomBytes(32);
@@ -14,84 +69,122 @@ function make_key() {
14
69
  }
15
70
  class ContinuationPointManager {
16
71
  constructor() {
17
- this._map = {};
72
+ this._map = new Map();
18
73
  }
19
74
  /**
20
- * returns true if the current number of active continuation point has reach the limit
21
- * specified in maxBrowseContinuationPoint
75
+ * returns true if the current number of active continuation point has reached the limit
76
+ * specified in maxContinuationPoint
22
77
  * @param maxBrowseContinuationPoint
23
78
  */
24
- hasReachMaximum(maxBrowseContinuationPoint) {
25
- if (maxBrowseContinuationPoint === 0) {
79
+ hasReachedMaximum(maxContinuationPoint) {
80
+ if (maxContinuationPoint === 0) {
26
81
  return false;
27
82
  }
28
- const nbContinuationPoints = Object.keys(this._map).length;
29
- return nbContinuationPoints >= maxBrowseContinuationPoint;
83
+ const nbContinuationPoints = this._map.size;
84
+ return nbContinuationPoints >= maxContinuationPoint;
85
+ }
86
+ clearContinuationPoints() {
87
+ // call when a new request to the server is received
88
+ this._map.clear();
89
+ }
90
+ registerHistoryReadRaw(numValuesPerNode, dataValues, continuationData) {
91
+ return this._register(numValuesPerNode, dataValues, continuationData);
92
+ }
93
+ getNextHistoryReadRaw(numValues, continuationData) {
94
+ return this._getNext(numValues, continuationData);
95
+ }
96
+ registerReferences(maxElements, values, continuationData) {
97
+ return this._register(maxElements, values, continuationData);
98
+ }
99
+ /**
100
+ * - releaseContinuationPoints = TRUE
101
+ *
102
+ * passed continuationPoints shall be reset to free resources in
103
+ * the Server. The continuation points are released and the results
104
+ * and diagnosticInfos arrays are empty.
105
+ *
106
+ * - releaseContinuationPoints = FALSE
107
+ *
108
+ * passed continuationPoints shall be used to get the next set of
109
+ * browse information
110
+ */
111
+ getNextReferences(numValues, continuationData) {
112
+ return this._getNext(numValues, continuationData);
30
113
  }
31
- register(maxElements, values) {
32
- maxElements = maxElements || values.length;
33
- if (maxElements >= values.length) {
114
+ _register(maxValues, values, continuationData) {
115
+ if (continuationData.releaseContinuationPoints) {
116
+ this.clearContinuationPoints();
34
117
  return {
35
118
  continuationPoint: undefined,
36
- references: values,
119
+ values: [],
37
120
  statusCode: node_opcua_status_code_1.StatusCodes.Good
38
121
  };
39
122
  }
123
+ if (!continuationData.continuationPoint && !continuationData.index) {
124
+ this.clearContinuationPoints();
125
+ }
126
+ if (maxValues >= 1) {
127
+ // now make sure that only the requested number of value is returned
128
+ if (values.length === 0) {
129
+ return {
130
+ continuationPoint: undefined,
131
+ values: null,
132
+ statusCode: node_opcua_status_code_1.StatusCodes.GoodNoData
133
+ };
134
+ }
135
+ }
136
+ maxValues = maxValues || values.length;
137
+ if (maxValues >= values.length) {
138
+ return {
139
+ continuationPoint: undefined,
140
+ values,
141
+ statusCode: node_opcua_status_code_1.StatusCodes.Good
142
+ };
143
+ }
144
+ // split the array in two ( values)
145
+ const current_block = values.splice(0, maxValues);
40
146
  const key = make_key();
41
147
  const keyHash = key.toString("ascii");
42
- // split the array in two ( values)
43
- const current_block = values.splice(0, maxElements);
44
148
  const result = {
45
149
  continuationPoint: key,
46
- references: current_block,
150
+ values: current_block,
47
151
  statusCode: node_opcua_status_code_1.StatusCodes.Good
48
152
  };
49
153
  // create
50
154
  const data = {
51
- maxElements,
52
- remainingElements: values
53
- };
54
- this._map[keyHash] = data;
55
- return result;
56
- }
57
- getNext(continuationPoint) {
58
- if (!continuationPoint) {
59
- return { statusCode: node_opcua_status_code_1.StatusCodes.BadContinuationPointInvalid };
60
- }
61
- const keyHash = continuationPoint.toString("ascii");
62
- const data = this._map[keyHash];
63
- if (!data) {
64
- return { statusCode: node_opcua_status_code_1.StatusCodes.BadContinuationPointInvalid };
65
- }
66
- (0, node_opcua_assert_1.assert)(data.maxElements > 0);
67
- // split the array in two ( values)
68
- const current_block = data.remainingElements.splice(0, data.maxElements);
69
- const result = {
70
- continuationPoint: data.remainingElements.length ? continuationPoint : undefined,
71
- references: current_block,
72
- statusCode: node_opcua_status_code_1.StatusCodes.Good
155
+ maxElements: maxValues,
156
+ values: values
73
157
  };
74
- if (data.remainingElements.length === 0) {
75
- // we are done
76
- delete this._map[keyHash];
77
- }
158
+ this._map.set(keyHash, data);
78
159
  return result;
79
160
  }
80
- cancel(continuationPoint) {
81
- if (!continuationPoint) {
82
- return { statusCode: node_opcua_status_code_1.StatusCodes.BadContinuationPointInvalid };
161
+ _getNext(numValues, continuationData) {
162
+ if (!continuationData.continuationPoint) {
163
+ return {
164
+ continuationPoint: undefined,
165
+ values: null,
166
+ statusCode: node_opcua_status_code_1.StatusCodes.BadContinuationPointInvalid
167
+ };
83
168
  }
84
- const keyHash = continuationPoint.toString("ascii");
85
- const data = this._map[keyHash];
169
+ const keyHash = continuationData.continuationPoint.toString("ascii");
170
+ const data = this._map.get(keyHash);
86
171
  if (!data) {
87
172
  return {
88
173
  continuationPoint: undefined,
89
- references: [],
174
+ values: null,
90
175
  statusCode: node_opcua_status_code_1.StatusCodes.BadContinuationPointInvalid
91
176
  };
92
177
  }
93
- delete this._map[keyHash];
178
+ const values = data.values.splice(0, numValues || data.maxElements);
179
+ let continuationPoint = continuationData.continuationPoint;
180
+ if (data.values.length === 0 || continuationData.releaseContinuationPoints) {
181
+ // no more data available for next call
182
+ this._map.delete(keyHash);
183
+ continuationPoint = undefined;
184
+ }
94
185
  return {
186
+ continuationPoint,
187
+ values,
95
188
  statusCode: node_opcua_status_code_1.StatusCodes.Good
96
189
  };
97
190
  }
@@ -1 +1 @@
1
- {"version":3,"file":"continuation_point_manager.js","sourceRoot":"","sources":["../../../source/continuation_points/continuation_point_manager.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yDAA2C;AAC3C,mEAAiE;AAIjE,IAAI,OAAO,GAAG,CAAC,CAAC;AAEhB,SAAS,QAAQ;IACb,iCAAiC;IACjC,OAAO,IAAI,CAAC,CAAC;IACb,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;AACpD,CAAC;AAQD,MAAa,wBAAwB;IAGjC;QACI,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC;IACnB,CAAC;IAED;;;;OAIG;IACI,eAAe,CAAC,0BAAkC;QACrD,IAAI,0BAA0B,KAAK,CAAC,EAAE;YAClC,OAAO,KAAK,CAAC;SAChB;QACD,MAAM,oBAAoB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC;QAC3D,OAAO,oBAAoB,IAAI,0BAA0B,CAAC;IAC9D,CAAC;IAEM,QAAQ,CAAC,WAAmB,EAAE,MAA8B;QAC/D,WAAW,GAAG,WAAW,IAAI,MAAM,CAAC,MAAM,CAAC;QAC3C,IAAI,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE;YAC9B,OAAO;gBACH,iBAAiB,EAAE,SAAS;gBAC5B,UAAU,EAAE,MAAM;gBAClB,UAAU,EAAE,oCAAW,CAAC,IAAI;aAC/B,CAAC;SACL;QAED,MAAM,GAAG,GAAG,QAAQ,EAA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,IAAI,IAAI,CAAC,iBAAiB,CAAC,MAAM,KAAK,CAAC,EAAE;YACrC,cAAc;YACd,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;SAC7B;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,MAAM,CAAC,iBAAoC;QAC9C,IAAI,CAAC,iBAAiB,EAAE;YACpB,OAAO,EAAE,UAAU,EAAE,oCAAW,CAAC,2BAA2B,EAAE,CAAC;SAClE;QAED,MAAM,OAAO,GAAG,iBAAiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChC,IAAI,CAAC,IAAI,EAAE;YACP,OAAO;gBACH,iBAAiB,EAAE,SAAS;gBAC5B,UAAU,EAAE,EAAE;gBACd,UAAU,EAAE,oCAAW,CAAC,2BAA2B;aACtD,CAAC;SACL;QACD,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1B,OAAO;YACH,UAAU,EAAE,oCAAW,CAAC,IAAI;SAC/B,CAAC;IACN,CAAC;CACJ;AAlGD,4DAkGC"}
1
+ {"version":3,"file":"continuation_point_manager.js","sourceRoot":"","sources":["../../../source/continuation_points/continuation_point_manager.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,mEAAiE;AAWjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,IAAI,OAAO,GAAG,CAAC,CAAC;AAEhB,SAAS,QAAQ;IACb,iCAAiC;IACjC,OAAO,IAAI,CAAC,CAAC;IACb,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;AACpD,CAAC;AAMD,MAAa,wBAAwB;IAGjC;QACI,IAAI,CAAC,IAAI,GAAG,IAAI,GAAG,EAAE,CAAC;IAC1B,CAAC;IAED;;;;OAIG;I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AiB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QACrE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACpC,IAAI,CAAC,IAAI,EAAE;YACP,OAAO;gBACH,iBAAiB,EAAE,SAAS;gBAC5B,MAAM,EAAE,IAAI;gBACZ,UAAU,EAAE,oCAAW,CAAC,2BAA2B;aACtD,CAAC;SACL;QAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,SAAS,IAAI,IAAI,CAAC,WAAW,CAAQ,CAAC;QAE3E,IAAI,iBAAiB,GAAkC,gBAAgB,CAAC,iBAAiB,CAAC;QAC1F,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,gBAAgB,CAAC,yBAAyB,EAAE;YACxE,uCAAuC;YACvC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YAC1B,iBAAiB,GAAG,SAAS,CAAC;SACjC;QACD,OAAO;YACH,iBAAiB;YACjB,MAAM;YACN,UAAU,EAAE,oCAAW,CAAC,IAAI;SAC/B,CAAC;IACN,CAAC;CACJ;AAxJD,4DAwJC"}
@@ -1 +1 @@
1
- {"version":3,"file":"adjust_browse_direction.js","sourceRoot":"","sources":["../../../source/helpers/adjust_browse_direction.ts"],"names":[],"mappings":";;;AAKA,SAAgB,qBAAqB,CACnC,eAAmD,EACnD,YAA6B;IAE3B,uBAAuB;IACvB,IAAI,eAAe,KAAK,IAAI,IAAI,eAAe,KAAK,SAAS,EAAE;QAC3D,OAAO,YAAY,CAAC;KACvB;IACD,OAAO,eAAe,CAAC;AAC3B,CAAC;AATD,sDASC"}
1
+ {"version":3,"file":"adjust_browse_direction.js","sourceRoot":"","sources":["../../../source/helpers/adjust_browse_direction.ts"],"names":[],"mappings":";;;AAKA,SAAgB,qBAAqB,CACjC,eAAmD,EACnD,YAA6B;IAE7B,uBAAuB;I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C,CAAC;YAExF,MAAM,eAAe,GAAG,kBAAkB,CAAC,eAAe,IAAI,EAAE,CAAC;YACjE,IAAA,6DAA2B,EAAC,YAAY,EAAE,eAA4B,CAAC;iBAClE,IAAI,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC;iBAC9C,KAAK,CAAC,QAAQ,CAAC,CAAC;QACzB,CAAC,CACJ,CAAC;IACN,CAAC,CAAC;SACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AACvC,CAAC;AA9ED,4CA8EC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check_event_clause.js","sourceRoot":"","sources":["../../../source/helpers/check_event_clause.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,4BAA4B;AAC5B,iEAAkD;AAElD,uGAAgG;AAChG,mEAAiE;AAGjE;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,UAAoB,EACpB,YAAoC;IAElC,EAAE;IACF,MAAM,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;IAE7C,uBAAuB;IACvB,IAAI,YAAY,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE;QACzC,OAAO,oCAAW,CAAC,IAAI,CAAC;KAC3B;IACD,MAAM,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,gBAAgB,CAAE,CAAC;IAEjF,IAAI,CAAC,aAAa,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,KAAK,iCAAS,CAAC,UAAU,CAAC,EAAE;QACvE,+EAA+E;QAC/E,oDAAoD;QACpD,uBAAuB;QACvB,IAAI,aAAa,EAAE;YACf,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,CAAC;SACzC;KACJ;IAED,uBAAuB;IACvB,IAAI,aAAa,CAAC,SAAS,KAAK,iCAAS,CAAC,UAAU,EAAE;QAClD,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;KAC7C;IAED,yEAAyE;IACzE,MAAM,UAAU,GAAG,IAAA,+EAAoC,EAAC,aAAa,EAAE,YAAY,CAAC,UAAU,CAAC,CAAC;IAChG,MAAM,gBAAgB,GAAG,YAAY,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IAC7D,OAAO,gBAAgB,CAAC,UAAU,CAAC;AAEvC,CAAC;AAhCD,8CAgCC;AAED;;;;;GAKG;AACH,SAAgB,kBAAkB,CAChC,aAA2B,EAC3B,aAAuC;IAErC,OAAO,aAAa,CAAC,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC;AAC1E,CAAC;AALD,gDAKC"}
1
+ {"version":3,"file":"check_event_clause.js","sourceRoot":"","sources":["../../../source/helpers/check_event_clause.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,4BAA4B;AAC5B,iEAAkD;AAElD,uGAAgG;AAChG,mEAAiE;AAGjE;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAC,UAAoB,EAAE,YAAoC;IACxF,EAAE;IACF,MAAM,YAAY,GAAG,UAAU,CAAC,YAAY,CAAC;IAE7C,uBAAuB;IACvB,IAAI,YAAY,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE;QACzC,OAAO,oCAAW,CAAC,IAAI,CAAC;KAC3B;IACD,MAAM,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,gBAAgB,CAAE,CAAC;IAEjF,IAAI,CAAC,aAAa,IAAI,CAAC,CAAC,aAAa,CAAC,SAAS,KAAK,iCAAS,CAAC,UAAU,CAAC,EAAE;QACvE,+EAA+E;QAC/E,oDAAoD;QACpD,uBAAuB;QACvB,IAAI,aAAa,EAAE;YACf,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC,CAAC;SACzC;KACJ;IAED,uBAAuB;IACvB,IAAI,aAAa,CAAC,SAAS,KAAK,i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,GAAG,EAAE,KAAK,CAAC,GAAG,MAAM,CAAC;YAC5B,OAAO,IAAI,gCAAa,CAAC;gBACrB,WAAW,EAAE,IAAA,2CAAmB,EAAC,GAAG,CAAC;gBACrC,WAAW,EAAE,IAAA,2CAAmB,EAAC,GAAG,CAAC;gBACrC,KAAK;aACR,CAAC,CAAC;QACP,CAAC,CAAC,CACL,CAAC;KACL;AACL,CAAC;AAvBD,4CAuBC"}
@@ -27,19 +27,6 @@ function newIsUserReadable(context) {
27
27
  }
28
28
  return false;
29
29
  }
30
- function replaceMethod(obj, method, func) {
31
- const oldMethod = obj[method];
32
- if (!oldMethod) {
33
- throw new Error("I cannot find method " + method + " on object " + obj.browseName.toString());
34
- }
35
- obj[method] = function (...args) {
36
- const ret = func.apply(this, args);
37
- if (!ret) {
38
- return false;
39
- }
40
- return oldMethod.apply(this, args);
41
- };
42
- }
43
30
  /**
44
31
  * make sure that the given ia node can only be read
45
32
  * by Administrator user on a encrypted channel
@@ -1 +1 @@
1
- {"version":3,"file":"ensure_secure_access.js","sourceRoot":"","sources":["../../../source/helpers/ensure_secure_access.ts"],"names":[],"mappings":";;;AAAA,iEAAmI;AACnI,uDAAuD;AAEvD,wDAAoD;AAEpD,SAAS,eAAe,CAAC,OAAqB;IAC1C,IAAI,OAAO,CAAC,YAAY,KAAK,sCAAmB,CAAC,cAAc,EAAE;QAC7D,OAAO,IAAI,CAAC;KACf;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAS,iBAAiB,CAAiB,OAAwB;IAC/D,IAAI,OAAO,EAAE;QACT,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;YAClB,mDAAmD;YACnD,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE;YAC1B,mDAAmD;YACnD,OAAO,KAAK,CAAC;SAChB;QACD,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;YAC3C,O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AAC;QACpC,QAAQ,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;KACtD;IACD,IAAI,IAAI,CAAC,SAAS,KAAK,iCAAS,CAAC,MAAM,EAAE;QACrC,MAAM,MAAM,GAAG,IAAgB,CAAC;QAChC,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;KACpD;IACD,IAAI,IAAI,CAAC,SAAS,KAAK,iCAAS,CAAC,MAAM,EAAE;QACrC,MAAM,MAAM,GAAG,IAAgB,CAAC;QAChC,MAAM,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,CAAC;KACpD;IACD,MAAM,QAAQ,GAAG,IAAI,CAAC,wBAAwB,CAAC,YAAY,EAAE,uCAAe,CAAC,OAAO,CAAC,CAAC;IACtF,KAAK,MAAM,KAAK,IAAI,QAAQ,EAAE;QAC1B,oBAAoB,CAAC,KAAK,CAAC,CAAC;KAC/B;AACL,CAAC;AAnBD,oDAmBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resolve_opaque_on_address_space.js","sourceRoot":"","sources":["../../../source/helpers/resolve_opaque_on_address_space.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2GAA2F;AAC3F,2DAA6C;AAE7C,sDAAkD;AAClD,2DAAkE;AAElE,SAAsB,2BAA2B,CAAC,YAA2B,EAAE,QAA+C;;QAC1H,IAAI,CAAC,QAAQ,EAAE;YACX,OAAO;SACV;QACD,MAAM,OAAO,GAAG,IAAI,8BAAa,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,oBAAoB,GAAG,MAAM,IAAA,uCAAuB,EAAC,YAAY,CAAC,CAAC;QACzE,IAAI,QAAQ,YAAY,4BAAO,EAAE;YAC7B,MAAM,IAAA,0EAA6B,EAAC,OAAO,EAAE,QAAQ,EAAE,oBAAoB,CAAC,CAAC;YAC7E,OAAO;SACV;QACD,oDAAoD;QACpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,IAAI,OAAO,EAAE;gBACT,MAAM,IAAA,0EAA6B,EAAC,OAAO,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC;aAC/E;SACJ;IACL,CAAC;CAAA;AAhBD,kEAgBC"}
1
+ {"version":3,"file":"resolve_opaque_on_address_space.js","sourceRoot":"","sources":["../../../source/helpers/resolve_opaque_on_address_space.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2GAA2F;AAC3F,2DAA6C;AAE7C,sDAAkD;AAClD,2DAAkE;AAElE,SAAsB,2BAA2B,CAC7C,YAA2B,EAC3B,QAA+C;;QAE/C,IAAI,CAAC,QAAQ,EAAE;YACX,OAAO;SACV;QACD,MAAM,OAAO,GAAG,IAAI,8BAAa,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,oBAAoB,GAAG,MAAM,IAAA,uCAAuB,EAAC,YAAY,CAAC,CAAC;QACzE,IAAI,QAAQ,YAAY,4BAAO,EAAE;YAC7B,MAAM,IAAA,0EAA6B,EAAC,OAAO,EAAE,QAAQ,EAAE,oBAAoB,CAAC,CAAC;YAC7E,OAAO;SACV;QACD,oDAAoD;QACpD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;YAC5B,IAAI,OAAO,EAAE;gBACT,MAAM,IAAA,0EAA6B,EAAC,OAAO,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC;aAC/E;SACJ;IACL,CAAC;CAAA;AAnBD,kEAmBC"}
@@ -29,10 +29,8 @@ const node_opcua_service_call_1 = require("node-opcua-service-call");
29
29
  const node_opcua_types_1 = require("node-opcua-types");
30
30
  const node_opcua_variant_1 = require("node-opcua-variant");
31
31
  const node_opcua_xml2json_1 = require("node-opcua-xml2json");
32
- const PrettyError = require("pretty-error");
33
32
  const pseudo_session_1 = require("../pseudo_session");
34
33
  const namespace_post_step_1 = require("./namespace_post_step");
35
- const pe = new PrettyError();
36
34
  const doDebug = (0, node_opcua_debug_1.checkDebugFlag)(__filename);
37
35
  const debugLog = (0, node_opcua_debug_1.make_debugLog)(__filename);
38
36
  function ensureDatatypeExtracted(addressSpace) {
@@ -365,8 +363,15 @@ function makeStuff(addressSpace) {
365
363
  this.obj.browseName = convertQualifiedName(attrs.BrowseName);
366
364
  this.obj.eventNotifier = ec.coerceByte(attrs.EventNotifier) || 0;
367
365
  this.obj.symbolicName = attrs.SymbolicName || null;
366
+ this.isDraft = attrs.ReleaseStatus === "Draft";
367
+ this.obj.isDeprecated = attrs.ReleaseStatus === "Deprecated";
368
368
  },
369
369
  finish() {
370
+ if (this.isDraft || this.isDeprecated) {
371
+ // ignore Draft or Deprecated element
372
+ debugLog("Ignoring Draft/Deprecated UAObject =", this.obj.browseName.toString());
373
+ return;
374
+ }
370
375
  _internal_createNode(this.obj);
371
376
  },
372
377
  parser: {
@@ -451,12 +456,13 @@ function makeStuff(addressSpace) {
451
456
  this.obj.description = "";
452
457
  this.obj.symbolicName = attrs.SymbolicName;
453
458
  this.isDraft = attrs.ReleaseStatus === "Draft";
459
+ this.isDeprecated = attrs.ReleaseStatus === "Deprecated";
454
460
  this.definitionFields = [];
455
461
  },
456
462
  finish() {
457
- if (this.isDraft) {
458
- // ignore Draft element
459
- debugLog("Ignoring Draft dataType =", this.obj.browseName.toString());
463
+ if (this.isDraft || this.isDeprecated) {
464
+ // ignore Draft or Deprecated element
465
+ debugLog("Ignoring Draft/Deprecated dataType =", this.obj.browseName.toString());
460
466
  return;
461
467
  }
462
468
  let definitionFields = this.definitionFields;
@@ -1097,8 +1103,14 @@ function makeStuff(addressSpace) {
1097
1103
  this.obj.nodeId = convertToNodeId(attrs.NodeId) || null;
1098
1104
  this.obj.accessLevel = convertAccessLevel(attrs.AccessLevel);
1099
1105
  this.obj.userAccessLevel = this.obj.accessLevel; // convertAccessLevel(attrs.UserAccessLevel || attrs.AccessLevel);
1106
+ this.isDraft = attrs.ReleaseStatus === "Draft";
1107
+ this.isDeprecated = attrs.ReleaseStatus === "Deprecated";
1100
1108
  },
1101
1109
  finish() {
1110
+ if (this.isDraft || this.isDeprecated) {
1111
+ debugLog("Ignoring Draft/Deprecated UAVariable =", this.obj.browseName.toString());
1112
+ return;
1113
+ }
1102
1114
  /*
1103
1115
  // set default value based on obj data Type
1104
1116
  if (this.obj.value === undefined) {
@@ -1169,8 +1181,14 @@ function makeStuff(addressSpace) {
1169
1181
  this.obj.minimumSamplingInterval = attrs.MinimumSamplingInterval ? parseInt(attrs.MinimumSamplingInterval, 10) : 0;
1170
1182
  this.obj.historizing = false;
1171
1183
  this.obj.nodeId = convertToNodeId(attrs.NodeId) || null;
1184
+ this.isDraft = attrs.ReleaseStatus === "Draft";
1185
+ this.isDeprecated = attrs.ReleaseStatus === "Deprecated";
1172
1186
  },
1173
1187
  finish() {
1188
+ if (this.isDraft || this.isDeprecated) {
1189
+ debugLog("Ignoring Draft/Deprecated UAVariableType =", this.obj.browseName.toString());
1190
+ return;
1191
+ }
1174
1192
  try {
1175
1193
  _internal_createNode(this.obj);
1176
1194
  } /* istanbul ignore next */
@@ -1206,8 +1224,14 @@ function makeStuff(addressSpace) {
1206
1224
  this.obj.parentNodeId = attrs.ParentNodeId || null;
1207
1225
  this.obj.nodeId = convertToNodeId(attrs.NodeId) || null;
1208
1226
  this.obj.methodDeclarationId = attrs.MethodDeclarationId ? _translateNodeId(attrs.MethodDeclarationId) : null;
1227
+ this.isDraft = attrs.ReleaseStatus === "Draft";
1228
+ this.isDeprecated = attrs.ReleaseStatus === "Deprecated";
1209
1229
  },
1210
1230
  finish() {
1231
+ if (this.isDraft || this.isDeprecated) {
1232
+ debugLog("Ignoring Draft/Deprecated UAMethod =", this.obj.browseName.toString());
1233
+ return;
1234
+ }
1211
1235
  _internal_createNode(this.obj);
1212
1236
  },
1213
1237
  parser: {
@@ -1351,7 +1375,7 @@ function makeStuff(addressSpace) {
1351
1375
  finalSteps()
1352
1376
  .then(() => callback())
1353
1377
  .catch((err1) => {
1354
- console.log("Error ", pe.render(err1));
1378
+ console.log("Error ", (0, node_opcua_assert_1.renderError)(err1));
1355
1379
  callback(err1);
1356
1380
  });
1357
1381
  }