- Revert 4.1.0, use postRaw instead
- Allow non-JSON return if 'Accept' request header is not 'application/json'
- On each fetch, the postMessage call will pass an object instead of a string (prevents PT_COMMON error)
- Added functionality to override the
<base>
url of the page with the bootstrap fieldwindow.highpoint.dataURI
- postJSON now accepts also an object as the body
- Retrieve
baseURI
before each request so if<base href>
changes, the change will take effect.
- Export ES modules instead of CommonJS
- Throw exception when device is offline
- Throw exception on authorization errors
- Add function to post raw, non-JSON content.
- Only parse JSON if response declares it to be JSON. Otherwise return body as text.
- Support IScript functions other than
IScript_Main
- Fix CSRF cookie name
- Automatically add
postDataBin=y
to JSON requests (if it's not already there)
- Initial release