node-opcua-nodeid
Advanced tools
Comparing version 2.0.0-alpha.10 to 2.0.0-alpha.11
@@ -88,3 +88,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type NodeIdLike = string | NodeId; | ||
export declare type NodeIdLike = string | NodeId | number; | ||
/** | ||
@@ -121,3 +121,3 @@ * Convert a value into a nodeId: | ||
*/ | ||
export declare function resolveNodeId(nodeIdOrString: NodeId | string): NodeId; | ||
export declare function resolveNodeId(nodeIdOrString: NodeIdLike): NodeId; | ||
export declare function sameNodeId(n1: NodeId, n2: NodeId): boolean; |
@@ -5,3 +5,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "2.0.0-alpha.10", | ||
"version": "2.0.0-alpha.11", | ||
"description": "pure nodejs OPCUA SDK - module -nodeid", | ||
@@ -40,3 +40,3 @@ "scripts": { | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "a4fd47cebc405a37470fa015e98148ec212a8c29" | ||
"gitHead": "bf7ea24732637e662af9b5b63941388e89fd3427" | ||
} |
@@ -188,3 +188,3 @@ /** | ||
export type NodeIdLike = string | NodeId; | ||
export type NodeIdLike = string | NodeId | number; | ||
@@ -371,3 +371,3 @@ const regexNamespaceI = /ns=([0-9]+);i=([0-9]+)/; | ||
*/ | ||
export function resolveNodeId(nodeIdOrString: NodeId | string): NodeId { | ||
export function resolveNodeId(nodeIdOrString: NodeIdLike): NodeId { | ||
@@ -374,0 +374,0 @@ let nodeId; |
Sorry, the diff of this file is not supported yet
52671