Skip to content

Commit cd040a8

Browse files
Merge pull request #378 from Web3Auth/feat/stack-upgrade
V11 Stack Upgrade
2 parents 385ae53 + 227274d commit cd040a8

33 files changed

Lines changed: 5653 additions & 7722 deletions

.cursor/worktrees.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"setup-worktree": ["npm install"]
3+
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
test:
77
strategy:
88
matrix:
9-
node: ["22.x"]
9+
node: ["24.x"]
1010
os: [ubuntu-latest]
1111

1212
runs-on: ${{ matrix.os }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
>=20.x
1+
>=24.x

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ Please refer to docs for API Reference available [here](https://docs.tor.us/open
2222

2323
Each sub package is distributed in 3 formats
2424

25-
- `esm` build `dist/lib.esm.js` in es6 format
26-
- `commonjs` build `dist/lib.cjs.js` in es5 format
27-
- `umd` build `dist/auth.umd.min.js` in es5 format without polyfilling corejs minified
25+
- `esm` build `dist/lib.esm/index.js` in es6 format
26+
- `commonjs` build `dist/lib.cjs/index.js` in es5 format
2827

2928
By default, the appropriate format is used for your specified usecase
3029
You can use a different format (if you know what you're doing) by referencing the correct file
@@ -68,7 +67,7 @@ npm test
6867
## Requirements
6968

7069
- This package requires a peer dependency of `@babel/runtime`
71-
- Node 20+
70+
- Node 22+
7271
- You will need to whitelist your domain on [developer dashboard](https://dashboard.web3auth.io)
7372

7473
## 💬 Troubleshooting and Discussions

examples/vue-example/index.html

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,22 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
7+
<link rel="icon" href="/favicon.ico" />
8+
<link
9+
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
10+
rel="stylesheet"
11+
/>
12+
<title>Openlogin Demo</title>
13+
</head>
314

4-
<head>
5-
<script type="module">
6-
import { Buffer } from "buffer";
7-
import process from "process";
8-
// window.global ||= window;
9-
window.Buffer = Buffer;
10-
window.process = process;
11-
</script>
12-
<meta charset="utf-8" />
13-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
14-
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
15-
<link rel="icon" href="/favicon.ico" />
16-
<link
17-
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
18-
rel="stylesheet" />
19-
<title>Openlogin Demo</title>
20-
</head>
21-
22-
<body>
23-
<noscript>
24-
<strong>
25-
We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.
26-
</strong>
27-
</noscript>
28-
<div id="app"></div>
29-
<script type="module" src="/src/main.ts"></script>
30-
</body>
31-
32-
</html>
15+
<body>
16+
<noscript>
17+
<strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
18+
</noscript>
19+
<div id="app"></div>
20+
<script type="module" src="/src/main.ts"></script>
21+
</body>
22+
</html>

0 commit comments

Comments
 (0)