Skip to content

Releases: paralleldrive/cuid

Fix imports

05 Jan 02:41
Compare
Choose a tag to compare

v2.0.0 relied on some files that were not published to npm. This patch release fixes that.

Modular build (broken release)

05 Jan 02:44
Compare
Choose a tag to compare

The new version uses a browserify bundle and lets the build system determine which versions of fingerprint to use based on the build target.

  "browser": {
    "./lib/fingerprint.js": "./lib/fingerprint.browser.js"
  },
  "react-native": {
    "./lib/fingerprint.js": "./lib/fingerprint.react-native.js"
  },

The API has not changed at all, but the new build mechanism may cause build systems to behave differently. Please report any issues you encounter with your build.