node-opcua-address-space
Advanced tools
Comparing version 2.0.0-alpha.30 to 2.0.0-alpha.32
import { AddressSpace } from "../source"; | ||
export declare const mini_nodeset_filename: string; | ||
export declare const empty_nodeset_filename: string; | ||
export declare const mini_nodeset = "mini.Node.Set2.xml"; | ||
export declare const empty_nodeset = "fixture_empty_nodeset2.xml"; | ||
export declare const get_mini_nodeset_filename: () => string; | ||
export declare const get_empty_nodeset_filename: () => string; | ||
export declare function getMiniAddressSpace(callback: (err: Error | null, addressSpace?: AddressSpace) => void): void; | ||
export declare function getMiniAddressSpace(): Promise<AddressSpace>; |
@@ -9,4 +9,6 @@ "use strict"; | ||
const get_address_space_fixture_1 = require("./get_address_space_fixture"); | ||
exports.mini_nodeset_filename = get_address_space_fixture_1.getAddressSpaceFixture("mini.Node.Set2.xml"); | ||
exports.empty_nodeset_filename = get_address_space_fixture_1.getAddressSpaceFixture("fixture_empty_nodeset2.xml"); | ||
exports.mini_nodeset = "mini.Node.Set2.xml"; | ||
exports.empty_nodeset = "fixture_empty_nodeset2.xml"; | ||
exports.get_mini_nodeset_filename = () => get_address_space_fixture_1.getAddressSpaceFixture(exports.mini_nodeset); | ||
exports.get_empty_nodeset_filename = () => get_address_space_fixture_1.getAddressSpaceFixture(exports.empty_nodeset); | ||
// tslint:disable:no-var-requires | ||
@@ -21,3 +23,3 @@ // tslint:disable:max-line-length | ||
node_opcua_assert_1.assert(serverNamespace.index === 1); | ||
source_1.generateAddressSpace(addressSpace, exports.mini_nodeset_filename, (err) => { | ||
source_1.generateAddressSpace(addressSpace, exports.get_mini_nodeset_filename(), (err) => { | ||
// istanbul ignore next | ||
@@ -24,0 +26,0 @@ if (err) { |
{ | ||
"name": "node-opcua-address-space", | ||
"version": "2.0.0-alpha.30", | ||
"version": "2.0.0-alpha.32", | ||
"description": "pure nodejs OPCUA SDK - module -address-space", | ||
@@ -86,3 +86,3 @@ "main": "./dist/src/index_current.js", | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "c8ea350839baa0816330e39cd94e769742c7eaf4" | ||
"gitHead": "47ce0e3650d9ed1b874d68c387d4c58f92bebaed" | ||
} |
@@ -10,5 +10,8 @@ /** | ||
export const mini_nodeset_filename = getAddressSpaceFixture("mini.Node.Set2.xml"); | ||
export const empty_nodeset_filename = getAddressSpaceFixture("fixture_empty_nodeset2.xml"); | ||
export const mini_nodeset = "mini.Node.Set2.xml"; | ||
export const empty_nodeset = "fixture_empty_nodeset2.xml"; | ||
export const get_mini_nodeset_filename = () => getAddressSpaceFixture(mini_nodeset); | ||
export const get_empty_nodeset_filename = () => getAddressSpaceFixture(empty_nodeset); | ||
// tslint:disable:no-var-requires | ||
@@ -30,3 +33,3 @@ // tslint:disable:max-line-length | ||
generateAddressSpace(addressSpace, mini_nodeset_filename, (err?: Error) => { | ||
generateAddressSpace(addressSpace, get_mini_nodeset_filename(), (err?: Error) => { | ||
// istanbul ignore next | ||
@@ -33,0 +36,0 @@ if (err) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2836414
45342