New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@freestar/pubfig-adslot-angular-component

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freestar/pubfig-adslot-angular-component - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

11

bundles/freestar-pubfig-adslot-angular-component.umd.js

@@ -15,2 +15,3 @@ (function (global, factory) {

this.slotId = '';
this.targeting = [];
this.classList = '';

@@ -125,6 +126,11 @@ this.channel = null;

function () {
return {
/** @type {?} */
var adUnit = {
placementName: this.placementName,
slotId: this.slotId
};
if (this.targeting.length) {
adUnit.targeting = this.targeting;
}
return adUnit;
};

@@ -178,2 +184,3 @@ /**

slotId: [{ type: core.Input }],
targeting: [{ type: core.Input }],
classList: [{ type: core.Input }],

@@ -192,2 +199,4 @@ channel: [{ type: core.Input }],

/** @type {?} */
FreestarAdSlot.prototype.targeting;
/** @type {?} */
FreestarAdSlot.prototype.classList;

@@ -194,0 +203,0 @@ /** @type {?} */

2

package.json

@@ -9,3 +9,3 @@ {

],
"version": "1.0.8",
"version": "1.0.9",
"private": false,

@@ -12,0 +12,0 @@ "repository": {

@@ -39,6 +39,7 @@ # Freestar Pubfig Ad Slot Angular Component

slotId='div-gpt-ad-leaderboard-multi'
[targeting]='["value1", "value2"]'
classList='m-30 p-15 b-thin-red'
channel='custom_channel'
adRefresh={{adRefreshCount}}
(messageEmitter)="onMessageHook($event)"
(messageEmitter)='onMessageHook($event)'
></freestar-ad-slot>

@@ -82,2 +83,5 @@ <button (click)='onAdRefresh()'>Trigger Refresh</button>`

**targeting**
An *optional* array of the ad unit's `targeting` values.
**channel**

@@ -91,1 +95,12 @@ An *optional* string of a custom channel to use.

An *optional* number bound to the ad refresh. You can increment this value to trigger a refresh of the ad slot.
### Glossary
**placementName**
A value acquired from Google Ad Manager (previously known as DFP/Adx), which will be provided by Freestar.
**slotId**
A value used for the DOM `<div>` id for the ad unit to render within.
**targeting**
A set of targeting values for the ad unit placement.
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