From 0a0aad9f8f7250e8ca1973069de3b3cccc1be346 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Tue, 2 Apr 2024 11:28:43 +0200 Subject: [PATCH 1/3] Fix package exports --- nielsen/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nielsen/package.json b/nielsen/package.json index c72d02fd..e72e26ba 100644 --- a/nielsen/package.json +++ b/nielsen/package.json @@ -2,14 +2,14 @@ "name": "@theoplayer/nielsen-connector-web", "version": "1.1.1", "description": "A connector implementing Nielsen with THEOplayer.", - "main": "dist/THEOplayerNielsenConnector.umd.js", - "module": "dist/THEOplayerNielsenConnector.esm.js", - "types": "dist/THEOplayerNielsenConnector.d.ts", + "main": "dist/nielsen-connector.umd.js", + "module": "dist/nielsen-connector.esm.js", + "types": "dist/nielsen-connector.d.ts", "exports": { ".": { - "types": "./dist/THEOplayerNielsenConnector.d.ts", - "import": "./dist/THEOplayerNielsenConnector.esm.js", - "require": "./dist/THEOplayerNielsenConnector.umd.js" + "types": "./dist/nielsen-connector.d.ts", + "import": "./dist/nielsen-connector.esm.js", + "require": "./dist/nielsen-connector.umd.js" }, "./dist/*": "./dist/*", "./package": "./package.json", From a53a64709df03175fe9caebbcd391c42aa459575 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Tue, 2 Apr 2024 11:28:58 +0200 Subject: [PATCH 2/3] Add 7.0 support --- nielsen/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nielsen/package.json b/nielsen/package.json index e72e26ba..0775ef1b 100644 --- a/nielsen/package.json +++ b/nielsen/package.json @@ -32,6 +32,6 @@ "package.json" ], "peerDependencies": { - "theoplayer": "^5.0.0 || ^6.0.0" + "theoplayer": "^5.0.0 || ^6.0.0 || ^7.0.0" } } From 705d84d0f434c997b571398607c43d1b3a066b07 Mon Sep 17 00:00:00 2001 From: Tom Van Laerhoven Date: Tue, 2 Apr 2024 11:30:51 +0200 Subject: [PATCH 3/3] Add changeset --- .changeset/olive-seals-retire.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/olive-seals-retire.md diff --git a/.changeset/olive-seals-retire.md b/.changeset/olive-seals-retire.md new file mode 100644 index 00000000..51b16455 --- /dev/null +++ b/.changeset/olive-seals-retire.md @@ -0,0 +1,5 @@ +--- +"@theoplayer/nielsen-connector-web": patch +--- + +Fixed an issue where the package did not properly export the Nielsen types.