# Migration v14

Contains 1 breaking change of the SDK interface.

## Changes

- [change to offer name mapping ](#change-to-offer-name-mapping)

### change to offer name mapping

To support the different names for different states of a subscription, the offer name overrides map (accessible through the `offerDisplayNameOverrides` property of the configuration) has changed format from a straight mapping to a name to an object with `trialName` and `name` properties.

```diff
const offerIds = {
-	sampleOfferId: 'Trial'
+	sampleOfferId: {
+		trialName: 'Trial',
+		name: 'Premium Digital'
+	}
}

const offerNames = config.get('offerDisplayNameOverrides');
-	const friendlyName = offerNames['sampleOfferId'];
+	const { trialName, name } = offerNames['sampleOfferId'];

```

However, even though this functionality has been left exposed, the recommended way to resolve offer names is through the newly created [OfferNameResolver](../services/OFFER-NAMES.md).
