@types/doubleclick-gpt
Advanced tools
Comparing version 238.0.2 to 2019041801.0.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for non-npm package Google Publisher Tag 238.0 | ||
// Type definitions for non-npm package Google Publisher Tag 2019041801.0 | ||
// Project: https://developers.google.com/doubleclick-gpt/reference | ||
@@ -6,2 +6,3 @@ // Definitions by: John Wright <https://github.com/johngeorgewright> | ||
// Joe Flateau <https://github.com/joeflateau> | ||
// Vanessa Garcia <https://github.com/vanessa-lyn> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -35,2 +36,10 @@ // TypeScript Version: 2.2 | ||
addEventListener( | ||
eventType: "slotRequested", | ||
listener: (event: events.SlotRequestedEvent) => void | ||
): Service; | ||
addEventListener( | ||
eventType: "slotResponseReceived", | ||
listener: (event: events.SlotResponseReceived) => void | ||
): Service; | ||
addEventListener( | ||
eventType: "slotVisibilityChanged", | ||
@@ -65,2 +74,3 @@ listener: (event: events.SlotVisibilityChangedEvent) => void | ||
creativeId?: number; | ||
creativeTemplateId?: number; | ||
lineItemId?: number; | ||
@@ -84,3 +94,3 @@ } | ||
disablePublisherConsole(): void; | ||
display(div?: string | Element): void; | ||
display(divOrSlot?: string | Element | Slot): void; | ||
enableServices(): void; | ||
@@ -192,2 +202,8 @@ getVersion(): string; | ||
// tslint:disable-next-line:no-empty-interface | ||
interface SlotRequestedEvent extends Event {} | ||
// tslint:disable-next-line:no-empty-interface | ||
interface SlotResponseReceived extends Event {} | ||
interface SlotVisibilityChangedEvent extends Event { | ||
@@ -194,0 +210,0 @@ inViewPercentage: number; |
{ | ||
"name": "@types/doubleclick-gpt", | ||
"version": "238.0.2", | ||
"version": "2019041801.0.0", | ||
"description": "TypeScript definitions for Google Publisher Tag", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "joeflateau" | ||
}, | ||
{ | ||
"name": "Vanessa Garcia", | ||
"url": "https://github.com/vanessa-lyn", | ||
"githubUsername": "vanessa-lyn" | ||
} | ||
@@ -33,4 +38,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "c83380220f847fa46dc83c6bd982e32b40f9e090a3508514cb1959e666313c1c", | ||
"typesPublisherContentHash": "bdfa66c6919e9d3b882d7f8cdcbc5ecde955a87b7a53fa41fd28aa45bc2408fb", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 10 Apr 2019 17:55:57 GMT | ||
* Last updated: Wed, 15 May 2019 15:58:29 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: googletag | ||
# Credits | ||
These definitions were written by John Wright <https://github.com/johngeorgewright>, Steven Joyce <https://github.com/steven-joyce>, Joe Flateau <https://github.com/joeflateau>. | ||
These definitions were written by John Wright <https://github.com/johngeorgewright>, Steven Joyce <https://github.com/steven-joyce>, Joe Flateau <https://github.com/joeflateau>, Vanessa Garcia <https://github.com/vanessa-lyn>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11080
183