@osano/osano-cmp-react-native 0.7.0 → 0.9.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/commonjs/ConsentManager.js +4 -1
- package/lib/commonjs/ConsentManager.js.map +1 -1
- package/lib/commonjs/index.js +3 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/services/consent.js +105 -28
- package/lib/commonjs/services/consent.js.map +1 -1
- package/lib/commonjs/utils/API.js +4 -3
- package/lib/commonjs/utils/API.js.map +1 -1
- package/lib/module/ConsentManager.js +4 -1
- package/lib/module/ConsentManager.js.map +1 -1
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/consent.js +104 -28
- package/lib/module/services/consent.js.map +1 -1
- package/lib/module/utils/API.js +4 -3
- package/lib/module/utils/API.js.map +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/services/consent.d.ts +1 -0
- package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/utils/API.d.ts +1 -1
- package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -1
- package/lib/typescript/lib/module/ConsentManager.d.ts +1 -1
- package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/services/consent.d.ts +1 -0
- package/lib/typescript/lib/module/services/consent.d.ts.map +1 -1
- package/lib/typescript/lib/module/utils/API.d.ts +1 -1
- package/lib/typescript/lib/module/utils/API.d.ts.map +1 -1
- package/lib/typescript/src/ConsentManager.d.ts +1 -1
- package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/services/consent.d.ts +19 -4
- package/lib/typescript/src/services/consent.d.ts.map +1 -1
- package/lib/typescript/src/utils/API.d.ts +1 -1
- package/lib/typescript/src/utils/API.d.ts.map +1 -1
- package/package.json +17 -9
- package/src/ConsentManager.ts +4 -1
- package/src/index.tsx +2 -1
- package/src/services/consent.ts +162 -40
- package/src/types/index.d.ts +1 -0
- package/src/utils/API.ts +3 -1
- package/lib/typescript/src/iab/gpp/api.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/api.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/consent.d.ts +0 -24
- package/lib/typescript/src/iab/gpp/consent.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/constants.d.ts +0 -37
- package/lib/typescript/src/iab/gpp/constants.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +0 -34
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +0 -16
- package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +0 -6
- package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts +0 -26
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +0 -28
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/errors.d.ts +0 -19
- package/lib/typescript/src/iab/gpp/encoders/errors.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/index.d.ts +0 -16
- package/lib/typescript/src/iab/gpp/encoders/index.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/encoders/types.d.ts +0 -5
- package/lib/typescript/src/iab/gpp/encoders/types.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/index.d.ts +0 -10
- package/lib/typescript/src/iab/gpp/index.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/reducer.d.ts +0 -6
- package/lib/typescript/src/iab/gpp/reducer.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/selectors.d.ts +0 -6
- package/lib/typescript/src/iab/gpp/selectors.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/types.d.ts +0 -3
- package/lib/typescript/src/iab/gpp/types.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts +0 -9
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +0 -1
- package/lib/typescript/src/iab/gpp/v1/index.d.ts +0 -19
- package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/api.d.ts +0 -4
- package/lib/typescript/src/iab/usp/api.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/consent.d.ts +0 -13
- package/lib/typescript/src/iab/usp/consent.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/constants.d.ts +0 -77
- package/lib/typescript/src/iab/usp/constants.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/index.d.ts +0 -10
- package/lib/typescript/src/iab/usp/index.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/reducer.d.ts +0 -13
- package/lib/typescript/src/iab/usp/reducer.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/selectors.d.ts +0 -9
- package/lib/typescript/src/iab/usp/selectors.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/types.d.ts +0 -5
- package/lib/typescript/src/iab/usp/types.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/v1/constants.d.ts +0 -9
- package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +0 -1
- package/lib/typescript/src/iab/usp/v1/index.d.ts +0 -16
- package/lib/typescript/src/iab/usp/v1/index.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/common/commands.d.ts +0 -23
- package/lib/typescript/webdriverio-appium/common/commands.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts +0 -27
- package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts.map +0 -1
- package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts +0 -27
- package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts.map +0 -1
- package/src/iab/gpp/api.js +0 -253
- package/src/iab/gpp/consent.js +0 -114
- package/src/iab/gpp/constants.js +0 -49
- package/src/iab/gpp/encoders/AbstractBase64UrlEncoder.ts +0 -89
- package/src/iab/gpp/encoders/BooleanEncoder.ts +0 -39
- package/src/iab/gpp/encoders/CompressedBase64UrlEncoder.ts +0 -41
- package/src/iab/gpp/encoders/DatetimeEncoder.ts +0 -46
- package/src/iab/gpp/encoders/EncodableOptimizedFixedRange.ts +0 -213
- package/src/iab/gpp/encoders/FibonacciIntegerEncoder.ts +0 -81
- package/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.ts +0 -122
- package/src/iab/gpp/encoders/FixedBitfieldEncoder.ts +0 -59
- package/src/iab/gpp/encoders/FixedIdBitMapEncoder.ts +0 -30
- package/src/iab/gpp/encoders/FixedIntegerEncoder.ts +0 -61
- package/src/iab/gpp/encoders/FixedIntegerListEncoder.ts +0 -87
- package/src/iab/gpp/encoders/FixedIntegerRangeEncoder.ts +0 -102
- package/src/iab/gpp/encoders/FixedStringEncoder.ts +0 -74
- package/src/iab/gpp/encoders/LICENSE-IABTechLab +0 -176
- package/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts +0 -38
- package/src/iab/gpp/encoders/errors.ts +0 -41
- package/src/iab/gpp/encoders/index.ts +0 -15
- package/src/iab/gpp/encoders/types.ts +0 -5
- package/src/iab/gpp/index.js +0 -9
- package/src/iab/gpp/reducer.js +0 -7
- package/src/iab/gpp/selectors.js +0 -21
- package/src/iab/gpp/types.ts +0 -3
- package/src/iab/gpp/v1/constants.js +0 -7
- package/src/iab/gpp/v1/index.js +0 -73
- package/src/iab/usp/api.js +0 -56
- package/src/iab/usp/consent.js +0 -150
- package/src/iab/usp/constants.js +0 -40
- package/src/iab/usp/index.js +0 -9
- package/src/iab/usp/reducer.js +0 -107
- package/src/iab/usp/selectors.js +0 -31
- package/src/iab/usp/types.ts +0 -4
- package/src/iab/usp/v1/constants.js +0 -10
- package/src/iab/usp/v1/index.js +0 -54
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/index.js"],"names":[],"mappings":";;;;;;;oBAAoB,WAAW;iBACd,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/reducer.js"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/selectors.js"],"names":[],"mappings":"AAIO,iDAC2D;AAC3D,uDAOL;AACK,mDACuD;AACvD,uEAEM;AACN,gEACgD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG,OAAO,CAAC;AAE1B,MAAM,MAAM,MAAM,GAAG,GAAG,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const apiName: "__gpp";
|
|
2
|
-
export const gppSection: "gpp";
|
|
3
|
-
export const iframeName: "__gppLocator";
|
|
4
|
-
export const version: "1.0";
|
|
5
|
-
export namespace initOptions {
|
|
6
|
-
export { gppSection };
|
|
7
|
-
export { version };
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/v1/constants.js"],"names":[],"mappings":"AAAA,8BAA+B;AAE/B,+BAAgC;AAChC,wCAAyC;AACzC,4BAA6B"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export function createMiddleware({ dispatchEvent }?: {
|
|
2
|
-
dispatchEvent: any;
|
|
3
|
-
}): (store: any) => (next: any) => (action: any) => any;
|
|
4
|
-
export default v1;
|
|
5
|
-
declare namespace v1 {
|
|
6
|
-
export let api: {
|
|
7
|
-
bind: (store: any, allApis: any) => (command: any, callback: any, parameter: any) => any;
|
|
8
|
-
dispatch: (data: any) => void;
|
|
9
|
-
};
|
|
10
|
-
export { apiName };
|
|
11
|
-
export { createMiddleware };
|
|
12
|
-
export { gppSection };
|
|
13
|
-
export { iframeName };
|
|
14
|
-
export let postMessageEventHandler: any;
|
|
15
|
-
}
|
|
16
|
-
import { apiName } from './constants';
|
|
17
|
-
import { gppSection } from './constants';
|
|
18
|
-
import { iframeName } from './constants';
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/v1/index.js"],"names":[],"mappings":"AAYA;;wDAiDC;;;;;;;;;;;;;wBA7D4D,aAAa;2BAAb,aAAa;2BAAb,aAAa"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/api.js"],"names":[],"mappings":"AAEA;oCAMa,MAAM,WACN,MAAM,YACN,eAAe;EA6C3B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export function makeParseConsentString({ version: providedVersion }?: {
|
|
2
|
-
version?: number | undefined;
|
|
3
|
-
}): (uspString: any) => {
|
|
4
|
-
version: any;
|
|
5
|
-
notified: any;
|
|
6
|
-
signatory: any;
|
|
7
|
-
optOut: any;
|
|
8
|
-
};
|
|
9
|
-
export function makeGetField(initOptions?: {}): (state: any, field: any) => string | 1 | undefined;
|
|
10
|
-
export function makeFormatConsentString(initOptions?: {}): string;
|
|
11
|
-
export function makeConsentFromOptions(initOptions: any): import("./constants").USPConsent;
|
|
12
|
-
export function getConsentDataObject(initOptions: any): import("./constants").USPData;
|
|
13
|
-
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/consent.js"],"names":[],"mappings":"AAKO;;;;;;;EAqBL;AAEK,mGAsBL;AAQK,2DAFM,MAAM,CA8BjB;AAQK,0DAFM,OAAO,aAAa,EAAE,UAAU,CA6B5C;AAQM,wDAFM,OAAO,aAAa,EAAE,OAAO,CAsBzC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export function toYesNoUnFromBool(b: any): "-" | "N" | "Y";
|
|
2
|
-
export function toBoolFromYesNoUn(yn: any): boolean | undefined;
|
|
3
|
-
/**
|
|
4
|
-
* USPData object supplied to the __uspapi callback method
|
|
5
|
-
*/
|
|
6
|
-
export type USPData = {
|
|
7
|
-
/**
|
|
8
|
-
* - indicates the U.S. Privacy spec version
|
|
9
|
-
*/
|
|
10
|
-
version: number;
|
|
11
|
-
/**
|
|
12
|
-
* - Indicates the privacy application and agreement
|
|
13
|
-
* - String; agreement: “1YNN”, not applicable: “1---”
|
|
14
|
-
* - Number; 1 applies, 0 doesn’t apply, -1 not set
|
|
15
|
-
*/
|
|
16
|
-
uspString: (number | string);
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* USPConsent object used for creating the USPData `uspString`
|
|
20
|
-
*/
|
|
21
|
-
export type USPConsent = {
|
|
22
|
-
/**
|
|
23
|
-
* - indicates the U.S. Privacy spec version
|
|
24
|
-
*/
|
|
25
|
-
version: number;
|
|
26
|
-
/**
|
|
27
|
-
* - Indicates that the end user has been notified of consent agreement
|
|
28
|
-
*/
|
|
29
|
-
notified: (boolean | undefined);
|
|
30
|
-
/**
|
|
31
|
-
* - Indicates that the end user has opted out of data resale
|
|
32
|
-
*/
|
|
33
|
-
optOut: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* - Indicates that the provider has opted into the LSPA from IAB
|
|
36
|
-
*/
|
|
37
|
-
signatory: (boolean | undefined);
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* USPAPIPostMessageData object
|
|
41
|
-
*/
|
|
42
|
-
export type USPAPIPostMessageData = {
|
|
43
|
-
/**
|
|
44
|
-
* - The command to be executed by the API
|
|
45
|
-
*/
|
|
46
|
-
command: string;
|
|
47
|
-
/**
|
|
48
|
-
* - Optional parameter to be passed to the `command`
|
|
49
|
-
*/
|
|
50
|
-
parameter: string;
|
|
51
|
-
/**
|
|
52
|
-
* - The version number that the response should adhere to
|
|
53
|
-
*/
|
|
54
|
-
version: number;
|
|
55
|
-
/**
|
|
56
|
-
* - The callback method that should be called with the command result
|
|
57
|
-
*/
|
|
58
|
-
callId: string;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* USPAPIPostMessageEvent object supplied to the __uspapiLocator iframe postMessage handler
|
|
62
|
-
*/
|
|
63
|
-
export type USPAPIPostMessageEvent = {
|
|
64
|
-
/**
|
|
65
|
-
* - The post message data as object or JSON string
|
|
66
|
-
*/
|
|
67
|
-
data: (string | USPAPIPostMessageData);
|
|
68
|
-
/**
|
|
69
|
-
* - Indicates the origin of the window making the post
|
|
70
|
-
*/
|
|
71
|
-
origin: string;
|
|
72
|
-
/**
|
|
73
|
-
* - The window which posted the message
|
|
74
|
-
*/
|
|
75
|
-
source: Window;
|
|
76
|
-
};
|
|
77
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/constants.js"],"names":[],"mappings":"AAmCO,2DAAsE;AACtE,gEAGkC;;;;;;;;aApC3B,MAAM;;;;;;eACN,CAAC,MAAM,GAAC,MAAM,CAAC;;;;;;;;;aAQf,MAAM;;;;cACN,CAAC,UAAQ,SAAS,CAAC;;;;;;;;eAEnB,CAAC,UAAQ,SAAS,CAAC;;;;;;;;;aAMnB,MAAM;;;;eACN,MAAM;;;;aACN,MAAM;;;;YACN,MAAM;;;;;;;;;UAMN,CAAC,MAAM,GAAC,qBAAqB,CAAC;;;;YAC9B,MAAM;;;;YACN,MAAM"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/index.js"],"names":[],"mappings":";;;;;;;oBAAoB,WAAW;iBACd,MAAM"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export namespace initialState {
|
|
2
|
-
namespace iab {
|
|
3
|
-
namespace usp {
|
|
4
|
-
let ccpaApplies: boolean;
|
|
5
|
-
let notified: undefined;
|
|
6
|
-
let signatory: undefined;
|
|
7
|
-
let optOut: boolean;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const _default: any;
|
|
12
|
-
export default _default;
|
|
13
|
-
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/reducer.js"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export const DOMAIN: "iab.usp";
|
|
2
|
-
export function getStore(state: any): any;
|
|
3
|
-
export function doesCCPAApply(state: any): boolean;
|
|
4
|
-
export function getConsentString(state: any, { gppSection, version: providedVersion }?: {
|
|
5
|
-
gppSection: any;
|
|
6
|
-
version: any;
|
|
7
|
-
}): string;
|
|
8
|
-
export function getOptOut(state: any): any;
|
|
9
|
-
//# sourceMappingURL=selectors.d.ts.map
|