whale-cmp 0.26.0 → 0.26.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -11,12 +11,14 @@ export interface OpenAgreementUIOptions {
|
|
|
11
11
|
* Called after the user presses Consent or Do not consent and the page closes.
|
|
12
12
|
* Back and exit do not dismiss a page opened with openAgreementUI.
|
|
13
13
|
*/
|
|
14
|
-
agreementCallback?: (result?: { consent: boolean }) => void;
|
|
14
|
+
agreementCallback?: (result?: { consent: boolean; tcString: string }) => void;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export interface ConsentDataReady {
|
|
18
18
|
/** 0 Do not consent, 1 Consent, 2 Management options completed */
|
|
19
19
|
status: 0 | 1 | 2;
|
|
20
|
+
/** Present for Consent and Do not consent. QR flow sets it when the server string is ready. */
|
|
21
|
+
tcString?: string;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export interface WhaleCMPOptions {
|