- Change token & device registration URLs to use load balancer (#39)
- Add tracking headers for usage reporting
- Fixed a bug where a session created with
clientId
and arefreshToken
would not properly reauthenticate with AGO if a session expired. - add test config
- add
authentication:restored
event
- Fix bug where http errors without JSON responses would not be handled
- Fix bug where http errors would not be handled
- First public release
- Small bugfixes
- Bump verion to prep for beta release of the Geotrigger Service
- Fix incorrect reference to deviceId
- Add proxy support
- Add
queue
method - Fix broken CORS check in IE 10
- Minor bugfixes.
- Remove deferreds. All
request
now only accepts callbacks. - Remove context param from
request
to allow for other promise libaries ot promisifyrequest
- Removes
session.get(method, options)
andsession.post(method, options)
methods. Usesession.request(method, options)
instead. - All requests now use POST to talk to the API.
token
is set in request bodies (was sending authorization header previously)- Stop trying to refresh token after 3 failed attempts.
- Less confusing invocation of callback if provided.
- Should work in IE8 and IE9 but will not refresh tokens or register devices with ArcGIS
- You can no longer set
accessToken
when creating a session. Usetoken
instead. - Passing
session
when creating a session no longer works. Instead anything you set on the options object passed intonew Geotrigger.Session(options)
will be merged into the session. This means that goingsession.toJSON()
will give you the proper options object to restore a session.
Initial Release