Skip to content

Commit

Permalink
Version 2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaskorz committed May 17, 2023
1 parent 5aaf9b2 commit b21c151
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v2.2.1 (2023-05-17)

Fixes:
- Remove [`crossorigin="anonymous"`](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) as `cross-origin-resource-policy
cross-origin` header is already set for [ima3.js](https://imasdk.googleapis.com/js/sdkloader/ima3.js)

## v2.2.0 (2023-05-17)

Changes:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alugha/ima",
"version": "2.2.0",
"version": "2.2.1",
"description": "A library for asynchronously loading the Google IMA SDK with static typing for the SDK",
"license": "MIT",
"author": "Niklas Korz <[email protected]>",
Expand Down
1 change: 0 additions & 1 deletion src/loadScript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const loadScript = (src: string): Promise<Event> =>
script.src = src;
script.onload = resolve;
script.onerror = reject;
script.crossOrigin = "anonymous";
document.body.appendChild(script);
});

Expand Down

0 comments on commit b21c151

Please sign in to comment.