Compare commits

...

2 Commits

3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1,6 +1,6 @@
import EventEmitter from "events"; import EventEmitter from "events";
// @ts-ignore // @ts-ignore
import Protomux from "protomux"; import Protomux from "@lumeweb/kernel-protomux-client";
// @ts-ignore // @ts-ignore
import c from "compact-encoding"; import c from "compact-encoding";
// @ts-ignore // @ts-ignore

View File

@ -4,6 +4,7 @@
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"dependencies": { "dependencies": {
"@lumeweb/kernel-protomux-client": "git+https://git.lumeweb.com/LumeWeb/kernel-protomux-client.git",
"bits-to-bytes": "^1.3.0", "bits-to-bytes": "^1.3.0",
"compact-encoding": "^2.11.0", "compact-encoding": "^2.11.0",
"compact-encoding-bitfield": "^1.0.0", "compact-encoding-bitfield": "^1.0.0",

View File

@ -1,13 +1,12 @@
import EventEmitter from "events"; import EventEmitter from "events";
// @ts-ignore // @ts-ignore
import Protomux from "protomux"; import Protomux from "@lumeweb/kernel-protomux-client";
// @ts-ignore // @ts-ignore
import c from "compact-encoding"; import c from "compact-encoding";
// @ts-ignore // @ts-ignore
import bitfield from "compact-encoding-bitfield"; import bitfield from "compact-encoding-bitfield";
// @ts-ignore // @ts-ignore
import bits from "bits-to-bytes"; import bits from "bits-to-bytes";
import * as buffer from "buffer";
export default class ProtomuxRPC extends EventEmitter { export default class ProtomuxRPC extends EventEmitter {
private _id: number; private _id: number;