Skip to content

Commit

Permalink
feat(reorganize): websocket subject creator now exported from `rxjs/w…
Browse files Browse the repository at this point in the history
…ebsocket`

BREAKING CHANGE: `webSocket` creator function now exported from `rxjs/websocket` as `websocket`.
  • Loading branch information
benlesh committed Jan 12, 2018
1 parent e971c93 commit 5ac62c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/websocket/index-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import * as index from '../../src/websocket/index';
import { expect } from 'chai';

describe('index', () => {
it('should export static websocket subject creator functions', () => {
expect(index.websocket).to.exist;
});
});
1 change: 1 addition & 0 deletions src/websocket/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { webSocket as websocket } from '../internal/observable/dom/webSocket';

0 comments on commit 5ac62c0

Please sign in to comment.