diff --git a/packages/messaging/README.md b/packages/messaging/README.md index 58fca58d..4e0bc744 100644 --- a/packages/messaging/README.md +++ b/packages/messaging/README.md @@ -501,7 +501,7 @@ function otherWorkflowFinished() { ### trackContentCardDisplay -Deprecated: Use `PropositionItem.track(...)` instead. This API will be removed in a future release. +Deprecated in 7.2.0: Use `Proposition.track(...)` instead. This API will be removed in a future release. Tracks a Display interaction with the given ContentCard @@ -512,7 +512,7 @@ Messaging.trackContentCardDisplay(proposition, contentCard); ### trackContentCardInteraction -Deprecated: Use `PropositionItem.track(...)` instead. This API will be removed in a future release. +Deprecated in 7.2.0: Use `Proposition.track(...)` instead. This API will be removed in a future release. Tracks a Click interaction with the given ContentCard diff --git a/packages/messaging/src/Messaging.ts b/packages/messaging/src/Messaging.ts index 6e0f2b14..cc9e803b 100644 --- a/packages/messaging/src/Messaging.ts +++ b/packages/messaging/src/Messaging.ts @@ -94,14 +94,14 @@ class Messaging { return await RCTAEPMessaging.getPropositionsForSurfaces(surfaces); } /** - * @deprecated Use PropositionItem.track(...) instead. Will be removed in vX.Y.Z. + * @deprecated Use PropositionItem.track(...) instead. */ static trackContentCardDisplay(proposition: MessagingProposition, contentCard: ContentCard): void { RCTAEPMessaging.trackContentCardDisplay(proposition, contentCard); } /** - * @deprecated Use PropositionItem.track(...) instead. Will be removed in vX.Y.Z. + * @deprecated Use PropositionItem.track(...) instead. */ static trackContentCardInteraction(proposition: MessagingProposition, contentCard: ContentCard): void { RCTAEPMessaging.trackContentCardInteraction(proposition, contentCard);