Skip to content

Release 3.0.0

Latest
Compare
Choose a tag to compare
@Addono Addono released this 23 Jul 17:43
· 55 commits to master since this release

3.0.0 (2021-07-23)

Features

  • Rename ClaimrClient to UnveilerClient (7f39b74)
  • Rename package to @unveiler.io/react-native-client (9e92919)

BREAKING CHANGES

This npm package has been renamed from @claimr/react-native-client to @unveiler.io/react-native-client. To upgrade:

  • Uninstall @claimr/react-native-client and add @unveiler.io/react-native-client, e.g.:
# npm
npm remove --save @claimr/react-native-client
npm add --save @unveiler.io/react-native-client
# Yarn
yarn remove @claimr/react-native-client
yarn add @unveiler.io/react-native-client
  • Then update the package name in all of your imports from @claimr/react-native-client to
    @unveiler.io/react-native-client.

  • Then find the place where you instantiate ClaimrClient and instead instantiate UnveilerClient, the interface between the two has stayed the same, so merely renaming is sufficient.

Here's a migration example to illustrate what you need to do:

import { ClaimrClient } from '@claimr/react-native-client'

const client = ClaimrClient({ apiKey })

Becomes:

import { UnveilerClient } from '@unveiler.io/react-native-client'

const client = UnveilerClient({ apiKey })