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

@guardian/atoms-rendering

Package Overview
Dependencies
Maintainers
45
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guardian/atoms-rendering - npm Package Compare versions

Comparing version 23.6.0 to 23.7.0

6

CHANGELOG.md
# @guardian/atoms-rendering
## 23.7.0
### Minor Changes
- 57d3ff1: Add ad label to YouTube IMA integration
## 23.6.0

@@ -4,0 +10,0 @@

9

dist/commonjs/YoutubeAtomPlayer.js

@@ -177,5 +177,10 @@ "use strict";

const onAdsManagerLoaded = () => {
var _a, _b;
var _a, _b, _c;
adsManager.current = (_a = imaManager.current) === null || _a === void 0 ? void 0 : _a.getAdsManager();
(_b = adsManager.current) === null || _b === void 0 ? void 0 : _b.addEventListener(window.google.ima.AdEvent.Type.STARTED, () => {
const adsRenderingsettings = new window.google.ima.AdsRenderingSettings();
adsRenderingsettings.uiElements = [
window.google.ima.UiElements.AD_ATTRIBUTION,
];
(_b = adsManager.current) === null || _b === void 0 ? void 0 : _b.updateAdsRenderingSettings(adsRenderingsettings);
(_c = adsManager.current) === null || _c === void 0 ? void 0 : _c.addEventListener(window.google.ima.AdEvent.Type.STARTED, () => {
dispatchCustomPlayEvent(uniqueId);

@@ -182,0 +187,0 @@ });

@@ -175,2 +175,7 @@ import { jsx as _jsx } from "@emotion/react/jsx-runtime";

adsManager.current = imaManager.current?.getAdsManager();
const adsRenderingsettings = new window.google.ima.AdsRenderingSettings();
adsRenderingsettings.uiElements = [
window.google.ima.UiElements.AD_ATTRIBUTION,
];
adsManager.current?.updateAdsRenderingSettings(adsRenderingsettings);
adsManager.current?.addEventListener(window.google.ima.AdEvent.Type.STARTED, () => {

@@ -177,0 +182,0 @@ dispatchCustomPlayEvent(uniqueId);

@@ -7,3 +7,3 @@ {

},
"version": "23.6.0",
"version": "23.7.0",
"source": "src/index.ts",

@@ -10,0 +10,0 @@ "main": "dist/commonjs/index.js",

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