@vouchfor/embeds 2.0.14 → 2.0.17

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vouchfor/embeds",
3
- "version": "2.0.14",
3
+ "version": "2.0.17",
4
4
  "license": "MIT",
5
5
  "author": "Aaron Williams",
6
6
  "main": "dist/es/embeds.js",
@@ -10,10 +10,7 @@
10
10
  "exports": {
11
11
  ".": "./dist/es/embeds.js"
12
12
  },
13
- "files": [
14
- "dist",
15
- "src"
16
- ],
13
+ "files": ["dist", "src"],
17
14
  "publishConfig": {
18
15
  "tag": "latest",
19
16
  "access": "public"
@@ -36,7 +33,8 @@
36
33
  "storybook": "yarn prebuild && storybook dev -p 6007",
37
34
  "prebuild": "yarn build:deps && yarn generate:manifest",
38
35
  "test": "rm -rf test/lib && yarn prebuild && vite build --mode test && web-test-runner",
39
- "test:ci": "yarn test --config web-test-runner.ci.config.js"
36
+ "test:ci": "yarn test --config web-test-runner.ci.config.js",
37
+ "test:watch": "yarn test --watch"
40
38
  },
41
39
  "lint-staged": {
42
40
  "**/*.{ts,tsx,js}": "eslint --fix --quiet",
@@ -45,8 +43,8 @@
45
43
  "dependencies": {
46
44
  "@a11y/focus-trap": "^1.0.5",
47
45
  "@lit/task": "^1.0.0",
48
- "@vouchfor/canvas-video": "^8.0.3",
49
- "@vouchfor/media-player": "^3.0.14",
46
+ "@vouchfor/canvas-video": "^8.0.4",
47
+ "@vouchfor/media-player": "^3.0.17",
50
48
  "uuid": "^9.0.1"
51
49
  },
52
50
  "peerDependencies": {
@@ -65,7 +63,7 @@
65
63
  "@types/mocha": "^10.0.6",
66
64
  "@vouchfor/eslint-config": "^1.0.1",
67
65
  "@vouchfor/prettier-config": "^1.0.1",
68
- "@vouchfor/video-utils": "^1.0.8",
66
+ "@vouchfor/video-utils": "^1.0.9",
69
67
  "@web/dev-server-esbuild": "^1.0.2",
70
68
  "@web/test-runner": "^0.18.1",
71
69
  "@web/test-runner-browserstack": "^0.7.1",
@@ -28,7 +28,7 @@ function playerLoaded(player: PlayerEmbed) {
28
28
  }
29
29
 
30
30
  describe('Embeds', () => {
31
- it('passes', async () => {
31
+ it('Sends correct tracking events', async () => {
32
32
  const player = await fixture<PlayerEmbed>(
33
33
  html`<vouch-embed-player env="dev" .data=${data} aspectratio=${1}></vouch-embed-player>`
34
34
  );