@osano/osano-cmp-react-native 0.9.0 → 0.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/lib/typescript/src/iab/gpp/api.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/consent.d.ts +24 -0
- package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/constants.d.ts +37 -0
- package/lib/typescript/src/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +34 -0
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +16 -0
- package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +6 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts +26 -0
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/errors.d.ts +19 -0
- package/lib/typescript/src/iab/gpp/encoders/errors.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/index.d.ts +16 -0
- package/lib/typescript/src/iab/gpp/encoders/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/types.d.ts +5 -0
- package/lib/typescript/src/iab/gpp/encoders/types.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/index.d.ts +10 -0
- package/lib/typescript/src/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/reducer.d.ts +6 -0
- package/lib/typescript/src/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/selectors.d.ts +6 -0
- package/lib/typescript/src/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/types.d.ts +3 -0
- package/lib/typescript/src/iab/gpp/types.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts +9 -0
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/v1/index.d.ts +19 -0
- package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/api.d.ts +4 -0
- package/lib/typescript/src/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/consent.d.ts +13 -0
- package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/constants.d.ts +77 -0
- package/lib/typescript/src/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/index.d.ts +10 -0
- package/lib/typescript/src/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/reducer.d.ts +13 -0
- package/lib/typescript/src/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/selectors.d.ts +9 -0
- package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/types.d.ts +5 -0
- package/lib/typescript/src/iab/usp/types.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/v1/constants.d.ts +9 -0
- package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/v1/index.d.ts +16 -0
- package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -0
- package/package.json +2 -6
- package/src/iab/gpp/api.js +253 -0
- package/src/iab/gpp/consent.js +114 -0
- package/src/iab/gpp/constants.js +49 -0
- package/src/iab/gpp/encoders/AbstractBase64UrlEncoder.ts +89 -0
- package/src/iab/gpp/encoders/BooleanEncoder.ts +39 -0
- package/src/iab/gpp/encoders/CompressedBase64UrlEncoder.ts +41 -0
- package/src/iab/gpp/encoders/DatetimeEncoder.ts +46 -0
- package/src/iab/gpp/encoders/EncodableOptimizedFixedRange.ts +213 -0
- package/src/iab/gpp/encoders/FibonacciIntegerEncoder.ts +81 -0
- package/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.ts +122 -0
- package/src/iab/gpp/encoders/FixedBitfieldEncoder.ts +59 -0
- package/src/iab/gpp/encoders/FixedIdBitMapEncoder.ts +30 -0
- package/src/iab/gpp/encoders/FixedIntegerEncoder.ts +61 -0
- package/src/iab/gpp/encoders/FixedIntegerListEncoder.ts +87 -0
- package/src/iab/gpp/encoders/FixedIntegerRangeEncoder.ts +102 -0
- package/src/iab/gpp/encoders/FixedStringEncoder.ts +74 -0
- package/src/iab/gpp/encoders/LICENSE-IABTechLab +176 -0
- package/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts +38 -0
- package/src/iab/gpp/encoders/errors.ts +41 -0
- package/src/iab/gpp/encoders/index.ts +15 -0
- package/src/iab/gpp/encoders/types.ts +5 -0
- package/src/iab/gpp/index.js +9 -0
- package/src/iab/gpp/reducer.js +7 -0
- package/src/iab/gpp/selectors.js +21 -0
- package/src/iab/gpp/types.ts +3 -0
- package/src/iab/gpp/v1/constants.js +7 -0
- package/src/iab/gpp/v1/index.js +73 -0
- package/src/iab/usp/api.js +56 -0
- package/src/iab/usp/consent.js +150 -0
- package/src/iab/usp/constants.js +40 -0
- package/src/iab/usp/index.js +9 -0
- package/src/iab/usp/reducer.js +107 -0
- package/src/iab/usp/selectors.js +31 -0
- package/src/iab/usp/types.ts +4 -0
- package/src/iab/usp/v1/constants.js +10 -0
- package/src/iab/usp/v1/index.js +54 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default function makeApi(initOptions: any): {
|
|
2
|
+
bind: (store: any, allApis: any) => (command: any, callback: any, parameter: any) => any;
|
|
3
|
+
dispatch: (data: any) => void;
|
|
4
|
+
};
|
|
5
|
+
export const _clearEventSubscribers: (() => void) | undefined;
|
|
6
|
+
export const _clearAdaptedApis: (() => void) | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* An object that contains the client callback and metadata.
|
|
9
|
+
*/
|
|
10
|
+
export type EventSubscriber = {
|
|
11
|
+
/**
|
|
12
|
+
* - The version of the API that the subscriber is
|
|
13
|
+
* listening to.
|
|
14
|
+
*/
|
|
15
|
+
version: number;
|
|
16
|
+
/**
|
|
17
|
+
* - The callback function that the subscriber
|
|
18
|
+
* provided. The signature should match the API version.
|
|
19
|
+
*/
|
|
20
|
+
callback: Function;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* The listener ID is a number that is used to identify a subscriber. It is both
|
|
24
|
+
* a key in the eventSubscribers map and a property that is given back to the
|
|
25
|
+
* subscriber. It must not change for the lifetime of the subscriber.
|
|
26
|
+
*/
|
|
27
|
+
export type ListenerId = number;
|
|
28
|
+
//# sourceMappingURL=api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/api.js"],"names":[],"mappings":"AAwGA;;;EAoJC;AA3ND,8DAC8E;AAmC9E,yDACyE;;;;;;;;;aAzD3D,MAAM;;;;;;;;;;;;yBAUP,MAAM"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function isSectionApplicable(sectionId: any, state: any): boolean;
|
|
2
|
+
export function makeFormatPingData(initOptions: any): (state: any) => {
|
|
3
|
+
gppVersion: any;
|
|
4
|
+
cmpStatus: string;
|
|
5
|
+
cmpDisplayStatus: string;
|
|
6
|
+
supportedAPIs: string[];
|
|
7
|
+
cmpId: number;
|
|
8
|
+
};
|
|
9
|
+
export function makeParseConsentString(initOptions: any): (gppString: any, state: any) => {
|
|
10
|
+
sectionId: number;
|
|
11
|
+
gppVersion: number;
|
|
12
|
+
sectionList: number[];
|
|
13
|
+
applicableSections: number[];
|
|
14
|
+
gppString: any;
|
|
15
|
+
pingData: {
|
|
16
|
+
gppVersion: any;
|
|
17
|
+
cmpStatus: string;
|
|
18
|
+
cmpDisplayStatus: string;
|
|
19
|
+
supportedAPIs: string[];
|
|
20
|
+
cmpId: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export function formatConsentString(state: any): string;
|
|
24
|
+
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/consent.js"],"names":[],"mappings":"AA6BO,yEAyBN;AAEM;;;;;;EAQL;AAEK;;;;;;;;;;;;;EA0BN;AAEM,wDAmBN"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export namespace SECTIONS {
|
|
2
|
+
let tcfeuv2: number;
|
|
3
|
+
let tcfcav1: number;
|
|
4
|
+
let uspv1: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* GPP's defined CMP status codes
|
|
8
|
+
*/
|
|
9
|
+
export type CmpStatusCodes = string;
|
|
10
|
+
export namespace CmpStatusCodes {
|
|
11
|
+
let STUB: string;
|
|
12
|
+
let LOADED: string;
|
|
13
|
+
let ERROR: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* GPP's defined CMP display status codes
|
|
17
|
+
*/
|
|
18
|
+
export type CmpDisplayStatusCodes = string;
|
|
19
|
+
export namespace CmpDisplayStatusCodes {
|
|
20
|
+
let VISIBLE: string;
|
|
21
|
+
let HIDDEN: string;
|
|
22
|
+
let DISABLED: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The GPP API's events
|
|
26
|
+
*/
|
|
27
|
+
export type EventNames = string;
|
|
28
|
+
export namespace EventNames {
|
|
29
|
+
export let LISTENER_REGISTERED: string;
|
|
30
|
+
export let LISTENER_REMOVED: string;
|
|
31
|
+
export let CMP_STATUS_CHANGED: string;
|
|
32
|
+
export let CMP_DISPLAY_STATUS_CHANGED: string;
|
|
33
|
+
let ERROR_1: string;
|
|
34
|
+
export { ERROR_1 as ERROR };
|
|
35
|
+
export let SECTION_CHANGED: string;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/constants.js"],"names":[],"mappings":";;;;;;;;6BAmBU,MAAM;;;;;;;;;oCAUN,MAAM;;;;;;;;;yBAUN,MAAM"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/AbstractBase64UrlEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const makeEncode: (pad: (str: string) => string) => (bitString: string) => string;
|
|
22
|
+
export declare const decode: (str: string) => string;
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (str: string) => string;
|
|
25
|
+
makeEncode: (pad: (str: string) => string) => (bitString: string) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=AbstractBase64UrlEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/AbstractBase64UrlEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAuBH,eAAO,MAAM,UAAU,QAChB,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,iBAAiB,MAAM,WAqBnD,CAAC;AAEH,eAAO,MAAM,MAAM,QAAS,MAAM,WAiBjC,CAAC;;kBAjB0B,MAAM;sBAvB3B,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,iBAAiB,MAAM;;AA0CrD,wBAGE"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/BooleanEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* encode a TCString boolean
|
|
23
|
+
*/
|
|
24
|
+
export declare const encode: (bool: boolean) => "1" | "0";
|
|
25
|
+
/**
|
|
26
|
+
* decode a TCString boolean
|
|
27
|
+
*/
|
|
28
|
+
export declare const decode: (bitString: string) => bitString is "1";
|
|
29
|
+
declare const _default: {
|
|
30
|
+
decode: (bitString: string) => bitString is "1";
|
|
31
|
+
encode: (bool: boolean) => "1" | "0";
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=BooleanEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BooleanEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/BooleanEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH;;GAEG;AACH,eAAO,MAAM,MAAM,SAAU,OAAO,cAEnC,CAAC;AACF;;GAEG;AACH,eAAO,MAAM,MAAM,cAAe,MAAM,qBAGvC,CAAC;;wBAHgC,MAAM;mBANX,OAAO;;AAWpC,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/CompressedBase64UrlEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (bitString: string) => string;
|
|
22
|
+
export { decode } from './AbstractBase64UrlEncoder';
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (str: string) => string;
|
|
25
|
+
encode: (bitString: string) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=CompressedBase64UrlEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompressedBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/CompressedBase64UrlEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAcH,eAAO,MAAM,MAAM,+BAAkB,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;;;;;AAEpD,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/DatetimeEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (date: Date | number, numBits?: number) => string;
|
|
22
|
+
export declare const decode: (bitString: string) => Date;
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string) => Date;
|
|
25
|
+
encode: (date: Date | number, numBits?: number) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=DatetimeEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatetimeEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/DatetimeEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAOH,eAAO,MAAM,MAAM,SAAU,IAAI,GAAG,MAAM,YAAW,MAAM,WAQ1D,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,SAIvC,CAAC;;wBAJgC,MAAM;mBAVX,IAAI,GAAG,MAAM,YAAW,MAAM;;AAgB3D,wBAGE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const BitLength: {
|
|
2
|
+
encodingType: number;
|
|
3
|
+
maxId: number;
|
|
4
|
+
numEntries: number;
|
|
5
|
+
singleOrRange: number;
|
|
6
|
+
vendorId: number;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: {
|
|
9
|
+
decode: (bitString: string) => {
|
|
10
|
+
bitLength: number;
|
|
11
|
+
value: Record<number, boolean>;
|
|
12
|
+
};
|
|
13
|
+
encode: (value: Record<number, boolean>) => string;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=EncodableOptimizedFixedRange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EncodableOptimizedFixedRange.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/EncodableOptimizedFixedRange.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;;wBAiHyB,MAAM;;;;oBA5EV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;;AA+J9C,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FibonacciIntegerEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (value: number) => string;
|
|
22
|
+
export declare const decode: (bitString: string) => number;
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string) => number;
|
|
25
|
+
encode: (value: number) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FibonacciIntegerEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FibonacciIntegerEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FibonacciIntegerEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,eAAO,MAAM,MAAM,UAAW,MAAM,WA4BnC,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,WAwBvC,CAAC;;wBAxBgC,MAAM;oBA9BV,MAAM;;AAwDpC,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FibonacciIntegerRangeEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (value: number[]) => string;
|
|
22
|
+
export declare const decode: (bitString: string) => number[];
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string) => number[];
|
|
25
|
+
encode: (value: number[]) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FibonacciIntegerRangeEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FibonacciIntegerRangeEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAaH,eAAO,MAAM,MAAM,UAAW,MAAM,EAAE,WAyCrC,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,aAyCvC,CAAC;;wBAzCgC,MAAM;oBA3CV,MAAM,EAAE;;AAsFtC,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FixedBitfieldEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (value: boolean[], bitStringLength: number) => string;
|
|
22
|
+
export declare const decode: (bitString: string, numBits?: number) => boolean[];
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string, numBits?: number) => boolean[];
|
|
25
|
+
encode: (value: boolean[], bitStringLength: number) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FixedBitfieldEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedBitfieldEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedBitfieldEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,eAAO,MAAM,MAAM,UAAW,OAAO,EAAE,mBAAmB,MAAM,WAa/D,CAAC;AAEF,eAAO,MAAM,MAAM,cACP,MAAM,YACR,MAAM,cAWf,CAAC;;wBAZU,MAAM,YACR,MAAM;oBAjBc,OAAO,EAAE,mBAAmB,MAAM;;AA8BhE,wBAGE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedIdBitMapEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedIdBitMapEncoder.ts"],"names":[],"mappings":";oBAWiB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,MAAM;wBAUpC,MAAM,WAAW,MAAM;;AAX5C,wBAmBE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FixedIntegerEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (int: number | string, numBits: number) => string;
|
|
22
|
+
export declare const decode: (bitString: string, numBits?: number) => number;
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string, numBits?: number) => number;
|
|
25
|
+
encode: (int: number | string, numBits: number) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FixedIntegerEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedIntegerEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedIntegerEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAOH,eAAO,MAAM,MAAM,QAAS,MAAM,GAAG,MAAM,WAAW,MAAM,WAoB3D,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,YAAY,MAAM,WAOzD,CAAC;;wBAPgC,MAAM,YAAY,MAAM;kBAtB9B,MAAM,GAAG,MAAM,WAAW,MAAM;;AA+B5D,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FixedIntegerListEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (value: number[], elementBitStringLength: number, numElements: number) => string;
|
|
22
|
+
export declare const decode: (bitString: string, elementBitStringLength: number, numElements: number) => number[];
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string, elementBitStringLength: number, numElements: number) => number[];
|
|
25
|
+
encode: (value: number[], elementBitStringLength: number, numElements: number) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FixedIntegerListEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedIntegerListEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedIntegerListEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAQH,eAAO,MAAM,MAAM,UACX,MAAM,EAAE,0BACS,MAAM,eACjB,MAAM,WAYnB,CAAC;AAEF,eAAO,MAAM,MAAM,cACP,MAAM,0BACO,MAAM,eACjB,MAAM,aAkCnB,CAAC;;wBApCU,MAAM,0BACO,MAAM,eACjB,MAAM;oBAnBZ,MAAM,EAAE,0BACS,MAAM,eACjB,MAAM;;AAqDpB,wBAGE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FixedIntegerRangeEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (value: number[]) => string;
|
|
22
|
+
export declare const decode: (bitString: string) => number[];
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (bitString: string) => number[];
|
|
25
|
+
encode: (value: number[]) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=FixedIntegerRangeEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedIntegerRangeEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedIntegerRangeEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAUH,eAAO,MAAM,MAAM,UAAW,MAAM,EAAE,WAmCrC,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,aA8BvC,CAAC;;wBA9BgC,MAAM;oBArCV,MAAM,EAAE;;AAqEtC,wBAGE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/FixedStringEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
import type { Codable } from './types';
|
|
22
|
+
export declare const encode: (value: string, stringLength: number) => string;
|
|
23
|
+
export declare const decode: (bitString: string) => string;
|
|
24
|
+
declare const _default: Codable;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=FixedStringEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FixedStringEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/FixedStringEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAOH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,eAAO,MAAM,MAAM,UAAW,MAAM,gBAAgB,MAAM,WAqBzD,CAAC;AAEF,eAAO,MAAM,MAAM,cAAe,MAAM,WAiBvC,CAAC;wBAKG,OAAO;AAHZ,wBAGa"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adapted from IABTechLab's GPP JavaScript Reference Implementation
|
|
3
|
+
*
|
|
4
|
+
* https://github.com/IABTechLab/iabgpp-es/blob/42060d7ac2b6d0ee70fc1b5bcd33fc447bf5123c/modules/cmpapi/src/encoder/datatype/encoder/TraditionalBase64UrlEncoder.ts
|
|
5
|
+
*
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2023 IABTechLab
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
10
|
+
* use this file except in compliance with the License. You may obtain a copy of
|
|
11
|
+
* the License at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
16
|
+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
17
|
+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
18
|
+
* License for the specific language governing permissions and limitations under
|
|
19
|
+
* the License.
|
|
20
|
+
*/
|
|
21
|
+
export declare const encode: (bitString: string) => string;
|
|
22
|
+
export { decode } from './AbstractBase64UrlEncoder';
|
|
23
|
+
declare const _default: {
|
|
24
|
+
decode: (str: string) => string;
|
|
25
|
+
encode: (bitString: string) => string;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=TraditionalBase64UrlEncoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TraditionalBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAWH,eAAO,MAAM,MAAM,+BAAkB,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;;;;;AAEpD,wBAGE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class InvalidBitStringError extends Error {
|
|
2
|
+
constructor(value: string | undefined);
|
|
3
|
+
}
|
|
4
|
+
export declare class InvalidBase64UrlError extends Error {
|
|
5
|
+
constructor(value: string | undefined);
|
|
6
|
+
}
|
|
7
|
+
export declare class InvalidSizeError extends Error {
|
|
8
|
+
constructor(value: number, bits: number);
|
|
9
|
+
}
|
|
10
|
+
export declare class BitStringParametersMatchError extends Error {
|
|
11
|
+
constructor(bitString: string, parameters: {
|
|
12
|
+
elementBitStringLength: number;
|
|
13
|
+
numElements: number;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export declare class InvalidStringCharacterError extends Error {
|
|
17
|
+
constructor(value: string | undefined);
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,qBAAsB,SAAQ,KAAK;gBACnC,KAAK,EAAE,MAAM,GAAG,SAAS;CAIrC;AAED,qBAAa,qBAAsB,SAAQ,KAAK;gBACnC,KAAK,EAAE,MAAM,GAAG,SAAS;CAIrC;AAED,qBAAa,gBAAiB,SAAQ,KAAK;gBAC9B,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;CAIvC;AAED,qBAAa,6BAA8B,SAAQ,KAAK;gBAEtD,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE;QAAE,sBAAsB,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE;CASpE;AAED,qBAAa,2BAA4B,SAAQ,KAAK;gBACzC,KAAK,EAAE,MAAM,GAAG,SAAS;CAIrC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type { Codable } from './types';
|
|
2
|
+
export { default as AbstractBase64UrlEncoder } from './AbstractBase64UrlEncoder';
|
|
3
|
+
export { default as BooleanEncoder } from './BooleanEncoder';
|
|
4
|
+
export { default as CompressedBase64UrlEncoder } from './CompressedBase64UrlEncoder';
|
|
5
|
+
export { default as DatetimeEncoder } from './DatetimeEncoder';
|
|
6
|
+
export { default as EncodableOptimizedFixedRange } from './EncodableOptimizedFixedRange';
|
|
7
|
+
export { default as FibonacciIntegerEncoder } from './FibonacciIntegerEncoder';
|
|
8
|
+
export { default as FibonacciIntegerRangeEncoder } from './FibonacciIntegerRangeEncoder';
|
|
9
|
+
export { default as FixedBitfieldEncoder } from './FixedBitfieldEncoder';
|
|
10
|
+
export { default as FixedIdBitMapEncoder } from './FixedIdBitMapEncoder';
|
|
11
|
+
export { default as FixedIntegerEncoder } from './FixedIntegerEncoder';
|
|
12
|
+
export { default as FixedIntegerListEncoder } from './FixedIntegerListEncoder';
|
|
13
|
+
export { default as FixedIntegerRangeEncoder } from './FixedIntegerRangeEncoder';
|
|
14
|
+
export { default as FixedStringEncoder } from './FixedStringEncoder';
|
|
15
|
+
export { default as TraditionalBase64UrlEncoder } from './TraditionalBase64UrlEncoder';
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACzF,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,OAAO;IACvB,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,CAAC;IACnC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,OAAO,CAAC;CACpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/index.js"],"names":[],"mappings":";;;;;;;oBAAoB,WAAW;iBACd,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/reducer.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export function isUiVisible(state: any): boolean;
|
|
2
|
+
export function getSupportedApis(state: any): string[];
|
|
3
|
+
export function doesGDPRApply(state: any): boolean;
|
|
4
|
+
export function isBrowsingFrom(state: any, jurisdiction: any): boolean;
|
|
5
|
+
export function getConsentString(state: any, section: any): any;
|
|
6
|
+
//# sourceMappingURL=selectors.d.ts.map
|