Skip to content

Commit

Permalink
fix(WWP-3314): includeUspApi type
Browse files Browse the repository at this point in the history
  • Loading branch information
kamenboev committed Jan 18, 2024
1 parent 99a466c commit c3a2a06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion site/pages/components/consent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ please see Sourcepoint [Unified Script or Web Implementation](https://docs.sourc
<br/>
targetingParams set within the gdpr object will override overall targetingParams
</Prop>
<Prop name="includeUspApi" type="boolean | MSPATransactions">
<Prop name="includeUspApi" type="boolean">
Including this flag as 'true' enables support for the existing (Legacy) USP string, part of CCPA.&nbsp;
MSPS settings could be customized by passing configuration object to the includeGppApi as&nbsp;
<a href="https://docs.sourcepoint.com/hc/en-us/articles/21455316499731-GPP-Multi-State-Privacy-String-MSPS-Transition-readiness-web-and-app-" target="_blank">shown here</a>.
Expand Down
6 changes: 0 additions & 6 deletions src/consent/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,3 @@ export type ConsentProps =
| ConsentPropsTCFV2
| ConsentPropsNonTCFV1
| ConsentPropsUnified;

export interface MSPATransactions {
MspaCoveredTransaction: 'yes' | 'no';
MspaOptOutOptionMode: 'yes' | 'no' | 'na';
MspaServiceProviderMode: 'yes' | 'no' | 'na';
}

0 comments on commit c3a2a06

Please sign in to comment.