Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/messaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packages/messaging/src/Messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down