Skip to content

Commit 1ecab43

Browse files
committed
Merge branch 'master' into feat/analytics
2 parents 07ced1e + 6200b09 commit 1ecab43

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+6372
-12560
lines changed

demo/react-app-no-modal/package-lock.json

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

demo/react-app-no-modal/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "./App.css";
22

3-
import { AuthLoginParams, CHAIN_NAMESPACES, SafeEventEmitterProvider, WALLET_CONNECTORS } from "@web3auth/modal";
3+
import { CHAIN_NAMESPACES, SafeEventEmitterProvider, WALLET_CONNECTORS } from "@web3auth/modal";
44
import { Web3AuthNoModal } from "@web3auth/no-modal";
55
import { useEffect, useState } from "react";
66

@@ -50,7 +50,7 @@ function App() {
5050
uiConsole("web3auth not initialized yet");
5151
return;
5252
}
53-
const web3authProvider = await web3auth.connectTo<AuthLoginParams>(WALLET_CONNECTORS.AUTH, { loginProvider: "google" });
53+
const web3authProvider = await web3auth.connectTo(WALLET_CONNECTORS.AUTH, { authConnection: "google" });
5454
setProvider(web3authProvider);
5555
};
5656

demo/vite-react-app-sfa/.eslintrc.js

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import toruslabsReact from "@toruslabs/eslint-config-react";
2+
3+
export default [
4+
...toruslabsReact,
5+
{
6+
ignores: ["*.config.mjs", "*.config.mts"],
7+
},
8+
];

0 commit comments

Comments
 (0)