Releases: unravelin/ravelinjs
v1.0.0 - RC0
This is a work-in-progress release of #34. Docs updates are coming next - so the README is not up-to-date.
For simple device IDs and page tracking the highlights are:
<script src="ravelin-core+track+promise.min.js"></script>
<script>var r = new Ravelin({key: "publishable_key_..."});</script>
after which you can then read the deviceId from the ravelinDeviceId
cookie (asynchronously written) or r.core.id()
which returns a Promise. Be sure to send the device: {deviceId: ...}
with the order in the back-end request.
0.1.0: Lightweight fallbacks
This update provides a fallback mechanism should there be issues with loading the ravelin-hosted JavaScript used for device and page tracking. It is now recommended that you host a local copy of https://cdn.ravelin.net/js/rvn-0.1.18-lite.min.js and pass its path to setFallbackJS before calling setPublicAPIKey. For information on using this update, please see #32.
The setFallbackJS functionality will be redundant, and hence removed in the upcoming 1.0.0.
Also available on npm: https://www.npmjs.com/package/ravelinjs/v/0.1.0
0.0.13: Support 12-Digit PANs
The user-facing change in this update is supporting 12-digit PANs for Maestro (#27), but also comes with some stability tweaks to the test suite that we run fairly frequently (#26).
Also available on npm: https://www.npmjs.com/package/ravelinjs/v/0.0.13
Licensed under Apache 2.0
No real code changes - just a version and license bump. We've settled on Apache 2.0, and we've now published the library to npm: https://www.npmjs.com/ravelinjs