Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from Web3Auth/feat/upgrade-deps
Browse files Browse the repository at this point in the history
upgrade deps
  • Loading branch information
chaitanyapotti authored Sep 19, 2024
2 parents 29b3dad + a9c6af3 commit 4ca5e9a
Show file tree
Hide file tree
Showing 11 changed files with 12,801 additions and 17,603 deletions.
2 changes: 1 addition & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"node-option": ["experimental-specifier-resolution=node"],
"node-option": ["experimental-specifier-resolution=node", "import=tsx"],
"extension": ["ts", "js"],
"require": ["../../test/setup.mjs"],
"timeout": 0,
Expand Down
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
}
2 changes: 2 additions & 0 deletions demo/node-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const web3auth = new Web3Auth({
const ethereumProvider = new EthereumPrivateKeyProvider({
config: {
chainConfig: {
chainNamespace: "eip155",
chainId: "0x1",
rpcTarget: "https://rpc.ankr.com/eth",
},
Expand Down Expand Up @@ -47,4 +48,5 @@ const connect = async () => {
console.log("ETH Private Key: ", eth_private_key);
process.exit(0);
};

connect();
Loading

0 comments on commit 4ca5e9a

Please sign in to comment.