From 553df3c1699ae90b25b2c17efef4c02a9fd39136 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Dec 2023 10:30:15 +0100 Subject: [PATCH] deps(dev): bump muxrpc from 6.7.3 to 8.0.0 (#79) * deps(dev): bump muxrpc from 6.7.3 to 8.0.0 Bumps [muxrpc](https://github.com/ssbc/muxrpc) from 6.7.3 to 8.0.0. - [Commits](https://github.com/ssbc/muxrpc/compare/v6.7.3...v8.0.0) --- updated-dependencies: - dependency-name: muxrpc dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: fix tests --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain --- package.json | 2 +- test/mux.spec.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ac784ee..8d657e5 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ "it-all": "^3.0.4", "it-filter": "^3.0.4", "it-pipe": "^3.0.1", - "muxrpc": "^6.4.2", + "muxrpc": "^8.0.0", "pull-stream": "^3.6.9" } } diff --git a/test/mux.spec.ts b/test/mux.spec.ts index 7daf583..e2edf89 100644 --- a/test/mux.spec.ts +++ b/test/mux.spec.ts @@ -19,8 +19,8 @@ const client = { describe('duplex', () => { it('should work', (done) => { - const A = mux(client, null)() - const B = mux(null, client)({ + const A = mux(client, null) + const B = mux(null, client, { suchstreamwow: function (someParam: number) { // did the param come through? expect(someParam).to.equal(5) @@ -57,11 +57,11 @@ describe('duplex', () => { } }) - const s = A.createStream() + const s = A.stream pull( s, pull.through(console.log.bind(console, 'IN')), // eslint-disable-line no-console - B.createStream(), + B.stream, pull.through(console.log.bind(console, 'OUT')), // eslint-disable-line no-console s )