@transcend-io/airgap.js-types 10.9.6 → 10.10.0
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/.yarn/sdks/eslint/package.json +10 -2
- package/.yarn/sdks/prettier/package.json +4 -3
- package/.yarn/sdks/typescript/package.json +6 -2
- package/build/core.d.ts +44 -44
- package/build/core.d.ts.map +1 -1
- package/build/core.js +5 -1
- package/build/core.js.map +1 -1
- package/build/enums/browserLanguage.d.ts +1 -1
- package/build/enums/browserLanguage.d.ts.map +1 -1
- package/build/enums/consentExpiry.d.ts +1 -1
- package/build/enums/consentExpiry.d.ts.map +1 -1
- package/build/enums/experience.d.ts +1 -1
- package/build/enums/experience.d.ts.map +1 -1
- package/build/enums/index.js +5 -1
- package/build/enums/index.js.map +1 -1
- package/build/enums/privacyRegime.js +1 -1
- package/build/enums/privacyRegime.js.map +1 -1
- package/build/enums/purpose.d.ts +4 -4
- package/build/enums/purpose.d.ts.map +1 -1
- package/build/enums/viewState.d.ts +6 -6
- package/build/enums/viewState.d.ts.map +1 -1
- package/build/experience.d.ts +0 -1
- package/build/experience.d.ts.map +1 -1
- package/build/experience.js +0 -1
- package/build/experience.js.map +1 -1
- package/build/iab.d.ts +12 -12
- package/build/iab.d.ts.map +1 -1
- package/build/iab.js +6 -2
- package/build/iab.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/tsbuildinfo +1 -1
- package/build/ui.d.ts +18 -22
- package/build/ui.d.ts.map +1 -1
- package/build/ui.js +5 -3
- package/build/ui.js.map +1 -1
- package/build-esm/core.d.ts +44 -44
- package/build-esm/core.d.ts.map +1 -1
- package/build-esm/enums/browserLanguage.d.ts +1 -1
- package/build-esm/enums/browserLanguage.d.ts.map +1 -1
- package/build-esm/enums/consentExpiry.d.ts +1 -1
- package/build-esm/enums/consentExpiry.d.ts.map +1 -1
- package/build-esm/enums/experience.d.ts +1 -1
- package/build-esm/enums/experience.d.ts.map +1 -1
- package/build-esm/enums/purpose.d.ts +4 -4
- package/build-esm/enums/purpose.d.ts.map +1 -1
- package/build-esm/enums/viewState.d.ts +6 -6
- package/build-esm/enums/viewState.d.ts.map +1 -1
- package/build-esm/experience.d.ts +0 -1
- package/build-esm/experience.d.ts.map +1 -1
- package/build-esm/experience.js +0 -1
- package/build-esm/experience.js.map +1 -1
- package/build-esm/iab.d.ts +12 -12
- package/build-esm/iab.d.ts.map +1 -1
- package/build-esm/iab.js +1 -1
- package/build-esm/iab.js.map +1 -1
- package/build-esm/ui.d.ts +18 -22
- package/build-esm/ui.d.ts.map +1 -1
- package/build-esm/ui.js +0 -2
- package/build-esm/ui.js.map +1 -1
- package/package.json +22 -22
package/build/ui.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ConsentManagerLanguageKey } from '@transcend-io/internationalization';
|
|
|
3
3
|
import { ViewState } from './enums';
|
|
4
4
|
import { AirgapAuth } from './core';
|
|
5
5
|
/** Transcend Smart Quarantine API (window.transcend) */
|
|
6
|
-
export
|
|
6
|
+
export type PreInitTranscendAPI = {
|
|
7
7
|
/** Ready event subscriber */
|
|
8
8
|
ready(callback: (transcend: TranscendAPI) => void): void;
|
|
9
9
|
/** Ready event dispatch queue */
|
|
@@ -17,7 +17,7 @@ export interface ShowConsentManagerOptions {
|
|
|
17
17
|
/**
|
|
18
18
|
* Transcend Consent Manager external methods
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ConsentManagerAPI = Readonly<{
|
|
21
21
|
/** Possible ViewState values */
|
|
22
22
|
viewStates: Set<ViewState>;
|
|
23
23
|
/** Expose an option to grab the current view state */
|
|
@@ -46,16 +46,16 @@ export declare type ConsentManagerAPI = Readonly<{
|
|
|
46
46
|
/**
|
|
47
47
|
* `transcend` event types
|
|
48
48
|
*/
|
|
49
|
-
export
|
|
49
|
+
export type TranscendEventType = 'view-state-change';
|
|
50
50
|
/** 'view-state-change' custom event details */
|
|
51
|
-
export
|
|
51
|
+
export type ViewStateEventDetails = {
|
|
52
52
|
/** The new, now-current view state */
|
|
53
53
|
viewState: ViewState;
|
|
54
54
|
/** The previous view state */
|
|
55
55
|
previousViewState: ViewState | null;
|
|
56
56
|
};
|
|
57
57
|
/** Transcend Smart Quarantine API (window.transcend) */
|
|
58
|
-
export
|
|
58
|
+
export type TranscendAPI = PreInitTranscendAPI & ConsentManagerAPI;
|
|
59
59
|
/**
|
|
60
60
|
* Customer theming
|
|
61
61
|
*/
|
|
@@ -66,7 +66,7 @@ export declare const ConsentManagerTheme: t.TypeC<{
|
|
|
66
66
|
fontColor: t.StringC;
|
|
67
67
|
}>;
|
|
68
68
|
/** Type override */
|
|
69
|
-
export
|
|
69
|
+
export type ConsentManagerTheme = t.TypeOf<typeof ConsentManagerTheme>;
|
|
70
70
|
/**
|
|
71
71
|
* Mobile-first responsive breakpoints
|
|
72
72
|
* No media query for mobile, which is the default
|
|
@@ -78,10 +78,9 @@ export declare const ConsentManagerBreakpoints: t.TypeC<{
|
|
|
78
78
|
desktop: t.StringC;
|
|
79
79
|
}>;
|
|
80
80
|
/** Type override */
|
|
81
|
-
export
|
|
81
|
+
export type ConsentManagerBreakpoints = t.TypeOf<typeof ConsentManagerBreakpoints>;
|
|
82
82
|
/**
|
|
83
83
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
84
|
-
*
|
|
85
84
|
* @deprecated
|
|
86
85
|
*/
|
|
87
86
|
export declare const PrivacyRegimeToInitialViewStateInput: t.PartialC<{
|
|
@@ -232,13 +231,11 @@ export declare const PrivacyRegimeToInitialViewStateInput: t.PartialC<{
|
|
|
232
231
|
}>;
|
|
233
232
|
/**
|
|
234
233
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
235
|
-
*
|
|
236
234
|
* @deprecated
|
|
237
235
|
*/
|
|
238
|
-
export
|
|
236
|
+
export type PrivacyRegimeToInitialViewStateInput = t.TypeOf<typeof PrivacyRegimeToInitialViewStateInput>;
|
|
239
237
|
/**
|
|
240
238
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
241
|
-
*
|
|
242
239
|
* @deprecated
|
|
243
240
|
*/
|
|
244
241
|
export declare const PrivacyRegimeToInitialViewState: t.RecordC<t.KeyofC<{
|
|
@@ -270,10 +267,9 @@ export declare const PrivacyRegimeToInitialViewState: t.RecordC<t.KeyofC<{
|
|
|
270
267
|
}>>;
|
|
271
268
|
/**
|
|
272
269
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
273
|
-
*
|
|
274
270
|
* @deprecated
|
|
275
271
|
*/
|
|
276
|
-
export
|
|
272
|
+
export type PrivacyRegimeToInitialViewState = t.TypeOf<typeof PrivacyRegimeToInitialViewState>;
|
|
277
273
|
export declare const ExperienceToInitialViewState: t.RecordC<t.StringC, t.KeyofC<{
|
|
278
274
|
TCF_EU: unknown;
|
|
279
275
|
QuickOptions: unknown;
|
|
@@ -294,7 +290,7 @@ export declare const ExperienceToInitialViewState: t.RecordC<t.StringC, t.KeyofC
|
|
|
294
290
|
Hidden: unknown;
|
|
295
291
|
}>>;
|
|
296
292
|
/** type overload */
|
|
297
|
-
export
|
|
293
|
+
export type ExperienceToInitialViewState = t.TypeOf<typeof ExperienceToInitialViewState>;
|
|
298
294
|
export declare const RequiredConsentManagerConfig: t.TypeC<{
|
|
299
295
|
/** Customer theming */
|
|
300
296
|
theme: t.TypeC<{
|
|
@@ -345,7 +341,7 @@ export declare const RequiredConsentManagerConfig: t.TypeC<{
|
|
|
345
341
|
}>;
|
|
346
342
|
}>;
|
|
347
343
|
/** type overload */
|
|
348
|
-
export
|
|
344
|
+
export type RequiredConsentManagerConfig = t.TypeOf<typeof RequiredConsentManagerConfig>;
|
|
349
345
|
export declare const OptionalConsentManagerConfig: t.PartialC<{
|
|
350
346
|
/** The set of enabled languages - CSV of ConsentManagerLanguageKey */
|
|
351
347
|
languages: t.StringC;
|
|
@@ -353,7 +349,7 @@ export declare const OptionalConsentManagerConfig: t.PartialC<{
|
|
|
353
349
|
uiZIndex: t.StringC;
|
|
354
350
|
}>;
|
|
355
351
|
/** type overload */
|
|
356
|
-
export
|
|
352
|
+
export type OptionalConsentManagerConfig = t.TypeOf<typeof OptionalConsentManagerConfig>;
|
|
357
353
|
/** Consent manager UI configuration */
|
|
358
354
|
export declare const ConsentManagerConfig: t.IntersectionC<[t.TypeC<{
|
|
359
355
|
/** Customer theming */
|
|
@@ -410,7 +406,7 @@ export declare const ConsentManagerConfig: t.IntersectionC<[t.TypeC<{
|
|
|
410
406
|
uiZIndex: t.StringC;
|
|
411
407
|
}>]>;
|
|
412
408
|
/** Type override */
|
|
413
|
-
export
|
|
409
|
+
export type ConsentManagerConfig = t.TypeOf<typeof ConsentManagerConfig>;
|
|
414
410
|
/** Input for Consent manager UI configuration */
|
|
415
411
|
export declare const ConsentManagerConfigInput: t.PartialC<{
|
|
416
412
|
/** Customer theming */
|
|
@@ -466,7 +462,7 @@ export declare const ConsentManagerConfigInput: t.PartialC<{
|
|
|
466
462
|
uiZIndex: t.StringC;
|
|
467
463
|
}>;
|
|
468
464
|
/** Type override */
|
|
469
|
-
export
|
|
465
|
+
export type ConsentManagerConfigInput = t.TypeOf<typeof ConsentManagerConfigInput>;
|
|
470
466
|
export declare const TCFConfig: t.TypeC<{
|
|
471
467
|
/** Path to vendor-list.json */
|
|
472
468
|
vendorList: t.StringC;
|
|
@@ -476,7 +472,7 @@ export declare const TCFConfig: t.TypeC<{
|
|
|
476
472
|
messages: t.StringC;
|
|
477
473
|
}>;
|
|
478
474
|
/** Type override */
|
|
479
|
-
export
|
|
475
|
+
export type TCFConfig = t.TypeOf<typeof TCFConfig>;
|
|
480
476
|
/** Configuration that are passed directly to the TCF module, not via airgap.j */
|
|
481
477
|
export declare const TCFBundledDataConfig: t.PartialC<{
|
|
482
478
|
/** Mapping of TCF Purpose ID to airgap tracking types */
|
|
@@ -492,7 +488,7 @@ export declare const TCFBundledDataConfig: t.PartialC<{
|
|
|
492
488
|
}>]>>;
|
|
493
489
|
}>;
|
|
494
490
|
/** Type override */
|
|
495
|
-
export
|
|
491
|
+
export type TCFBundledDataConfig = t.TypeOf<typeof TCFBundledDataConfig>;
|
|
496
492
|
/** Input for Consent manager UI configuration */
|
|
497
493
|
export declare const TCFConfigInput: t.PartialC<{
|
|
498
494
|
/** Path to vendor-list.json */
|
|
@@ -503,11 +499,11 @@ export declare const TCFConfigInput: t.PartialC<{
|
|
|
503
499
|
messages: t.StringC;
|
|
504
500
|
}>;
|
|
505
501
|
/** Type override */
|
|
506
|
-
export
|
|
502
|
+
export type TCFConfigInput = t.TypeOf<typeof TCFConfigInput>;
|
|
507
503
|
/**
|
|
508
504
|
* Properties exposed on `self` by the Transcend Smart Quarantine
|
|
509
505
|
*/
|
|
510
|
-
export
|
|
506
|
+
export type TranscendView = Window & {
|
|
511
507
|
/** Transcend Smart Quarantine API */
|
|
512
508
|
transcend: TranscendAPI;
|
|
513
509
|
};
|
package/build/ui.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAG/E,OAAO,EACL,SAAS,EAKV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGpC,wDAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,OAAO,CAAC;AAI3B,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAG/E,OAAO,EACL,SAAS,EAKV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGpC,wDAAwD;AACxD,MAAM,MAAM,mBAAmB,GAAG;IAChC,6BAA6B;IAC7B,KAAK,CAAC,QAAQ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|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -48,13 +52,11 @@ exports.ConsentManagerBreakpoints = t.type({
|
|
|
48
52
|
});
|
|
49
53
|
/**
|
|
50
54
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
51
|
-
*
|
|
52
55
|
* @deprecated
|
|
53
56
|
*/
|
|
54
57
|
exports.PrivacyRegimeToInitialViewStateInput = t.partial((0, type_utils_1.applyEnum)(enums_1.PrivacyRegimeEnum, () => (0, type_utils_1.valuesOf)(enums_1.InitialTranscendViewState)));
|
|
55
58
|
/**
|
|
56
59
|
* TODO: https://transcend.height.app/T-19149 - remove
|
|
57
|
-
*
|
|
58
60
|
* @deprecated
|
|
59
61
|
*/
|
|
60
62
|
exports.PrivacyRegimeToInitialViewState = t.record((0, type_utils_1.valuesOf)(enums_1.PrivacyRegimeEnum), (0, type_utils_1.valuesOf)(enums_1.InitialTranscendViewState));
|
package/build/ui.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui.js","sourceRoot":"","sources":["../src/ui.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,WAAW;AACX,yCAA2B;AAE3B,OAAO;AACP,yDAA+D;AAG/D,QAAQ;AACR,mCAMiB;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C;AAa5C,QAAA,oCAAoC,GAC/C;IACE,KAAK;IACL,IAAI,EAAE,wBAAgB,CAAC,YAAY;IACnC,SAAS;IACT,IAAI,EAAE,wBAAgB,CAAC,YAAY;IACnC,cAAc;IACd,KAAK,EAAE,wBAAgB,CAAC,YAAY;IACpC,iBAAiB;IACjB,IAAI,EAAE,wBAAgB,CAAC,MAAM;IAC7B,eAAe;IACf,IAAI,EAAE,wBAAgB,CAAC,MAAM;IAC7B,eAAe;IACf,GAAG,EAAE,wBAAgB,CAAC,MAAM;IAC5B,aAAa;IACb,YAAY,EAAE,wBAAgB,CAAC,MAAM;IACrC,QAAQ;IACR,OAAO,EAAE,wBAAgB,CAAC,MAAM;CACjC,CAAC"}
|
package/build-esm/core.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as t from 'io-ts';
|
|
2
2
|
/** Transcend logger items */
|
|
3
|
-
export
|
|
3
|
+
export type LogItem = {
|
|
4
4
|
/** Log item content */
|
|
5
5
|
content: any;
|
|
6
6
|
/** Log item styles */
|
|
7
7
|
styles: string[];
|
|
8
8
|
};
|
|
9
9
|
/** Transcend logger entry tag */
|
|
10
|
-
export
|
|
10
|
+
export type LogTag = LogItem & {
|
|
11
11
|
/** Log tag content must be a string */
|
|
12
12
|
content: string;
|
|
13
13
|
/** Log tags must have only one style */
|
|
14
14
|
styles: string[1];
|
|
15
15
|
};
|
|
16
16
|
/** Transcend logger entry message */
|
|
17
|
-
export
|
|
17
|
+
export type LogMessage = LogItem;
|
|
18
18
|
/** Console-safe log levels */
|
|
19
19
|
export declare const ConsoleSafeLogLevel: t.KeyofC<{
|
|
20
20
|
info: null;
|
|
@@ -28,7 +28,7 @@ export declare const ConsoleSafeLogLevel: t.KeyofC<{
|
|
|
28
28
|
groupEnd: null;
|
|
29
29
|
}>;
|
|
30
30
|
/** Override type */
|
|
31
|
-
export
|
|
31
|
+
export type ConsoleSafeLogLevel = t.TypeOf<typeof ConsoleSafeLogLevel>;
|
|
32
32
|
/** Airgap log levels */
|
|
33
33
|
export declare const LogLevel: t.UnionC<[t.KeyofC<{
|
|
34
34
|
info: null;
|
|
@@ -42,11 +42,11 @@ export declare const LogLevel: t.UnionC<[t.KeyofC<{
|
|
|
42
42
|
groupEnd: null;
|
|
43
43
|
}>, t.LiteralC<"fatal">]>;
|
|
44
44
|
/** Override type */
|
|
45
|
-
export
|
|
45
|
+
export type LogLevel = t.TypeOf<typeof LogLevel>;
|
|
46
46
|
/** Airgap logger entry types */
|
|
47
|
-
export
|
|
47
|
+
export type LogEntryType = LogLevel;
|
|
48
48
|
/** Airgap logger entries */
|
|
49
|
-
export
|
|
49
|
+
export type LogEntry = {
|
|
50
50
|
/** Log entry tag */
|
|
51
51
|
tag: LogTag;
|
|
52
52
|
/** Log entry message */
|
|
@@ -55,12 +55,12 @@ export declare type LogEntry = {
|
|
|
55
55
|
/**
|
|
56
56
|
* Log emitter function
|
|
57
57
|
*/
|
|
58
|
-
export
|
|
58
|
+
export type LogEmitter = {
|
|
59
59
|
/** Styled log emitter function */
|
|
60
60
|
styled(styles?: null | string | string[], ...entries: any[]): void;
|
|
61
61
|
} & ((...entries: any[]) => void);
|
|
62
62
|
/** Transcend Logger API */
|
|
63
|
-
export
|
|
63
|
+
export type Logger = {
|
|
64
64
|
/**
|
|
65
65
|
* Set log tag during callback execution or from
|
|
66
66
|
* this point on if no callback is provided.
|
|
@@ -70,7 +70,7 @@ export declare type Logger = {
|
|
|
70
70
|
[method in LogLevel]: LogEmitter;
|
|
71
71
|
};
|
|
72
72
|
/** AirgapAuth auth options */
|
|
73
|
-
export
|
|
73
|
+
export type AirgapAuthMap = {
|
|
74
74
|
/** A `load` event from a just-loaded airgap.js script element (which implies auth by being loaded before airgap.js) */
|
|
75
75
|
load?: Event;
|
|
76
76
|
/** A user-initiated interaction event that was just dispatched. */
|
|
@@ -79,7 +79,7 @@ export declare type AirgapAuthMap = {
|
|
|
79
79
|
autoReload?: boolean;
|
|
80
80
|
};
|
|
81
81
|
/** Airgap authorization proof */
|
|
82
|
-
export
|
|
82
|
+
export type AirgapAuth = null | AirgapAuthMap
|
|
83
83
|
/** A user-initiated interaction event that was just dispatched. */
|
|
84
84
|
| UIEvent
|
|
85
85
|
/** A `load` event from a just-loaded airgap.js script element (which implies auth by being loaded before airgap.js) */
|
|
@@ -90,9 +90,9 @@ export declare const BooleanString: t.KeyofC<{
|
|
|
90
90
|
off: null;
|
|
91
91
|
}>;
|
|
92
92
|
/** Type override */
|
|
93
|
-
export
|
|
93
|
+
export type BooleanString = t.TypeOf<typeof BooleanString>;
|
|
94
94
|
/** Data privacy legal regimes */
|
|
95
|
-
export
|
|
95
|
+
export type PrivacyRegime = string;
|
|
96
96
|
export interface GetPurposeTypesOptions {
|
|
97
97
|
/** Regimes to include */
|
|
98
98
|
regimes?: PrivacyRegime[];
|
|
@@ -102,7 +102,7 @@ export interface GetPurposeTypesOptions {
|
|
|
102
102
|
/**
|
|
103
103
|
* Regime to purpose scope map
|
|
104
104
|
*/
|
|
105
|
-
export
|
|
105
|
+
export type RegimeToPurposeScopes = [PrivacyRegime[], TrackingPurpose[]][];
|
|
106
106
|
/** Reserved metadata, currently used for airgap module data syncing */
|
|
107
107
|
export interface ReservedMetadata {
|
|
108
108
|
/** Top-level key to avoid polluting the metadata key space */
|
|
@@ -111,7 +111,7 @@ export interface ReservedMetadata {
|
|
|
111
111
|
/**
|
|
112
112
|
* Extra metadata to be synced along with consent
|
|
113
113
|
*/
|
|
114
|
-
export
|
|
114
|
+
export type Metadata = Record<string, unknown>;
|
|
115
115
|
/** setConsent() options */
|
|
116
116
|
export interface ConsentOptions {
|
|
117
117
|
/** Was consent confirmed by the user? */
|
|
@@ -134,7 +134,7 @@ export interface ConsentOptions {
|
|
|
134
134
|
timestamp?: string;
|
|
135
135
|
}
|
|
136
136
|
/** airgap.toggle() options */
|
|
137
|
-
export
|
|
137
|
+
export type AirgapToggleOptions =
|
|
138
138
|
/** Protection state */
|
|
139
139
|
boolean | {
|
|
140
140
|
/** Protection state */
|
|
@@ -152,7 +152,7 @@ export interface AirgapSystemStatus {
|
|
|
152
152
|
telemetry: boolean;
|
|
153
153
|
}
|
|
154
154
|
/** airgap.js API */
|
|
155
|
-
export
|
|
155
|
+
export type AirgapAPI = Readonly<{
|
|
156
156
|
/** Airgap ready event subscriber */
|
|
157
157
|
ready(callback: (airgap: AirgapAPI) => void): void;
|
|
158
158
|
/** Queue of callbacks to dispatch once airgap is ready */
|
|
@@ -213,17 +213,17 @@ export declare type AirgapAPI = Readonly<{
|
|
|
213
213
|
/**
|
|
214
214
|
* Airgap event types that send the ConsentChangeEventDetails object with them
|
|
215
215
|
*/
|
|
216
|
-
export
|
|
216
|
+
export type AirgapConsentEventType = 'consent-change' | 'sync' | 'consent-resolution';
|
|
217
217
|
/**
|
|
218
218
|
* airgap.js event type
|
|
219
219
|
*/
|
|
220
|
-
export
|
|
220
|
+
export type AirgapEventType = AirgapConsentEventType | 'purpose-map-load';
|
|
221
221
|
export interface ConsentChangeEventPayload {
|
|
222
222
|
/** consent change event details */
|
|
223
223
|
detail: ConsentChangeEventDetails;
|
|
224
224
|
}
|
|
225
225
|
/** 'consent-change' custom event details */
|
|
226
|
-
export
|
|
226
|
+
export type ConsentChangeEventDetails = {
|
|
227
227
|
/** The old tracking consent */
|
|
228
228
|
oldConsent: TrackingConsentDetails | null;
|
|
229
229
|
/** The new tracking consent */
|
|
@@ -234,46 +234,46 @@ export declare type ConsentChangeEventDetails = {
|
|
|
234
234
|
signals?: Set<UserPrivacySignal> | null;
|
|
235
235
|
};
|
|
236
236
|
/** Removable process (can remove watchers, overrides, and protections) */
|
|
237
|
-
export
|
|
237
|
+
export type Removable = {
|
|
238
238
|
/** Remove/revoke process */
|
|
239
239
|
remove(): void;
|
|
240
240
|
};
|
|
241
241
|
/** Any value which implements `toString()` */
|
|
242
|
-
export
|
|
242
|
+
export type Stringifiable = string | (string & {
|
|
243
243
|
toString(): string;
|
|
244
244
|
});
|
|
245
245
|
/** Special `defaultConsent` automatic opt-out value for any potential reason */
|
|
246
246
|
export declare const AutoOptOut: t.LiteralC<"Auto">;
|
|
247
247
|
/** Type override */
|
|
248
|
-
export
|
|
248
|
+
export type AutoOptOut = t.TypeOf<typeof AutoOptOut>;
|
|
249
249
|
/** Special `defaultConsent` automatic opt-out value for GDPR-protected users */
|
|
250
250
|
export declare const AutoOptOutForGDPR: t.LiteralC<"AutoGDPR">;
|
|
251
251
|
/** Type override */
|
|
252
|
-
export
|
|
252
|
+
export type AutoOptOutForGDPR = t.TypeOf<typeof AutoOptOutForGDPR>;
|
|
253
253
|
/**
|
|
254
254
|
* Special `defaultConsent` automatic opt-out value for users with DNT enabled.
|
|
255
255
|
* Note that DNT is enabled by default for some browsers.
|
|
256
256
|
*/
|
|
257
257
|
export declare const AutoOptOutForDNT: t.LiteralC<"AutoDNT">;
|
|
258
258
|
/** Type override */
|
|
259
|
-
export
|
|
259
|
+
export type AutoOptOutForDNT = t.TypeOf<typeof AutoOptOutForDNT>;
|
|
260
260
|
/**
|
|
261
261
|
* Special `defaultConsent` automatic opt-out value for users with GPC enabled.
|
|
262
262
|
*/
|
|
263
263
|
export declare const AutoOptOutForGPC: t.LiteralC<"AutoGPC">;
|
|
264
264
|
/** Type override */
|
|
265
|
-
export
|
|
265
|
+
export type AutoOptOutForGPC = t.TypeOf<typeof AutoOptOutForGPC>;
|
|
266
266
|
/** Potential values for `defaultConsent` config token list */
|
|
267
267
|
export declare const DefaultConsentConfigValue: t.UnionC<[t.BooleanC, t.LiteralC<"Auto">, t.LiteralC<"AutoGDPR">, t.LiteralC<"AutoDNT">, t.LiteralC<"AutoGPC">, t.KeyofC<{
|
|
268
268
|
on: null;
|
|
269
269
|
off: null;
|
|
270
270
|
}>]>;
|
|
271
271
|
/** Type override */
|
|
272
|
-
export
|
|
272
|
+
export type DefaultConsentConfigValue = t.TypeOf<typeof DefaultConsentConfigValue>;
|
|
273
273
|
/** User-configurable user agent privacy signal */
|
|
274
274
|
export declare const UserPrivacySignal: t.UnionC<[t.LiteralC<"GPC">, t.LiteralC<"DNT">]>;
|
|
275
275
|
/** type overload */
|
|
276
|
-
export
|
|
276
|
+
export type UserPrivacySignal = t.TypeOf<typeof UserPrivacySignal>;
|
|
277
277
|
/** Tracking purpose metadata */
|
|
278
278
|
export declare const TrackingPurposeDetails: t.IntersectionC<[t.TypeC<{
|
|
279
279
|
/** Tracking purpose name */
|
|
@@ -307,7 +307,7 @@ export declare const TrackingPurposeDetails: t.IntersectionC<[t.TypeC<{
|
|
|
307
307
|
optOutSignals: t.ArrayC<t.UnionC<[t.LiteralC<"GPC">, t.LiteralC<"DNT">]>>;
|
|
308
308
|
}>]>;
|
|
309
309
|
/** Type override */
|
|
310
|
-
export
|
|
310
|
+
export type TrackingPurposeDetails = t.TypeOf<typeof TrackingPurposeDetails>;
|
|
311
311
|
/** Tracking purposes types configuration */
|
|
312
312
|
export declare const TrackingPurposesTypes: t.RecordC<t.StringC, t.IntersectionC<[t.TypeC<{
|
|
313
313
|
/** Tracking purpose name */
|
|
@@ -341,14 +341,14 @@ export declare const TrackingPurposesTypes: t.RecordC<t.StringC, t.IntersectionC
|
|
|
341
341
|
optOutSignals: t.ArrayC<t.UnionC<[t.LiteralC<"GPC">, t.LiteralC<"DNT">]>>;
|
|
342
342
|
}>]>>;
|
|
343
343
|
/** Type override */
|
|
344
|
-
export
|
|
344
|
+
export type TrackingPurposesTypes = t.TypeOf<typeof TrackingPurposesTypes>;
|
|
345
345
|
/** Fully-resolved `defaultConsent` config */
|
|
346
346
|
export declare const DefaultConsentConfig: t.RecordC<t.StringC, t.UnionC<[t.BooleanC, t.LiteralC<"Auto">, t.LiteralC<"AutoGDPR">, t.LiteralC<"AutoDNT">, t.LiteralC<"AutoGPC">, t.KeyofC<{
|
|
347
347
|
on: null;
|
|
348
348
|
off: null;
|
|
349
349
|
}>]>>;
|
|
350
350
|
/** Type override */
|
|
351
|
-
export
|
|
351
|
+
export type DefaultConsentConfig = t.TypeOf<typeof DefaultConsentConfig>;
|
|
352
352
|
/** Tracking purposes configuration */
|
|
353
353
|
export declare const TrackingPurposesConfig: t.IntersectionC<[t.TypeC<{
|
|
354
354
|
/** Inherit default tracking purposes config */
|
|
@@ -394,7 +394,7 @@ export declare const TrackingPurposesConfig: t.IntersectionC<[t.TypeC<{
|
|
|
394
394
|
}>]>>]>;
|
|
395
395
|
}>]>;
|
|
396
396
|
/** Type override */
|
|
397
|
-
export
|
|
397
|
+
export type TrackingPurposesConfig = {
|
|
398
398
|
/** Inherit default tracking purposes config (Functional, Advertising, Analytics) */
|
|
399
399
|
useDefault: boolean;
|
|
400
400
|
/** Tracking purpose types */
|
|
@@ -409,10 +409,10 @@ export declare const TrackingConsent: t.IntersectionC<[t.PartialC<{
|
|
|
409
409
|
/**
|
|
410
410
|
* Type override
|
|
411
411
|
*/
|
|
412
|
-
export
|
|
412
|
+
export type TrackingConsent = t.TypeOf<typeof TrackingConsent>;
|
|
413
413
|
export declare const TrackingConsentWithNulls: t.RecordC<t.StringC, t.UnionC<[t.BooleanC, t.UndefinedC, t.NullC]>>;
|
|
414
414
|
/** Type override */
|
|
415
|
-
export
|
|
415
|
+
export type TrackingConsentWithNulls = t.TypeOf<typeof TrackingConsent>;
|
|
416
416
|
declare const CoreTrackingConsentDetails: t.IntersectionC<[t.TypeC<{
|
|
417
417
|
/**
|
|
418
418
|
* Was tracking consent confirmed by the user?
|
|
@@ -438,7 +438,7 @@ declare const CoreTrackingConsentDetails: t.IntersectionC<[t.TypeC<{
|
|
|
438
438
|
metadataTimestamp: t.StringC;
|
|
439
439
|
}>]>;
|
|
440
440
|
/** Type override */
|
|
441
|
-
export
|
|
441
|
+
export type CoreTrackingConsentDetails = t.TypeOf<typeof CoreTrackingConsentDetails>;
|
|
442
442
|
export declare const TrackingConsentDetails: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
443
443
|
/**
|
|
444
444
|
* Was tracking consent confirmed by the user?
|
|
@@ -470,7 +470,7 @@ export declare const TrackingConsentDetails: t.IntersectionC<[t.IntersectionC<[t
|
|
|
470
470
|
}>, t.RecordC<t.StringC, t.UnionC<[t.BooleanC, t.UndefinedC]>>]>;
|
|
471
471
|
}>]>;
|
|
472
472
|
/** Override types. */
|
|
473
|
-
export
|
|
473
|
+
export type TrackingConsentDetails = t.TypeOf<typeof TrackingConsentDetails>;
|
|
474
474
|
export declare const TrackingConsentOptionalData: t.PartialC<{
|
|
475
475
|
/** Transparency Consent (TCF) String */
|
|
476
476
|
tcf: t.StringC;
|
|
@@ -571,7 +571,7 @@ export declare const FullTrackingConsentDetails: t.IntersectionC<[t.Intersection
|
|
|
571
571
|
airgapVersion: t.StringC;
|
|
572
572
|
}>]>;
|
|
573
573
|
/** Override types. */
|
|
574
|
-
export
|
|
574
|
+
export type FullTrackingConsentDetails = t.TypeOf<typeof FullTrackingConsentDetails>;
|
|
575
575
|
export declare const FullTrackingConsentDetailsWithNulls: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
576
576
|
/**
|
|
577
577
|
* Was tracking consent confirmed by the user?
|
|
@@ -634,7 +634,7 @@ export declare const FullTrackingConsentDetailsWithNulls: t.IntersectionC<[t.Int
|
|
|
634
634
|
purposes: t.RecordC<t.StringC, t.UnionC<[t.BooleanC, t.UndefinedC, t.NullC]>>;
|
|
635
635
|
}>]>;
|
|
636
636
|
/** Override types. */
|
|
637
|
-
export
|
|
637
|
+
export type FullTrackingConsentDetailsWithNulls = t.TypeOf<typeof FullTrackingConsentDetailsWithNulls>;
|
|
638
638
|
export declare const ConsentPreferencesBody: t.TypeC<{
|
|
639
639
|
/** token containing encrypted identifier */
|
|
640
640
|
token: t.StringC;
|
|
@@ -673,34 +673,34 @@ export declare const ConsentPreferencesBody: t.TypeC<{
|
|
|
673
673
|
}>]>;
|
|
674
674
|
}>;
|
|
675
675
|
/** Override types. */
|
|
676
|
-
export
|
|
676
|
+
export type ConsentPreferencesBody = t.TypeOf<typeof ConsentPreferencesBody>;
|
|
677
677
|
export declare const ConsentTokenPayload: t.IntersectionC<[t.TypeC<{
|
|
678
678
|
encryptedIdentifier: t.StringC;
|
|
679
679
|
}>, t.PartialC<{
|
|
680
680
|
deprecatedEncryptedIdentifiers: t.ArrayC<t.StringC>;
|
|
681
681
|
}>]>;
|
|
682
682
|
/** Type override */
|
|
683
|
-
export
|
|
683
|
+
export type ConsentTokenPayload = t.TypeOf<typeof ConsentTokenPayload>;
|
|
684
684
|
/** Tracking purpose */
|
|
685
685
|
export declare const TrackingPurpose: t.UnionC<[t.KeyofC<{
|
|
686
686
|
Unknown: "Unknown";
|
|
687
687
|
Essential: "Essential";
|
|
688
688
|
}>, t.StringC]>;
|
|
689
689
|
/** Type override */
|
|
690
|
-
export
|
|
690
|
+
export type TrackingPurpose = t.TypeOf<typeof TrackingPurpose>;
|
|
691
691
|
/** Tracking purposes */
|
|
692
|
-
export
|
|
692
|
+
export type TrackingPurposes = Set<TrackingPurpose>;
|
|
693
693
|
/** Tracking consent change diffs */
|
|
694
694
|
export declare const ConsentChange: t.RecordC<t.UnionC<[t.KeyofC<{
|
|
695
695
|
Unknown: "Unknown";
|
|
696
696
|
Essential: "Essential";
|
|
697
697
|
}>, t.StringC]>, t.BooleanC>;
|
|
698
698
|
/** type overload */
|
|
699
|
-
export
|
|
699
|
+
export type ConsentChange = t.TypeOf<typeof ConsentChange>;
|
|
700
700
|
/** Regime purpose scopes configuration */
|
|
701
701
|
export declare const RegimePurposeScopesConfig: t.ArrayC<t.BrandC<t.ArrayC<t.ArrayC<t.StringC>>, import("@transcend-io/type-utils").FixedLengthArrayBrand<t.ArrayC<t.StringC>>>>;
|
|
702
702
|
/** Type override */
|
|
703
|
-
export
|
|
703
|
+
export type RegimePurposeScopesConfig = [
|
|
704
704
|
/** Regimes */
|
|
705
705
|
regimes: string[],
|
|
706
706
|
/** In-scope purposes */
|
package/build-esm/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/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CACxD,OAAO,mCAAmC,CAC3C,CAAC;AAEF,eAAO,MAAM,sBAAsB;IACjC,4CAA4C;;IAE5C,gDAAgD;;IAEhD,mBAAmB;;QA9EjB;;;WAGG;;QAEH,4DAA4D;;;QAI5D,+FAA+F;;QAE/F,sGAAsG;;QAEtG,iFAAiF;;;;;;;;QAEjF,yCAAyC;;;QAazC,8BAA8B;;;;;;EAoDhC,CAAC;AAEH,sBAAsB;AACtB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;;IAO9B,CAAC;AAEH,oBAAoB;AACpB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEvE,uBAAuB;AACvB,eAAO,MAAM,eAAe;;;eAG1B,CAAC;AAEH,oBAAoB;AACpB,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC;AAE/D,wBAAwB;AACxB,MAAM,MAAM,gBAAgB,GAAG,GAAG,CAAC,eAAe,CAAC,CAAC;AAEpD,oCAAoC;AACpC,eAAO,MAAM,aAAa;;;4BAAuC,CAAC;AAElE,oBAAoB;AACpB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,aAAa,CAAC,CAAC;AAE3D,0CAA0C;AAC1C,eAAO,MAAM,yBAAyB,kIAErC,CAAC;AAEF,oBAAoB;AACpB,MAAM,MAAM,yBAAyB,GAAG;IACtC,cAAc;IACd,OAAO,EAAE,MAAM,EAAE;IACjB,wBAAwB;IACxB,QAAQ,EAAE,eAAe,EAAE;CAC5B,EAAE,CAAC"}
|
|
@@ -244,5 +244,5 @@ export declare const BrowserLanguage: {
|
|
|
244
244
|
Zulu: "zu";
|
|
245
245
|
};
|
|
246
246
|
/** Overrides type */
|
|
247
|
-
export
|
|
247
|
+
export type BrowserLanguage = typeof BrowserLanguage[keyof typeof BrowserLanguage];
|
|
248
248
|
//# sourceMappingURL=browserLanguage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browserLanguage.d.ts","sourceRoot":"","sources":["../../src/enums/browserLanguage.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoP1B,CAAC;AAEH,qBAAqB;AACrB,
|
|
1
|
+
{"version":3,"file":"browserLanguage.d.ts","sourceRoot":"","sources":["../../src/enums/browserLanguage.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoP1B,CAAC;AAEH,qBAAqB;AACrB,MAAM,MAAM,eAAe,GACzB,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -10,5 +10,5 @@ export declare const OnConsentExpiry: {
|
|
|
10
10
|
ResetOptIns: "reset-opt-ins";
|
|
11
11
|
};
|
|
12
12
|
/** Override type */
|
|
13
|
-
export
|
|
13
|
+
export type OnConsentExpiry = typeof OnConsentExpiry[keyof typeof OnConsentExpiry];
|
|
14
14
|
//# sourceMappingURL=consentExpiry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consentExpiry.d.ts","sourceRoot":"","sources":["../../src/enums/consentExpiry.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B,8DAA8D;;IAE9D,mDAAmD;;IAEnD,6DAA6D;;CAE7D,CAAC;AACH,oBAAoB;AACpB,
|
|
1
|
+
{"version":3,"file":"consentExpiry.d.ts","sourceRoot":"","sources":["../../src/enums/consentExpiry.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B,8DAA8D;;IAE9D,mDAAmD;;IAEnD,6DAA6D;;CAE7D,CAAC;AACH,oBAAoB;AACpB,MAAM,MAAM,eAAe,GACzB,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -8,5 +8,5 @@ export declare const RegionsOperator: {
|
|
|
8
8
|
NotIn: "NOT_IN";
|
|
9
9
|
};
|
|
10
10
|
/** Override type */
|
|
11
|
-
export
|
|
11
|
+
export type RegionsOperator = typeof RegionsOperator[keyof typeof RegionsOperator];
|
|
12
12
|
//# sourceMappingURL=experience.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experience.d.ts","sourceRoot":"","sources":["../../src/enums/experience.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B,2GAA2G;;IAE3G,+GAA+G;;CAE/G,CAAC;AACH,oBAAoB;AACpB,
|
|
1
|
+
{"version":3,"file":"experience.d.ts","sourceRoot":"","sources":["../../src/enums/experience.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B,2GAA2G;;IAE3G,+GAA+G;;CAE/G,CAAC;AACH,oBAAoB;AACpB,MAAM,MAAM,eAAe,GACzB,OAAO,eAAe,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC"}
|