Closed str3tch closed 4 years ago
Just ran into this issue and was able to resolve it using the commits in this PR. Would recommend merging in
We have removed the OPC-UA example code from this repository. We suggest that customers look into using AWS IoT SiteWise as a replacement for ingesting data into AWS.
Issue #, if available: The enums that are used within index.js are actually defined in two external packages (not node-opcua). Without this fix, the code will fail stating MessageSecurityMode & SecurityPolicy are undefined:
Description of changes: The relevant packages have been added to package.json, and index.js has been updated to pull in the enums from those packages.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.