Skip to content

Commit 08beec9

Browse files
authored
Web-js-console-warning-fix (#366)
* added web-js fix * Publish - @corbado/react@2.8.1-alpha.0 - @corbado/shared-ui@2.8.1-alpha.0 - @corbado/types@2.5.1-alpha.0 - @corbado/web-core@2.6.1-alpha.0 - @corbado/web-js@2.8.1-alpha.0 * updated examples
1 parent b9e876f commit 08beec9

10 files changed

Lines changed: 56 additions & 56 deletions

File tree

examples/web-js-script/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<title>Corbado's WebJS (script) App</title>
1414
<link
1515
rel="stylesheet"
16-
href="https://unpkg.com/@corbado/web-js@2.6.1-alpha.0/dist/bundle/index.css"
16+
href="https://unpkg.com/@corbado/web-js@2.8.1-alpha.0/dist/bundle/index.css"
1717
/>
1818
<script src="https://cdn.tailwindcss.com"></script>
1919
<script>
@@ -72,7 +72,7 @@
7272
crossorigin="anonymous"
7373
></script>
7474
<script src="./assets/prism.js"></script>
75-
<script src="https://unpkg.com/@corbado/web-js@2.6.1-alpha.0/dist/bundle/index.js"></script>
75+
<script src="https://unpkg.com/@corbado/web-js@2.8.1-alpha.0/dist/bundle/index.js"></script>
7676

7777
<script type="module">
7878
import { insertHeader, insertGuide, insertDemo } from './components/index.js';

examples/web-js/package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/web-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"vite": "^5.0.8"
1919
},
2020
"dependencies": {
21-
"@corbado/web-js": "^2.6.1-alpha.0",
21+
"@corbado/web-js": "^2.8.1-alpha.0",
2222
"prismjs": "^1.29.0"
2323
}
2424
}

package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@corbado/react",
3-
"version": "2.8.0",
3+
"version": "2.8.1-alpha.0",
44
"description": "This package provides all the functionalities and UI components needed by developers when integration Corbado's Authentication management system in their react application",
55
"author": "Abdullah Shahbaz <abdullah_ghani@live.com>",
66
"homepage": "https://github.com/corbado/javascript#readme",
@@ -31,16 +31,16 @@
3131
"url": "https://github.com/corbado/javascript/issues"
3232
},
3333
"dependencies": {
34-
"@corbado/shared-ui": "^2.8.0",
35-
"@corbado/web-core": "^2.6.0",
34+
"@corbado/shared-ui": "^2.8.1-alpha.0",
35+
"@corbado/web-core": "^2.6.1-alpha.0",
3636
"i18next": "23.5.1",
3737
"i18next-browser-languagedetector": "7.1.0",
3838
"libphonenumber-js": "^1.10.59",
3939
"react-i18next": "13.2.2",
4040
"react-phone-number-input": "^3.3.9"
4141
},
4242
"devDependencies": {
43-
"@corbado/types": "^2.5.0",
43+
"@corbado/types": "^2.5.1-alpha.0",
4444
"@svgr/webpack": "^8.1.0",
4545
"@types/react": "^18.2.0",
4646
"ts-results": "^3.3.0",

packages/shared-ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@corbado/shared-ui",
3-
"version": "2.8.0",
3+
"version": "2.8.1-alpha.0",
44
"description": "This package contains shared files for all the complete packages of Corbado for VanillaJS, React, Angular, Vue, etc.",
55
"author": "Abdullah Shahbaz <abdullah_ghani@live.com>",
66
"homepage": "https://github.com/corbado/javascript#readme",
@@ -32,7 +32,7 @@
3232
"url": "https://github.com/corbado/javascript/issues"
3333
},
3434
"devDependencies": {
35-
"@corbado/types": "^2.5.0",
35+
"@corbado/types": "^2.5.1-alpha.0",
3636
"@svgr/webpack": "^8.1.0",
3737
"@types/ua-parser-js": "^0.7.39",
3838
"copy-webpack-plugin": "^11.0.0",
@@ -50,7 +50,7 @@
5050
"**/*.json"
5151
],
5252
"dependencies": {
53-
"@corbado/web-core": "^2.6.0",
53+
"@corbado/web-core": "^2.6.1-alpha.0",
5454
"rxjs": "^7.8.1",
5555
"ua-parser-js": "^1.0.37"
5656
},

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@corbado/types",
3-
"version": "2.5.0",
3+
"version": "2.5.1-alpha.0",
44
"description": "Comprehensive TypeScript type definitions to seamlessly integrate with Corbado. Designed to empower developers with strong typing for enhanced code quality and autocompletion in supported IDEs. Perfect for ensuring type safety and consistency across JavaScript and TypeScript projects.",
55
"keywords": [
66
"TypeScript",

packages/web-core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@corbado/web-core",
3-
"version": "2.6.0",
3+
"version": "2.6.1-alpha.0",
44
"description": "This package contains core functionalities which are exported by all the SDKs and UI packages of our JavaScript library",
55
"author": "Abdullah Shahbaz <abdullah_ghani@live.com>",
66
"homepage": "https://github.com/corbado/javascript#readme",
@@ -41,7 +41,7 @@
4141
"ts-results": "^3.3.0"
4242
},
4343
"devDependencies": {
44-
"@corbado/types": "^2.5.0",
44+
"@corbado/types": "^2.5.1-alpha.0",
4545
"@types/web-bluetooth": "^0.0.20",
4646
"user-agent-data-types": "^0.4.2"
4747
},

packages/web-js/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@corbado/web-js",
3-
"version": "2.8.0",
3+
"version": "2.8.1-alpha.0",
44
"description": "This package allows VanillsJS users to add corbado functionality and UI components in their applications",
55
"author": "Abdullah Shahbaz <abdullah_ghani@live.com>",
66
"homepage": "https://github.com/corbado/javascript#readme",
@@ -34,13 +34,13 @@
3434
"url": "https://github.com/corbado/javascript/issues"
3535
},
3636
"dependencies": {
37-
"@corbado/react": "^2.8.0",
38-
"@corbado/web-core": "^2.6.0",
37+
"@corbado/react": "^2.8.1-alpha.0",
38+
"@corbado/web-core": "^2.6.1-alpha.0",
3939
"react": "^18.2.0",
4040
"react-dom": "^18.2.0"
4141
},
4242
"devDependencies": {
43-
"@corbado/types": "^2.5.0",
43+
"@corbado/types": "^2.5.1-alpha.0",
4444
"@svgr/webpack": "^8.1.0",
4545
"@types/react": "^18.2.0",
4646
"typescript": "^5.2.2"

packages/web-js/webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = merge(common, {
1616
'@corbado/react': '@corbado/react',
1717
'@corbado/web-core': '@corbado/web-core',
1818
react: 'react',
19-
'react-dom': 'react-dom',
19+
'react-dom/client': 'react-dom/client',
2020
i18next: 'i18next',
2121
'i18next-browser-languagedetector': 'i18next-browser-languagedetector',
2222
'react-i18next': 'react-i18next',

0 commit comments

Comments
 (0)