node-opcua-utils 2.139.0 → 2.153.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.
@@ -2,3 +2,4 @@
2
2
  * @module node-opcua-utils
3
3
  */
4
4
  export declare let get_clock_tick: () => number;
5
+ import "./hrtime";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.get_clock_tick = void 0;
4
+ require("./hrtime");
4
5
  if (typeof process === "object" && process.hrtime) {
5
6
  const tickOrigin = process.hrtime();
6
7
  // clock it as a double in millisecond
@@ -1 +1 @@
1
- {"version":3,"file":"get_clock_tick.js","sourceRoot":"","sources":["../source/get_clock_tick.ts"],"names":[],"mappings":";;;AAMA,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAChD,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IACpC,sCAAsC;IACtC,6CAA6C;IAC7C,sBAAc,GAAG,GAAG,EAAE;QAClB,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACvC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;QACtE,OAAO,CAAC,CAAC;IACb,CAAC,CAAC;AACN,CAAC;KAAM,CAAC;IACJ,sBAAc,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;AACtC,CAAC"}
1
+ {"version":3,"file":"get_clock_tick.js","sourceRoot":"","sources":["../source/get_clock_tick.ts"],"names":[],"mappings":";;;AAIA,oBAAkB;AAElB,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;IAChD,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IACpC,sCAAsC;IACtC,6CAA6C;IAC7C,sBAAc,GAAG,GAAG,EAAE;QAClB,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACvC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;QACtE,OAAO,CAAC,CAAC;IACb,CAAC,CAAC;AACN,CAAC;KAAM,CAAC;IACJ,sBAAc,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;AACtC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-utils",
3
- "version": "2.139.0",
3
+ "version": "2.153.0",
4
4
  "description": "pure nodejs OPCUA SDK - module utils",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "internet of things"
31
31
  ],
32
32
  "homepage": "http://node-opcua.github.io/",
33
- "gitHead": "b7a01d31c7602d323e60a5f4a54428199a266f29",
33
+ "gitHead": "2193ed025bc9aaded76338c1c76cbc0524b3a37f",
34
34
  "files": [
35
35
  "dist",
36
36
  "source"
@@ -2,7 +2,7 @@
2
2
  * @module node-opcua-utils
3
3
  */
4
4
  export let get_clock_tick: () => number;
5
- import { hrtime } from "./hrtime";
5
+ import "./hrtime";
6
6
 
7
7
  if (typeof process === "object" && process.hrtime) {
8
8
  const tickOrigin = process.hrtime();