@web3auth/modal 4.2.3-alpha.0 → 4.2.3-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.
@@ -3,6 +3,10 @@ import { Web3AuthCore, Web3AuthCoreOptions } from "@web3auth/core";
3
3
  import { LoginModal } from "@web3auth/ui";
4
4
  import { IWeb3AuthModal, ModalConfig } from "./interface";
5
5
  export interface UIConfig {
6
+ /**
7
+ * App name to display in the UI.
8
+ */
9
+ appName?: string;
6
10
  /**
7
11
  * Logo for your app.
8
12
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3auth/modal",
3
- "version": "4.2.3-alpha.0",
3
+ "version": "4.2.3-beta.0",
4
4
  "homepage": "https://github.com/Web3Auth/Web3Auth#readme",
5
5
  "license": "ISC",
6
6
  "main": "dist/modal.cjs.js",
@@ -19,15 +19,15 @@
19
19
  "pre-commit": "lint-staged --cwd ."
20
20
  },
21
21
  "dependencies": {
22
- "@web3auth/base": "^4.0.0-alpha.0",
23
- "@web3auth/core": "^4.0.0-alpha.0",
24
- "@web3auth/metamask-adapter": "^4.0.0-alpha.0",
25
- "@web3auth/openlogin-adapter": "^4.2.2-alpha.0",
26
- "@web3auth/phantom-adapter": "^4.2.2-alpha.0",
27
- "@web3auth/torus-evm-adapter": "^4.2.2-alpha.0",
28
- "@web3auth/torus-solana-adapter": "^4.2.2-alpha.0",
29
- "@web3auth/ui": "^4.2.3-alpha.0",
30
- "@web3auth/wallet-connect-v1-adapter": "^4.0.0-alpha.0"
22
+ "@web3auth/base": "^4.2.3-beta.0",
23
+ "@web3auth/core": "^4.2.3-beta.0",
24
+ "@web3auth/metamask-adapter": "^4.2.3-beta.0",
25
+ "@web3auth/openlogin-adapter": "^4.2.3-beta.0",
26
+ "@web3auth/phantom-adapter": "^4.2.3-beta.0",
27
+ "@web3auth/torus-evm-adapter": "^4.2.3-beta.0",
28
+ "@web3auth/torus-solana-adapter": "^4.2.3-beta.0",
29
+ "@web3auth/ui": "^4.2.3-beta.0",
30
+ "@web3auth/wallet-connect-v1-adapter": "^4.2.3-beta.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@svgr/webpack": "^6.5.1",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "4f68e1807a3bcca0ac11c706e8e0578ad2032823"
66
+ "gitHead": "d307e6779eb15135fd0c99d066f004685dfee880"
67
67
  }
@@ -26,6 +26,11 @@ import { AdaptersModalConfig, IWeb3AuthModal, ModalConfig } from "./interface";
26
26
  import { getUserLanguage } from "./utils";
27
27
 
28
28
  export interface UIConfig {
29
+ /**
30
+ * App name to display in the UI.
31
+ */
32
+ appName?: string;
33
+
29
34
  /**
30
35
  * Logo for your app.
31
36
  */
@@ -117,6 +122,7 @@ export class Web3Auth extends Web3AuthCore implements IWeb3AuthModal {
117
122
 
118
123
  this.loginModal = new LoginModal({
119
124
  theme: this.options.uiConfig?.theme,
125
+ appName: this.options.uiConfig?.appName || "blockchain",
120
126
  appLogo: this.options.uiConfig?.appLogo || "",
121
127
  version: "",
122
128
  adapterListener: this,