@whereby.com/browser-sdk 2.1.0-beta4 → 2.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -43
- package/dist/cdn/{v2-embed-beta4.js → v2-embed-beta.js} +2 -2
- package/dist/cdn/v2-react-beta.js +3 -0
- package/dist/embed/index.esm.js +113 -137
- package/dist/react/index.d.ts +10 -726
- package/dist/react/index.esm.js +877 -10485
- package/package.json +12 -40
- package/dist/cdn/v2-react-beta4.js +0 -3
- package/dist/core/index.d.ts +0 -2360
- package/dist/core/index.js +0 -62963
- package/dist/utils/index.d.ts +0 -5
- package/dist/utils/index.esm.js +0 -70
package/package.json
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@whereby.com/browser-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-beta.0",
|
|
4
4
|
"description": "Modules for integration Whereby video in web apps",
|
|
5
5
|
"author": "Whereby AS",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/whereby/
|
|
9
|
+
"url": "https://github.com/whereby/sdk.git",
|
|
10
|
+
"directory": "packages/browser-sdk"
|
|
10
11
|
},
|
|
11
12
|
"browserslist": "> 0.5%, last 2 versions, not dead",
|
|
12
13
|
"source": "src/index.js",
|
|
13
14
|
"exports": {
|
|
14
|
-
"./core": {
|
|
15
|
-
"import": "./dist/core/index.js",
|
|
16
|
-
"types": "./dist/core/index.d.ts"
|
|
17
|
-
},
|
|
18
15
|
"./react": {
|
|
19
16
|
"import": "./dist/react/index.esm.js",
|
|
20
17
|
"types": "./dist/react/index.d.ts"
|
|
@@ -22,25 +19,15 @@
|
|
|
22
19
|
"./embed": {
|
|
23
20
|
"import": "./dist/embed/index.esm.js",
|
|
24
21
|
"types": "./dist/embed/index.d.ts"
|
|
25
|
-
},
|
|
26
|
-
"./utils": {
|
|
27
|
-
"import": "./dist/utils/index.esm.js",
|
|
28
|
-
"types": "./dist/utils/index.d.ts"
|
|
29
22
|
}
|
|
30
23
|
},
|
|
31
24
|
"typesVersions": {
|
|
32
25
|
"*": {
|
|
33
|
-
"core": [
|
|
34
|
-
"dist/core/index.d.ts"
|
|
35
|
-
],
|
|
36
26
|
"react": [
|
|
37
27
|
"dist/react/index.d.ts"
|
|
38
28
|
],
|
|
39
29
|
"embed": [
|
|
40
30
|
"dist/embed/index.d.ts"
|
|
41
|
-
],
|
|
42
|
-
"utils": [
|
|
43
|
-
"dist/utils/index.d.ts"
|
|
44
31
|
]
|
|
45
32
|
}
|
|
46
33
|
},
|
|
@@ -53,13 +40,10 @@
|
|
|
53
40
|
"build": "rollup -c rollup.config.js",
|
|
54
41
|
"build:storybook": "storybook build",
|
|
55
42
|
"dev": "storybook dev -p 6006",
|
|
56
|
-
"install:e2e-sample-app": "cd test/sample-app && yarn custom_install",
|
|
57
|
-
"start:e2e-sample-app": "cd test/sample-app && yarn start",
|
|
58
43
|
"test": "yarn test:lint && yarn test:unit",
|
|
59
44
|
"test:lint": "eslint src/",
|
|
60
|
-
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
61
|
-
"test:unit:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
|
|
62
|
-
"test:e2e": "playwright test",
|
|
45
|
+
"test:unit": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
|
|
46
|
+
"test:unit:watch": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js --watch",
|
|
63
47
|
"storybook": "storybook dev -p 6006",
|
|
64
48
|
"build-storybook": "storybook build"
|
|
65
49
|
},
|
|
@@ -69,35 +53,25 @@
|
|
|
69
53
|
"@babel/preset-env": "^7.23.2",
|
|
70
54
|
"@babel/preset-react": "^7.22.15",
|
|
71
55
|
"@babel/preset-typescript": "^7.23.2",
|
|
72
|
-
"@playwright/test": "^1.38.1",
|
|
73
56
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
74
57
|
"@rollup/plugin-json": "^6.0.1",
|
|
75
58
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
76
59
|
"@rollup/plugin-replace": "^5.0.5",
|
|
77
60
|
"@storybook/addon-actions": "^7.5.2",
|
|
78
|
-
"@storybook/addon-essentials": "^7.
|
|
79
|
-
"@storybook/addon-links": "^7.
|
|
61
|
+
"@storybook/addon-essentials": "^7.6.13",
|
|
62
|
+
"@storybook/addon-links": "^7.6.13",
|
|
80
63
|
"@storybook/react": "^7.5.2",
|
|
81
64
|
"@storybook/react-webpack5": "^7.5.2",
|
|
82
65
|
"@testing-library/react": "^14.0.0",
|
|
83
|
-
"@types/btoa": "^1.2.3",
|
|
84
66
|
"@types/chrome": "^0.0.210",
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/node": "^20.7.1",
|
|
67
|
+
"@types/node": "^20.11.16",
|
|
87
68
|
"@types/react": "^18.0.26",
|
|
88
69
|
"@types/uuid": "^9.0.7",
|
|
89
|
-
"@typescript-eslint/eslint-plugin": "^5.46.1",
|
|
90
|
-
"@typescript-eslint/parser": "^5.46.1",
|
|
91
70
|
"babel-loader": "^8.2.5",
|
|
92
71
|
"deep-object-diff": "^1.1.9",
|
|
93
72
|
"dotenv": "^16.3.1",
|
|
94
73
|
"dotenv-run-script": "^0.4.1",
|
|
95
|
-
"eslint": "^8.29.0",
|
|
96
|
-
"eslint-plugin-jest": "^26.5.3",
|
|
97
|
-
"jest": "29.4.3",
|
|
98
|
-
"jest-environment-jsdom": "29.4.3",
|
|
99
74
|
"lit-html": "^2.5.0",
|
|
100
|
-
"prettier": "^2.7.1",
|
|
101
75
|
"react": "^18.2.0",
|
|
102
76
|
"react-dom": "^18.2.0",
|
|
103
77
|
"rimraf": "^3.0.2",
|
|
@@ -107,19 +81,14 @@
|
|
|
107
81
|
"rollup-plugin-terser": "^7.0.2",
|
|
108
82
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
109
83
|
"storybook": "^7.5.2",
|
|
110
|
-
"ts-jest": "29.0.5",
|
|
111
84
|
"tslib": "^2.4.1",
|
|
112
|
-
"typescript": "^4.9.4",
|
|
113
85
|
"uuid": "^9.0.1",
|
|
114
86
|
"yalc": "^1.0.0-pre.53"
|
|
115
87
|
},
|
|
116
88
|
"dependencies": {
|
|
117
89
|
"@reduxjs/toolkit": "^2.0.1",
|
|
118
90
|
"@swc/helpers": "^0.3.13",
|
|
119
|
-
"@whereby/
|
|
120
|
-
"axios": "^1.2.3",
|
|
121
|
-
"btoa": "^1.2.1",
|
|
122
|
-
"events": "^3.3.0",
|
|
91
|
+
"@whereby.com/core": "0.2.0-beta.0",
|
|
123
92
|
"heresy": "^1.0.4"
|
|
124
93
|
},
|
|
125
94
|
"peerDependencies": {
|
|
@@ -130,5 +99,8 @@
|
|
|
130
99
|
"string-width": "^4",
|
|
131
100
|
"jackspeak": "2.1.1",
|
|
132
101
|
"wrap-ansi": "7.0.0"
|
|
102
|
+
},
|
|
103
|
+
"publishConfig": {
|
|
104
|
+
"access": "public"
|
|
133
105
|
}
|
|
134
106
|
}
|