@osano/osano-cmp-react-native 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +23 -7
  2. package/android/gradle.properties +3 -3
  3. package/lib/commonjs/constants.js +6 -5
  4. package/lib/commonjs/constants.js.map +1 -1
  5. package/lib/module/constants.js +6 -5
  6. package/lib/module/constants.js.map +1 -1
  7. package/lib/typescript/documentation/docusaurus.config.d.ts +1 -1
  8. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -1
  9. package/lib/typescript/lib/commonjs/utils/Color.d.ts +1 -1
  10. package/lib/typescript/lib/commonjs/utils/Color.d.ts.map +1 -1
  11. package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -1
  12. package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -1
  13. package/lib/typescript/lib/module/iab/usp/consent.d.ts +2 -2
  14. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -1
  15. package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -1
  16. package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts +1 -1
  17. package/lib/typescript/src/ConsentManager.d.ts +1 -1
  18. package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
  19. package/lib/typescript/src/commands.d.ts.map +1 -1
  20. package/lib/typescript/src/components/Button.d.ts +1 -1
  21. package/lib/typescript/src/components/Button.d.ts.map +1 -1
  22. package/lib/typescript/src/constants.d.ts.map +1 -1
  23. package/lib/typescript/src/iab/actions.d.ts.map +1 -1
  24. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  25. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +2 -2
  26. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -1
  27. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts +1 -1
  28. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -1
  29. package/lib/typescript/src/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -1
  30. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -1
  31. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -1
  32. package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -1
  33. package/lib/typescript/src/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -1
  34. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts +2 -2
  35. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -1
  36. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -1
  37. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -1
  38. package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -1
  39. package/lib/typescript/src/iab/index.d.ts.map +1 -1
  40. package/lib/typescript/src/iab/reducer.d.ts.map +1 -1
  41. package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -1
  42. package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -1
  43. package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
  44. package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -1
  45. package/lib/typescript/src/iab/tcf/reducer.d.ts +12 -12
  46. package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -1
  47. package/lib/typescript/src/iab/tcf/selectors.d.ts +2 -2
  48. package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -1
  49. package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -1
  50. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts +21 -21
  51. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
  52. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts +22 -22
  53. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
  54. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts +22 -22
  55. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
  56. package/lib/typescript/src/iab/usp/api.d.ts.map +1 -1
  57. package/lib/typescript/src/iab/usp/consent.d.ts +2 -2
  58. package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -1
  59. package/lib/typescript/src/views/Dialog/index.d.ts.map +1 -1
  60. package/lib/typescript/webdriverio-appium/common/commands.d.ts +23 -0
  61. package/lib/typescript/webdriverio-appium/common/commands.d.ts.map +1 -0
  62. package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts +27 -0
  63. package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts.map +1 -0
  64. package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts +27 -0
  65. package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts.map +1 -0
  66. package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts +2 -0
  67. package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts.map +1 -0
  68. package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts +2 -0
  69. package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts.map +1 -0
  70. package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts +2 -0
  71. package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts.map +1 -0
  72. package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts +2 -0
  73. package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts.map +1 -0
  74. package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts +2 -0
  75. package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts.map +1 -0
  76. package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts +2 -0
  77. package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts.map +1 -0
  78. package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts +2 -0
  79. package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts.map +1 -0
  80. package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts +2 -0
  81. package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts.map +1 -0
  82. package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts +2 -0
  83. package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts.map +1 -0
  84. package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts +2 -0
  85. package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts.map +1 -0
  86. package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts +2 -0
  87. package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts.map +1 -0
  88. package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts +2 -0
  89. package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts.map +1 -0
  90. package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts +2 -0
  91. package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts.map +1 -0
  92. package/package.json +16 -12
  93. package/src/constants.ts +7 -5
@@ -8,52 +8,52 @@ export declare const baseInitOptions: {
8
8
  fallbackGvlVersion: number;
9
9
  defaultTimestamp: number;
10
10
  selectors: {
11
- doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType | undefined) => boolean;
11
+ doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType) => boolean;
12
12
  getStore: (config: import("../../../types/consent-config").Config) => {} | (TcfState | undefined);
13
13
  isIABEnabled: (config: import("../../../types/consent-config").Config) => boolean;
14
14
  getConfigData: (config: import("../../../types/consent-config").Config, apiVersion?: string) => {} | undefined;
15
- getStateData: <V extends TcfVersionType>(state: Partial<IabState>, apiVersion?: V | undefined) => import("../types").TcfVersion<V>;
15
+ getStateData: <V extends TcfVersionType>(state: Partial<IabState>, apiVersion?: V) => import("../types").TcfVersion<V>;
16
16
  getCurrentScreen: (state: import("../../../types/store").OsanoState) => number;
17
17
  getConsentString: (state: IabState, { gppSection, tcString }?: {
18
- gppSection?: string | undefined;
19
- tcString?: string | undefined;
18
+ gppSection?: string;
19
+ tcString?: string;
20
20
  }) => string;
21
21
  getPublisherLegitimateInterests: () => {};
22
22
  getPurposeIds: () => number[];
23
- getPurposeOptOuts: (state: IabState, apiVersion?: TcfVersionType | undefined) => Record<string, boolean>;
24
- getPurposeConsents: (state: import("../../../types/store").OsanoState & IabState, apiVersion?: TcfVersionType | undefined) => Record<string, boolean>;
25
- getPurposesLITransparency: (state: import("../../../types/store").OsanoState & IabState, apiVersion?: TcfVersionType | undefined) => Record<string, boolean>;
26
- getSpecialFeatureOptIns: (state: IabState, apiVersion?: TcfVersionType | undefined) => Record<string, boolean>;
27
- getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => Record<number, import("../../types").GvlVendor_v2>;
23
+ getPurposeOptOuts: (state: IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
24
+ getPurposeConsents: (state: import("../../../types/store").OsanoState & IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
25
+ getPurposesLITransparency: (state: import("../../../types/store").OsanoState & IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
26
+ getSpecialFeatureOptIns: (state: IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
27
+ getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string) => import("../types").Tcf_v2["vendors"];
28
28
  getVendorData: (state: import("../../../types/consent-config").Config, { apiVersion, vendorId }: {
29
- apiVersion?: string | undefined;
29
+ apiVersion?: string;
30
30
  vendorId: string;
31
31
  }) => {};
32
- getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => number[];
33
- getVendorOptOuts: (state: Partial<IabState>, apiVersion?: TcfVersionType | undefined) => Record<string, boolean>;
34
- getVendorListError: (state: IabState, apiVersion?: TcfVersionType | undefined) => 0 | undefined;
35
- getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType | undefined) => undefined;
32
+ getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string) => number[];
33
+ getVendorOptOuts: (state: Partial<IabState>, apiVersion?: TcfVersionType) => Record<string, boolean>;
34
+ getVendorListError: (state: IabState, apiVersion?: TcfVersionType) => 0 | undefined;
35
+ getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType) => undefined;
36
36
  hasActed: (state: import("../../../types/store").OsanoState, gppSection: string) => boolean;
37
37
  hasConsentedToSpecialFeature: (state: IabState, { apiVersion, specialFeatureId, }: {
38
- apiVersion?: TcfVersionType | undefined;
38
+ apiVersion?: TcfVersionType;
39
39
  specialFeatureId: string;
40
40
  }) => boolean;
41
41
  hasOptedOutOfVendor: (state: IabState, { apiVersion, vendorId }: {
42
- apiVersion?: TcfVersionType | undefined;
42
+ apiVersion?: TcfVersionType;
43
43
  vendorId: string;
44
44
  }) => boolean;
45
45
  hasOptedOutOfPurpose: (state: IabState, { apiVersion, purposeId }: {
46
- apiVersion?: TcfVersionType | undefined;
46
+ apiVersion?: TcfVersionType;
47
47
  purposeId: string;
48
48
  }) => boolean;
49
49
  isTcfApplicable: (state: import("../../../types/consent-config").Config) => boolean;
50
- isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType | undefined) => boolean;
51
- isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType | undefined) => boolean;
50
+ isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType) => boolean;
51
+ isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: TcfVersionType) => boolean;
52
52
  getCountryCode: (config: import("../../../types/consent-config").Config) => string | null;
53
53
  getSavedConsent: (state: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean> | null;
54
54
  isSaved: (state: import("../../../types/store").OsanoState) => boolean;
55
- getFinalOptOutValue: (state?: import("../../../types/store").OsanoState | undefined, pendingNewValue?: boolean | undefined) => boolean | undefined;
56
- getConsent: (state?: import("../../../types/store").OsanoState | undefined) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
55
+ getFinalOptOutValue: (state?: import("../../../types/store").OsanoState, pendingNewValue?: boolean) => boolean | undefined;
56
+ getConsent: (state?: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
57
57
  };
58
58
  createConsentPayload(state?: IabState): Partial<TcfState>;
59
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/shared-constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAU5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAUE,QAAQ,GAAG,QAAQ,QAAQ,CAAC;CA2BzD,CAAC"}
1
+ {"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/shared-constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAU5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;sBA8Bd,CAAC;oBACR,CAAJ;;;;;;;;;;sBAO05E,CAAC;;;;;;;;;sBAAk9B,CAAC;;;;sBAAqN,CAAC;;;;sBAAgM,CAAC;;;;;;;;;;;;iCA5B1uH,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;CA2BzD,CAAC"}
@@ -25,53 +25,53 @@ export declare const initOptions: {
25
25
  fallbackGvlVersion: number;
26
26
  defaultTimestamp: number;
27
27
  selectors: {
28
- doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
28
+ doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
29
29
  getStore: (config: import("../../../types/consent-config").Config) => {} | (import("../types").TcfState | undefined);
30
30
  isIABEnabled: (config: import("../../../types/consent-config").Config) => boolean;
31
31
  getConfigData: (config: import("../../../types/consent-config").Config, apiVersion?: string) => {} | undefined;
32
- getStateData: <V extends import("../types").TcfVersionType>(state: Partial<import("../../types").IabState>, apiVersion?: V | undefined) => import("../types").TcfVersion<V>;
32
+ getStateData: <V extends import("../types").TcfVersionType>(state: Partial<import("../../types").IabState>, apiVersion?: V) => import("../types").TcfVersion<V>;
33
33
  getCurrentScreen: (state: import("../../../types/store").OsanoState) => number;
34
34
  getConsentString: (state: import("../../types").IabState, { gppSection, tcString }?: {
35
- gppSection?: string | undefined;
36
- tcString?: string | undefined;
35
+ gppSection?: string;
36
+ tcString?: string;
37
37
  }) => string;
38
38
  getPublisherLegitimateInterests: () => {};
39
39
  getPurposeIds: () => number[];
40
- getPurposeOptOuts: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
41
- getPurposeConsents: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
42
- getPurposesLITransparency: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
43
- getSpecialFeatureOptIns: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
44
- getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => Record<number, import("../../types").GvlVendor_v2>;
40
+ getPurposeOptOuts: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
41
+ getPurposeConsents: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
42
+ getPurposesLITransparency: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
43
+ getSpecialFeatureOptIns: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
44
+ getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string) => import("../types").Tcf_v2["vendors"];
45
45
  getVendorData: (state: import("../../../types/consent-config").Config, { apiVersion, vendorId }: {
46
- apiVersion?: string | undefined;
46
+ apiVersion?: string;
47
47
  vendorId: string;
48
48
  }) => {};
49
- getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => number[];
50
- getVendorOptOuts: (state: Partial<import("../../types").IabState>, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
51
- getVendorListError: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => 0 | undefined;
52
- getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => undefined;
49
+ getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string) => number[];
50
+ getVendorOptOuts: (state: Partial<import("../../types").IabState>, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
51
+ getVendorListError: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => 0 | undefined;
52
+ getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => undefined;
53
53
  hasActed: (state: import("../../../types/store").OsanoState, gppSection: string) => boolean;
54
54
  hasConsentedToSpecialFeature: (state: import("../../types").IabState, { apiVersion, specialFeatureId, }: {
55
- apiVersion?: import("../types").TcfVersionType | undefined;
55
+ apiVersion?: import("../types").TcfVersionType;
56
56
  specialFeatureId: string;
57
57
  }) => boolean;
58
58
  hasOptedOutOfVendor: (state: import("../../types").IabState, { apiVersion, vendorId }: {
59
- apiVersion?: import("../types").TcfVersionType | undefined;
59
+ apiVersion?: import("../types").TcfVersionType;
60
60
  vendorId: string;
61
61
  }) => boolean;
62
62
  hasOptedOutOfPurpose: (state: import("../../types").IabState, { apiVersion, purposeId }: {
63
- apiVersion?: import("../types").TcfVersionType | undefined;
63
+ apiVersion?: import("../types").TcfVersionType;
64
64
  purposeId: string;
65
65
  }) => boolean;
66
66
  isTcfApplicable: (state: import("../../../types/consent-config").Config) => boolean;
67
- isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
68
- isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
67
+ isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
68
+ isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
69
69
  getCountryCode: (config: import("../../../types/consent-config").Config) => string | null;
70
70
  getSavedConsent: (state: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean> | null;
71
71
  isSaved: (state: import("../../../types/store").OsanoState) => boolean;
72
- getFinalOptOutValue: (state?: import("../../../types/store").OsanoState | undefined, pendingNewValue?: boolean | undefined) => boolean | undefined;
73
- getConsent: (state?: import("../../../types/store").OsanoState | undefined) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
72
+ getFinalOptOutValue: (state?: import("../../../types/store").OsanoState, pendingNewValue?: boolean) => boolean | undefined;
73
+ getConsent: (state?: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
74
74
  };
75
- createConsentPayload(state?: import("../../types").IabState | undefined): Partial<import("../types").TcfState>;
75
+ createConsentPayload(state?: import("../../types").IabState): Partial<import("../types").TcfState>;
76
76
  };
77
77
  //# sourceMappingURL=tcfcav1-constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfcav1-constants.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAiF1C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvB,CAAC"}
1
+ {"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfcav1-constants.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAiF1C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAzD6B,CAAC;oBACxC,CAAC;;;;;;;;;;sBAiE4mC,CAAC;;;;;;;;;sBAAk9B,CAAC;;;;sBAAqN,CAAC;;;;sBAAgM,CAAC;;;;;;;;;;;;;CADr+E,CAAC"}
@@ -30,53 +30,53 @@ export declare const initOptions: {
30
30
  fallbackGvlVersion: number;
31
31
  defaultTimestamp: number;
32
32
  selectors: {
33
- doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
33
+ doesGDPRApply: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
34
34
  getStore: (config: import("../../../types/consent-config").Config) => {} | (import("../types").TcfState | undefined);
35
35
  isIABEnabled: (config: import("../../../types/consent-config").Config) => boolean;
36
36
  getConfigData: (config: import("../../../types/consent-config").Config, apiVersion?: string) => {} | undefined;
37
- getStateData: <V extends import("../types").TcfVersionType>(state: Partial<import("../../types").IabState>, apiVersion?: V | undefined) => import("../types").TcfVersion<V>;
37
+ getStateData: <V extends import("../types").TcfVersionType>(state: Partial<import("../../types").IabState>, apiVersion?: V) => import("../types").TcfVersion<V>;
38
38
  getCurrentScreen: (state: import("../../../types/store").OsanoState) => number;
39
39
  getConsentString: (state: import("../../types").IabState, { gppSection, tcString }?: {
40
- gppSection?: string | undefined;
41
- tcString?: string | undefined;
40
+ gppSection?: string;
41
+ tcString?: string;
42
42
  }) => string;
43
43
  getPublisherLegitimateInterests: () => {};
44
44
  getPurposeIds: () => number[];
45
- getPurposeOptOuts: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
46
- getPurposeConsents: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
47
- getPurposesLITransparency: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
48
- getSpecialFeatureOptIns: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
49
- getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => Record<number, import("../../types").GvlVendor_v2>;
45
+ getPurposeOptOuts: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
46
+ getPurposeConsents: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
47
+ getPurposesLITransparency: (state: import("../../../types/store").OsanoState & import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
48
+ getSpecialFeatureOptIns: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
49
+ getVendors: (config: import("../../../types/consent-config").Config, apiVersion?: string) => import("../types").Tcf_v2["vendors"];
50
50
  getVendorData: (state: import("../../../types/consent-config").Config, { apiVersion, vendorId }: {
51
- apiVersion?: string | undefined;
51
+ apiVersion?: string;
52
52
  vendorId: string;
53
53
  }) => {};
54
- getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string | undefined) => number[];
55
- getVendorOptOuts: (state: Partial<import("../../types").IabState>, apiVersion?: import("../types").TcfVersionType | undefined) => Record<string, boolean>;
56
- getVendorListError: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType | undefined) => 0 | undefined;
57
- getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => undefined;
54
+ getVendorIds: (config: import("../../../types/consent-config").Config, apiVersion?: string) => number[];
55
+ getVendorOptOuts: (state: Partial<import("../../types").IabState>, apiVersion?: import("../types").TcfVersionType) => Record<string, boolean>;
56
+ getVendorListError: (state: import("../../types").IabState, apiVersion?: import("../types").TcfVersionType) => 0 | undefined;
57
+ getVendorListVersion: (config: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => undefined;
58
58
  hasActed: (state: import("../../../types/store").OsanoState, gppSection: string) => boolean;
59
59
  hasConsentedToSpecialFeature: (state: import("../../types").IabState, { apiVersion, specialFeatureId, }: {
60
- apiVersion?: import("../types").TcfVersionType | undefined;
60
+ apiVersion?: import("../types").TcfVersionType;
61
61
  specialFeatureId: string;
62
62
  }) => boolean;
63
63
  hasOptedOutOfVendor: (state: import("../../types").IabState, { apiVersion, vendorId }: {
64
- apiVersion?: import("../types").TcfVersionType | undefined;
64
+ apiVersion?: import("../types").TcfVersionType;
65
65
  vendorId: string;
66
66
  }) => boolean;
67
67
  hasOptedOutOfPurpose: (state: import("../../types").IabState, { apiVersion, purposeId }: {
68
- apiVersion?: import("../types").TcfVersionType | undefined;
68
+ apiVersion?: import("../types").TcfVersionType;
69
69
  purposeId: string;
70
70
  }) => boolean;
71
71
  isTcfApplicable: (state: import("../../../types/consent-config").Config) => boolean;
72
- isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
73
- isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType | undefined) => boolean;
72
+ isVendorListLoaded: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
73
+ isVendorListLoading: (state: import("../../../types/consent-config").Config, apiVersion?: import("../types").TcfVersionType) => boolean;
74
74
  getCountryCode: (config: import("../../../types/consent-config").Config) => string | null;
75
75
  getSavedConsent: (state: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean> | null;
76
76
  isSaved: (state: import("../../../types/store").OsanoState) => boolean;
77
- getFinalOptOutValue: (state?: import("../../../types/store").OsanoState | undefined, pendingNewValue?: boolean | undefined) => boolean | undefined;
78
- getConsent: (state?: import("../../../types/store").OsanoState | undefined) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
77
+ getFinalOptOutValue: (state?: import("../../../types/store").OsanoState, pendingNewValue?: boolean) => boolean | undefined;
78
+ getConsent: (state?: import("../../../types/store").OsanoState) => Record<import("../../../constants").ConsentCategory, boolean | undefined>;
79
79
  };
80
- createConsentPayload(state?: import("../../types").IabState | undefined): Partial<import("../types").TcfState>;
80
+ createConsentPayload(state?: import("../../types").IabState): Partial<import("../types").TcfState>;
81
81
  };
82
82
  //# sourceMappingURL=tcfeuv2-constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfeuv2-constants.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1C,eAAO,MAAM,OAAO,aAAa,CAAC;AAClC,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAmF5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvB,CAAC"}
1
+ {"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfeuv2-constants.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1C,eAAO,MAAM,OAAO,aAAa,CAAC;AAClC,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAmF5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA7DqK,CAAC;oBAAkB,CAAC;;;;;;;;;;sBAsE9K,CAAC;;;;;;;;;sBAAk9B,CAAC;;;;sBAAqN,CAAC;;;;sBAAgM,CAAC;;;;;;;;;;;;;CAD74C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/api.js"],"names":[],"mappings":"AAEA;oCAMa,MAAM,WACN,MAAM;EA8ClB"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/api.js"],"names":[],"mappings":"AAEA;oCAMa,MAAM,WACN,MAAM,YACN,eAAe;EA6C3B"}
@@ -8,6 +8,6 @@ export function makeParseConsentString({ version: providedVersion }?: {
8
8
  };
9
9
  export function makeGetField(initOptions?: {}): (state: any, field: any) => string | 1 | undefined;
10
10
  export function makeFormatConsentString(initOptions?: {}): string;
11
- export function makeConsentFromOptions(initOptions: any): import('./constants').USPConsent;
12
- export function getConsentDataObject(initOptions: any): import('./constants').USPData;
11
+ export function makeConsentFromOptions(initOptions: any): import("./constants").USPConsent;
12
+ export function getConsentDataObject(initOptions: any): import("./constants").USPData;
13
13
  //# sourceMappingURL=consent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/index.js"],"names":[],"mappings":";;;;;;;;;;;wBAC6D,aAAa;AAY1E,yFA6BC;2BAzC4D,aAAa;2BAAb,aAAa"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/index.js"],"names":[],"mappings":";;;2EAOQ,eAAe;;;;;;;;wBANsC,aAAa;AAY1E,yFA6BC;2BAzC4D,aAAa;2BAAb,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,EAWL,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAiB1C,eAAO,MAAM,MAAM,QAAO,aAAa,KAAK,CAqS3C,CAAC;AAyGF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,EAWL,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAiB1C,eAAO,MAAM,MAAM,QAAO,YAAY,CAAC,KAAK,CAqS3C,CAAC;AAyGF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,23 @@
1
+ export const acceptAllConsent: "ESSENTIAL, MARKETING, PERSONALIZATION, ANALYTICS";
2
+ export const rejectAllConsent: "ESSENTIAL, OPT_OUT";
3
+ export const oneBannerText: "This website utilizes technologies such as cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising. To learn more, view the following link:";
4
+ export const twoBannerText: "This website utilizes technologies such as cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising. You may change your settings at any time or accept the default settings. You may close this banner to continue with only essential cookies.";
5
+ export const threeBannerText: "This website utilizes technologies such as cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising.";
6
+ export const sixIabBannerText1: "We and our 7 IAB TCF partners store and access information on your device for the following purposes: advertising and content measurement, audience research, and services development, personalised advertising, personalised content. \n\n\nPersonal data may be processed to do the following: use precise geolocation data and actively scan device characteristics for identification. \n\n\nOur third party IAB TCF partners may store and access information on your device such as IP address and device characteristics. Our IAB TCF Partners may process this personal data on the basis of legitimate interest, or with your consent. You may change or withdraw your preferences at any time by clicking on the cookie icon or link; however, as a consequence, you may not see relevant ads or personalized content.";
7
+ export const sixIabBannerText2: "• Measure the audience of the advertising on our website, without profiling • Display personalized ads based on your navigation and your profile • Personalize our editorial content based on your navigation • Allow you to share content on social networks or platforms present on our website • Send you advertising based on your location";
8
+ export const essential: "~Essential, Required to enable basic website functionality. You may not disable essential cookies.";
9
+ export const marketing: "~Targeted Advertising, Used to deliver advertising that is more relevant to you and your interests. May also be used to limit the number of times you see an advertisement and measure the effectiveness of advertising campaigns. Advertising networks usually place them with the website operator’s permission.";
10
+ export const personalization: "~Personalization, Allow the website to remember choices you make (such as your username, language, or the region you are in) and provide enhanced, more personal features. For example, a website may provide you with local weather reports or traffic news by storing data about your general location.";
11
+ export const analytics: "~Analytics, Help the website operator understand how its website performs, how visitors interact with the site, and whether there may be technical issues.";
12
+ export const dnss: "~Do Not Sell or Share My Personal Information, By switching the toggle to the right and clicking save, you are indicating that you do not want us to sell your personal information or share your personal information for online targeted advertising activities. Please note if you use different computers or browsers, you must indicate your choices again on each computer or browser used to access our services.";
13
+ export const storageIab: "~Storage, Allows the website to store data locally on your device. For example, this site may store data that will remember your previous selections, search filters, or other information that would provide a seamless user experience as you navigate throughout the website., Legal basis is consent.";
14
+ export const marketingIab: "~Targeted Advertising, Used to deliver advertising that is more relevant to you and your interests. May also be used to limit the number of times you see an advertisement and measure the effectiveness of advertising campaigns. Advertising networks usually place them with the website operator’s permission., Legal basis is consent.";
15
+ export const personalizationIab: "~Personalization, Allow the website to remember choices you make (such as your username, language, or the region you are in) and provide enhanced, more personal features. For example, a website may provide you with local weather reports or traffic news by storing data about your general location., Legal basis is consent.";
16
+ export const analyticsIab: "~Analytics, Help the website operator understand how its website performs, how visitors interact with the site, and whether there may be technical issues., Legal basis is consent.";
17
+ export const acceptAllConsentIab: "ESSENTIAL, STORAGE, MARKETING, PERSONALIZATION, ANALYTICS";
18
+ export function updateConfig(settings: any): Promise<void>;
19
+ export function updateFlavor(flavor: any): Promise<void>;
20
+ export function consentProvided(didUserConsent: any, consentExpected: any): Promise<void>;
21
+ export function consent(consent: any, bannerText: any, bannerText2: any): Promise<void>;
22
+ export function firstLayerCategories(flavor: any): Promise<void>;
23
+ //# sourceMappingURL=commands.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/common/commands.js"],"names":[],"mappings":"AAAA,kFAA4E;AAE5E,oDAA8C;AAC9C,sOAAgO;AAChO,0UAAoU;AACpU,gMAA0L;AAC1L,o0BAA6zB;AAC7zB,kXAA4W;AAC5W,6HAAuH;AACvH,8UAAwU;AACxU,0UAAoU;AACpU,qLAA+K;AAC/K,8aAAwa;AACxa,qUAA8T;AAC9T,0WAA6D;AAC7D,sWAAyE;AACzE,iNAA6D;AAf7D,8FAAwF;AAiBxF,2DAQC;AAED,yDAEC;AAED,0FAQC;AAED,wFAOC;AAED,iEAuBC"}
@@ -0,0 +1,27 @@
1
+ export namespace config {
2
+ let runner: string;
3
+ let port: number;
4
+ let specs: string[];
5
+ let exclude: never[];
6
+ let maxInstances: number;
7
+ let capabilities: {
8
+ platformName: string;
9
+ "appium:platformVersion": string;
10
+ "appium:deviceName": string;
11
+ "appium:app": string;
12
+ "appium:automationName": string;
13
+ }[];
14
+ let logLevel: string;
15
+ let bail: number;
16
+ let waitforTimeout: number;
17
+ let connectionRetryTimeout: number;
18
+ let connectionRetryCount: number;
19
+ let services: string[];
20
+ let framework: string;
21
+ let reporters: string[];
22
+ namespace mochaOpts {
23
+ let ui: string;
24
+ let timeout: number;
25
+ }
26
+ }
27
+ //# sourceMappingURL=android-wdio.conf.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"android-wdio.conf.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/android-wdio.conf.cjs"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ export namespace config {
2
+ let runner: string;
3
+ let port: number;
4
+ let specs: string[];
5
+ let exclude: never[];
6
+ let maxInstances: number;
7
+ let capabilities: {
8
+ platformName: string;
9
+ "appium:platformVersion": string;
10
+ "appium:deviceName": string;
11
+ "appium:app": string;
12
+ "appium:automationName": string;
13
+ }[];
14
+ let logLevel: string;
15
+ let bail: number;
16
+ let waitforTimeout: number;
17
+ let connectionRetryTimeout: number;
18
+ let connectionRetryCount: number;
19
+ let services: string[];
20
+ let framework: string;
21
+ let reporters: string[];
22
+ namespace mochaOpts {
23
+ let ui: string;
24
+ let timeout: number;
25
+ }
26
+ }
27
+ //# sourceMappingURL=ios-wdio.conf.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ios-wdio.conf.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/ios-wdio.conf.cjs"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=one-acceptall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"one-acceptall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/one/one-acceptall.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=one-managePreferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"one-managePreferences.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/one/one-managePreferences.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=six-acceptall-iabOn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-acceptall-iabOn.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/six/six-acceptall-iabOn.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=six-rejectall-iabOn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-rejectall-iabOn.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/six/six-rejectall-iabOn.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=six-save-FLC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"six-save-FLC.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/six/six-save-FLC.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=three-acceptall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"three-acceptall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/three/three-acceptall.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=three-denyall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"three-denyall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/three/three-denyall.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=three-manageP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"three-manageP.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/three/three-manageP.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=two-FLC.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-FLC.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/two/two-FLC.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=two-acceptall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-acceptall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/two/two-acceptall.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=two-managePreferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-managePreferences.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/two/two-managePreferences.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=two-rejectall.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-rejectall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/two/two-rejectall.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=two-save.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"two-save.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/two/two-save.js"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osano/osano-cmp-react-native",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Package and example for the react-native Osano CMP SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -61,16 +61,22 @@
61
61
  },
62
62
  "devDependencies": {
63
63
  "@commitlint/config-conventional": "^17.0.2",
64
+ "@docusaurus/core": "3.5.2",
65
+ "@docusaurus/module-type-aliases": "3.5.2",
66
+ "@docusaurus/preset-classic": "3.5.2",
67
+ "@mdx-js/react": "^3.0.1",
64
68
  "@types/jest": "^29.5.5",
65
69
  "@types/react": "^18.2.44",
66
70
  "commitlint": "^17.0.2",
67
71
  "del-cli": "^5.1.0",
68
72
  "jest": "^29.7.0",
69
73
  "prettier": "^3.0.3",
70
- "react": "18.2.0",
71
- "react-native": "0.73.6",
74
+ "prism-react-renderer": "^2.4.0",
75
+ "react": "18.3.1",
76
+ "react-dom": "18.3.1",
77
+ "react-native": "0.74.4",
72
78
  "react-native-builder-bob": "^0.23.2",
73
- "release-it": "^15.0.0",
79
+ "release-it": "^17.6.0",
74
80
  "turbo": "^1.10.7",
75
81
  "typescript": "^5.2.2"
76
82
  },
@@ -81,11 +87,15 @@
81
87
  "react": "*",
82
88
  "react-native": "*"
83
89
  },
90
+ "overrides": {
91
+ "axios": "^1.6.4",
92
+ "trim": "^1.0.1"
93
+ },
84
94
  "workspaces": [
85
95
  "example",
86
96
  "documentation"
87
97
  ],
88
- "packageManager": "yarn@3.6.1",
98
+ "packageManager": "yarn@3.6.4",
89
99
  "jest": {
90
100
  "preset": "react-native",
91
101
  "modulePathIgnorePatterns": [
@@ -121,15 +131,9 @@
121
131
  ]
122
132
  },
123
133
  "dependencies": {
124
- "@docusaurus/core": "2.4.3",
125
- "@docusaurus/module-type-aliases": "2.4.3",
126
- "@docusaurus/preset-classic": "2.4.3",
127
- "@mdx-js/react": "^1.6.22",
128
134
  "@testing-library/react-native": "^12.5.0",
129
135
  "@types/react-test-renderer": "^18.3.0",
130
- "clsx": "^1.2.1",
131
- "prism-react-renderer": "^1.3.5",
132
- "react": "^17.0.2",
136
+ "react": "*",
133
137
  "react-dom": "^17.0.2",
134
138
  "react-native-picker-modal-view": "^1.3.2",
135
139
  "react-native-svg": "^15.1.0",
package/src/constants.ts CHANGED
@@ -17,18 +17,20 @@ export enum ConsentCategory {
17
17
  STORAGE = 'STORAGE',
18
18
  }
19
19
 
20
+ const OSANO_DEV = process.env.OSANO_DEV
21
+
20
22
  export const env = {
21
- OSANO_ORIGIN: __DEV__ ? 'https://cmp-ci.osano.com' : 'https://cmp.osano.com',
22
- CONSENT_URI: __DEV__
23
+ OSANO_ORIGIN: OSANO_DEV === 'true' ? 'https://cmp-ci.osano.com' : 'https://cmp.osano.com',
24
+ CONSENT_URI: OSANO_DEV === 'true'
23
25
  ? 'https://consent-ci.api.osano.com'
24
26
  : 'https://consent.api.osano.com',
25
- DISCLOSURE_URI: __DEV__
27
+ DISCLOSURE_URI: OSANO_DEV === 'true'
26
28
  ? 'https://disclosure-ci.api.osano.com'
27
29
  : 'https://disclosure.api.osano.com',
28
- LOCALE_URI: __DEV__
30
+ LOCALE_URI: OSANO_DEV === 'true'
29
31
  ? 'https://locale.cmp-ci.osano.com'
30
32
  : 'https://locale.cmp.osano.com',
31
- LOOKUPS_URI: __DEV__
33
+ LOOKUPS_URI: OSANO_DEV === 'true'
32
34
  ? 'https://lookups-ci.api.osano.com'
33
35
  : 'https://lookups.api.osano.com',
34
36
  };