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
132
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 2.0.3 to 2.0.4

8

demo/async-await-demo.js
/* eslint-disable */
import * as nTracking from '@financial-times/n-tracking'
import 'regenerator-runtime/runtime.js'

@@ -17,2 +18,3 @@ import { displayAds, getAdsData, adsUtils } from '../dist/client'

ads: true,
oTracking: true,
adsEnableSmartmatchInTargeting: true,

@@ -35,2 +37,6 @@ AdsPermutive: true,

window.addEventListener('DOMContentLoaded', async () => {
if (flags.get('oTracking')) {
nTracking.init({});
}
if (flags.get('ads')) {

@@ -47,3 +53,3 @@ // whatever app based logic needs to happen

sandbox: isArticlePreview,
disableMonitoring: true,
disableMonitoring: false,
lazyLoadMargins: {

@@ -50,0 +56,0 @@ 760: '15%',

/* eslint-disable */
import * as nTracking from '@financial-times/n-tracking'
import 'regenerator-runtime/runtime.js'

@@ -17,2 +18,3 @@ import { displayAds, getAdsData, adsUtils } from '../dist/client'

ads: true,
oTracking: true,
AdsPermutive: true,

@@ -35,2 +37,6 @@ moatAdsTraffic: true,

window.addEventListener('DOMContentLoaded', () => {
if (flags.get('oTracking')) {
nTracking.init({});
}
if (flags.get('ads')) {

@@ -47,3 +53,3 @@ // whatever app based logic needs to happen

sandbox: isArticlePreview,
disableMonitoring: true,
disableMonitoring: false,
/*

@@ -50,0 +56,0 @@ lazyLoadMargins: {

6

package.json
{
"name": "@financial-times/ads-display",
"version": "2.0.3",
"version": "2.0.4",
"description": "Bring ads to your page with the FT specific o-ads configuration",

@@ -40,5 +40,5 @@ "browser": "dist/client.js",

"dependencies": {
"@financial-times/ads-permutive": "^2.0.3",
"@financial-times/ads-permutive": "^2.0.4",
"@financial-times/n-tracking": "1.4.0",
"@financial-times/ads-legacy-o-ads": "^2.0.3",
"@financial-times/ads-legacy-o-ads": "^2.0.4",
"@financial-times/o-tracking": "^2.0.3",

@@ -45,0 +45,0 @@ "@financial-times/privacy-us-privacy": "^1.0.0"

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