File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
IClientReconnectOptions
9
9
} from './client-options'
10
10
import { Store } from './store'
11
- import { Packet , IConnectPacket , IPublishPacket , QoS } from 'mqtt-packet'
11
+ import { Packet , QoS } from 'mqtt-packet'
12
12
13
13
export interface ISubscriptionGrant {
14
14
/**
@@ -66,9 +66,9 @@ export interface ISubscriptionMap {
66
66
}
67
67
}
68
68
69
- export declare type OnConnectCallback = ( packet : IConnectPacket ) => void
69
+ export declare type OnConnectCallback = ( packet : Packet ) => void
70
70
export declare type ClientSubscribeCallback = ( err : Error , granted : ISubscriptionGrant [ ] ) => void
71
- export declare type OnMessageCallback = ( topic : string , payload : Buffer , packet : IPublishPacket ) => void
71
+ export declare type OnMessageCallback = ( topic : string , payload : Buffer , packet : Packet ) => void
72
72
export declare type OnPacketCallback = ( packet : Packet ) => void
73
73
export declare type OnErrorCallback = ( error : Error ) => void
74
74
export declare type PacketCallback = ( error ?: Error , packet ?: Packet ) => any
You can’t perform that action at this time.
0 commit comments