- Added missing type for Client onReceipt #78
- Use
client.debug
instead ofconsole.log
for a better control of deprecation warning #75 - Fallback on 1st STOMP protocol provide at
Client
creation when ws does not provide a protocol (too many edge cases, let responsability of wrong compatibility on user hands) #74 #75 - 2nd fallback after warning on 1.2 STOMP protocol #74 #75
- Fix some ts types for default export of webstomp
- Move from webpack to rollup & remove mixed export (named & default) to fix #73
- Fix STOMP CONNECT frame 'accept-version' to match websocket accepted protocol #66
- Fix: possible race condition with client#onopen callback
- Some doc
- Change: Add data object as 2nd parameter for debug #55
- Change: Default option protocol should not be in options object by default #57
- Fix: index.d.ts updates
- Update Frame typings #54
- These parameters have defaults so they are optional (#53)
- Connect returns Frame or CloseEvent on error (#51)
- Fix: Copy headers instead of updating it #43
- Fix: Stop using a counter and create a near unique id to avoid collision when using several Client instance 2aedaaa
- Fix TS definition: #49 Fix strictNullChecks incompatibility
- Fix TS definition: added custom headers to .connect()
- Fix missing TS definitions file in package.json
- Add TS definitions file
- Update all dependencies, especially webpack to 2.2
- Fixes default options value when an options object is already given with missing values
- Add check to see if user has already included heart beat information in headers before adding default values (thanks @NathanGloyn)
- Replace jshint & jscs by eslint (thanks @yeyu456)
- Add dist folder to github so users without npm and ES6 support can fetch the lib
- Add an example using nodejs
- Update the documentation around nodejs and webstomp.over
- Fixes #2: better ES6 default options for Client
- Add an example using sockjs & webstomp.over
Initial fork from stomp.js
webstomp.client
second parameter is now an object containingprotocols
,binary
,heartbeat
. All are optionals.- same for
webstomp.over
client.send
parameters are nowdestination, body, headers
instead ofdestination, headers, body
. Easier to setheaders
optional.onclose
error callback now receive the original event
- stomp 1.2 support
- binary support
- better unicode utf-8 support
- UMD compatible
client.unsubscribe()
can now take a second parameterheader
to be able to send specific header likepersistent: true
- as a consequence
subscription.unsubscribe
can now take aheader
parameter.