Skip to content

Commit

Permalink
fix type declarations, prepare 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Sep 18, 2019
1 parent 1ba3dc1 commit 7126410
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.2.3
=====

* Fix type declarations for `onPrivateSubscribe` callback. See [#94](https://github.com/centrifugal/centrifuge-js/issues/94) for details.

2.2.2
=====

Expand Down
4 changes: 4 additions & 0 deletions dist/centrifuge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ declare namespace Centrifuge {

export interface SubscribePrivateResponse {
status: number;
data: SubscribePrivateResponseData;
}

export interface SubscribePrivateResponseData {
channels: PrivateChannelData[];
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "centrifuge",
"version": "2.2.2",
"version": "2.2.3",
"description": "Centrifuge and Centrifugo client for NodeJS and browser",
"main": "dist/centrifuge.js",
"types": "dist/centrifuge.d.ts",
Expand Down

0 comments on commit 7126410

Please sign in to comment.