@osano/osano-cmp-react-native 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/ConsentManager.js +4 -1
- package/lib/commonjs/ConsentManager.js.map +1 -1
- package/lib/commonjs/index.js +3 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/services/consent.js +16 -2
- package/lib/commonjs/services/consent.js.map +1 -1
- package/lib/commonjs/utils/API.js +4 -3
- package/lib/commonjs/utils/API.js.map +1 -1
- package/lib/module/ConsentManager.js +4 -1
- package/lib/module/ConsentManager.js.map +1 -1
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/consent.js +16 -2
- package/lib/module/services/consent.js.map +1 -1
- package/lib/module/utils/API.js +4 -3
- package/lib/module/utils/API.js.map +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/utils/API.d.ts +1 -1
- package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -1
- package/lib/typescript/lib/module/ConsentManager.d.ts +1 -1
- package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/services/consent.d.ts.map +1 -1
- package/lib/typescript/lib/module/utils/API.d.ts +1 -1
- package/lib/typescript/lib/module/utils/API.d.ts.map +1 -1
- package/lib/typescript/src/ConsentManager.d.ts +1 -1
- package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/services/consent.d.ts +9 -0
- package/lib/typescript/src/services/consent.d.ts.map +1 -1
- package/lib/typescript/src/utils/API.d.ts +1 -1
- package/lib/typescript/src/utils/API.d.ts.map +1 -1
- package/lib/typescript/webdriverio-appium/common/commonCommands.d.ts +21 -0
- package/lib/typescript/webdriverio-appium/common/commonCommands.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/config/wdio.conf.android.d.cts +3 -0
- package/lib/typescript/webdriverio-appium/config/wdio.conf.android.d.cts.map +1 -0
- package/lib/typescript/webdriverio-appium/config/{ios-wdio.conf.d.cts → wdio.conf.d.cts} +2 -8
- package/lib/typescript/webdriverio-appium/config/wdio.conf.d.cts.map +1 -0
- package/lib/typescript/webdriverio-appium/config/wdio.conf.ios.d.cts +3 -0
- package/lib/typescript/webdriverio-appium/config/wdio.conf.ios.d.cts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/android/six-drawer.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/android/six-drawer.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/ios/one.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/ios/one.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/ios/six.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/ios/six.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/ios/three.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/ios/three.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/ios/two-iab.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/ios/two-iab.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/ios/two.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/ios/two.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/one.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/one.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/six-iab.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/six-iab.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/three.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/three.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/two-iab.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/two-iab.d.ts.map +1 -0
- package/lib/typescript/webdriverio-appium/test/two.d.ts +2 -0
- package/lib/typescript/webdriverio-appium/test/two.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/ConsentManager.ts +4 -1
- package/src/index.tsx +2 -1
- package/src/services/consent.ts +31 -3
- package/src/types/index.d.ts +1 -0
- package/src/utils/API.ts +3 -1
- package/lib/typescript/webdriverio-appium/common/commands.d.ts +0 -23
- package/lib/typescript/webdriverio-appium/common/commands.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts +0 -27
- package/lib/typescript/webdriverio-appium/config/android-wdio.conf.d.cts.map +0 -1
- package/lib/typescript/webdriverio-appium/config/ios-wdio.conf.d.cts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/one/one-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/one/one-managePreferences.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-acceptall-iabOn.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-rejectall-iabOn.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/six/six-save-FLC.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-denyall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/three/three-manageP.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-FLC.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-acceptall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-managePreferences.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-rejectall.d.ts.map +0 -1
- package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts +0 -2
- package/lib/typescript/webdriverio-appium/test/ios/two/two-save.d.ts.map +0 -1
package/lib/module/utils/API.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const makeFetch = (method, path, params = {}, returnHeaders = false) => {
|
|
1
|
+
const makeFetch = (method, path, params = {}, returnHeaders = false, headers = {}) => {
|
|
2
2
|
const url = new URL(path);
|
|
3
3
|
if (method.toLowerCase() === 'get') {
|
|
4
4
|
url.search = new URLSearchParams(params).toString();
|
|
@@ -14,7 +14,8 @@ const makeFetch = (method, path, params = {}, returnHeaders = false) => {
|
|
|
14
14
|
},
|
|
15
15
|
mode: 'cors',
|
|
16
16
|
referrer: 'no-referrer',
|
|
17
|
-
body: method !== 'GET' ? JSON.stringify(params) : undefined
|
|
17
|
+
body: method !== 'GET' ? JSON.stringify(params) : undefined,
|
|
18
|
+
...headers
|
|
18
19
|
}).then(response => {
|
|
19
20
|
if (response.status === 204 || response.type === 'opaque') {
|
|
20
21
|
return '';
|
|
@@ -33,6 +34,6 @@ const makeFetch = (method, path, params = {}, returnHeaders = false) => {
|
|
|
33
34
|
};
|
|
34
35
|
export default {
|
|
35
36
|
get: (path, queryObj) => makeFetch('GET', path, typeof queryObj !== 'boolean' ? queryObj : undefined, typeof queryObj === 'boolean'),
|
|
36
|
-
post: (path, params) => makeFetch('POST', path, params)
|
|
37
|
+
post: (path, params, headers) => makeFetch('POST', path, params, false, headers)
|
|
37
38
|
};
|
|
38
39
|
//# sourceMappingURL=API.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["makeFetch","method","path","params","returnHeaders","url","URL","toLowerCase","search","URLSearchParams","toString","href","endsWith","slice","fetch","toUpperCase","
|
|
1
|
+
{"version":3,"names":["makeFetch","method","path","params","returnHeaders","headers","url","URL","toLowerCase","search","URLSearchParams","toString","href","endsWith","slice","fetch","toUpperCase","Accept","mode","referrer","body","JSON","stringify","undefined","then","response","status","type","json","ok","Promise","reject","get","queryObj","post"],"sourceRoot":"../../../src","sources":["utils/API.ts"],"mappings":"AAAA,MAAMA,SAAS,GAAGA,CACjBC,MAAc,EACdC,IAAY,EACZC,MAAM,GAAG,CAAC,CAAC,EACXC,aAAa,GAAG,KAAK,EACrBC,OAAO,GAAG,CAAC,CAAC,KAC+C;EAC3D,MAAMC,GAAG,GAAG,IAAIC,GAAG,CAACL,IAAI,CAAC;EACzB,IAAID,MAAM,CAACO,WAAW,CAAC,CAAC,KAAK,KAAK,EAAE;IACnCF,GAAG,CAACG,MAAM,GAAG,IAAIC,eAAe,CAACP,MAAM,CAAC,CAACQ,QAAQ,CAAC,CAAC;EACpD;EACA;EACA,MAAMC,IAAI,GAAGN,GAAG,CAACK,QAAQ,CAAC,CAAC,CAACE,QAAQ,CAAC,GAAG,CAAC,GACtCP,GAAG,CAACK,QAAQ,CAAC,CAAC,CAACG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAC3BR,GAAG,CAACK,QAAQ,CAAC,CAAC;EACjB,OAAOI,KAAK,CAACH,IA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mitter.EventEmitter {
|
|
|
156
156
|
getCountOfVendorsUsingPurpose(purposeType: any, purposeId: any): number;
|
|
157
157
|
}
|
|
158
158
|
export class ConsentManager {
|
|
159
|
-
constructor(options: any);
|
|
159
|
+
constructor(options: any, extUsrData: any);
|
|
160
160
|
_config: ConsentConfig;
|
|
161
161
|
_extUsrData: string;
|
|
162
162
|
_locale: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../commonjs/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqHA;IACE,4CAKC;IAHC,aAAoD;IACpD,iBAAmC;IACnC,eAA+B;IAEjC,YAmBC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD,yBAiBC;IACD,wBAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oDAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AAED;IAiCE,
|
|
1
|
+
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../commonjs/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqHA;IACE,4CAKC;IAHC,aAAoD;IACpD,iBAAmC;IACnC,eAA+B;IAEjC,YAmBC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD,yBAiBC;IACD,wBAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oDAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AAED;IAiCE,2CAoDC;IApFD,uBAA8B;IAC9B,oBAAiB;IACjB,aAA+C;IAC/C,iBAA4C;IAC5C,kBAAe;IACf,uBAEC;IAID,2BAEC;IALD,sBAEC;IAOD,yBAEC;IALD,oBAEC;IAOD,8BAEC;IALD,yBAEC;IAID,sBAEC;IACD,4BAEC;IAcC,sBAA+B;IAwCjC,iBAAgB;IAChB,qBAkGC;IAxDC,cAsDE;IArDA,qDAAsC;IA2D1C,sCAEC;IALD,iCAEC;IAVG,4EAA6F;IAC7F,4EAA6F;IAW/F,cAAqB;IAEvB,+BAEC;IACD,sBAEC;IACD,uBAEC;IAID,iCAEC;IALD,4BAEC;IAEC,uBAA2C;IAE7C,6DAkBC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/consent.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/consent.js"],"names":[],"mappings":";AA+DA,qDAiBC;AAmCD,2DAQC;AAED,qDAkBC;AAED,iEAiBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const __esModule: boolean;
|
|
2
2
|
declare namespace _default {
|
|
3
3
|
function get(path: any, queryObj: any): Promise<any>;
|
|
4
|
-
function post(path: any, params: any): Promise<any>;
|
|
4
|
+
function post(path: any, params: any, headers: any): Promise<any>;
|
|
5
5
|
}
|
|
6
6
|
export default _default;
|
|
7
7
|
//# sourceMappingURL=API.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/API.js"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/API.js"],"names":[],"mappings":";;IAyCO,qDAA+H;IAC9H,kEAA0E"}
|
|
@@ -312,7 +312,7 @@ export class ConsentConfig extends EventEmitter {
|
|
|
312
312
|
getCountOfVendorsUsingPurpose(purposeType: any, purposeId: any): number;
|
|
313
313
|
}
|
|
314
314
|
export class ConsentManager {
|
|
315
|
-
constructor(options: any);
|
|
315
|
+
constructor(options: any, extUsrData: any);
|
|
316
316
|
_config: ConsentConfig;
|
|
317
317
|
_extUsrData: string;
|
|
318
318
|
_locale: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../module/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA;IACE,4CAKC;IAHC,aAAwC;IACxC,iBAAmC;IACnC,eAA+B;IAEjC,kCAmBC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBC;IACD,qEAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oEAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AACD;IAiCE,
|
|
1
|
+
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../module/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA;IACE,4CAKC;IAHC,aAAwC;IACxC,iBAAmC;IACnC,eAA+B;IAEjC,kCAmBC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBC;IACD,qEAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oEAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AACD;IAiCE,2CAoDC;IApFD,uBAA8B;IAC9B,oBAAiB;IACjB,gBAAsC;IACtC,wBAAmC;IACnC,kBAAe;IACf,uBAEC;IAID,2BAEC;IALD,sBAEC;IAOD,yBAEC;IALD,oBAEC;IAOD,8BAEC;IALD,yBAEC;IAID,6BAEC;IACD,4BAEC;IAcC,sBAA+B;IAwCjC,iBAAgB;IAChB,qBAkGC;IAxDC,cAsDE;IArDA,qDAAsC;IA2D1C,sCAEC;IALD,iCAEC;IAVG,6FAA6F;IAC7F,6FAA6F;IAW/F,cAAqB;IAEvB,+BAEC;IACD,sBAEC;IACD,uBAEC;IAID,iCAEC;IALD,4BAEC;IAEC,uBAA2C;IAE7C,6DAkBC;CACF;6BAvpB4B,sBAAsB;uBAM5B,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";AAmBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";AAmBA,uDA8IG;kBA/JkE,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../module/services/consent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../module/services/consent.js"],"names":[],"mappings":"AAwDO,qDAiBN;AAkCM,oEAQN;AACM,qDAkBN;AACM,0EAiBN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
function get(path: any, queryObj: any): Promise<any>;
|
|
3
|
-
function post(path: any, params: any): Promise<any>;
|
|
3
|
+
function post(path: any, params: any, headers: any): Promise<any>;
|
|
4
4
|
}
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=API.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../module/utils/API.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../module/utils/API.js"],"names":[],"mappings":";IAmCO,qDAA+H;IAC9H,kEAA0E"}
|
|
@@ -106,7 +106,7 @@ export declare class ConsentManager {
|
|
|
106
106
|
set extUsrData(value: string);
|
|
107
107
|
get translator(): Translator;
|
|
108
108
|
get config(): ConsentConfig;
|
|
109
|
-
constructor(options?: OsanoOverrides);
|
|
109
|
+
constructor(options?: OsanoOverrides, extUsrData?: string);
|
|
110
110
|
private _loaded;
|
|
111
111
|
private _loading?;
|
|
112
112
|
private _cancelLoading?;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../src/ConsentManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,YAAY,EAA0B,MAAM,sBAAsB,CAAC;AA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,GAAG,OAAO;IAIrD,IAAW,MAAM,IAAI,OAAO,CAE3B;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAED,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,IAAW,gBAAgB,IAAI,MAAM,CAEpC;IACD,IAAW,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAExC;IAEM,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,UAAU,EAAE,WAAW,CAAC,UACzC,QAAQ,cAAc,GAAG;CAiBxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAa7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAS1C,OAAO,EAAE,kBAAkB,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AAQ/D,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAC1C,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAa7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAS1C,OAAO,EAAE,kBAAkB,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AAQ/D,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAC1C,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAmLnC,CAAC"}
|
|
@@ -10,6 +10,15 @@ export type ConsentPayload = {
|
|
|
10
10
|
deviceId: string;
|
|
11
11
|
extUsrData?: string;
|
|
12
12
|
};
|
|
13
|
+
export type ConsentRecordPayload = {
|
|
14
|
+
osnoCustomerId: string;
|
|
15
|
+
osnoConfigId: string;
|
|
16
|
+
consented?: string;
|
|
17
|
+
consentingDomain: string;
|
|
18
|
+
consentingPlatform: string;
|
|
19
|
+
userConsentId: string;
|
|
20
|
+
extUsrData?: string;
|
|
21
|
+
};
|
|
13
22
|
export declare const clearConsent: (cmp: ConsentManager) => Promise<ConsentCategoryType[]>;
|
|
14
23
|
export declare const recordConsent: (cmp: ConsentManager, consent?: ConsentCategoryType[]) => Promise<ConsentCategoryType[]>;
|
|
15
24
|
export declare const fetchConsent: (cmp: ConsentManager) => Promise<ConsentCategoryType[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../src/services/consent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACN,KAAK,eAAe,IAAI,mBAAmB,EAE3C,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../src/services/consent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EACN,KAAK,eAAe,IAAI,mBAAmB,EAE3C,MAAM,cAAc,CAAC;AAUtB,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA+DF,eAAO,MAAM,YAAY,QAAe,cAAc,mCAiBrD,CAAC;AAwCF,eAAO,MAAM,aAAa,QACpB,cAAc,YACT,mBAAmB,EAAE,mCAU/B,CAAC;AAEF,eAAO,MAAM,YAAY,QAAS,cAAc,mCAiB/C,CAAC;AAEF,eAAO,MAAM,WAAW,eAAgB,MAAM,YAAY,MAAM,2BAsB/D,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
get: (path: string, queryObj?: object | boolean | undefined) => Promise<unknown>;
|
|
3
|
-
post: (path: string, params?: object) => Promise<unknown>;
|
|
3
|
+
post: (path: string, params?: object, headers?: object) => Promise<unknown>;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=API.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../src/utils/API.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"API.d.ts","sourceRoot":"","sources":["../../../../src/utils/API.ts"],"names":[],"mappings":";gBAyCa,MAAM,aAAa,MAAM,GAAG,OAAO,GAAG,SAAS;iBAO9C,MAAM,WAAW,MAAM,YAAY,MAAM;;AARvD,wBASE"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export function clickElement(ele: any): Promise<void>;
|
|
2
|
+
export function enableIAB(): Promise<void>;
|
|
3
|
+
export function updateConfig(settings: any): Promise<void>;
|
|
4
|
+
export function updateFlavor(flavor: any): Promise<void>;
|
|
5
|
+
export function validateConsentIab(consentProvided: any, consentExpected: any): Promise<void>;
|
|
6
|
+
export function validateConsent(consentProvided: any, consentExpected: any): Promise<void>;
|
|
7
|
+
export function clearConsent(): Promise<void>;
|
|
8
|
+
export function provideConsent(consent: any, bannerText: any, closeButtonExists: any): Promise<void>;
|
|
9
|
+
export function toggleFLC(iabEnabled: any): Promise<void>;
|
|
10
|
+
export function toggleDrawer(iabEnabled: any): Promise<void>;
|
|
11
|
+
export const bannerFlavorOne: "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:";
|
|
12
|
+
export const bannerFlavorTwo: "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.";
|
|
13
|
+
export const bannerFlavorTwoIab: "We and our 8 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. You may change your settings at any time or accept the default settings. You may close this banner to continue with only essential cookies.";
|
|
14
|
+
export const bannerFlavorThree: "This website utilizes technologies such as cookies to enable essential site functionality, as well as for analytics, personalization, and targeted advertising.";
|
|
15
|
+
export const bannerFlavorSix: "To improve your experience, we (and our partners) store and/or access information on your terminal (cookie or equivalent) with your consent for all our websites and applications, on your connected terminals.";
|
|
16
|
+
export const bannerFlavorSixCont: "• 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";
|
|
17
|
+
export const platform: string | undefined;
|
|
18
|
+
export const showConsentVariantButton: "//XCUIElementTypeButton[@name=\"Show Consent Variant\"]" | "~Show Consent Variant";
|
|
19
|
+
export const closeBannerButton: "//XCUIElementTypeStaticText[@name=\"✕\"]" | "//com.horcrux.svg.SvgView";
|
|
20
|
+
export const closeDrawerButton: "-ios predicate string:name == \"✕\" AND label == \"✕\" AND type == \"XCUIElementTypeButton\"" | "android=new UiSelector().className(\"android.view.ViewGroup\").instance(40)";
|
|
21
|
+
//# sourceMappingURL=commonCommands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonCommands.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/common/commonCommands.js"],"names":[],"mappings":"AA0BA,sDAGC;AAED,2CAMC;AAED,2DAgBC;AAED,yDASC;AAED,8FAkBC;AAED,2FAsBC;AAED,8CAOC;AAED,qGAaC;AAED,0DAeC;AAED,6DAqBC;AA/JD,wOAAyO;AACzO,4UAA6U;AAC7U,i9BAAk9B;AACl9B,kMAAmM;AACnM,gPAAgP;AAChP,oXAAqX;AACrX,0CAA6C;AAC7C,2HAA+I;AAC/I,yGAA6H;AAC7H,+MAA6N"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wdio.conf.android.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/wdio.conf.android.cjs"],"names":[],"mappings":""}
|
|
@@ -4,13 +4,7 @@ export namespace config {
|
|
|
4
4
|
let specs: string[];
|
|
5
5
|
let exclude: never[];
|
|
6
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
|
-
}[];
|
|
7
|
+
let capabilities: never[];
|
|
14
8
|
let logLevel: string;
|
|
15
9
|
let bail: number;
|
|
16
10
|
let waitforTimeout: number;
|
|
@@ -24,4 +18,4 @@ export namespace config {
|
|
|
24
18
|
let timeout: number;
|
|
25
19
|
}
|
|
26
20
|
}
|
|
27
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=wdio.conf.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wdio.conf.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/wdio.conf.cjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wdio.conf.ios.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/wdio.conf.ios.cjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-drawer.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/android/six-drawer.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/ios/one.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/ios/six.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"three.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/ios/three.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-iab.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/ios/two-iab.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two.d.ts","sourceRoot":"","sources":["../../../../../webdriverio-appium/test/ios/two.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/test/one.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"six-iab.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/test/six-iab.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"three.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/test/three.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two-iab.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/test/two-iab.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"two.d.ts","sourceRoot":"","sources":["../../../../webdriverio-appium/test/two.js"],"names":[],"mappings":""}
|
package/package.json
CHANGED
package/src/ConsentManager.ts
CHANGED
|
@@ -609,7 +609,7 @@ export class ConsentManager {
|
|
|
609
609
|
return this._config;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
constructor(options?: OsanoOverrides) {
|
|
612
|
+
constructor(options?: OsanoOverrides, extUsrData?: string) {
|
|
613
613
|
const { locale, flavor, iabEnabled, iabFrameworks, iabVersions, palette } =
|
|
614
614
|
options || {};
|
|
615
615
|
|
|
@@ -621,6 +621,9 @@ export class ConsentManager {
|
|
|
621
621
|
const setDeviceId = (deviceId: string | null | undefined) => {
|
|
622
622
|
this._deviceId = deviceId ?? '';
|
|
623
623
|
};
|
|
624
|
+
if (extUsrData) {
|
|
625
|
+
this._extUsrData = extUsrData;
|
|
626
|
+
}
|
|
624
627
|
switch (Platform.OS) {
|
|
625
628
|
case 'android': {
|
|
626
629
|
try {
|
package/src/index.tsx
CHANGED
|
@@ -45,10 +45,11 @@ export const Osano: React.FunctionComponent<
|
|
|
45
45
|
onLangLoadFailure,
|
|
46
46
|
onLangLoadSuccess,
|
|
47
47
|
overrides,
|
|
48
|
+
extUsrData
|
|
48
49
|
} = props;
|
|
49
50
|
const { flavor, iabEnabled } = overrides || {};
|
|
50
51
|
const consentManager = useRef<ConsentManager>(
|
|
51
|
-
new ConsentManager(overrides)
|
|
52
|
+
new ConsentManager(overrides, extUsrData)
|
|
52
53
|
);
|
|
53
54
|
|
|
54
55
|
const [_state, store] = useThunkReducer<OsanoState, OsanoAction>(
|
package/src/services/consent.ts
CHANGED
|
@@ -30,6 +30,16 @@ export type ConsentPayload = {
|
|
|
30
30
|
extUsrData?: string;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
export type ConsentRecordPayload = {
|
|
34
|
+
osnoCustomerId: string;
|
|
35
|
+
osnoConfigId: string;
|
|
36
|
+
consented?: string;
|
|
37
|
+
consentingDomain: string;
|
|
38
|
+
consentingPlatform: string;
|
|
39
|
+
userConsentId: string;
|
|
40
|
+
extUsrData?: string;
|
|
41
|
+
};
|
|
42
|
+
|
|
33
43
|
function createConsentPayload(
|
|
34
44
|
cmp: ConsentManager,
|
|
35
45
|
consent?: ConsentCategoryType[],
|
|
@@ -47,6 +57,24 @@ function createConsentPayload(
|
|
|
47
57
|
) as ConsentPayload;
|
|
48
58
|
}
|
|
49
59
|
|
|
60
|
+
function createConsentRecordPayload(
|
|
61
|
+
cmp: ConsentManager,
|
|
62
|
+
consent?: ConsentCategoryType[],
|
|
63
|
+
): ConsentRecordPayload{
|
|
64
|
+
const consentedCategories = consent ?? cmp.consent
|
|
65
|
+
return Object.fromEntries(
|
|
66
|
+
Object.entries({
|
|
67
|
+
osnoCustomerId: cmp.customerId,
|
|
68
|
+
osnoConfigId: cmp.configId,
|
|
69
|
+
consented: consentedCategories.join(','),
|
|
70
|
+
consentingDomain: cmp.consentingDomain,
|
|
71
|
+
consentingPlatform: `${Platform.OS}.react-native`,
|
|
72
|
+
userConsentId: cmp.deviceId,
|
|
73
|
+
extUsrData: cmp.extUsrData,
|
|
74
|
+
}).filter(([, value]) => value !== undefined),
|
|
75
|
+
) as ConsentRecordPayload;
|
|
76
|
+
}
|
|
77
|
+
|
|
50
78
|
const STORAGE_KEY = 'osano_consentmanager';
|
|
51
79
|
|
|
52
80
|
const storeConsent = async (
|
|
@@ -134,9 +162,9 @@ export const recordConsent = (
|
|
|
134
162
|
cmp: ConsentManager,
|
|
135
163
|
consent?: ConsentCategoryType[],
|
|
136
164
|
) => {
|
|
137
|
-
const payload =
|
|
138
|
-
return API.post(`${CONSENT_URI}/record`,
|
|
139
|
-
.then(() =>
|
|
165
|
+
const payload = createConsentRecordPayload(cmp, consent);
|
|
166
|
+
return API.post(`${CONSENT_URI}/record`, payload, {referrer: cmp.consentingDomain})
|
|
167
|
+
.then(() => consent ?? cmp.consent)
|
|
140
168
|
.then((consentCategories) => storeConsent(cmp, consentCategories))
|
|
141
169
|
.catch((error) => {
|
|
142
170
|
// Cannot record consent
|
package/src/types/index.d.ts
CHANGED
package/src/utils/API.ts
CHANGED
|
@@ -3,6 +3,7 @@ const makeFetch = (
|
|
|
3
3
|
path: string,
|
|
4
4
|
params = {},
|
|
5
5
|
returnHeaders = false,
|
|
6
|
+
headers = {},
|
|
6
7
|
): Promise<unknown | { json: object; headers: Headers }> => {
|
|
7
8
|
const url = new URL(path);
|
|
8
9
|
if (method.toLowerCase() === 'get') {
|
|
@@ -22,6 +23,7 @@ const makeFetch = (
|
|
|
22
23
|
mode: 'cors',
|
|
23
24
|
referrer: 'no-referrer',
|
|
24
25
|
body: method !== 'GET' ? JSON.stringify(params) : undefined,
|
|
26
|
+
...headers
|
|
25
27
|
}).then((response) => {
|
|
26
28
|
if (response.status === 204 || response.type === 'opaque') {
|
|
27
29
|
return '';
|
|
@@ -44,5 +46,5 @@ export default {
|
|
|
44
46
|
typeof queryObj !== 'boolean' ? queryObj : undefined,
|
|
45
47
|
typeof queryObj === 'boolean',
|
|
46
48
|
),
|
|
47
|
-
post: (path: string, params?: object) => makeFetch('POST', path, params),
|
|
49
|
+
post: (path: string, params?: object, headers?: object) => makeFetch('POST', path, params, false, headers),
|
|
48
50
|
};
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"android-wdio.conf.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/android-wdio.conf.cjs"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ios-wdio.conf.d.cts","sourceRoot":"","sources":["../../../../webdriverio-appium/config/ios-wdio.conf.cjs"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"one-acceptall.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/one/one-acceptall.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"one-managePreferences.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/one/one-managePreferences.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"six-acceptall-iabOn.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/six/six-acceptall-iabOn.js"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"six-rejectall-iabOn.d.ts","sourceRoot":"","sources":["../../../../../../webdriverio-appium/test/ios/six/six-rejectall-iabOn.js"],"names":[],"mappings":""}
|