From 2e98dd16d1ef6ca9596ec119457e2c0e7e3d605b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 8 Apr 2023 21:35:27 -0400 Subject: [PATCH] * Update project dependencies to use the `@lumeweb/kernel-protomux-client` package instead of `protomux` and add it as a git dependency in package.json. --- package.json | 1 + src/index.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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;