Skip to content

Commit

Permalink
CXCDS-14100: Remove sciEnabled value for profile-tag as it's never used.
Browse files Browse the repository at this point in the history
  • Loading branch information
johannathalmann-SAP committed Feb 6, 2025
1 parent c5d54c5 commit 7022df5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 11 deletions.
1 change: 0 additions & 1 deletion integration-libs/cds/src/config/profile-tag.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export interface ProfileTagConfig {
configUrl?: string;
allowInsecureCookies?: boolean;
gtmId?: string;
sciEnabled?: boolean;
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export interface ProfileTagJsConfig {
configUrl?: string;
allowInsecureCookies?: boolean;
gtmId?: string;
sciEnabled?: boolean;
}

export interface ConsentReferenceEvent extends CustomEvent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const mockCDSConfig: CdsConfig = {
configUrl: 'https:tag.static.us.context.cloud.sap',
allowInsecureCookies: false,
gtmId: 'test-id-1234567',
sciEnabled: false,
},
},
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ import { I18nConfig, provideConfig } from "@spartacus/core";
'profile-tag-load-url.com',
configUrl:
'profile-tag-config-url.com',
allowInsecureCookies: true,
sciEnabled: false
allowInsecureCookies: true
},
},
})
Expand Down Expand Up @@ -87,8 +86,7 @@ import { I18nConfig, provideConfig } from "@spartacus/core";
'profile-tag-load-url.com',
configUrl:
'profile-tag-config-url.com',
allowInsecureCookies: true,
sciEnabled: true
allowInsecureCookies: true
},
},
})
Expand Down Expand Up @@ -136,8 +134,7 @@ import { I18nConfig, provideConfig } from "@spartacus/core";
'PROFILE_TAG_LOAD_URL_PLACEHOLDER',
configUrl:
'PROFILE_TAG_CONFIG_URL_PLACEHOLDER',
allowInsecureCookies: true,
sciEnabled: false
allowInsecureCookies: true
},
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ function buildCdsConfig(
options.profileTagConfigUrl ||
'PROFILE_TAG_CONFIG_URL_PLACEHOLDER'
}',
allowInsecureCookies: true,
sciEnabled: ${options.sciEnabled}
allowInsecureCookies: true
},
},
}`,
Expand Down

0 comments on commit 7022df5

Please sign in to comment.