- Fix issue where sessions would only poll once.
- Add ability to connect to an existing handle.
- Bad HTTP status codes are now correctly handled before converting result to JSON.
- Add ability to connect to an existing session.
- Remove files that should not have been published.
- Rewrote tests in Jasmine and vastly expanded coverage.
- Add
startparameter to new sessions to determine whether they start polling on creation. Session.prototype.poll()is now public and starts polling if theSessionwas created stopped.- Janus errors now emit
errorevents toSession. - All media events now include the entire Janus payload.
- Added additional error-handling.
- Make
Session.prototype.ida public, read-only property.
- Turns out React Native doesn't like us trying to set up isomorphic-fetch, so now this is the user's responsibility.
- Correctly set up
fetchglobal by importingisomorphic-fetchfor side-effects.
- postinstall script no longer expects typings to be installed.
- Track destroying/destroyed status of sessions and guard against double destroying.
- Don't allow attaching handles to destroying/destroyed sessions.
- Remove runtime typechecking as it interferes with statics properties.
- Add additional typechecks.
- Rewrite in TypeScript.
- Remove need to set
Session.fetch.
- Prefer
window.fetchtofetch.
- If
window.fetchis defined, setSession.fetchto its correctly-bound value.
- Clean up how sessions are destroyed.
- Eliminate double-emit of "destroyed" event.
- Add lodash dependency.
- Set appropriate
AcceptandContent-Typeheaders.
- Somehow the
lib/directory was excluded by Concourse. Fix.
- Add beginnings of a test suite.
- Ignore .babelrc in published package.
- Add various sanity checks for constructor.
- Initial release.