@@ -14,6 +14,13 @@ import {MODULE_TYPE_UID} from '../src/activities/modules.js';
14
14
// eslint-disable-next-line prebid/validate-imports
15
15
import { Uid2GetId , Uid2CodeVersion , extractIdentityFromParams } from './uid2IdSystem_shared.js' ;
16
16
17
+ /**
18
+ * @typedef {import('../modules/userId/index.js').Submodule } Submodule
19
+ * @typedef {import('../modules/userId/index.js').SubmoduleConfig } SubmoduleConfig
20
+ * @typedef {import('../modules/userId/index.js').ConsentData } ConsentData
21
+ * @typedef {import('../modules/userId/index.js').IdResponse } IdResponse
22
+ */
23
+
17
24
const MODULE_NAME = 'euid' ;
18
25
const MODULE_REVISION = Uid2CodeVersion ;
19
26
const PREBID_VERSION = '$prebid.version$' ;
@@ -75,9 +82,9 @@ export const euidIdSubmodule = {
75
82
/**
76
83
* performs action to obtain id and return a value.
77
84
* @function
78
- * @param {SubmoduleConfig } [configparams ]
85
+ * @param {SubmoduleConfig } [config ]
79
86
* @param {ConsentData|undefined } consentData
80
- * @returns {euidId }
87
+ * @returns {IdResponse }
81
88
*/
82
89
getId ( config , consentData ) {
83
90
if ( consentData ?. gdprApplies !== true ) {
@@ -103,7 +110,6 @@ export const euidIdSubmodule = {
103
110
mappedConfig . cstg = {
104
111
serverPublicKey : config ?. params ?. serverPublicKey ,
105
112
subscriptionId : config ?. params ?. subscriptionId ,
106
- optoutCheck : 1 ,
107
113
...extractIdentityFromParams ( config ?. params ?? { } )
108
114
}
109
115
}
0 commit comments