@web3auth/no-modal 8.3.0 → 8.4.1

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.
@@ -1,9 +1,8 @@
1
1
  import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";
2
- import { ADAPTER_STATUS_TYPE, CustomChainConfig, IAdapter, IProvider, IWeb3Auth, UserAuthInfo, UserInfo, WALLET_ADAPTER_TYPE, Web3AuthNoModalOptions } from "@web3auth/base";
3
- import { IPlugin } from "@web3auth/base-plugin";
2
+ import { ADAPTER_STATUS_TYPE, CustomChainConfig, IAdapter, IPlugin, IProvider, IWeb3Auth, IWeb3AuthCoreOptions, UserAuthInfo, UserInfo, WALLET_ADAPTER_TYPE } from "@web3auth/base";
4
3
  import { CommonJRPCProvider } from "@web3auth/base-provider";
5
4
  export declare class Web3AuthNoModal extends SafeEventEmitter implements IWeb3Auth {
6
- readonly coreOptions: Web3AuthNoModalOptions;
5
+ readonly coreOptions: IWeb3AuthCoreOptions;
7
6
  connectedAdapterName: WALLET_ADAPTER_TYPE | null;
8
7
  status: ADAPTER_STATUS_TYPE;
9
8
  cachedAdapter: string | null;
@@ -11,7 +10,7 @@ export declare class Web3AuthNoModal extends SafeEventEmitter implements IWeb3Au
11
10
  protected commonJRPCProvider: CommonJRPCProvider | null;
12
11
  private plugins;
13
12
  private storage;
14
- constructor(options: Web3AuthNoModalOptions);
13
+ constructor(options: IWeb3AuthCoreOptions);
15
14
  get connected(): boolean;
16
15
  get provider(): IProvider | null;
17
16
  set provider(_: IProvider | null);
@@ -35,6 +34,7 @@ export declare class Web3AuthNoModal extends SafeEventEmitter implements IWeb3Au
35
34
  enableMFA<T>(loginParams?: T): Promise<void>;
36
35
  authenticateUser(): Promise<UserAuthInfo>;
37
36
  addPlugin(plugin: IPlugin): IWeb3Auth;
37
+ getPlugin(name: string): IPlugin | null;
38
38
  protected subscribeToAdapterEvents(walletAdapter: IAdapter<unknown>): void;
39
39
  protected checkInitRequirements(): void;
40
40
  private cacheWallet;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3auth/no-modal",
3
- "version": "8.3.0",
3
+ "version": "8.4.1",
4
4
  "description": "Multi chain wallet aggregator for web3Auth",
5
5
  "keywords": [
6
6
  "web3Auth/no-modal",
@@ -39,15 +39,14 @@
39
39
  "@toruslabs/openlogin": "^8.1.0",
40
40
  "@toruslabs/openlogin-jrpc": "^8.1.1",
41
41
  "@toruslabs/openlogin-utils": "^8.1.0",
42
- "@web3auth/base": "^8.3.0",
43
- "@web3auth/base-plugin": "^8.3.0",
44
- "@web3auth/base-provider": "^8.3.0",
42
+ "@web3auth/base": "^8.4.1",
43
+ "@web3auth/base-provider": "^8.4.1",
45
44
  "lodash.clonedeep": "^4.5.0",
46
45
  "lodash.merge": "^4.6.2"
47
46
  },
48
47
  "devDependencies": {
49
- "@web3auth/openlogin-adapter": "^8.3.0",
50
- "@web3auth/wallet-connect-v2-adapter": "^8.3.0"
48
+ "@web3auth/openlogin-adapter": "^8.4.1",
49
+ "@web3auth/wallet-connect-v2-adapter": "^8.4.1"
51
50
  },
52
51
  "peerDependenciesMeta": {
53
52
  "@web3auth/openlogin-adapter": {
@@ -77,5 +76,5 @@
77
76
  "node": ">=18.x",
78
77
  "npm": ">=9.x"
79
78
  },
80
- "gitHead": "24d2544f9cf9aa902553af59ea64f7bbed0156d0"
79
+ "gitHead": "34f11cec73ca7d8f2ba39d5306b944682118edf1"
81
80
  }