diff --git a/example/package-lock.json b/example/package-lock.json index 40db44b..f8be6f3 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -9,9 +9,9 @@ "version": "1.0.0", "license": "ISC", "dependencies": { + "aas-multimessagebroker": "file:../lib", "express": "^4.18.2", - "mqtt": "^5.1.4", - "prototyp": "file:../lib" + "mqtt": "^5.1.4" }, "devDependencies": { "@types/express": "^4.17.20", @@ -145,6 +145,10 @@ "@types/node": "*" } }, + "node_modules/aas-multimessagebroker": { + "resolved": "../lib", + "link": true + }, "node_modules/abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -1027,10 +1031,6 @@ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, - "node_modules/prototyp": { - "resolved": "../lib", - "link": true - }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", diff --git a/example/package.json b/example/package.json index e753576..113fb71 100644 --- a/example/package.json +++ b/example/package.json @@ -34,8 +34,8 @@ "typescript": "^5.2.2" }, "dependencies": { + "aas-multimessagebroker": "file:../lib", "express": "^4.18.2", - "mqtt": "^5.1.4", - "prototyp": "file:../lib" + "mqtt": "^5.1.4" } } diff --git a/example/src/index.ts b/example/src/index.ts index 4e3f700..e846c2b 100644 --- a/example/src/index.ts +++ b/example/src/index.ts @@ -1,4 +1,4 @@ -import { MultiMessageBroker, FileImporter } from "prototyp"; +import { MultiMessageBroker, FileImporter } from "aas-multimessagebroker"; import HTTPInterfaceServer from "./modules/httpInterfaceServer"; import MQTTConnector from "./modules/mqttConnector"; diff --git a/example/src/modules/httpInterfaceServer.ts b/example/src/modules/httpInterfaceServer.ts index 101fe2e..3cbf904 100644 --- a/example/src/modules/httpInterfaceServer.ts +++ b/example/src/modules/httpInterfaceServer.ts @@ -1,5 +1,5 @@ import express from "express"; -import { AbstractInterfaceServer, Types, Traverser, AASCoreJsonization, AASCoreTypes } from "prototyp"; +import { AbstractInterfaceServer, Types, Traverser, AASCoreJsonization, AASCoreTypes } from "aas-multimessagebroker"; export type Config = { bindAddress: string, diff --git a/example/src/modules/mqttConnector.ts b/example/src/modules/mqttConnector.ts index 21e733d..9f262f7 100644 --- a/example/src/modules/mqttConnector.ts +++ b/example/src/modules/mqttConnector.ts @@ -1,6 +1,6 @@ import * as mqtt from "mqtt"; -import { AbstractConnectionObject } from "prototyp"; -import type { AASCoreTypes } from "prototyp"; +import { AbstractConnectionObject } from "aas-multimessagebroker"; +import type { AASCoreTypes } from "aas-multimessagebroker"; export default class MQTTConnector extends AbstractConnectionObject { public static readonly connectorName: string = "MQTT Connector";