@osano/osano-cmp-react-native 0.14.0 → 0.17.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/README.dev.md +225 -12
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKModule.kt +146 -75
- package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKPackage.kt +0 -1
- package/ios/OsanoCmpSDK.mm +11 -24
- package/ios/OsanoCmpSdk.h +0 -7
- package/lib/commonjs/ConsentManager.js +87 -99
- package/lib/commonjs/ConsentManager.js.map +1 -1
- package/lib/commonjs/ConsentUiBuilder.js +5 -8
- package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
- package/lib/commonjs/components/Button.js +42 -56
- package/lib/commonjs/components/Button.js.map +1 -1
- package/lib/commonjs/components/Checkbox.js +11 -14
- package/lib/commonjs/components/Checkbox.js.map +1 -1
- package/lib/commonjs/components/Divider.js +1 -2
- package/lib/commonjs/components/Divider.js.map +1 -1
- package/lib/commonjs/components/ExpansionPanel.js +13 -18
- package/lib/commonjs/components/ExpansionPanel.js.map +1 -1
- package/lib/commonjs/components/Link.js +4 -6
- package/lib/commonjs/components/Link.js.map +1 -1
- package/lib/commonjs/components/List.js +9 -13
- package/lib/commonjs/components/List.js.map +1 -1
- package/lib/commonjs/components/Locale.js +1 -4
- package/lib/commonjs/components/Locale.js.map +1 -1
- package/lib/commonjs/components/StoragePolicyLink.js +3 -5
- package/lib/commonjs/components/StoragePolicyLink.js.map +1 -1
- package/lib/commonjs/components/Toggle.js +18 -20
- package/lib/commonjs/components/Toggle.js.map +1 -1
- package/lib/commonjs/iab/constants.js +1 -1
- package/lib/commonjs/iab/tcf/consent.js +17 -11
- package/lib/commonjs/iab/tcf/consent.js.map +1 -1
- package/lib/commonjs/iab/tcf/middleware.js +43 -20
- package/lib/commonjs/iab/tcf/middleware.js.map +1 -1
- package/lib/commonjs/iab/tcf/reducer.js +21 -7
- package/lib/commonjs/iab/tcf/reducer.js.map +1 -1
- package/lib/commonjs/iab/tcf/selectors.js +16 -1
- package/lib/commonjs/iab/tcf/selectors.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js +15 -3
- package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js +11 -2
- package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
- package/lib/commonjs/index.js +11 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/native/OsanoCmp.js +36 -11
- package/lib/commonjs/native/OsanoCmp.js.map +1 -1
- package/lib/commonjs/native/OsanoCmpSdkSpec.js +9 -0
- package/lib/commonjs/native/OsanoCmpSdkSpec.js.map +1 -0
- package/lib/commonjs/services/consent.js +41 -13
- package/lib/commonjs/services/consent.js.map +1 -1
- package/lib/commonjs/utils/ExpoDetector.js +105 -0
- package/lib/commonjs/utils/ExpoDetector.js.map +1 -0
- package/lib/commonjs/utils/ExpoGoMemoryStorage.js +61 -0
- package/lib/commonjs/utils/ExpoGoMemoryStorage.js.map +1 -0
- package/lib/commonjs/utils/Translator.js.map +1 -1
- package/lib/commonjs/views/Dialog/Buttons.js +31 -35
- package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
- package/lib/commonjs/views/Dialog/FirstLayerUsage.js +8 -12
- package/lib/commonjs/views/Dialog/FirstLayerUsage.js.map +1 -1
- package/lib/commonjs/views/Dialog/Message.js +1 -2
- package/lib/commonjs/views/Dialog/Message.js.map +1 -1
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +15 -20
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
- package/lib/commonjs/views/Dialog/index.js +71 -103
- package/lib/commonjs/views/Dialog/index.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +197 -249
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Header.js +39 -46
- package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +87 -97
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +191 -225
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
- package/lib/commonjs/views/Drawer/index.js +55 -73
- package/lib/commonjs/views/Drawer/index.js.map +1 -1
- package/lib/module/ConsentManager.js +87 -101
- package/lib/module/ConsentManager.js.map +1 -1
- package/lib/module/ConsentUiBuilder.js +5 -10
- package/lib/module/ConsentUiBuilder.js.map +1 -1
- package/lib/module/actions.js +0 -2
- package/lib/module/actions.js.map +1 -1
- package/lib/module/commands.js +0 -2
- package/lib/module/commands.js.map +1 -1
- package/lib/module/components/Button.js +42 -58
- package/lib/module/components/Button.js.map +1 -1
- package/lib/module/components/Checkbox.js +11 -16
- package/lib/module/components/Checkbox.js.map +1 -1
- package/lib/module/components/Divider.js +1 -4
- package/lib/module/components/Divider.js.map +1 -1
- package/lib/module/components/ExpansionPanel.js +13 -20
- package/lib/module/components/ExpansionPanel.js.map +1 -1
- package/lib/module/components/Link.js +4 -8
- package/lib/module/components/Link.js.map +1 -1
- package/lib/module/components/List.js +9 -15
- package/lib/module/components/List.js.map +1 -1
- package/lib/module/components/Locale.js +1 -6
- package/lib/module/components/Locale.js.map +1 -1
- package/lib/module/components/StoragePolicyLink.js +3 -7
- package/lib/module/components/StoragePolicyLink.js.map +1 -1
- package/lib/module/components/Toggle.js +18 -22
- package/lib/module/components/Toggle.js.map +1 -1
- package/lib/module/constants.js +0 -2
- package/lib/module/constants.js.map +1 -1
- package/lib/module/context.js +0 -2
- package/lib/module/context.js.map +1 -1
- package/lib/module/flavors/index.js +0 -2
- package/lib/module/flavors/index.js.map +1 -1
- package/lib/module/hooks/useBoundCallback.js +0 -2
- package/lib/module/hooks/useBoundCallback.js.map +1 -1
- package/lib/module/hooks/useDeviceOrientation.js +0 -2
- package/lib/module/hooks/useDeviceOrientation.js.map +1 -1
- package/lib/module/hooks/usePrevious.js +0 -2
- package/lib/module/hooks/usePrevious.js.map +1 -1
- package/lib/module/hooks/useThunkReducer.js +0 -2
- package/lib/module/hooks/useThunkReducer.js.map +1 -1
- package/lib/module/iab/actions.js +0 -2
- package/lib/module/iab/actions.js.map +1 -1
- package/lib/module/iab/constants.js +1 -3
- package/lib/module/iab/constants.js.map +1 -1
- package/lib/module/iab/gpp/api.js +0 -2
- package/lib/module/iab/gpp/api.js.map +1 -1
- package/lib/module/iab/gpp/consent.js +0 -2
- package/lib/module/iab/gpp/consent.js.map +1 -1
- package/lib/module/iab/gpp/constants.js +0 -2
- package/lib/module/iab/gpp/constants.js.map +1 -1
- package/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/BooleanEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/BooleanEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/DatetimeEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/DatetimeEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.js +0 -2
- package/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedStringEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/FixedStringEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js +0 -2
- package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/errors.js +0 -2
- package/lib/module/iab/gpp/encoders/errors.js.map +1 -1
- package/lib/module/iab/gpp/encoders/index.js +0 -2
- package/lib/module/iab/gpp/encoders/index.js.map +1 -1
- package/lib/module/iab/gpp/encoders/types.js +1 -1
- package/lib/module/iab/gpp/index.js +0 -2
- package/lib/module/iab/gpp/index.js.map +1 -1
- package/lib/module/iab/gpp/reducer.js +0 -2
- package/lib/module/iab/gpp/reducer.js.map +1 -1
- package/lib/module/iab/gpp/selectors.js +0 -2
- package/lib/module/iab/gpp/selectors.js.map +1 -1
- package/lib/module/iab/gpp/types.js +1 -1
- package/lib/module/iab/gpp/v1/constants.js +0 -2
- package/lib/module/iab/gpp/v1/constants.js.map +1 -1
- package/lib/module/iab/gpp/v1/index.js +0 -2
- package/lib/module/iab/gpp/v1/index.js.map +1 -1
- package/lib/module/iab/index.js +0 -2
- package/lib/module/iab/index.js.map +1 -1
- package/lib/module/iab/reducer.js +0 -2
- package/lib/module/iab/reducer.js.map +1 -1
- package/lib/module/iab/tcf/actions.js +0 -2
- package/lib/module/iab/tcf/actions.js.map +1 -1
- package/lib/module/iab/tcf/consent.js +18 -14
- package/lib/module/iab/tcf/consent.js.map +1 -1
- package/lib/module/iab/tcf/constants.js +0 -2
- package/lib/module/iab/tcf/constants.js.map +1 -1
- package/lib/module/iab/tcf/helpers.js +0 -2
- package/lib/module/iab/tcf/helpers.js.map +1 -1
- package/lib/module/iab/tcf/iab-storage-utils.js +0 -2
- package/lib/module/iab/tcf/iab-storage-utils.js.map +1 -1
- package/lib/module/iab/tcf/index.js +0 -2
- package/lib/module/iab/tcf/index.js.map +1 -1
- package/lib/module/iab/tcf/middleware.js +34 -13
- package/lib/module/iab/tcf/middleware.js.map +1 -1
- package/lib/module/iab/tcf/reducer.js +22 -10
- package/lib/module/iab/tcf/reducer.js.map +1 -1
- package/lib/module/iab/tcf/selectors.js +13 -2
- package/lib/module/iab/tcf/selectors.js.map +1 -1
- package/lib/module/iab/tcf/types.js +0 -2
- package/lib/module/iab/tcf/v2.0/encoders.js +0 -2
- package/lib/module/iab/tcf/v2.0/encoders.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/formatters.js +0 -2
- package/lib/module/iab/tcf/v2.0/formatters.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/index.js +0 -2
- package/lib/module/iab/tcf/v2.0/index.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/shared-constants.js +0 -2
- package/lib/module/iab/tcf/v2.0/shared-constants.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js +15 -5
- package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js +11 -4
- package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
- package/lib/module/iab/types.js +0 -2
- package/lib/module/iab/usp/api.js +0 -2
- package/lib/module/iab/usp/api.js.map +1 -1
- package/lib/module/iab/usp/consent.js +0 -2
- package/lib/module/iab/usp/consent.js.map +1 -1
- package/lib/module/iab/usp/constants.js +0 -2
- package/lib/module/iab/usp/constants.js.map +1 -1
- package/lib/module/iab/usp/index.js +0 -2
- package/lib/module/iab/usp/index.js.map +1 -1
- package/lib/module/iab/usp/reducer.js +0 -2
- package/lib/module/iab/usp/reducer.js.map +1 -1
- package/lib/module/iab/usp/selectors.js +0 -2
- package/lib/module/iab/usp/selectors.js.map +1 -1
- package/lib/module/iab/usp/types.js +1 -1
- package/lib/module/iab/usp/v1/constants.js +0 -2
- package/lib/module/iab/usp/v1/constants.js.map +1 -1
- package/lib/module/iab/usp/v1/index.js +0 -2
- package/lib/module/iab/usp/v1/index.js.map +1 -1
- package/lib/module/iab/utilities.js +0 -2
- package/lib/module/iab/utilities.js.map +1 -1
- package/lib/module/index.js +11 -15
- package/lib/module/index.js.map +1 -1
- package/lib/module/locale/index.js +0 -2
- package/lib/module/locale/index.js.map +1 -1
- package/lib/module/native/OsanoCmp.js +36 -13
- package/lib/module/native/OsanoCmp.js.map +1 -1
- package/lib/module/native/OsanoCmpSdkSpec.js +3 -0
- package/lib/module/native/OsanoCmpSdkSpec.js.map +1 -0
- package/lib/module/reducer.js +0 -2
- package/lib/module/reducer.js.map +1 -1
- package/lib/module/selectors.js +0 -2
- package/lib/module/selectors.js.map +1 -1
- package/lib/module/services/consent.js +41 -15
- package/lib/module/services/consent.js.map +1 -1
- package/lib/module/services/disclosures.js +0 -2
- package/lib/module/services/disclosures.js.map +1 -1
- package/lib/module/services/google-consent-mode-mapper.js +0 -2
- package/lib/module/services/google-consent-mode-mapper.js.map +1 -1
- package/lib/module/services/locale.js +0 -2
- package/lib/module/services/locale.js.map +1 -1
- package/lib/module/styles.js +0 -2
- package/lib/module/styles.js.map +1 -1
- package/lib/module/types/consent-config.d.js +0 -2
- package/lib/module/types/env.d.js +1 -1
- package/lib/module/types/google-consent-mode.js +0 -2
- package/lib/module/types/google-consent-mode.js.map +1 -1
- package/lib/module/types/index.d.js +0 -2
- package/lib/module/types/store.d.js +0 -2
- package/lib/module/utils/API.js +0 -2
- package/lib/module/utils/API.js.map +1 -1
- package/lib/module/utils/Color.js +0 -2
- package/lib/module/utils/Color.js.map +1 -1
- package/lib/module/utils/EventEmitter.js +0 -2
- package/lib/module/utils/EventEmitter.js.map +1 -1
- package/lib/module/utils/ExpoDetector.js +98 -0
- package/lib/module/utils/ExpoDetector.js.map +1 -0
- package/lib/module/utils/ExpoGoMemoryStorage.js +54 -0
- package/lib/module/utils/ExpoGoMemoryStorage.js.map +1 -0
- package/lib/module/utils/OsanoLogger.js +0 -2
- package/lib/module/utils/OsanoLogger.js.map +1 -1
- package/lib/module/utils/Translator.js +0 -2
- package/lib/module/utils/Translator.js.map +1 -1
- package/lib/module/utils/index.js +0 -2
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/types.js +1 -1
- package/lib/module/views/Dialog/Buttons.js +31 -37
- package/lib/module/views/Dialog/Buttons.js.map +1 -1
- package/lib/module/views/Dialog/FirstLayerUsage.js +8 -14
- package/lib/module/views/Dialog/FirstLayerUsage.js.map +1 -1
- package/lib/module/views/Dialog/Message.js +1 -4
- package/lib/module/views/Dialog/Message.js.map +1 -1
- package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js +15 -22
- package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
- package/lib/module/views/Dialog/index.js +72 -106
- package/lib/module/views/Dialog/index.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.ConsentCategories.js +197 -251
- package/lib/module/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Header.js +39 -48
- package/lib/module/views/Drawer/Drawer.Header.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js +87 -99
- package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Iab.Vendors.js +191 -227
- package/lib/module/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
- package/lib/module/views/Drawer/index.js +55 -75
- package/lib/module/views/Drawer/index.js.map +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts +209 -0
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts +3 -0
- package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/actions.d.ts +66 -0
- package/lib/typescript/lib/commonjs/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/commands.d.ts +4 -0
- package/lib/typescript/lib/commonjs/commands.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button.d.ts +11 -0
- package/lib/typescript/lib/commonjs/components/Button.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Checkbox.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Divider.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Divider.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts +8 -0
- package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Link.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Link.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/List.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/List.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Locale.d.ts +6 -0
- package/lib/typescript/lib/commonjs/components/Locale.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Toggle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/constants.d.ts +20 -0
- package/lib/typescript/lib/commonjs/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/context.d.ts +4 -0
- package/lib/typescript/lib/commonjs/context.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/flavors/index.d.ts +122 -0
- package/lib/typescript/lib/commonjs/flavors/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts +18 -0
- package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts +4 -0
- package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts +3 -0
- package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts +8 -0
- package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/actions.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/constants.d.ts +5 -0
- package/lib/typescript/lib/commonjs/iab/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts +30 -0
- package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts +25 -0
- package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts +26 -0
- package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts +32 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +19 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts +17 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts +16 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts +13 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +12 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/iab/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/reducer.d.ts +6 -0
- package/lib/typescript/lib/commonjs/iab/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts +64 -0
- package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts +60 -0
- package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +62 -0
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts +4 -0
- package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts +23 -0
- package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +49 -0
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts +14 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts +5 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts +200 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts +32 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts +47 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts +51 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/iab/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +6 -0
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts +27 -0
- package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts +109 -0
- package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/index.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts +14 -0
- package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts +13 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts +12 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/utilities.d.ts +3 -0
- package/lib/typescript/lib/commonjs/iab/utilities.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts +6 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/locale/index.d.ts +62 -0
- package/lib/typescript/lib/commonjs/locale/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +10 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmpSdkSpec.d.ts +5 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmpSdkSpec.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/reducer.d.ts +35 -0
- package/lib/typescript/lib/commonjs/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/selectors.d.ts +16 -0
- package/lib/typescript/lib/commonjs/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/consent.d.ts +11 -0
- package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/disclosures.d.ts +3 -0
- package/lib/typescript/lib/commonjs/services/disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts +72 -0
- package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/locale.d.ts +4 -0
- package/lib/typescript/lib/commonjs/services/locale.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/styles.d.ts +141 -0
- package/lib/typescript/lib/commonjs/styles.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/env.d.d.ts +1 -0
- package/lib/typescript/lib/commonjs/types/env.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts +32 -0
- package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/index.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/index.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/store.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/store.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/API.d.ts +7 -0
- package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/Color.d.ts +13 -0
- package/lib/typescript/lib/commonjs/utils/Color.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts +16 -0
- package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/ExpoDetector.d.ts +28 -0
- package/lib/typescript/lib/commonjs/utils/ExpoDetector.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/ExpoGoMemoryStorage.d.ts +22 -0
- package/lib/typescript/lib/commonjs/utils/ExpoGoMemoryStorage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts +16 -0
- package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts +54 -0
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/index.d.ts +8 -0
- package/lib/typescript/lib/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/utils/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/ConsentManager.d.ts +543 -0
- package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -0
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +175 -0
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +1 -0
- package/lib/typescript/lib/module/actions.d.ts +65 -0
- package/lib/typescript/lib/module/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/commands.d.ts +3 -0
- package/lib/typescript/lib/module/commands.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Button.d.ts +11 -0
- package/lib/typescript/lib/module/components/Button.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Checkbox.d.ts +4 -0
- package/lib/typescript/lib/module/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Divider.d.ts +4 -0
- package/lib/typescript/lib/module/components/Divider.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/ExpansionPanel.d.ts +9 -0
- package/lib/typescript/lib/module/components/ExpansionPanel.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Link.d.ts +4 -0
- package/lib/typescript/lib/module/components/Link.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/List.d.ts +4 -0
- package/lib/typescript/lib/module/components/List.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Locale.d.ts +8 -0
- package/lib/typescript/lib/module/components/Locale.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts +4 -0
- package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Toggle.d.ts +4 -0
- package/lib/typescript/lib/module/components/Toggle.d.ts.map +1 -0
- package/lib/typescript/lib/module/constants.d.ts +19 -0
- package/lib/typescript/lib/module/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/context.d.ts +194 -0
- package/lib/typescript/lib/module/context.d.ts.map +1 -0
- package/lib/typescript/lib/module/flavors/index.d.ts +17 -0
- package/lib/typescript/lib/module/flavors/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts +17 -0
- package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts +3 -0
- package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/usePrevious.d.ts +2 -0
- package/lib/typescript/lib/module/hooks/usePrevious.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts +7 -0
- package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/actions.d.ts +9 -0
- package/lib/typescript/lib/module/iab/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/constants.d.ts +4 -0
- package/lib/typescript/lib/module/iab/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/api.d.ts +28 -0
- package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/consent.d.ts +24 -0
- package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/constants.d.ts +37 -0
- package/lib/typescript/lib/module/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +18 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts +16 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts +15 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/index.d.ts +10 -0
- package/lib/typescript/lib/module/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/reducer.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/selectors.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/gpp/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +17 -0
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/index.d.ts +2 -0
- package/lib/typescript/lib/module/iab/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/reducer.d.ts +5 -0
- package/lib/typescript/lib/module/iab/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/actions.d.ts +63 -0
- package/lib/typescript/lib/module/iab/tcf/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/consent.d.ts +59 -0
- package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts +61 -0
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/helpers.d.ts +8 -0
- package/lib/typescript/lib/module/iab/tcf/helpers.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts +8 -0
- package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/index.d.ts +332 -0
- package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/middleware.d.ts +3 -0
- package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/reducer.d.ts +21 -0
- package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +48 -0
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/types.d.ts +2 -0
- package/lib/typescript/lib/module/iab/tcf/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts +13 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts +4 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +337 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +81 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +121 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +113 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/types.d.ts +2 -0
- package/lib/typescript/lib/module/iab/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/api.d.ts +4 -0
- package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/consent.d.ts +13 -0
- package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/constants.d.ts +77 -0
- package/lib/typescript/lib/module/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/index.d.ts +10 -0
- package/lib/typescript/lib/module/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/reducer.d.ts +13 -0
- package/lib/typescript/lib/module/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts +6 -0
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/usp/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts +9 -0
- package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +16 -0
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/utilities.d.ts +2 -0
- package/lib/typescript/lib/module/iab/utilities.d.ts.map +1 -0
- package/lib/typescript/lib/module/index.d.ts +5 -0
- package/lib/typescript/lib/module/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/locale/index.d.ts +61 -0
- package/lib/typescript/lib/module/locale/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts +9 -0
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +1 -0
- package/lib/typescript/lib/module/native/OsanoCmpSdkSpec.d.ts +3 -0
- package/lib/typescript/lib/module/native/OsanoCmpSdkSpec.d.ts.map +1 -0
- package/lib/typescript/lib/module/reducer.d.ts +34 -0
- package/lib/typescript/lib/module/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/selectors.d.ts +15 -0
- package/lib/typescript/lib/module/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/consent.d.ts +10 -0
- package/lib/typescript/lib/module/services/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/disclosures.d.ts +2 -0
- package/lib/typescript/lib/module/services/disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts +71 -0
- package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/locale.d.ts +3 -0
- package/lib/typescript/lib/module/services/locale.d.ts.map +1 -0
- package/lib/typescript/lib/module/styles.d.ts +140 -0
- package/lib/typescript/lib/module/styles.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/consent-config.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/consent-config.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/env.d.d.ts +1 -0
- package/lib/typescript/lib/module/types/env.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/google-consent-mode.d.ts +38 -0
- package/lib/typescript/lib/module/types/google-consent-mode.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/index.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/index.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/store.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/store.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/API.d.ts +6 -0
- package/lib/typescript/lib/module/utils/API.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/Color.d.ts +12 -0
- package/lib/typescript/lib/module/utils/Color.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/EventEmitter.d.ts +15 -0
- package/lib/typescript/lib/module/utils/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/ExpoDetector.d.ts +27 -0
- package/lib/typescript/lib/module/utils/ExpoDetector.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/ExpoGoMemoryStorage.d.ts +21 -0
- package/lib/typescript/lib/module/utils/ExpoGoMemoryStorage.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/OsanoLogger.d.ts +15 -0
- package/lib/typescript/lib/module/utils/OsanoLogger.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/Translator.d.ts +52 -0
- package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/index.d.ts +6 -0
- package/lib/typescript/lib/module/utils/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/types.d.ts +1 -0
- package/lib/typescript/lib/module/utils/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/Message.d.ts +4 -0
- package/lib/typescript/lib/module/views/Dialog/Message.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts +6 -0
- package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/index.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/index.d.ts +4 -0
- package/lib/typescript/lib/module/views/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/src/ConsentManager.d.ts +3 -3
- package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/src/commands.d.ts.map +1 -1
- package/lib/typescript/src/components/Button.d.ts.map +1 -1
- package/lib/typescript/src/components/Divider.d.ts.map +1 -1
- package/lib/typescript/src/components/ExpansionPanel.d.ts.map +1 -1
- package/lib/typescript/src/components/Link.d.ts.map +1 -1
- package/lib/typescript/src/components/Locale.d.ts.map +1 -1
- package/lib/typescript/src/components/StoragePolicyLink.d.ts.map +1 -1
- package/lib/typescript/src/components/Toggle.d.ts.map +1 -1
- package/lib/typescript/src/iab/actions.d.ts.map +1 -1
- package/lib/typescript/src/iab/constants.d.ts +1 -1
- package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +2 -2
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/v1/index.d.ts +1 -3
- package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/reducer.d.ts +1 -0
- package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/selectors.d.ts +2 -0
- package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/types.d.ts +2 -0
- package/lib/typescript/src/iab/tcf/types.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts +2 -0
- package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts +6 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts +5 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/api.d.ts +1 -1
- package/lib/typescript/src/iab/usp/api.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/constants.d.ts +1 -1
- package/lib/typescript/src/iab/usp/selectors.d.ts +1 -4
- package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/v1/index.d.ts +1 -1
- package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/utilities.d.ts.map +1 -1
- package/lib/typescript/src/native/OsanoCmp.d.ts.map +1 -1
- package/lib/typescript/src/{NativeOsanoCmpSdk.d.ts → native/OsanoCmpSdkSpec.d.ts} +7 -4
- package/lib/typescript/src/native/OsanoCmpSdkSpec.d.ts.map +1 -0
- package/lib/typescript/src/reducer.d.ts.map +1 -1
- package/lib/typescript/src/selectors.d.ts.map +1 -1
- package/lib/typescript/src/services/consent.d.ts +1 -1
- package/lib/typescript/src/services/consent.d.ts.map +1 -1
- package/lib/typescript/src/styles.d.ts.map +1 -1
- package/lib/typescript/src/utils/Color.d.ts.map +1 -1
- package/lib/typescript/src/utils/ExpoDetector.d.ts +29 -0
- package/lib/typescript/src/utils/ExpoDetector.d.ts.map +1 -0
- package/lib/typescript/src/utils/ExpoGoMemoryStorage.d.ts +21 -0
- package/lib/typescript/src/utils/ExpoGoMemoryStorage.d.ts.map +1 -0
- package/lib/typescript/src/utils/Translator.d.ts +1 -1
- package/lib/typescript/src/utils/Translator.d.ts.map +1 -1
- package/lib/typescript/src/views/Dialog/index.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/index.d.ts.map +1 -1
- package/osano-cmp-sdk.podspec +15 -15
- package/package.json +33 -15
- package/src/ConsentManager.ts +100 -119
- package/src/components/Button.tsx +1 -1
- package/src/components/Locale.tsx +1 -1
- package/src/constants.ts +1 -1
- package/src/iab/constants.ts +1 -1
- package/src/iab/tcf/consent.ts +41 -26
- package/src/iab/tcf/middleware.ts +43 -18
- package/src/iab/tcf/reducer.ts +29 -9
- package/src/iab/tcf/selectors.ts +16 -0
- package/src/iab/tcf/types.ts +2 -0
- package/src/iab/tcf/v2.0/tcfcav1-constants.ts +24 -3
- package/src/iab/tcf/v2.0/tcfeuv2-constants.ts +19 -1
- package/src/index.tsx +1 -1
- package/src/native/OsanoCmp.ts +39 -19
- package/src/native/OsanoCmpSdkSpec.ts +25 -0
- package/src/services/consent.ts +53 -29
- package/src/types/index.d.ts +2 -2
- package/src/utils/ExpoDetector.ts +114 -0
- package/src/utils/ExpoGoMemoryStorage.ts +61 -0
- package/src/utils/Translator.ts +1 -1
- package/src/views/Dialog/Buttons.tsx +1 -1
- package/src/views/Dialog/index.tsx +107 -134
- package/src/views/Drawer/Drawer.Header.tsx +1 -1
- package/src/views/Drawer/Drawer.Iab.Disclosures.tsx +6 -3
- package/src/views/Drawer/Drawer.Iab.Vendors.tsx +18 -10
- package/src/views/Drawer/index.tsx +45 -63
- package/android/src/main/AndroidManifestNew.xml +0 -2
- package/lib/commonjs/NativeOsanoCmpSdk.js +0 -56
- package/lib/commonjs/NativeOsanoCmpSdk.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/module/NativeOsanoCmpSdk.js +0 -52
- package/lib/module/NativeOsanoCmpSdk.js.map +0 -1
- package/lib/typescript/src/NativeOsanoCmpSdk.d.ts.map +0 -1
- package/src/NativeOsanoCmpSdk.ts +0 -64
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CLEAR_CONSENT","CLOSE","RELOAD","SET_CONFIG","
|
|
1
|
+
{"version":3,"names":["CLEAR_CONSENT","CLOSE","RELOAD","SET_CONFIG","clearStorage","getStorage","setStorage","osanoLogger","SET_CONSENT_DATA","setConsentData","SET_ALL_PURPOSE_CONSENT","SET_ALL_SPECIAL_FEATURE_CONSENT","SET_ALL_VENDOR_CONSENT","setConsent","makeFormatConsentString","makeParseConsentString","idRecordToBinaryString","updatePurposeOptOuts","updateSpecialFeatureOptIns","updateVendorOptOuts","clearAllIABKeys","setAllIABKeys","getConsentString","getPurposeIds","Platform","makeMiddleware","initOptions","createConsentPayload","gppSection","version","parseConsentString","formatConsentString","store","next","action","oldState","getState","newState","type","payload","config","configId","iab","tcf","v2","resConsent","jsonString","JSON","parse","dispatch","e","OS","then","catch","window","localStorage","getItem","removeItem","acceptOrDeny","purposeIds","purposeOptouts","specialFeatureIds","Set","Object","values","getVendors","map","vendor","specialPurposes","reduce","acc","ids","concat","specialFeatureOptins","Array","from","vendorIds","getVendorIds","vendorOptouts","value","cmpId","cmpVersion","storageKey","currentTcString","info","consent","consentData","tcString","policyVersion","publisherCC","gdprApplies","purposeOneTreatment","useNonStandardStacks","vendorConsentsString","consents","vendorLegitimateInterestsString","legitimateInterests","purposeConsentsString","purpose","purposeLegitimateInterestsString","specialFeatureOptinsString","enableAdvertiserConsentMode","googleConsent","tcfIsApplicable"],"sourceRoot":"../../../../src","sources":["iab/tcf/middleware.ts"],"mappings":"AAAA;AACA,SAASA,aAAa,EAAEC,KAAK,EAAEC,MAAM,EAAEC,UAAU,QAAQ,eAAe;AACxE,SAASC,YAAY,EAAEC,UAAU,EAAEC,UAAU,QAAQ,uBAAuB;AAE5E,SAASC,WAAW,QAAQ,yBAAyB;AACrD,SAASC,gBAAgB,EAAEC,cAAc,QAAQ,YAAY;AAC7D,SACCC,uBAAuB,EACvBC,+BAA+B,EAC/BC,sBAAsB,EACtBC,UAAU,QACJ,WAAW;AAClB,SAASC,uBAAuB,EAAEC,sBAAsB,QAAQ,WAAW;AAC3E,SACCC,sBAAsB,EACtBC,oBAAoB,EACpBC,0BAA0B,EAC1BC,mBAAmB,QACb,WAAW;AAClB,SAASC,eAAe,EA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AI9D,MAAM,EAAE+D;YACnC,CAAC;YAEDlF,aAAa,CAACiE,WAAW,CAAC;UAC3B;QACD;IACD;IAEA,OAAOjD,QAAQ;EAChB,CAAC;AACH,CAAC;AAED,eAAeZ,cAAc","ignoreList":[]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
// @ts-nocheck
|
|
4
2
|
import { CLEAR_CONSENT, CLOSE, RELOAD, SET_CONFIG } from '../../actions';
|
|
5
3
|
import { SET_CONSENT, SET_PURPOSE_CONSENT, SET_SPECIAL_FEATURE_CONSENT, SET_VENDOR_CONSENT, UPDATE_PURPOSE_LIST } from './actions';
|
|
6
|
-
import { getVendorListVersion, getVendors } from './selectors';
|
|
4
|
+
import { getUpdatedVendorDisclosures, getVendorListVersion, getVendors } from './selectors';
|
|
7
5
|
import { updatePurposeOptOuts, updateSpecialFeatureOptIns, updateVendorOptOuts } from './helpers';
|
|
6
|
+
import { Platform } from 'react-native';
|
|
8
7
|
import { setStorage } from '../../native/OsanoCmp';
|
|
9
8
|
export const initialState = {
|
|
10
9
|
iab: {
|
|
@@ -19,7 +18,8 @@ export const initialState = {
|
|
|
19
18
|
vendorListLoaded: false,
|
|
20
19
|
vendorListVersion: 0,
|
|
21
20
|
vendors: {},
|
|
22
|
-
vendorOptouts: {}
|
|
21
|
+
vendorOptouts: {},
|
|
22
|
+
vendorDisclosures: {}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -48,6 +48,7 @@ const updateOptions = (state, options) => {
|
|
|
48
48
|
} = initOptions;
|
|
49
49
|
const vendorListVersion = getVendorListVersion(config, version);
|
|
50
50
|
const vendors = getVendors(config, version);
|
|
51
|
+
const vendorDisclosures = getUpdatedVendorDisclosures(config, version);
|
|
51
52
|
return {
|
|
52
53
|
...state,
|
|
53
54
|
...initialState,
|
|
@@ -58,7 +59,8 @@ const updateOptions = (state, options) => {
|
|
|
58
59
|
...state.iab.tcf?.v2,
|
|
59
60
|
vendorListLoaded: true,
|
|
60
61
|
vendorListVersion,
|
|
61
|
-
vendors
|
|
62
|
+
vendors,
|
|
63
|
+
vendorDisclosures
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
}
|
|
@@ -126,24 +128,34 @@ export default function makeReducer(initOptions) {
|
|
|
126
128
|
config
|
|
127
129
|
} = payload;
|
|
128
130
|
if (config.configId && config.iabEnabled) {
|
|
129
|
-
const
|
|
130
|
-
|
|
131
|
+
const consentPayload = createConsentPayload(state);
|
|
132
|
+
switch (Platform.OS) {
|
|
133
|
+
case 'ios':
|
|
134
|
+
case 'android':
|
|
135
|
+
setStorage(`${gppSection}_${config.configId}`, JSON.stringify(consentPayload));
|
|
136
|
+
break;
|
|
137
|
+
default:
|
|
138
|
+
try {
|
|
139
|
+
window.localStorage.setItem(`${gppSection}_${config.configId}`, JSON.stringify(consentPayload));
|
|
140
|
+
} catch (e) {}
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
131
143
|
}
|
|
132
144
|
return state;
|
|
133
145
|
}
|
|
134
146
|
case CLEAR_CONSENT:
|
|
135
147
|
{
|
|
136
|
-
const
|
|
148
|
+
const consentPayload = createConsentPayload();
|
|
137
149
|
return {
|
|
138
150
|
...state,
|
|
139
151
|
iab: {
|
|
140
152
|
...state.iab,
|
|
141
153
|
tcf: {
|
|
142
154
|
...state.iab.tcf,
|
|
143
|
-
...
|
|
155
|
+
...consentPayload,
|
|
144
156
|
v2: {
|
|
145
157
|
...state.iab.tcf?.v2,
|
|
146
|
-
...
|
|
158
|
+
...consentPayload.v2
|
|
147
159
|
}
|
|
148
160
|
}
|
|
149
161
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CLEAR_CONSENT","CLOSE","RELOAD","SET_CONFIG","SET_CONSENT","SET_PURPOSE_CONSENT","SET_SPECIAL_FEATURE_CONSENT","SET_VENDOR_CONSENT","UPDATE_PURPOSE_LIST","getVendorListVersion","getVendors","updatePurposeOptOuts","updateSpecialFeatureOptIns","updateVendorOptOuts","setStorage","initialState","iab","consentStrings","tcf","v2","purposeOptouts","specialFeatureOptins","stacks","vendorListError","vendorListLoading","vendorListLoaded","vendorListVersion","vendors","vendorOptouts","processPurposeList","_purposeList","_language","updateOptions","state","options","initOptions","config","version","makeReducer","createConsentPayload","gppSection","action","type","payload","customerId","configId","consentConfig","iabEnabled","JSON","stringify","specialFeatureId","acceptOrDeny","purposeId","vendorId","purposeList","language"],"sourceRoot":"../../../../src","sources":["iab/tcf/reducer.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["CLEAR_CONSENT","CLOSE","RELOAD","SET_CONFIG","SET_CONSENT","SET_PURPOSE_CONSENT","SET_SPECIAL_FEATURE_CONSENT","SET_VENDOR_CONSENT","UPDATE_PURPOSE_LIST","getUpdatedVendorDisclosures","getVendorListVersion","getVendors","updatePurposeOptOuts","updateSpecialFeatureOptIns","updateVendorOptOuts","Platform","setStorage","initialState","iab","consentStrings","tcf","v2","purposeOptouts","specialFeatureOptins","stacks","vendorListError","vendorListLoading","vendorListLoaded","vendorListVersion","vendors","vendorOptouts","vendorDisclosures","processPurposeList","_purposeList","_language","updateOptions","state","options","initOptions","config","version","makeReducer","createConsentPayload","gppSection","action","type","payload","customerId","configId","consentConfig","iabEnabled","consentPayload","OS","JSON","stringify","window","localStorage","setItem","e","specialFeatureId","acceptOrDeny","purposeId","vendorId","purposeList","language"],"sourceRoot":"../../../../src","sources":["iab/tcf/reducer.ts"],"mappings":"AAAA;AACA,SAASA,aAAa,EAAEC,KAAK,EAAEC,MAAM,EAAEC,UAAU,QAAQ,eAAe;AAExE,SACCC,WAAW,EACXC,mBAAmB,EACnBC,2BAA2B,EAC3BC,kBAAkB,EAClBC,mBAAmB,QACb,WAAW;AAClB,SACCC,2BAA2B,EAC3BC,oBAAoB,EACpBC,UAAU,QACJ,aAAa;AACpB,SACCC,oBAAoB,EACpBC,0BAA0B,EAC1BC,mBAAmB,QACb,WAAW;AAMlB,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,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { consentToPurpose, purposeIds } from './constants';
|
|
4
2
|
import { ConsentCategory } from '../../constants';
|
|
5
3
|
import { get } from '../../utils';
|
|
@@ -71,6 +69,10 @@ export const getVendorData = (state, {
|
|
|
71
69
|
vendorId
|
|
72
70
|
}) => get(getVendors(state, apiVersion), `${vendorId}`) || {};
|
|
73
71
|
export const getVendorIds = (config, apiVersion) => Object.keys(getVendors(config, apiVersion)).map(vendorId => Number.parseInt(vendorId, 10)) || [];
|
|
72
|
+
export const getActiveVendorIds = (config, apiVersion) => {
|
|
73
|
+
const vendors = getVendors(config, apiVersion);
|
|
74
|
+
return Object.values(vendors).filter(v => !v.deletedDate).map(v => Number(v.id));
|
|
75
|
+
};
|
|
74
76
|
export const getVendorOptOuts = (state, apiVersion) => get(getStateData(state, apiVersion), 'vendorOptouts') || {};
|
|
75
77
|
export const getVendorListError = (state, apiVersion) => get(getStateData(state, apiVersion), 'vendorListError', 0);
|
|
76
78
|
export const getVendorListVersion = (config, apiVersion) => get(getConfigData(config, apiVersion), 'vendorListVersion');
|
|
@@ -111,4 +113,13 @@ export const getConsent = state => {
|
|
|
111
113
|
consent[ConsentCategory.OPT_OUT] = getFinalOptOutValue(state);
|
|
112
114
|
return consent;
|
|
113
115
|
};
|
|
116
|
+
export const getUpdatedVendorDisclosures = (config, apiVersion) => {
|
|
117
|
+
const activeVendors = getActiveVendorIds(config, apiVersion);
|
|
118
|
+
const disclosures = {};
|
|
119
|
+
for (const vendorId of activeVendors) {
|
|
120
|
+
// We disclose all active IAB vendors (there is no way to selectively hide them), so set them all to true.
|
|
121
|
+
disclosures[`${vendorId}`] = true;
|
|
122
|
+
}
|
|
123
|
+
return disclosures;
|
|
124
|
+
};
|
|
114
125
|
//# sourceMappingURL=selectors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["consentToPurpose","purposeIds","ConsentCategory","get","initialState","isBrowsingFrom","DOMAIN","doesGDPRApply","config","apiVersion","getConfigData","getStore","isIABEnabled","iab","enabled","parseInt","getStateData","state","getCurrentScreen","Math","max","stack","length","getConsentString","gppSection","tcString","consentStrings","getPublisherLegitimateInterests","getPurposeIds","getPurposeOptOuts","getPurposeConsents","consent","getSavedConsent","getConsent","optOutPurposes","Object","entries","reduce","purposeConsents","purposeId","hasConsented","getPurposesLITransparency","purposeLITransparency","forEach","getSpecialFeatureOptIns","getVendors","getVendorData","vendorId","getVendorIds","keys","map","Number","getVendorOptOuts","getVendorListError","getVendorListVersion","hasActed","hasConsentedToSpecialFeature","specialFeatureId","hasOptedOutOfVendor","hasOptedOutOfPurpose","isTcfApplicable","isVendorListLoaded","isVendorListLoading","getCountryCode","country","substring","toUpperCase","isSaved","getFinalOptOutValue","pendingNewValue","undefined","existingOptOut","OPT_OUT"],"sourceRoot":"../../../../src","sources":["iab/tcf/selectors.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["consentToPurpose","purposeIds","ConsentCategory","get","initialState","isBrowsingFrom","DOMAIN","doesGDPRApply","config","apiVersion","getConfigData","getStore","isIABEnabled","iab","enabled","parseInt","getStateData","state","getCurrentScreen","Math","max","stack","length","getConsentString","gppSection","tcString","consentStrings","getPublisherLegitimateInterests","getPurposeIds","getPurposeOptOuts","getPurposeConsents","consent","getSavedConsent","getConsent","optOutPurposes","Object","entries","reduce","purposeConsents","purposeId","hasConsented","getPurposesLITransparency","purposeLITransparency","forEach","getSpecialFeatureOptIns","getVendors","getVendorData","vendorId","getVendorIds","keys","map","Number","getActiveVendorIds","vendors","values","filter","v","deletedDate","id","getVendorOptOuts","getVendorListError","getVendorListVersion","hasActed","hasConsentedToSpecialFeature","specialFeatureId","hasOptedOutOfVendor","hasOptedOutOfPurpose","isTcfApplicable","isVendorListLoaded","isVendorListLoading","getCountryCode","country","substring","toUpperCase","isSaved","getFinalOptOutValue","pendingNewValue","undefined","existingOptOut","OPT_OUT","getUpdatedVendorDisclosures","activeVendors","dis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B;EACJ,IAAIA,eAAe,KAAK,IAAI,EAAE;IAC7B,OAAO,IAAI;EACZ,CAAC,MAAM,IAAIA,eAAe,KAAKC,SAAS,EAAE;IACzC,MAAMC,cAAc,GACnB3E,GAAG,CAACc,KAAK,EAAE,CAAC,SAAS,EAAEf,eAAe,CAAC6E,OAAO,CAAC,CAAC,IAChD3E,YAAY,CAAC2B,OAAO,CAAC7B,eAAe,CAAC6E,OAAO,CAAC;IAC9C,OAAOD,cAAc;EACtB;EAEA,OAAO,KAAK;AACb,CAAC;AAED,OAAO,MAAM7C,UAAU,GAAIhB,KAAkB,IAAK;EACjD,MAAMc,OAAqD,GAAG;IAC7D,IAAI5B,GAAG,CAACc,KAAK,EAAE,SAAS,CAAC,IAAIb,YAAY,CAAC2B,OAAO;EAClD,CAAC;EACD;EACA;EACAA,OAAO,CAAC7B,eAAe,CAAC6E,OAAO,CAAC,GAAGJ,mBAAmB,CAAC1D,KAAK,CAAC;EAC7D,OAAOc,OAAO;AACf,CAAC;AAED,OAAO,MAAMiD,2BAA2B,GAAGA,CAACxE,MAAc,EAAEC,UAAmB,KAAK;EACnF,MAAMwE,aAAa,GAAG7B,kBAAkB,CAAC5C,MAAM,EAAEC,UAAU,CAAC;EAC5D,MAAMyE,WAAoC,GAAG,CAAC,CAAC;EAC/C,KAAK,MAAMnC,QAAQ,IAAIkC,aAAa,EAAE;IACrC;IACAC,WAAW,CAAC,GAAGnC,QAAQ,EAAE,CAAC,GAAG,IAAI;EAClC;EACA,OAAOmC,WAAW;AACnB,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BooleanEncoder","DatetimeEncoder","FixedIdBitMapEncoder","FixedIntegerEncoder","FixedStringEncoder","EncodableOptimizedFixedRange","adaptEncoder","encoder","decode","bitString","numBits","bitLength","value","encode","BitEncoder","DateEncoder","IdBitMapEncoder","IntEncoder","LangEncoder","toUpperCase"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/encoders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["BooleanEncoder","DatetimeEncoder","FixedIdBitMapEncoder","FixedIntegerEncoder","FixedStringEncoder","EncodableOptimizedFixedRange","adaptEncoder","encoder","decode","bitString","numBits","bitLength","value","encode","BitEncoder","DateEncoder","IdBitMapEncoder","IntEncoder","LangEncoder","toUpperCase"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/encoders.ts"],"mappings":"AAAA,SACCA,cAAc,EACdC,eAAe,EACfC,oBAAoB,EACpBC,mBAAmB,EACnBC,kBAAkB,QAEZ,oBAAoB;AAE3B,SAASC,4BAA4B,QAAQ,oBAAoB;AAEjE,MAAMC,YAAY,GAAIC,OAAgB,KAAM;EAC3CC,MAAM,EAAEA,CAACC,SAAiB,EAAEC,OAAe,MAAM;IAChDC,SAAS,EAAED,OAAO;IAClBE,KAAK,EAAEL,OAAO,CAACC,MAAM,CAACC,SAAS,EAAEC,OAAO;EACzC,CAAC,CAAC;EACFG,MAAM,EAAEN,OAAO,CAACM;AACjB,CAAC,CAAC;AAEF,OAAO,MAAMC,UAAU,GAAGR,YAAY,CAACN,cAAc,CAAC;AACtD,OAAO,MAAMe,WAAW,GAAGT,YAAY,CAACL,eAAe,CAAC;AACxD;AACA,OAAO,MAAMe,eAAe,GAAGV,YAAY,CAACJ,oBAAoB,CAAC;AACjE,OAAO,MAAMe,UAAU,GAAGX,YAAY,CAACH,mBAAmB,CAAC;AAC3D,OAAO,MAAMe,WAAW,GAAGZ,YAAY,CAAC;EACvCE,MAAM,EAAEJ,kBAAkB,CAACI,MAAM;EACjCK,MAAM,EAAGD,KAAa,IAAKR,kBAAkB,CAACS,MAAM,CAACD,KAAK,EAAE,CAAC,CAAC,CAACO,WAAW,CAAC;AAC5E,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["idsOnlyArrayFormatter","value","Object","entries","filter","v","map","k","parseInt","fixedValuesArrayFormatter","idValueMap","length","array","Array","fill","dateFormatter","deciseconds","Date"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/formatters.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["idsOnlyArrayFormatter","value","Object","entries","filter","v","map","k","parseInt","fixedValuesArrayFormatter","idValueMap","length","array","Array","fill","dateFormatter","deciseconds","Date"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/formatters.ts"],"mappings":"AAAA,OAAO,MAAMA,qBAAqB,GAAIC,KAA8B,IACnEC,MAAM,CAACC,OAAO,CAACF,KAAK,CAAC,CACnBG,MAAM,CAAC,CAAC,GAAGC,CAAC,CAAC,KAAKA,CAAC,CAAC,CACpBC,GAAG,CAAC,CAAC,CAACC,CAAC,CAAC,KAAKC,QAAQ,CAACD,CAAC,EAAE,EAAE,CAAC,CAAC;AAEhC,OAAO,MAAME,yBAAyB,GAAGA,CACxCC,UAAmC,EACnCC,MAAc,KACV;EACJ,MAAMC,KAAgB,GAAG,IAAIC,KAAK,CAACF,MAAM,CAAC,CAACG,IAAI,CAAC,KAAK,CAAC;EACtD,KAAK,MAAM,CAACP,CAAC,EAAEF,CAAC,CAAC,IAAIH,MAAM,CAACC,OAAO,CAACO,UAAU,CAAC,EAAE;IAChDE,KAAK,CAACJ,QAAQ,CAACD,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,GAAGF,CAAC;EAC/B;EACA,OAAOO,KAAK;AACb,CAAC;AAED,OAAO,MAAMG,aAAa,GAAIC,WAAmB,IAChD,IAAIC,IAAI,CAACD,WAAW,GAAG,GAAG,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["makeConsentFromOptions","makeFormatConsentString","makeParseConsentString","makeReadFromStorage","makeMiddleware","makeReducer","initOptions","tcfcav1InitOptions","tcfeuv2InitOptions","tcfeuv2","middleware","reducer","consentFromOptions","formatConsentString","parseConsentString","readFromStorage","tcfcav1"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["makeConsentFromOptions","makeFormatConsentString","makeParseConsentString","makeReadFromStorage","makeMiddleware","makeReducer","initOptions","tcfcav1InitOptions","tcfeuv2InitOptions","tcfeuv2","middleware","reducer","consentFromOptions","formatConsentString","parseConsentString","readFromStorage","tcfcav1"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/index.ts"],"mappings":"AAAA,SACCA,sBAAsB,EACtBC,uBAAuB,EACvBC,sBAAsB,EACtBC,mBAAmB,QACb,YAAY;AAGnB,OAAOC,cAAc,MAAM,eAAe;AAC1C,OAAOC,WAAW,MAAM,YAAY;AACpC,SAASC,WAAW,IAAIC,kBAAkB,QAAQ,qBAAqB;AACvE,SAASD,WAAW,IAAIE,kBAAkB,QAAQ,qBAAqB;;AAEvE;AACA;AACA;AACA;AACA;;AAEA,MAAMC,OAAO,GAAG;EACf,GAAGD,kBAAkB;EACrBE,UAAU,EAAEN,cAAc,CAACI,kBAAkB,CAAC;EAC9CG,OAAO,EAAEN,WAAW,CAACG,kBAAkB,CAAC;EACxCI,kBAAkB,EAAEZ,sBAAsB,CAACQ,kBAAkB,CAAC;EAC9DK,mBAAmB,EAAEZ,uBAAuB,CAACO,kBAAkB,CAAC;EAChEM,kBAAkB,EAAEZ,sBAAsB,CAACM,kBAAkB,CAAC;EAC9DO,eAAe,EAAEZ,mBAAmB,CAACK,kBAAkB;AACxD,CAAkB;AAElB,MAAMQ,OAAO,GAAG;EACf,GAAGT,kBAAkB;EACrBG,UAAU,EAAEN,cAAc,CAACG,kBAAkB,CAAC;EAC9CI,OAAO,EAAEN,WAAW,CAACE,kBAAkB,CAAC;EACxCK,kBAAkB,EAAEZ,sBAAsB,CAACO,kBAAkB,CAAC;EAC9DM,mBAAmB,EAAEZ,uBAAuB,CAACM,kBAAkB,CAAC;EAChEO,kBAAkB,EAAEZ,sBAAsB,CAACK,kBAAkB,CAAC;EAC9DQ,eAAe,EAAEZ,mBAAmB,CAACI,kBAAkB;AACxD,CAAkB;AAElB,eAAe;EAAEE,OAAO;EAAEO;AAAQ,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["selectors","CMP_ID","IAB_CMP_VERSION","version","storageKey","FALLBACK_GVL_VERSION","baseInitOptions","cmpId","cmpVersion","fallbackGvlVersion","defaultTimestamp","Date","now","createConsentPayload","state","v2","purposeOptouts","Object","fromEntries","entries","getPurposeOptOuts","filter","value","specialFeatureOptins","getSpecialFeatureOptIns","vendorOptouts","getVendorOptOuts"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/shared-constants.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["selectors","CMP_ID","IAB_CMP_VERSION","version","storageKey","FALLBACK_GVL_VERSION","baseInitOptions","cmpId","cmpVersion","fallbackGvlVersion","defaultTimestamp","Date","now","createConsentPayload","state","v2","purposeOptouts","Object","fromEntries","entries","getPurposeOptOuts","filter","value","specialFeatureOptins","getSpecialFeatureOptIns","vendorOptouts","getVendorOptOuts"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/shared-constants.ts"],"mappings":"AAAA,OAAO,KAAKA,SAAS,MAAM,cAAc;AAEzC,SAASC,MAAM,EAAEC,eAAe,QAAQ,iBAAiB;AAKzD,MAAMC,OAAuB,GAAG,KAAK;AACrC,MAAMC,UAAU,GAAG,iBAAiB;AACpC;AACA;AACA;AACA;AACA,MAAMC,oBAAoB,GAAG,GAAG;AAEhC,OAAO,MAAMC,eAAe,GAAG;EAC9BF,UAAU;EACVD,OAAO;EACPI,KAAK,EAAEN,MAAM;EACbO,UAAU,EAAEN,eAAe;EAC3BO,kBAAkB,EAAEJ,oBAAoB;EACxCK,gBAAgB,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC;EAC5BZ,SAAS,EAAE;IACV,GAAGA;EACJ,CAAC;EACDa,oBAAoBA,CAACC,KAAgB,EAAqB;IACzD,OAAO;MACNC,EAAE,EAAE;QACHC,cAAc,EAAGF,KAAK,GACnBG,MAAM,CAACC,WAAW,CAClBD,MAAM,CAACE,OAAO,CACbnB,SAAS,CAACoB,iBAAiB,CAACN,KAAK,EAAEX,OAAO,CAC3C,CAAC,CAACkB,MAAM,CAAC,CAAC,GAAGC,KAAK,CAAC,KAAK,CAAC,CAACA,KAAK,CAChC,CAAC,GACA,CAAC,CAAsC;QAC1CC,oBAAoB,EAAGT,KAAK,GACzBG,MAAM,CAACC,WAAW,CAClBD,MAAM,CAACE,OAAO,CACbnB,SAAS,CAACwB,uBAAuB,CAACV,KAAK,EAAEX,OAAO,CACjD,CAAC,CAACkB,MAAM,CAAC,CAAC,GAAGC,KAAK,CAAC,KAAK,CAAC,CAACA,KAAK,CAChC,CAAC,GACA,CAAC,CAAsC;QAC1CG,aAAa,EAAGX,KAAK,GAClBG,MAAM,CAACC,WAAW,CAClBD,MAAM,CAACE,OAAO,CAACnB,SAAS,CAAC0B,gBAAgB,CAACZ,KAAK,EAAEX,OAAO,CAAC,CAAC,CAACkB,MAAM,CAChE,CAAC,GAAGC,KAAK,CAAC,KAAK,CAAC,CAACA,KAClB,CACD,CAAC,GACA,CAAC;MACL;IACD,CAAC;EACF;AACD,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { BitEncoder, DateEncoder, EncodableOptimizedFixedRange, IdBitMapEncoder, IntEncoder, LangEncoder } from './encoders';
|
|
4
2
|
import { dateFormatter, fixedValuesArrayFormatter, idsOnlyArrayFormatter } from './formatters';
|
|
5
3
|
import { baseInitOptions } from './shared-constants';
|
|
@@ -8,6 +6,7 @@ import { createUTCTimestampInDeciseconds } from '../helpers';
|
|
|
8
6
|
|
|
9
7
|
// gppSection is the key in redux state that stores the consent string.
|
|
10
8
|
const gppSection = 'tcfcav1';
|
|
9
|
+
const tcfPolicyVersion = 5;
|
|
11
10
|
/**
|
|
12
11
|
* This string is a stub with only the base values so that consent.js has a
|
|
13
12
|
* string to start with. Its values are essentially blank and will be replaced
|
|
@@ -22,14 +21,23 @@ const coreFieldSequence = [['Version', 6, IntEncoder, 'version'], ['Created', 36
|
|
|
22
21
|
// Vendor Consents
|
|
23
22
|
['VendorExpressConsent', Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.consents', idsOnlyArrayFormatter],
|
|
24
23
|
// Vendor Legitimate Interests
|
|
25
|
-
['VendorImpliedConsent', Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.legitimateInterests', idsOnlyArrayFormatter]
|
|
24
|
+
['VendorImpliedConsent', Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.legitimateInterests', idsOnlyArrayFormatter],
|
|
25
|
+
// This is not supported in TcfCA v1, HOWEVER, it's still listed and required in the spec doc, and should always be 0
|
|
26
|
+
['PubRestrictions', 12, IntEncoder, 'numPubRestrictions']];
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The fields for the disclosed vendors segment of the TCString for TCF-Canada v1.
|
|
30
|
+
*/
|
|
31
|
+
const disclosedVendorsFieldSequence = [['DisclosedVendorsSegmentType', 3, IntEncoder], ['DisclosedVendors', Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.vendorsDisclosed', idsOnlyArrayFormatter]];
|
|
26
32
|
const version = Number.parseInt(baseInitOptions.version, 10);
|
|
27
33
|
const staticFields = {
|
|
28
34
|
version,
|
|
29
35
|
cmpId: baseInitOptions.cmpId,
|
|
30
36
|
cmpVersion: baseInitOptions.cmpVersion,
|
|
31
|
-
tcfPolicyVersion
|
|
32
|
-
useNonStandardStacks:
|
|
37
|
+
tcfPolicyVersion,
|
|
38
|
+
useNonStandardStacks: false,
|
|
39
|
+
DisclosedVendorsSegmentType: 1,
|
|
40
|
+
numPubRestrictions: 0
|
|
33
41
|
};
|
|
34
42
|
const dynamicFields = {
|
|
35
43
|
created: createUTCTimestampInDeciseconds,
|
|
@@ -37,7 +45,9 @@ const dynamicFields = {
|
|
|
37
45
|
};
|
|
38
46
|
export const initOptions = {
|
|
39
47
|
...baseInitOptions,
|
|
48
|
+
tcfPolicyVersion,
|
|
40
49
|
coreFieldSequence,
|
|
50
|
+
disclosedVendorsFieldSequence,
|
|
41
51
|
gppSection,
|
|
42
52
|
tcString: BOOTSTRAP_TCSTRING,
|
|
43
53
|
staticFields,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BitEncoder","DateEncoder","EncodableOptimizedFixedRange","IdBitMapEncoder","IntEncoder","LangEncoder","dateFormatter","fixedValuesArrayFormatter","idsOnlyArrayFormatter","baseInitOptions","compressedBase64UrlEncoder","createUTCTimestampInDeciseconds","gppSection","BOOTSTRAP_TCSTRING","coreFieldSequence","Number","POSITIVE_INFINITY","version","parseInt","staticFields","cmpId","cmpVersion","
|
|
1
|
+
{"version":3,"names":["BitEncoder","DateEncoder","EncodableOptimizedFixedRange","IdBitMapEncoder","IntEncoder","LangEncoder","dateFormatter","fixedValuesArrayFormatter","idsOnlyArrayFormatter","baseInitOptions","compressedBase64UrlEncoder","createUTCTimestampInDeciseconds","gppSection","tcfPolicyVersion","BOOTSTRAP_TCSTRING","coreFieldSequence","Number","POSITIVE_INFINITY","disclosedVendorsFieldSequence","version","parseInt","staticFields","cmpId","cmpVersion","useNonStandardStacks","DisclosedVendorsSegmentType","numPubRestrictions","dynamicFields","created","lastUpdated","initOptions","tcString","encoder"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/tcfcav1-constants.ts"],"mappings":"AAAA,SACCA,UAAU,EACVC,WAAW,EACXC,4BAA4B,EAC5BC,eAAe,EACfC,UAAU,EACVC,WAAW,QACL,YAAY;AACnB,SACCC,aAAa,EACbC,yBAAyB,EACzBC,qBAAqB,QACf,cAAc;AAGrB,SAASC,eAAe,QAAQ,oBAAoB;AACpD,OAAOC,0BAA0B,MAAM,+CAA+C;AACtF,SAASC,+BAA+B,QAAQ,YAAY;;AAE5D;AACA,MAAMC,UAAU,GA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,EAC5BM,qBAAqB,CACrB;AACD;AACG,CAAC,iBAAiB,EAAE,EAAE,EAAEJ,UAAU,EAAE,oBAAoB,CAAC,CAC5D;;AAED;AACA;AACA;AACA,MAAMc,6BAA0C,GAAG,CAC/C,CAAC,6BAA6B,EAAE,CAAC,EAAEd,UAAU,CAAC,EAC9C,CACI,kBAAkB,EAClBY,MAAM,CAACC,iBAAiB,EACxBf,4BAA4B,EAC5B,yBAAyB,EACzBM,qBAAqB,CACxB,CACJ;AAED,MAAMW,OAAO,GAAGH,MAAM,CAACI,QAAQ,CAACX,eAAe,CAACU,OAAO,EAAE,EAAE,CAAC;AAC5D,MAAME,YAAY,GAAG;EACpBF,OAAO;EACPG,KAAK,EAAEb,eAAe,CAACa,KAAK;EAC5BC,UAAU,EAAEd,eAAe,CAACc,UAAU;EACtCV,gBAAgB;EAChBW,oBAAoB,EAAE,KAAK;EAC3BC,2BAA2B,EAAE,CAAC;EAC3BC,kBAAkB,EAAE;AACxB,CAAC;AAED,MAAMC,aAAa,GAAG;EACrBC,OAAO,EAAEjB,+BAA+B;EACxCkB,WAAW,EAAElB;AACd,CAAC;AAED,OAAO,MAAMmB,WAAW,GAAG;EAC1B,GAAGrB,eAAe;EACfI,gBAAgB;EAChBE,iBAAiB;EACjBG,6BAA6B;EAChCN,UAAU;EACVmB,QAAQ,EAAEjB,kBAAkB;EAC5BO,YAAY;EACZM,aAAa;EACbK,OAAO,EAAEtB;AACV,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
1
|
import { BitEncoder, DateEncoder, EncodableOptimizedFixedRange, IdBitMapEncoder, IntEncoder, LangEncoder } from './encoders';
|
|
4
2
|
import { baseInitOptions } from './shared-constants';
|
|
5
3
|
import { createUTCTimestampInDeciseconds } from '../helpers';
|
|
@@ -9,6 +7,7 @@ export const iframeName = '__tcfapiLocator';
|
|
|
9
7
|
|
|
10
8
|
// gppSection is the key in redux state that stores the consent string.
|
|
11
9
|
const gppSection = 'tcfeuv2';
|
|
10
|
+
const tcfPolicyVersion = 5;
|
|
12
11
|
/**
|
|
13
12
|
* This string is a stub with only the base values so that consent.js has a
|
|
14
13
|
* string to start with. It was generated with <https://iabtcf.com/>.
|
|
@@ -49,16 +48,22 @@ Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.legitimateIntere
|
|
|
49
48
|
// We do not (yet) support publisher restrictions so this field should always be 0
|
|
50
49
|
['numPubRestrictions', 12, IntEncoder] // This is a meta field and shouldn't be exposed directly via an API
|
|
51
50
|
];
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* The fields for the disclosed vendors segment of the TCString in the order they appear in the TCString
|
|
54
|
+
*/
|
|
55
|
+
const disclosedVendorsFieldSequence = [['vendorsDisclosedSegmentType', 3, IntEncoder], ['vendorsDisclosed', Number.POSITIVE_INFINITY, EncodableOptimizedFixedRange, 'vendor.vendorsDisclosed']];
|
|
52
56
|
const version = Number.parseInt(baseInitOptions.version, 10);
|
|
53
57
|
const staticFields = {
|
|
54
58
|
version,
|
|
55
59
|
cmpId: baseInitOptions.cmpId,
|
|
56
60
|
cmpVersion: baseInitOptions.cmpVersion,
|
|
57
|
-
tcfPolicyVersion
|
|
61
|
+
tcfPolicyVersion,
|
|
58
62
|
useNonStandardStacks: true,
|
|
59
63
|
isServiceSpecific: true,
|
|
60
64
|
purposeOneTreatment: false,
|
|
61
|
-
numPubRestrictions: 0
|
|
65
|
+
numPubRestrictions: 0,
|
|
66
|
+
vendorsDisclosedSegmentType: 1
|
|
62
67
|
};
|
|
63
68
|
const dynamicFields = {
|
|
64
69
|
created: createUTCTimestampInDeciseconds,
|
|
@@ -66,7 +71,9 @@ const dynamicFields = {
|
|
|
66
71
|
};
|
|
67
72
|
export const initOptions = {
|
|
68
73
|
...baseInitOptions,
|
|
74
|
+
tcfPolicyVersion,
|
|
69
75
|
coreFieldSequence,
|
|
76
|
+
disclosedVendorsFieldSequence,
|
|
70
77
|
gppSection,
|
|
71
78
|
tcString: BOOTSTRAP_TCSTRING,
|
|
72
79
|
staticFields,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["BitEncoder","DateEncoder","EncodableOptimizedFixedRange","IdBitMapEncoder","IntEncoder","LangEncoder","baseInitOptions","createUTCTimestampInDeciseconds","traditionalBase64UrlEncoder","apiName","iframeName","gppSection","BOOTSTRAP_TCSTRING","coreFieldSequence","Number","POSITIVE_INFINITY","version","parseInt","staticFields","cmpId","cmpVersion","
|
|
1
|
+
{"version":3,"names":["BitEncoder","DateEncoder","EncodableOptimizedFixedRange","IdBitMapEncoder","IntEncoder","LangEncoder","baseInitOptions","createUTCTimestampInDeciseconds","traditionalBase64UrlEncoder","apiName","iframeName","gppSection","tcfPolicyVersion","BOOTSTRAP_TCSTRING","coreFieldSequence","Number","POSITIVE_INFINITY","disclosedVendorsFieldSequence","version","parseInt","staticFields","cmpId","cmpVersion","useNonStandardStacks","isServiceSpecific","purposeOneTreatment","numPubRestrictions","vendorsDisclosedSegmentType","dynamicFields","created","lastUpdated","initOptions","tcString","encoder"],"sourceRoot":"../../../../../src","sources":["iab/tcf/v2.0/tcfeuv2-constants.ts"],"mappings":"AAAA,SACCA,UAAU,EACVC,WAAW,EACXC,4BAA4B,EAC5BC,eAAe,EACfC,UAAU,EACVC,WAAW,QACL,YAAY;AAGnB,SAASC,eAAe,QAAQ,oBAAoB;AACpD,SAASC,+BAA+B,QAAQ,YAAY;AAC5D,OAAOC,2BAA2B,MAAM,gDAAgD;AAExF,OAAO,MAAMC,OAAO,GAAG,UAAU;AACjC,OAAO,MAAMC,UAAU,GAAG,iBAAiB;;AAE3C;AACA,MAAMC,UAAU,GAAG,SAAS;AAC5B,MAAMC,gBAAgB,GAAG,CAAC;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,kBAAkB,GAAG,8CAA8C;;AAEzE;AACA;AACA;AACA;AAC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A;AACA,MAAMa,6BAA0C,GAAG,CAC/C,CAAC,6BAA6B,EAAE,CAAC,EAAEb,UAAU,CAAC,EAC9C,CACI,kBAAkB,EAClBW,MAAM,CAACC,iBAAiB,EACxBd,4BAA4B,EAC5B,yBAAyB,CAC5B,CACJ;AAGD,MAAMgB,OAAO,GAAGH,MAAM,CAACI,QAAQ,CAACb,eAAe,CAACY,OAAO,EAAE,EAAE,CAAC;AAC5D,MAAME,YAAY,GAAG;EACpBF,OAAO;EACPG,KAAK,EAAEf,eAAe,CAACe,KAAK;EAC5BC,UAAU,EAAEhB,eAAe,CAACgB,UAAU;EACtCV,gBAAgB;EAChBW,oBAAoB,EAAE,IAAI;EAC1BC,iBAAiB,EAAE,IAAI;EACvBC,mBAAmB,EAAE,KAAK;EAC1BC,kBAAkB,EAAE,CAAC;EACrBC,2BAA2B,EAAE;AAC9B,CAAC;AAED,MAAMC,aAAa,GAAG;EACrBC,OAAO,EAAEtB,+BAA+B;EACxCuB,WAAW,EAAEvB;AACd,CAAC;AAED,OAAO,MAAMwB,WAAW,GAAG;EAC1B,GAAGzB,eAAe;EAClBM,gBAAgB;EAChBE,iBAAiB;EACjBG,6BAA6B;EAC7BN,UAAU;EACVqB,QAAQ,EAAEnB,kBAAkB;EAC5BO,YAAY;EACZQ,aAAa;EACbK,OAAO,EAAEzB;AACV,CAAC","ignoreList":[]}
|
package/lib/module/iab/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getConsentDataObject","makeGetField","makeApi","initOptions","bind","store","uspApi","command","version","callback","parameter","state","getState","getField","getUSPData","providedState","apiVersion","consentData","error","undefined","uspData","field"],"sourceRoot":"../../../../src","sources":["iab/usp/api.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["getConsentDataObject","makeGetField","makeApi","initOptions","bind","store","uspApi","command","version","callback","parameter","state","getState","getField","getUSPData","providedState","apiVersion","consentData","error","undefined","uspData","field"],"sourceRoot":"../../../../src","sources":["iab/usp/api.js"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AApply","getConsentString","getStore","toBoolFromYesNoUn","toYesNoUnFromBool","merge","makeParseConsentString","version","providedVersion","uspString","notified","optOut","signatory","split","map","value","index","isNaN","parseInt","makeGetField","initOptions","state","field","makeFormatConsentString","data","storeVersion","storeNotified","storeOptOut","storeSignatory","consents","toString","join","makeConsentFromOptions","getConsentDataObject","Error","consentString","undefined"],"sourceRoot":"../../../../src","sources":["iab/usp/consent.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["doesCCPAApply","getConsentString","getStore","toBoolFromYesNoUn","toYesNoUnFromBool","merge","makeParseConsentString","version","providedVersion","uspString","notified","optOut","signatory","split","map","value","index","isNaN","parseInt","makeGetField","initOptions","state","field","makeFormatConsentString","data","storeVersion","storeNotified","storeOptOut","storeSignatory","consents","toString","join","makeConsentFromOptions","getConsentDataObject","Error","consentString","undefined"],"sourceRoot":"../../../../src","sources":["iab/usp/consent.js"],"mappings":"AAAA,SAASA,aAAa,EAAEC,gBAAgB,EAAEC,QAAQ,QAAQ,aAAa;AACvE,SAASC,iBAAiB,EAAEC,iBAAiB,QAAQ,aAAa;AAElE,SAASC,KAAK,QAAQ,aAAa;AAEnC,OAAO,MAAMC,sBAAsB,GAClCA,CAAC;EAAEC,OAAO,EAAEC,eAAe,GAAG;AAAE,CAAC,GAAG,CAAC,CAAC,KACtCC,SAAS,IAAI;EACZ,MAAM,CAACF,OAAO,GAAGC,eAAe,EAAEE,QAAQ,EAAEC,MAAM,EAAEC,SAAS,CAAC,GAAG,CAChEH,SAAS,IAAI,EAAE,EAEdI,KAAK,CAAC,EAAE,CAAC,CACTC,GAAG,CAAC,CAACC,KAAK,EAAEC,KAAK,KAAK;IACtB,IAAIA,KAAK,KAAK,CAAC,EAAE;MAChB,OAAOC,KAAK,CAACC,QAAQ,CAACH,KAAK,EAAE,EAAE,CAAC,CAAC,GAC9BP,eAAe,GACfU,QAAQ,CAACH,KAAK,EAAE,EAAE,CAAC;IACvB;IACA,OAAOZ,iBAAiB,CAACY,KAAK,C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AAuB,CAACH,WAAW,CAAC,CACzDY,sBAAsB,CAACZ,WAAW,CAAC,CAACgB,SAAS,EAAEf,KAAK,CAAC,EACrDA,KACD,CAAC;EACD,OAAO;IACNd,OAAO;IACPE,SAAS,EAAE0B;EACZ,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["toYesNoUnFromBool","b","undefined","toBoolFromYesNoUn","yn","toUpperCase"],"sourceRoot":"../../../../src","sources":["iab/usp/constants.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["toYesNoUnFromBool","b","undefined","toBoolFromYesNoUn","yn","toUpperCase"],"sourceRoot":"../../../../src","sources":["iab/usp/constants.js"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,MAAMA,iBAAiB,GAAGC,CAAC,IAAKA,CAAC,KAAKC,SAAS,GAAG,GAAG,GAAGD,CAAC,GAAG,GAAG,GAAG,GAAI;AAC7E,OAAO,MAAME,iBAAiB,GAAGC,EAAE,IAClCA,EAAE,KAAK,GAAG,IAAIA,EAAE,KAAKF,SAAS,GAC3BA,SAAS,GACT,CAAC,EAAE,CAACE,EAAE,IAAI,GAAG,EAAEC,WAAW,CAAC,CAAC,KAAK,GAAG,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["reducer","v1_0","versions"],"sourceRoot":"../../../../src","sources":["iab/usp/index.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["reducer","v1_0","versions"],"sourceRoot":"../../../../src","sources":["iab/usp/index.js"],"mappings":"AAAA,OAAOA,OAAO,MAAM,WAAW;AAC/B,OAAOC,IAAI,MAAM,MAAM;AAEvB,eAAe;EACdD,OAAO;EACPE,QAAQ,EAAE;IACTD;EACD;AACD,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ACCEPT","OPT_OUT","originalWindow","getSavedConsent","isGPCSupportEnabled","types","ActionTypes","genericReducer","merge","initialState","iab","usp","ccpaApplies","notified","undefined","signatory","optOut","updateOptions","state","options","config","jurisdiction","oldJurisdiction","providedCCPA","toLowerCase","substring","newState","formatOptOut","acceptOrDeny","navigator","globalPrivacyControl","init","updateConfig","setConsent","category","revertConsent","acceptAllConsent","denyAllConsent"],"sourceRoot":"../../../../src","sources":["iab/usp/reducer.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["ACCEPT","OPT_OUT","originalWindow","getSavedConsent","isGPCSupportEnabled","types","ActionTypes","genericReducer","merge","initialState","iab","usp","ccpaApplies","notified","undefined","signatory","optOut","updateOptions","state","options","config","jurisdiction","oldJurisdiction","providedCCPA","toLowerCase","substring","newState","formatOptOut","acceptOrDeny","navigator","globalPrivacyControl","init","updateConfig","setConsent","category","revertConsent","acceptAllConsent","denyAllConsent"],"sourceRoot":"../../../../src","sources":["iab/usp/reducer.js"],"mappings":"AAAA,SAASA,MAAM,EAAEC,OAAO,EAAEC,cAAc,QAAQ,iBAAiB;AACjE,SAASC,eAAe,EAAEC,mBAAmB,QAAQ,uBAAuB;AAE5E,SAASC,KAAK,IAAIC,WAAW,QAAQ,qBAAqB;AAC1D,SAASC,cAAc,QAAQ,qBAAqB;AACpD,SAASC,KAAK,QAAQ,aAAa;AAEnC,OAAO,MAAMC,YAAY,GAAG;EAC3BC,GAAG,EAAE;IACJC,GAAG,EAAE;MACJC,WAAW,EAAE,KAAK;MAClBC,QAAQ,EAAEC,SAAS;MACnBC,SAAS,EAAED,SAAS;MACpBE,MAAM,EAAE;IACT;EACD;AACD,CAAC;AAED,MAAMC,aAAa,GAAGA,CAACC,KAAK,EAAEC,OAAO,KAAK;EACzC,MAAM;IAAEC;EAAO,CAAC,GAAGD,OAAO,IAAI,CAAC,CAAC;EAChC;EACA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":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["get","isBrowsingFromUS","toYesNoUnFromBool","DOMAIN","getStore","state","doesCCPAApply","getConsentString","gppSection","version","providedVersion","savedString","notified","signatory","optOut","consents","isNaN","parseInt","toString","map","join","getOptOut"],"sourceRoot":"../../../../src","sources":["iab/usp/selectors.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["get","isBrowsingFromUS","toYesNoUnFromBool","DOMAIN","getStore","state","doesCCPAApply","getConsentString","gppSection","version","providedVersion","savedString","notified","signatory","optOut","consents","isNaN","parseInt","toString","map","join","getOptOut"],"sourceRoot":"../../../../src","sources":["iab/usp/selectors.js"],"mappings":"AAAA,SAASA,GAAG,QAAQ,aAAa;AACjC,SAASC,gBAAgB,QAAQ,uBAAuB;AACxD,SAASC,iBAAiB,QAAQ,aAAa;AAE/C,OAAO,MAAMC,MAAM,GAAG,SAAS;AAE/B,OAAO,MAAMC,QAAQ,GAAGC,KAAK,IAAIL,GAAG,CAACK,KAAK,EAAEF,MAAM,EAAE,CAAC,CAAC,CAAC;AACvD,OAAO,MAAMG,aAAa,GAAGD,KAAK,IACjC,CAAC,CAACL,GAAG,CAACK,KAAK,EAAE,qBAAqB,EAAEJ,gBAAgB,CAACI,KAAK,CAAC,CAAC;AAE7D,OAAO,MAAME,gBAAgB,GAAGA,CAC/BF,KAAK,EACL;EAAEG,UAAU;EAAEC,OAAO,EAAEC;AAAgB,CAAC,GAAG,CAAC,CAAC,KACzC;EACJ,MAAMC,WAAW,GAAGX,GAAG,CAACK,KAAK,EAAE,CAAC,KAAK,EAAE,gBAAgB,EAAEG,UAAU,CAAC,CAAC;EACrE,IAAIG,WAAW,EAAE;IAChB,OAAOA,WAAW;EACnB;EACA,MAAM;IAAEC,QAAQ;IAAEC,SAAS;IAAEC;EAAO,CAAC,GAAGV,QAAQ,CAACC,KAAK,CAAC;EACvD,MAAMU,QAAQ,GAAG,CAACH,QAAQ,EAAEE,MAAM,EAAED,SAAS,CAAC;EAC9C,MAAMJ,OAAO,GAAGO,KAAK,CAACC,QAAQ,CAACP,eAAe,EAAE,EAAE,CAAC,CAAC,GACjD,CAAC,GACDO,QAAQ,CAACP,eAAe,EAAE,EAAE,CAAC;EAEhC,OAAOJ,aAAa,CAACD,KAAK,CAAC,GACxB,GAAGY,QAAQ,CAACR,OAAO,CAACS,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,GAAGH,QAAQ,CAC7CI,GAAG,CAACjB,iBAAiB,CAAC,CACtBkB,IAAI,CAAC,EAAE,CAAC,EAAE,GACX,GAAGH,QAAQ,CAACR,OAAO,CAACS,QAAQ,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK;AAC5C,CAAC;AACD,OAAO,MAAMG,SAAS,GAAGhB,KAAK,IAAID,QAAQ,CAACC,KAAK,CAAC,CAACS,MAAM","ignoreList":[]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["apiName","gppSection","iframeName","version","initOptions"],"sourceRoot":"../../../../../src","sources":["iab/usp/v1/constants.js"],"mappings":"
|
|
1
|
+
{"version":3,"names":["apiName","gppSection","iframeName","version","initOptions"],"sourceRoot":"../../../../../src","sources":["iab/usp/v1/constants.js"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAG,UAAU;AACjC;AACA,OAAO,MAAMC,UAAU,GAAG,OAAO;AACjC,OAAO,MAAMC,UAAU,GAAG,iBAAiB;AAC3C,OAAO,MAAMC,OAAO,GAAG,CAAC;AAExB,OAAO,MAAMC,WAAW,GAAG;EAC1BH,UAAU;EACVE;AACD,CAAC","ignoreList":[]}
|