From c1d0acd280d5d773b6a57f27639f03f3b80302ad Mon Sep 17 00:00:00 2001 From: Andrew Chou Date: Mon, 28 Aug 2023 17:15:23 -0400 Subject: [PATCH] fix lint errors --- src/member-api.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/member-api.js b/src/member-api.js index 8078edb14..570048bc4 100644 --- a/src/member-api.js +++ b/src/member-api.js @@ -1,5 +1,4 @@ import { TypedEmitter } from 'tiny-typed-emitter' -import { MapeoRPC } from './rpc/index.js' export class MemberApi extends TypedEmitter { #encryptionKeys @@ -12,7 +11,7 @@ export class MemberApi extends TypedEmitter { * @param {import('./generated/keys.js').EncryptionKeys} opts.encryptionKeys * @param {() => Promise} opts.getProjectInfo * @param {Buffer} opts.projectKey - * @param {MapeoRPC} opts.rpc + * @param {import('./rpc/index.js').MapeoRPC} opts.rpc */ constructor({ encryptionKeys, getProjectInfo, projectKey, rpc }) { super() @@ -31,7 +30,7 @@ export class MemberApi extends TypedEmitter { * * @returns {Promise} */ - async invite(deviceId, { role, timeout }) { + async invite(deviceId, { timeout }) { const projectInfo = await this.#getProjectInfo() return this.#rpc.invite(deviceId, {