Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/ads-display

Package Overview
Dependencies
Maintainers
18
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/ads-display - npm Package Compare versions

Comparing version 1.3.0-beta.8 to 1.3.0

3

demo/async-await-demo.js

@@ -49,3 +49,4 @@ /* eslint-disable */

980: '5%'
}
},
waitForMoat: true
}

@@ -52,0 +53,0 @@

@@ -262,3 +262,4 @@ import { getRootID } from '@financial-times/o-tracking/dist/javascript/core.js';

...options,
...(flags.get('adsEnableTestCreatives') && { testads: true })
//if adsEnableTestCreatives flag is set, pass sandbox as true downstream, as that's checked to show test creatives
sandbox: (options.sandbox || !! flags.get('adsEnableTestCreatives'))
};

@@ -474,8 +475,13 @@ if(options.smartmatch) {

const checkMoatInterval = setInterval(() => {
if(window.moatPrebidApi && window.moatPrebidApi.safetyDataAvailable()) {
clearInterval(checkMoatInterval);
if(window.moatPrebidApi &&
typeof window.moatPrebidApi.slotDataAvailable === "function" &&
window.moatPrebidApi.slotDataAvailable() &&
window.moatPrebidApi.safetyDataAvailable()
) {
window.moatPrebidApi.setMoatTargetingForAllSlots();
clearInterval(checkMoatInterval);
clearTimeout(timeoutId);
resolve();
}
}, 50);
resolve();
}
}, 50);

@@ -482,0 +488,0 @@ const timeoutId = setTimeout(() => {

{
"name": "@financial-times/ads-display",
"version": "1.3.0-beta.8",
"version": "1.3.0",
"description": "Bring ads to your page with the FT specific o-ads configuration",

@@ -41,3 +41,3 @@ "browser": "dist/client.js",

"dependencies": {
"@financial-times/ads-permutive": "^1.3.0-beta.8",
"@financial-times/ads-permutive": "^1.3.0",
"@financial-times/n-tracking": "^3.0.0",

@@ -44,0 +44,0 @@ "@financial-times/o-ads": "18.3.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc