Releases: zendesk/cross-storage
Releases · zendesk/cross-storage
1.0.0
0.8.2
- Prevent memory leaks when calling _request()
- Prevent JSON parse error on _get
0.8.1
0.8.0
- Increase default timeout to 5000ms
- Client message listener ignores non-string data
0.7.0
- Added support for AMD and CommonJS
- Now works with browserify, ex:
var CrossStorageClient = require('cross-storage').CrossStorageClient;
var CrossStorageHub = require('cross-storage').CrossStorageHub;
0.6.1
- Fixed support for relative protocols in IE.
// Before
CrossStorageClient._getOrigin('//example/hub.html')
// => "://example"
// After
CrossStorageClient._getOrigin('//example/hub.html')
// "https://example"
0.6.0
- Client and hub now post messages namespaced/prefixed with "cross-storage:". This is a breaking change in that this new version of client/hub cannot communicate with older versions.
0.5.1
- Use window.location's origin if passed a relative path
0.5.0
- Added clear()
- No longer append version number to distributed JS file names
0.4.1
- Client now ignores invalid JSON messages