Skip to content

Commit

Permalink
fix(types): wrong incomingStore and outgoingStore
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Jul 31, 2023
1 parent 2df4b1c commit 8133eba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import reInterval from 'reinterval'
import clone from 'rfdc/default'
import * as validations from './validations'
import _debug from 'debug'
import Store from './store'
import Store, { IStore } from './store'
import handlePacket from './handlers'
import { ClientOptions } from 'ws'
import { ClientRequestArgs } from 'http'
Expand Down Expand Up @@ -171,11 +171,11 @@ export interface IClientOptions extends ISecureClientOptions {
/**
* a Store for the incoming packets
*/
incomingStore?: Store
incomingStore?: IStore
/**
* a Store for the outgoing packets
*/
outgoingStore?: Store
outgoingStore?: IStore

/** Enable/Disable queue for QoS 0 packets */
queueQoSZero?: boolean
Expand Down Expand Up @@ -405,9 +405,9 @@ export default class MqttClient extends TypedEventEmitter<MqttClientEventCallbac

public reconnecting: boolean

public incomingStore: Store
public incomingStore: IStore

public outgoingStore: Store
public outgoingStore: IStore

public options: IClientOptions

Expand Down

0 comments on commit 8133eba

Please sign in to comment.