@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.
Files changed (180) hide show
  1. package/lib/commonjs/ConsentManager.js +4 -1
  2. package/lib/commonjs/ConsentManager.js.map +1 -1
  3. package/lib/commonjs/index.js +3 -2
  4. package/lib/commonjs/index.js.map +1 -1
  5. package/lib/commonjs/services/consent.js +105 -28
  6. package/lib/commonjs/services/consent.js.map +1 -1
  7. package/lib/commonjs/utils/API.js +4 -3
  8. package/lib/commonjs/utils/API.js.map +1 -1
  9. package/lib/module/ConsentManager.js +4 -1
  10. package/lib/module/ConsentManager.js.map +1 -1
  11. package/lib/module/index.js +3 -2
  12. package/lib/module/index.js.map +1 -1
  13. package/lib/module/services/consent.js +104 -28
  14. package/lib/module/services/consent.js.map +1 -1
  15. package/lib/module/utils/API.js +4 -3
  16. package/lib/module/utils/API.js.map +1 -1
  17. package/lib/typescript/lib/commonjs/ConsentManager.d.ts +1 -1
  18. package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -1
  19. package/lib/typescript/lib/commonjs/services/consent.d.ts +1 -0
  20. package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -1
  21. package/lib/typescript/lib/commonjs/utils/API.d.ts +1 -1
  22. package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -1
  23. package/lib/typescript/lib/module/ConsentManager.d.ts +1 -1
  24. package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -1
  25. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  26. package/lib/typescript/lib/module/services/consent.d.ts +1 -0
  27. package/lib/typescript/lib/module/services/consent.d.ts.map +1 -1
  28. package/lib/typescript/lib/module/utils/API.d.ts +1 -1
  29. package/lib/typescript/lib/module/utils/API.d.ts.map +1 -1
  30. package/lib/typescript/src/ConsentManager.d.ts +1 -1
  31. package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
  32. package/lib/typescript/src/index.d.ts.map +1 -1
  33. package/lib/typescript/src/services/consent.d.ts +19 -4
  34. package/lib/typescript/src/services/consent.d.ts.map +1 -1
  35. package/lib/typescript/src/utils/API.d.ts +1 -1
  36. package/lib/typescript/src/utils/API.d.ts.map +1 -1
  37. package/package.json +17 -9
  38. package/src/ConsentManager.ts +4 -1
  39. package/src/index.tsx +2 -1
  40. package/src/services/consent.ts +162 -40
  41. package/src/types/index.d.ts +1 -0
  42. package/src/utils/API.ts +3 -1
  43. package/lib/typescript/src/iab/gpp/api.d.ts +0 -28
  44. package/lib/typescript/src/iab/gpp/api.d.ts.map +0 -1
  45. package/lib/typescript/src/iab/gpp/consent.d.ts +0 -24
  46. package/lib/typescript/src/iab/gpp/consent.d.ts.map +0 -1
  47. package/lib/typescript/src/iab/gpp/constants.d.ts +0 -37
  48. package/lib/typescript/src/iab/gpp/constants.d.ts.map +0 -1
  49. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +0 -28
  50. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +0 -1
  51. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +0 -34
  52. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +0 -1
  53. package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +0 -28
  54. package/lib/typescript/src/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +0 -1
  55. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts +0 -28
  56. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +0 -1
  57. package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +0 -16
  58. package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +0 -1
  59. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +0 -28
  60. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +0 -1
  61. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +0 -28
  62. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +0 -1
  63. package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +0 -28
  64. package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +0 -1
  65. package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +0 -6
  66. package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +0 -1
  67. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts +0 -28
  68. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +0 -1
  69. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +0 -28
  70. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +0 -1
  71. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +0 -28
  72. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +0 -1
  73. package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts +0 -26
  74. package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +0 -1
  75. package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +0 -28
  76. package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +0 -1
  77. package/lib/typescript/src/iab/gpp/encoders/errors.d.ts +0 -19
  78. package/lib/typescript/src/iab/gpp/encoders/errors.d.ts.map +0 -1
  79. package/lib/typescript/src/iab/gpp/encoders/index.d.ts +0 -16
  80. package/lib/typescript/src/iab/gpp/encoders/index.d.ts.map +0 -1
  81. package/lib/typescript/src/iab/gpp/encoders/types.d.ts +0 -5
  82. package/lib/typescript/src/iab/gpp/encoders/types.d.ts.map +0 -1
  83. package/lib/typescript/src/iab/gpp/index.d.ts +0 -10
  84. package/lib/typescript/src/iab/gpp/index.d.ts.map +0 -1
  85. package/lib/typescript/src/iab/gpp/reducer.d.ts +0 -6
  86. package/lib/typescript/src/iab/gpp/reducer.d.ts.map +0 -1
  87. package/lib/typescript/src/iab/gpp/selectors.d.ts +0 -6
  88. package/lib/typescript/src/iab/gpp/selectors.d.ts.map +0 -1
  89. package/lib/typescript/src/iab/gpp/types.d.ts +0 -3
  90. package/lib/typescript/src/iab/gpp/types.d.ts.map +0 -1
  91. package/lib/typescript/src/iab/gpp/v1/constants.d.ts +0 -9
  92. package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +0 -1
  93. package/lib/typescript/src/iab/gpp/v1/index.d.ts +0 -19
  94. package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +0 -1
  95. package/lib/typescript/src/iab/usp/api.d.ts +0 -4
  96. package/lib/typescript/src/iab/usp/api.d.ts.map +0 -1
  97. package/lib/typescript/src/iab/usp/consent.d.ts +0 -13
  98. package/lib/typescript/src/iab/usp/consent.d.ts.map +0 -1
  99. package/lib/typescript/src/iab/usp/constants.d.ts +0 -77
  100. package/lib/typescript/src/iab/usp/constants.d.ts.map +0 -1
  101. package/lib/typescript/src/iab/usp/index.d.ts +0 -10
  102. package/lib/typescript/src/iab/usp/index.d.ts.map +0 -1
  103. package/lib/typescript/src/iab/usp/reducer.d.ts +0 -13
  104. package/lib/typescript/src/iab/usp/reducer.d.ts.map +0 -1
  105. package/lib/typescript/src/iab/usp/selectors.d.ts +0 -9
  106. package/lib/typescript/src/iab/usp/selectors.d.ts.map +0 -1
  107. package/lib/typescript/src/iab/usp/types.d.ts +0 -5
  108. package/lib/typescript/src/iab/usp/types.d.ts.map +0 -1
  109. package/lib/typescript/src/iab/usp/v1/constants.d.ts +0 -9
  110. package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +0 -1
  111. package/lib/typescript/src/iab/usp/v1/index.d.ts +0 -16
  112. package/lib/typescript/src/iab/usp/v1/index.d.ts.map +0 -1
  113. package/lib/typescript/webdriverio-appium/common/commands.d.ts +0 -23
  114. package/lib/typescript/webdriverio-appium/common/commands.d.ts.map +0 -1
  115. package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts +0 -27
  116. package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts.map +0 -1
  117. package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts +0 -27
  118. package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts.map +0 -1
  119. package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts +0 -2
  120. package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts.map +0 -1
  121. package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts +0 -2
  122. package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts.map +0 -1
  123. package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts +0 -2
  124. package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts.map +0 -1
  125. package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts +0 -2
  126. package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts.map +0 -1
  127. package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts +0 -2
  128. package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts.map +0 -1
  129. package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts +0 -2
  130. package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts.map +0 -1
  131. package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts +0 -2
  132. package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts.map +0 -1
  133. package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts +0 -2
  134. package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts.map +0 -1
  135. package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts +0 -2
  136. package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts.map +0 -1
  137. package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts +0 -2
  138. package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts.map +0 -1
  139. package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts +0 -2
  140. package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts.map +0 -1
  141. package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts +0 -2
  142. package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts.map +0 -1
  143. package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts +0 -2
  144. package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts.map +0 -1
  145. package/src/iab/gpp/api.js +0 -253
  146. package/src/iab/gpp/consent.js +0 -114
  147. package/src/iab/gpp/constants.js +0 -49
  148. package/src/iab/gpp/encoders/AbstractBase64UrlEncoder.ts +0 -89
  149. package/src/iab/gpp/encoders/BooleanEncoder.ts +0 -39
  150. package/src/iab/gpp/encoders/CompressedBase64UrlEncoder.ts +0 -41
  151. package/src/iab/gpp/encoders/DatetimeEncoder.ts +0 -46
  152. package/src/iab/gpp/encoders/EncodableOptimizedFixedRange.ts +0 -213
  153. package/src/iab/gpp/encoders/FibonacciIntegerEncoder.ts +0 -81
  154. package/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.ts +0 -122
  155. package/src/iab/gpp/encoders/FixedBitfieldEncoder.ts +0 -59
  156. package/src/iab/gpp/encoders/FixedIdBitMapEncoder.ts +0 -30
  157. package/src/iab/gpp/encoders/FixedIntegerEncoder.ts +0 -61
  158. package/src/iab/gpp/encoders/FixedIntegerListEncoder.ts +0 -87
  159. package/src/iab/gpp/encoders/FixedIntegerRangeEncoder.ts +0 -102
  160. package/src/iab/gpp/encoders/FixedStringEncoder.ts +0 -74
  161. package/src/iab/gpp/encoders/LICENSE-IABTechLab +0 -176
  162. package/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts +0 -38
  163. package/src/iab/gpp/encoders/errors.ts +0 -41
  164. package/src/iab/gpp/encoders/index.ts +0 -15
  165. package/src/iab/gpp/encoders/types.ts +0 -5
  166. package/src/iab/gpp/index.js +0 -9
  167. package/src/iab/gpp/reducer.js +0 -7
  168. package/src/iab/gpp/selectors.js +0 -21
  169. package/src/iab/gpp/types.ts +0 -3
  170. package/src/iab/gpp/v1/constants.js +0 -7
  171. package/src/iab/gpp/v1/index.js +0 -73
  172. package/src/iab/usp/api.js +0 -56
  173. package/src/iab/usp/consent.js +0 -150
  174. package/src/iab/usp/constants.js +0 -40
  175. package/src/iab/usp/index.js +0 -9
  176. package/src/iab/usp/reducer.js +0 -107
  177. package/src/iab/usp/selectors.js +0 -31
  178. package/src/iab/usp/types.ts +0 -4
  179. package/src/iab/usp/v1/constants.js +0 -10
  180. 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,6 +0,0 @@
1
- declare const _default: {
2
- encode: (value: Record<number, boolean>, numBits: number) => string;
3
- decode: (bitString: string, numBits: number) => Record<number, boolean>;
4
- };
5
- export default _default;
6
- //# sourceMappingURL=FixedIdBitMapEncoder.d.ts.map
@@ -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,5 +0,0 @@
1
- export interface Codable {
2
- encode: (...args: any[]) => string;
3
- decode: (...args: any[]) => unknown;
4
- }
5
- //# sourceMappingURL=types.d.ts.map
@@ -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,10 +0,0 @@
1
- declare namespace _default {
2
- export { reducer };
3
- export namespace versions {
4
- export { v1_0 };
5
- }
6
- }
7
- export default _default;
8
- import reducer from './reducer';
9
- import v1_0 from './v1';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/index.js"],"names":[],"mappings":";;;;;;;oBAAoB,WAAW;iBACd,MAAM"}
@@ -1,6 +0,0 @@
1
- export namespace initialState {
2
- let iab: {};
3
- }
4
- declare const _default: any;
5
- export default _default;
6
- //# sourceMappingURL=reducer.d.ts.map
@@ -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,3 +0,0 @@
1
- export type Gpp = unknown;
2
- export type Gpp_v2 = Gpp;
3
- //# sourceMappingURL=types.d.ts.map
@@ -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,4 +0,0 @@
1
- export default function makeApi(initOptions: any): {
2
- bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string | undefined) => any;
3
- };
4
- //# sourceMappingURL=api.d.ts.map
@@ -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,10 +0,0 @@
1
- declare namespace _default {
2
- export { reducer };
3
- export namespace versions {
4
- export { v1_0 };
5
- }
6
- }
7
- export default _default;
8
- import reducer from './reducer';
9
- import v1_0 from './v1';
10
- //# sourceMappingURL=index.d.ts.map
@@ -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