Skip to content

Releases: unravelin/ravelinjs

v1.0.0 - RC0

22 Oct 14:41
Compare
Choose a tag to compare
v1.0.0 - RC0 Pre-release
Pre-release

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

26 Jun 10:53
b7c15be
Compare
Choose a tag to compare

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

29 May 13:29
176183f
Compare
Choose a tag to compare

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

23 Apr 13:25
09f1957
Compare
Choose a tag to compare

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

0.0.11

14 Nov 16:49
4c25f40
Compare
Choose a tag to compare
  • Change ravelinjsVersion property from encryption payload to ravelinSDKVersion
  • Suffix -ravelinjs to version when setting ravelinSDKVersion

0.0.10

13 Nov 11:19
3a44978
Compare
Choose a tag to compare
  • Add support for keyIndex property during encryption to allow RSA key rotations.

0.0.9

15 Aug 13:17
1a16b60
Compare
Choose a tag to compare

Changelog:

  • Include methodType:'paymentMethodCipher' inside payload
  • Provide additional encryptAsObject function to return payload as an object

0.0.8

07 Aug 15:03
753e0b5
Compare
Choose a tag to compare

Changelog:

  • Safety guard against calling crypto.random when not defined

0.0.7

25 Jul 10:15
2ee6b12
Compare
Choose a tag to compare

Changelog:

  • Added optional arguments (customerId, callback) to trackFingerprint.

0.0.6

18 Jul 08:44
cb7fd8d
Compare
Choose a tag to compare

Changelog:

Add support for setCookieDomain, setCustomerId, setTempCustomerId, setOrderId and trackLogout.
Add support for providing meta data objects to 'track' functions.