Skip to content

Commit

Permalink
Typescript updates: add subscription identifier to Subscribe packet a…
Browse files Browse the repository at this point in the history
…nd add array variant for subscription identifier to Publish packet (#132)
  • Loading branch information
bretambrose authored Jul 18, 2022
1 parent 7f7c2ed commit a4bf4a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export interface IPublishPacket extends IPacket {
responseTopic?: string,
correlationData?: Buffer,
userProperties?: UserProperties,
subscriptionIdentifier?: number,
subscriptionIdentifier?: number | [number],
contentType?: string
}
}
Expand Down Expand Up @@ -133,6 +133,7 @@ export interface ISubscribePacket extends IPacket {
subscriptions: ISubscription[],
properties?: {
reasonString?: string,
subscriptionIdentifier?: number,
userProperties?: UserProperties
}
}
Expand Down

0 comments on commit a4bf4a8

Please sign in to comment.