node-opcua-client 2.59.0 → 2.60.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.
@@ -91,7 +91,7 @@ export function readHistoryServerCapabilities(
91
91
  const nodeIds = results.map((innerResult: BrowsePathResult) =>
92
92
  innerResult.statusCode === StatusCodes.Good && innerResult.targets
93
93
  ? innerResult.targets[0].targetId
94
- : NodeId.nullNodeId
94
+ : new NodeId()
95
95
  );
96
96
 
97
97
  const nodesToRead: ReadValueIdOptions[] = nodeIds.map((nodeId: NodeId) => ({