@guardian/commercial-core 4.18.0 → 4.19.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/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +1 -3
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +0 -1
- package/package.json +1 -1
- package/dist/cjs/third-party-tags/facebook-pixel.d.ts +0 -7
- package/dist/cjs/third-party-tags/facebook-pixel.js +0 -15
- package/dist/esm/third-party-tags/facebook-pixel.d.ts +0 -7
- package/dist/esm/third-party-tags/facebook-pixel.js +0 -11
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { ias } from './third-party-tags/ias';
|
|
2
2
|
export { permutive } from './third-party-tags/permutive';
|
|
3
|
-
export { fbPixel } from './third-party-tags/facebook-pixel';
|
|
4
3
|
export { twitter } from './third-party-tags/twitter-uwt';
|
|
5
4
|
export { inizio } from './third-party-tags/inizio';
|
|
6
5
|
export { remarketing } from './third-party-tags/remarketing';
|
package/dist/cjs/index.js
CHANGED
|
@@ -24,13 +24,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
return result;
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.pubmatic = exports.launchpad = exports.ipsosMoriStub = exports.a9Apstag = exports.buildPageTargetingConsentless = exports.buildPageTargeting = exports.postMessage = exports.initMessenger = exports.pickTargetingValues = exports.getViewportTargeting = exports.getSharedTargeting = exports.getSessionTargeting = exports.getPersonalisedTargeting = exports.getContentTargeting = exports.constants = exports.concatSizeMappings = exports.createAdSlot = exports.disabledAds = exports.buildAdsConfigWithConsent = exports.initTrackGpcSignal = exports.initTrackLabsContainer = exports.initTrackScrollDepth = exports.getPermutivePFPSegments = exports.getPermutiveSegments = exports.clearPermutiveSegments = exports.isAdBlockInUse = exports.isBreakpoint = exports.standardAdSizes = exports.slotSizeMappings = exports.outstreamSizes = exports.getAdSize = exports.createAdSize = exports.adSizes = exports.initCommercialMetrics = exports.bypassCommercialMetricsSampling = exports.EventTimer = exports.remarketing = exports.inizio = exports.twitter = exports.
|
|
27
|
+
exports.pubmatic = exports.launchpad = exports.ipsosMoriStub = exports.a9Apstag = exports.buildPageTargetingConsentless = exports.buildPageTargeting = exports.postMessage = exports.initMessenger = exports.pickTargetingValues = exports.getViewportTargeting = exports.getSharedTargeting = exports.getSessionTargeting = exports.getPersonalisedTargeting = exports.getContentTargeting = exports.constants = exports.concatSizeMappings = exports.createAdSlot = exports.disabledAds = exports.buildAdsConfigWithConsent = exports.initTrackGpcSignal = exports.initTrackLabsContainer = exports.initTrackScrollDepth = exports.getPermutivePFPSegments = exports.getPermutiveSegments = exports.clearPermutiveSegments = exports.isAdBlockInUse = exports.isBreakpoint = exports.standardAdSizes = exports.slotSizeMappings = exports.outstreamSizes = exports.getAdSize = exports.createAdSize = exports.adSizes = exports.initCommercialMetrics = exports.bypassCommercialMetricsSampling = exports.EventTimer = exports.remarketing = exports.inizio = exports.twitter = exports.permutive = exports.ias = void 0;
|
|
28
28
|
var ias_1 = require("./third-party-tags/ias");
|
|
29
29
|
Object.defineProperty(exports, "ias", { enumerable: true, get: function () { return ias_1.ias; } });
|
|
30
30
|
var permutive_1 = require("./third-party-tags/permutive");
|
|
31
31
|
Object.defineProperty(exports, "permutive", { enumerable: true, get: function () { return permutive_1.permutive; } });
|
|
32
|
-
var facebook_pixel_1 = require("./third-party-tags/facebook-pixel");
|
|
33
|
-
Object.defineProperty(exports, "fbPixel", { enumerable: true, get: function () { return facebook_pixel_1.fbPixel; } });
|
|
34
32
|
var twitter_uwt_1 = require("./third-party-tags/twitter-uwt");
|
|
35
33
|
Object.defineProperty(exports, "twitter", { enumerable: true, get: function () { return twitter_uwt_1.twitter; } });
|
|
36
34
|
var inizio_1 = require("./third-party-tags/inizio");
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { ias } from './third-party-tags/ias';
|
|
2
2
|
export { permutive } from './third-party-tags/permutive';
|
|
3
|
-
export { fbPixel } from './third-party-tags/facebook-pixel';
|
|
4
3
|
export { twitter } from './third-party-tags/twitter-uwt';
|
|
5
4
|
export { inizio } from './third-party-tags/inizio';
|
|
6
5
|
export { remarketing } from './third-party-tags/remarketing';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* istanbul ignore file -- there's no point check this for test coverage */
|
|
2
2
|
export { ias } from './third-party-tags/ias';
|
|
3
3
|
export { permutive } from './third-party-tags/permutive';
|
|
4
|
-
export { fbPixel } from './third-party-tags/facebook-pixel';
|
|
5
4
|
export { twitter } from './third-party-tags/twitter-uwt';
|
|
6
5
|
export { inizio } from './third-party-tags/inizio';
|
|
7
6
|
export { remarketing } from './third-party-tags/remarketing';
|
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fbPixel = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* tracking pixel
|
|
6
|
-
* https://en-gb.facebook.com/business/learn/facebook-ads-pixel
|
|
7
|
-
* @param {} {shouldRun}
|
|
8
|
-
*/
|
|
9
|
-
const fbPixel = ({ shouldRun }) => ({
|
|
10
|
-
shouldRun,
|
|
11
|
-
url: `https://www.facebook.com/tr?id=279880532344561&ev=PageView&noscript=1`,
|
|
12
|
-
name: 'fb',
|
|
13
|
-
useImage: true,
|
|
14
|
-
});
|
|
15
|
-
exports.fbPixel = fbPixel;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* tracking pixel
|
|
3
|
-
* https://en-gb.facebook.com/business/learn/facebook-ads-pixel
|
|
4
|
-
* @param {} {shouldRun}
|
|
5
|
-
*/
|
|
6
|
-
export const fbPixel = ({ shouldRun }) => ({
|
|
7
|
-
shouldRun,
|
|
8
|
-
url: `https://www.facebook.com/tr?id=279880532344561&ev=PageView&noscript=1`,
|
|
9
|
-
name: 'fb',
|
|
10
|
-
useImage: true,
|
|
11
|
-
});
|