diff --git a/package.json b/package.json index 21e17f1..f7a7f4d 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "type": "module", "main": "dist/index.js", "dependencies": { + "@lumeweb/kernel-protomux-client": "git+https://git.lumeweb.com/LumeWeb/kernel-protomux-client.git", "bits-to-bytes": "^1.3.0", "compact-encoding": "^2.11.0", "compact-encoding-bitfield": "^1.0.0", diff --git a/src/index.ts b/src/index.ts index 058cb71..b75db81 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,13 +1,12 @@ import EventEmitter from "events"; // @ts-ignore -import Protomux from "protomux"; +import Protomux from "@lumeweb/kernel-protomux-client"; // @ts-ignore import c from "compact-encoding"; // @ts-ignore import bitfield from "compact-encoding-bitfield"; // @ts-ignore import bits from "bits-to-bytes"; -import * as buffer from "buffer"; export default class ProtomuxRPC extends EventEmitter { private _id: number;