@financial-times/cmp-client 2.2.0 → 2.2.1
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/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -121,13 +121,13 @@ const defaults = {
|
|
|
121
121
|
const FT_DOTCOM_LOCAL = {
|
|
122
122
|
...defaults,
|
|
123
123
|
accountId: 1906,
|
|
124
|
-
baseEndpoint: "https://
|
|
124
|
+
baseEndpoint: "https://consent-manager.ft.com",
|
|
125
125
|
propertyHref: "https://local.ft.com"
|
|
126
126
|
};
|
|
127
127
|
const FT_DOTCOM_PROD = {
|
|
128
128
|
...defaults,
|
|
129
129
|
accountId: 1906,
|
|
130
|
-
baseEndpoint: "https://
|
|
130
|
+
baseEndpoint: "https://consent-manager.ft.com",
|
|
131
131
|
propertyId: 31642
|
|
132
132
|
};
|
|
133
133
|
const properties = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -171,7 +171,7 @@ function getSPConfig(config) {
|
|
|
171
171
|
return `window._sp_queue=[];window._sp_={config:{${encodeConfig(config)}}}`;
|
|
172
172
|
}
|
|
173
173
|
const scriptSources = {
|
|
174
|
-
cmpFrames: "https://
|
|
174
|
+
cmpFrames: "https://consent-manager.ft.com/unified/wrapperMessagingWithoutDetection.js"
|
|
175
175
|
};
|
|
176
176
|
const scriptContent = {
|
|
177
177
|
getSPConfig,
|
package/dist/index.js
CHANGED
|
@@ -119,13 +119,13 @@ const defaults = {
|
|
|
119
119
|
const FT_DOTCOM_LOCAL = {
|
|
120
120
|
...defaults,
|
|
121
121
|
accountId: 1906,
|
|
122
|
-
baseEndpoint: "https://
|
|
122
|
+
baseEndpoint: "https://consent-manager.ft.com",
|
|
123
123
|
propertyHref: "https://local.ft.com"
|
|
124
124
|
};
|
|
125
125
|
const FT_DOTCOM_PROD = {
|
|
126
126
|
...defaults,
|
|
127
127
|
accountId: 1906,
|
|
128
|
-
baseEndpoint: "https://
|
|
128
|
+
baseEndpoint: "https://consent-manager.ft.com",
|
|
129
129
|
propertyId: 31642
|
|
130
130
|
};
|
|
131
131
|
const properties = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -169,7 +169,7 @@ function getSPConfig(config) {
|
|
|
169
169
|
return `window._sp_queue=[];window._sp_={config:{${encodeConfig(config)}}}`;
|
|
170
170
|
}
|
|
171
171
|
const scriptSources = {
|
|
172
|
-
cmpFrames: "https://
|
|
172
|
+
cmpFrames: "https://consent-manager.ft.com/unified/wrapperMessagingWithoutDetection.js"
|
|
173
173
|
};
|
|
174
174
|
const scriptContent = {
|
|
175
175
|
getSPConfig,
|