Fixes:
- Remove
crossorigin="anonymous"
ascross-origin-resource-policy cross-origin
header is already set for ima3.js
Changes:
- Target ES2015 instead of ES5
Fixes:
- Add
crossorigin="anonymous"
to script tags for compatibility with COEP
Technical changes:
- Updated from TypeScript
4.4
to5.0
Changes:
- @joeflateau: Add
pageUrl
property to AdsRequest (#19)
Fixes:
- @joeflateau: Loading of IMA SDK in non-http environments (#16 / #18)
Technical changes:
- Updated from TypeScript
4.1
to4.4
- Updated from ESLint
7.13
to7.32
- Updated from Prettier
2.2
to2.4
- Remove TSLint
Fixes:
- @Achavesm: Spelling mistake in
nearMathPercent
(#11)
Fixes:
- Set correct values for enum types (fixes #1)
Fixes:
- Import
google
namespace throughimport type
instead ofimport
to avoid compiler errors
Breaking changes:
- Moved declaration of
google.ima
namespace from global scope to module scope to avoid type clashes, it now has to be imported explicitly:import type { google } from '@alugha/ima;
Technical changes:
- Updated from TypeScript
2.6
to4.1
- Updated from Prettier
1.10
to2.2
- Migrated from TSLint to ESLint
Changes:
- @bechtold: Added new AdEvent types (#4)
- @klipstein: Add missing AdsRequest.setContinuousPlayback method (#7)
Changes:
- Update method
addEventListener
for both AdsLoader and AdsManager to include an optional third parameter calleduseCapture
of typeboolean
- Add method
removeEventListener(type, listener, useCapture?)
to AdsLoader and AdsManager