Skip to content

Commit f8d1d8d

Browse files
remove COOKIE_NAME altogether
1 parent e4b6fb5 commit f8d1d8d

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/euidSdk.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ const productDetails: ProductDetails = {
1414
};
1515

1616
export class EUID extends SdkBase {
17-
private static cookieName = productDetails.cookieName;
18-
// Deprecated. Integrators should never access the cookie directly!
19-
static get COOKIE_NAME() {
20-
console.warn(
21-
'Detected access to EUID.COOKIE_NAME. This is deprecated and will be removed in the future. Integrators should not access the cookie directly.'
22-
);
23-
return EUID.cookieName;
24-
}
2517
private static get EuidDetails(): ProductDetails {
2618
return productDetails;
2719
}

src/uid2Sdk.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ const productDetails: ProductDetails = {
1414
};
1515

1616
export class UID2 extends SdkBase {
17-
private static cookieName = productDetails.cookieName;
18-
// Deprecated. Integrators should never access the cookie directly!
19-
static get COOKIE_NAME() {
20-
console.warn(
21-
'Detected access to UID2.COOKIE_NAME. This is deprecated and will be removed in the future. Integrators should not access the cookie directly.'
22-
);
23-
return UID2.cookieName;
24-
}
2517
private static get Uid2Details(): ProductDetails {
2618
return productDetails;
2719
}

0 commit comments

Comments
 (0)