@vouchfor/embeds 1.4.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/embeds.js +1138 -11
- package/dist/es/embeds.js.map +1 -1
- package/dist/es/src/components/DialogEmbed/DialogOverlay.d.ts +2 -1
- package/dist/es/src/components/DialogEmbed/DialogPortal.d.ts +2 -1
- package/dist/es/src/components/DialogEmbed/index.d.ts +3 -1
- package/dist/es/src/components/PlayerEmbed/controllers/tracking/utils.d.ts +1 -1
- package/dist/es/src/components/PlayerEmbed/index.d.ts +3 -2
- package/dist/es/src/components/PlayerEmbed/tests/data.d.ts +1 -1
- package/dist/iife/dialog-embed/embed.iife.js +363 -334
- package/dist/iife/dialog-embed/embed.iife.js.map +1 -1
- package/dist/iife/embeds.iife.js +362 -333
- package/dist/iife/embeds.iife.js.map +1 -1
- package/dist/iife/player-embed/embed.iife.js +346 -317
- package/dist/iife/player-embed/embed.iife.js.map +1 -1
- package/package.json +34 -30
- package/src/components/PlayerEmbed/controllers/tracking/utils.ts +1 -1
- package/src/components/PlayerEmbed/tests/data.ts +1 -1
- package/dist/es/browser-f8654733.js +0 -733
- package/dist/es/browser-f8654733.js.map +0 -1
- package/dist/es/index-65006a92.js +0 -4602
- package/dist/es/index-65006a92.js.map +0 -1
- package/dist/iife/dialog-embed/browser-b36b6e3e.js +0 -433
- package/dist/iife/dialog-embed/browser-b36b6e3e.js.map +0 -1
- package/dist/iife/dialog-embed/embed.js +0 -5
- package/dist/iife/dialog-embed/embed.js.map +0 -1
- package/dist/iife/dialog-embed/index-72887ffc.js +0 -27167
- package/dist/iife/dialog-embed/index-72887ffc.js.map +0 -1
- package/dist/iife/dialog-embed/src/components/DialogEmbed/DialogOverlay.d.ts +0 -19
- package/dist/iife/dialog-embed/src/components/DialogEmbed/DialogPortal.d.ts +0 -35
- package/dist/iife/dialog-embed/src/components/DialogEmbed/index.d.ts +0 -36
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/controllers/event-forwarder.d.ts +0 -15
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/controllers/fetcher.d.ts +0 -14
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/controllers/tracking/index.d.ts +0 -36
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/controllers/tracking/utils.d.ts +0 -17
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/index.d.ts +0 -73
- package/dist/iife/dialog-embed/src/components/PlayerEmbed/tests/data.d.ts +0 -3
- package/dist/iife/dialog-embed/src/index.d.ts +0 -2
- package/dist/iife/dialog-embed/src/utils/env.d.ts +0 -12
- package/dist/iife/dialog-embed/src/utils/events.d.ts +0 -2
- package/dist/iife/player-embed/browser-69a47b14.js +0 -433
- package/dist/iife/player-embed/browser-69a47b14.js.map +0 -1
- package/dist/iife/player-embed/embed.js +0 -5
- package/dist/iife/player-embed/embed.js.map +0 -1
- package/dist/iife/player-embed/index-854590ba.js +0 -26722
- package/dist/iife/player-embed/index-854590ba.js.map +0 -1
- package/dist/iife/player-embed/src/components/DialogEmbed/DialogOverlay.d.ts +0 -19
- package/dist/iife/player-embed/src/components/DialogEmbed/DialogPortal.d.ts +0 -35
- package/dist/iife/player-embed/src/components/DialogEmbed/index.d.ts +0 -36
- package/dist/iife/player-embed/src/components/PlayerEmbed/controllers/event-forwarder.d.ts +0 -15
- package/dist/iife/player-embed/src/components/PlayerEmbed/controllers/fetcher.d.ts +0 -14
- package/dist/iife/player-embed/src/components/PlayerEmbed/controllers/tracking/index.d.ts +0 -36
- package/dist/iife/player-embed/src/components/PlayerEmbed/controllers/tracking/utils.d.ts +0 -17
- package/dist/iife/player-embed/src/components/PlayerEmbed/index.d.ts +0 -73
- package/dist/iife/player-embed/src/components/PlayerEmbed/tests/data.d.ts +0 -3
- package/dist/iife/player-embed/src/index.d.ts +0 -2
- package/dist/iife/player-embed/src/utils/env.d.ts +0 -12
- package/dist/iife/player-embed/src/utils/events.d.ts +0 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vouchfor/embeds",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Aaron Williams",
|
6
6
|
"main": "dist/es/embeds.js",
|
@@ -18,6 +18,9 @@
|
|
18
18
|
"tag": "latest",
|
19
19
|
"access": "public"
|
20
20
|
},
|
21
|
+
"engines": {
|
22
|
+
"node": ">=18.18.0"
|
23
|
+
},
|
21
24
|
"scripts": {
|
22
25
|
"build": "rm -rf dist && tsc && yarn build:self",
|
23
26
|
"build:deps": "yarn --cwd ../media-player build",
|
@@ -42,45 +45,46 @@
|
|
42
45
|
"dependencies": {
|
43
46
|
"@a11y/focus-trap": "^1.0.5",
|
44
47
|
"@lit/task": "^1.0.0",
|
45
|
-
"@vouchfor/
|
48
|
+
"@vouchfor/canvas-video": "^8.0.0",
|
49
|
+
"@vouchfor/media-player": "^3.0.0",
|
46
50
|
"uuid": "^9.0.1"
|
47
51
|
},
|
48
52
|
"peerDependencies": {
|
49
|
-
"lit": "^3.1.
|
53
|
+
"lit": "^3.1.2"
|
50
54
|
},
|
51
55
|
"devDependencies": {
|
52
56
|
"@esm-bundle/chai": "^4.3.4-fix.0",
|
53
|
-
"@open-wc/testing": "^
|
54
|
-
"@storybook/addon-essentials": "^
|
55
|
-
"@storybook/addon-links": "^
|
56
|
-
"@storybook/blocks": "^
|
57
|
-
"@storybook/web-components": "^
|
58
|
-
"@storybook/web-components-vite": "^
|
59
|
-
"@
|
60
|
-
"@
|
61
|
-
"@
|
62
|
-
"@
|
63
|
-
"@
|
64
|
-
"@
|
65
|
-
"@web/
|
66
|
-
"@web/test-runner
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"
|
57
|
+
"@open-wc/testing": "^4.0.0",
|
58
|
+
"@storybook/addon-essentials": "^8.0.4",
|
59
|
+
"@storybook/addon-links": "^8.0.4",
|
60
|
+
"@storybook/blocks": "^8.0.4",
|
61
|
+
"@storybook/web-components": "^8.0.4",
|
62
|
+
"@storybook/web-components-vite": "^8.0.4",
|
63
|
+
"@svgr/core": "^8.1.0",
|
64
|
+
"@types/flat": "^5.0.5",
|
65
|
+
"@types/mocha": "^10.0.6",
|
66
|
+
"@vouchfor/eslint-config": "^1.0.1",
|
67
|
+
"@vouchfor/prettier-config": "^1.0.1",
|
68
|
+
"@vouchfor/video-utils": "^1.0.0",
|
69
|
+
"@web/dev-server-esbuild": "^1.0.2",
|
70
|
+
"@web/test-runner": "^0.18.1",
|
71
|
+
"@web/test-runner-browserstack": "^0.7.1",
|
72
|
+
"@web/test-runner-mocha": "^0.9.0",
|
73
|
+
"@web/test-runner-playwright": "^0.11.0",
|
70
74
|
"glob": "^10.3.10",
|
71
|
-
"lint-staged": "^
|
72
|
-
"lit": "^3.1.
|
75
|
+
"lint-staged": "^15.2.2",
|
76
|
+
"lit": "^3.1.2",
|
73
77
|
"lodash": "^4.17.21",
|
74
|
-
"prettier": "^3.0.3",
|
75
78
|
"react": "^18.2.0",
|
76
79
|
"react-dom": "^18.2.0",
|
77
|
-
"rollup-plugin-
|
80
|
+
"rollup-plugin-tla": "^0.0.2",
|
78
81
|
"sinon": "^17.0.1",
|
79
|
-
"storybook": "^
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"vite
|
83
|
-
"vite-plugin-
|
84
|
-
"
|
82
|
+
"storybook": "^8.0.4",
|
83
|
+
"svgson": "^5.3.1",
|
84
|
+
"typescript": "^5.4.3",
|
85
|
+
"vite": "^5.2.2",
|
86
|
+
"vite-plugin-commonjs": "^0.10.1",
|
87
|
+
"vite-plugin-dts": "^3.7.3",
|
88
|
+
"web-component-analyzer": "^2.0.0"
|
85
89
|
}
|
86
90
|
}
|
@@ -2,7 +2,7 @@ import { TEMPLATE_VERSION } from '@vouchfor/canvas-video';
|
|
2
2
|
import { v4 as uuidv4 } from 'uuid';
|
3
3
|
|
4
4
|
import type { TrackingPayload } from '.';
|
5
|
-
import type { Vouch } from '@vouchfor/
|
5
|
+
import type { Vouch } from '@vouchfor/video-utils';
|
6
6
|
import type { Environment } from '~/utils/env';
|
7
7
|
|
8
8
|
import packageJson from '~/../package.json';
|