From 3f961d69e760ba19f13cddb2d72f38c05fd3892d Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 9 Sep 2024 18:58:39 +0200 Subject: [PATCH 1/5] Update to THEOplayer 8.3.0 --- package-lock.json | 23 ++++++++++++----------- package.json | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index aa94e0b..06accca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "prettier": "^3.2.4", "rimraf": "^5.0.5", "rollup": "^4.14.0", - "theoplayer": "^7.12.0", + "theoplayer": "^8.3.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tslib": "^2.6.2", @@ -46,7 +46,7 @@ }, "adscript": { "name": "@theoplayer/adscript-connector-web", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "peerDependencies": { "theoplayer": "^7.0.0 || ^8.0.0" @@ -54,7 +54,7 @@ }, "cmcd": { "name": "@theoplayer/cmcd-connector-web", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "peerDependencies": { "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" @@ -62,7 +62,7 @@ }, "comscore": { "name": "@theoplayer/comscore-connector-web", - "version": "1.0.21", + "version": "1.2.0", "license": "MIT", "peerDependencies": { "theoplayer": "^7.0.0 || ^8.0.0" @@ -70,7 +70,7 @@ }, "conviva": { "name": "@theoplayer/conviva-connector-web", - "version": "2.1.4", + "version": "2.3.0", "license": "MIT", "devDependencies": { "@convivainc/conviva-js-coresdk": "^4.7.4" @@ -88,7 +88,7 @@ }, "gemius": { "name": "@theoplayer/gemius-connector-web", - "version": "0.1.0", + "version": "0.2.0", "license": "MIT", "peerDependencies": { "theoplayer": "^7.0.0 || ^8.0.0" @@ -96,7 +96,7 @@ }, "nielsen": { "name": "@theoplayer/nielsen-connector-web", - "version": "1.2.0", + "version": "1.4.0", "license": "MIT", "peerDependencies": { "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" @@ -7880,9 +7880,10 @@ "license": "MIT" }, "node_modules/theoplayer": { - "version": "7.12.0", - "resolved": "https://registry.npmjs.org/theoplayer/-/theoplayer-7.12.0.tgz", - "integrity": "sha512-Vikb20iermLQz0IZRnzwzuvzGTbpxxmIYXHJPuiwRGfP8EtaS43+94GPlxgMGYrFlvwXIa7zi1qFF+M/mCvTdQ==" + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/theoplayer/-/theoplayer-8.3.0.tgz", + "integrity": "sha512-KV9cpPQHVv8cvtt88lRCM+u+gXd64PlDmDq7Yqzcgkoy7RXisHqtiTdxnCO7U2zkMLNy4rM8WVnjWKZNrDbC0g==", + "license": "SEE LICENSE AT https://www.theoplayer.com/terms" }, "node_modules/tmp": { "version": "0.0.33", @@ -8763,7 +8764,7 @@ }, "yospace": { "name": "@theoplayer/yospace-connector-web", - "version": "2.3.0", + "version": "2.4.0", "license": "MIT", "peerDependencies": { "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" diff --git a/package.json b/package.json index df3825a..1944620 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "prettier": "^3.2.4", "rimraf": "^5.0.5", "rollup": "^4.14.0", - "theoplayer": "^7.12.0", + "theoplayer": "^8.3.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "tslib": "^2.6.2", From 31048fa68eff7bb48f76874ad794ff04ff6d8bff Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 9 Sep 2024 18:58:57 +0200 Subject: [PATCH 2/5] Link to API docs for THEOplayer 8.x --- typedoc.base.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typedoc.base.json b/typedoc.base.json index 0f59234..3414da7 100644 --- a/typedoc.base.json +++ b/typedoc.base.json @@ -15,7 +15,7 @@ "externalDocumentation": { "theoplayer": { "dtsPath": "~/THEOplayer.d.ts", - "externalBaseURL": "https://www.theoplayer.com/docs/theoplayer/v7/api-reference/web" + "externalBaseURL": "https://www.theoplayer.com/docs/theoplayer/v8/api-reference/web" } } } From 46ac24e05d5d6d12ba93e85c1d8552ada6f69e1a Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 9 Sep 2024 18:59:03 +0200 Subject: [PATCH 3/5] Fix bad import --- yospace/src/integration/YospaceManager.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yospace/src/integration/YospaceManager.ts b/yospace/src/integration/YospaceManager.ts index 89bf9e4..9c40bb3 100644 --- a/yospace/src/integration/YospaceManager.ts +++ b/yospace/src/integration/YospaceManager.ts @@ -2,10 +2,9 @@ import type { ChromelessPlayer, ServerSideAdIntegrationController, ServerSideAdIntegrationHandler, - SourceDescription, - YospaceTypedSource + SourceDescription } from 'theoplayer'; -import { getFirstYospaceTypedSource, yoSpaceWebSdkIsAvailable } from '../utils/YospaceUtils'; +import { getFirstYospaceTypedSource, type YospaceTypedSource, yoSpaceWebSdkIsAvailable } from '../utils/YospaceUtils'; import { PlayerEvent } from '../yospace/PlayerEvent'; import { PlaybackMode, From d23da3e55c3e54b8fa0f32a12cbeeb90a713002a Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 4 Nov 2024 13:54:42 +0100 Subject: [PATCH 4/5] Require THEOplayer 8.1.0 for Yospace --- yospace/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yospace/package.json b/yospace/package.json index 1d0c0fd..296d64b 100644 --- a/yospace/package.json +++ b/yospace/package.json @@ -42,7 +42,7 @@ "package.json" ], "peerDependencies": { - "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0" + "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.1.0" }, "directories": { "test": "test" From c1072b86e2ea0b03910fd608edae17a27cd4eb3a Mon Sep 17 00:00:00 2001 From: Mattias Buelens Date: Mon, 4 Nov 2024 13:57:29 +0100 Subject: [PATCH 5/5] Update changelog --- .changeset/orange-boxes-fetch.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/orange-boxes-fetch.md diff --git a/.changeset/orange-boxes-fetch.md b/.changeset/orange-boxes-fetch.md new file mode 100644 index 0000000..b801558 --- /dev/null +++ b/.changeset/orange-boxes-fetch.md @@ -0,0 +1,5 @@ +--- +"@theoplayer/yospace-connector-web": patch +--- + +Require THEOplayer 8.1.0 or higher for correct TypeScript type definitions.