@web3auth/no-modal 8.12.4 → 9.0.0-alpha.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.
@@ -7,6 +7,4 @@
7
7
 
8
8
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
9
 
10
- /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
11
-
12
10
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -1,7 +1,7 @@
1
- import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";
2
- import { ADAPTER_STATUS_TYPE, CustomChainConfig, IAdapter, IPlugin, IProvider, IWeb3Auth, IWeb3AuthCoreOptions, UserAuthInfo, UserInfo, WALLET_ADAPTER_TYPE } from "@web3auth/base";
1
+ import { SafeEventEmitter } from "@web3auth/auth";
2
+ import { ADAPTER_STATUS_TYPE, CustomChainConfig, IAdapter, IPlugin, IProvider, IWeb3Auth, IWeb3AuthCoreOptions, UserAuthInfo, UserInfo, WALLET_ADAPTER_TYPE, Web3AuthNoModalEvents } from "@web3auth/base";
3
3
  import { CommonJRPCProvider } from "@web3auth/base-provider";
4
- export declare class Web3AuthNoModal extends SafeEventEmitter implements IWeb3Auth {
4
+ export declare class Web3AuthNoModal extends SafeEventEmitter<Web3AuthNoModalEvents> implements IWeb3Auth {
5
5
  readonly coreOptions: IWeb3AuthCoreOptions;
6
6
  connectedAdapterName: WALLET_ADAPTER_TYPE | null;
7
7
  status: ADAPTER_STATUS_TYPE;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web3auth/no-modal",
3
- "version": "8.12.4",
3
+ "version": "9.0.0-alpha.0",
4
4
  "description": "Multi chain wallet aggregator for web3Auth",
5
5
  "keywords": [
6
6
  "web3Auth/no-modal",
@@ -10,8 +10,9 @@
10
10
  "ethereum",
11
11
  "solana"
12
12
  ],
13
- "main": "dist/noModal.cjs.js",
14
- "module": "dist/noModal.esm.js",
13
+ "sideEffects": false,
14
+ "main": "dist/lib.cjs/index.js",
15
+ "module": "dist/lib.esm/index.js",
15
16
  "unpkg": "dist/noModal.umd.min.js",
16
17
  "jsdelivr": "dist/noModal.umd.min.js",
17
18
  "types": "dist/types/index.d.ts",
@@ -36,17 +37,14 @@
36
37
  "@web3auth/wallet-connect-v2-adapter": "^8.x"
37
38
  },
38
39
  "dependencies": {
39
- "@toruslabs/openlogin": "^8.2.1",
40
- "@toruslabs/openlogin-jrpc": "^8.3.0",
41
- "@toruslabs/openlogin-utils": "^8.2.1",
42
- "@web3auth/base": "^8.12.4",
43
- "@web3auth/base-provider": "^8.12.4",
44
- "lodash.clonedeep": "^4.5.0",
45
- "lodash.merge": "^4.6.2"
40
+ "@web3auth/auth": "^9.3.2",
41
+ "@web3auth/base": "^9.0.0-alpha.0",
42
+ "@web3auth/base-provider": "^9.0.0-alpha.0",
43
+ "deepmerge": "^4.3.1"
46
44
  },
47
45
  "devDependencies": {
48
- "@web3auth/openlogin-adapter": "^8.12.4",
49
- "@web3auth/wallet-connect-v2-adapter": "^8.12.4"
46
+ "@web3auth/openlogin-adapter": "^9.0.0-alpha.0",
47
+ "@web3auth/wallet-connect-v2-adapter": "^9.0.0-alpha.0"
50
48
  },
51
49
  "peerDependenciesMeta": {
52
50
  "@web3auth/openlogin-adapter": {
@@ -76,5 +74,5 @@
76
74
  "node": ">=18.x",
77
75
  "npm": ">=9.x"
78
76
  },
79
- "gitHead": "a57eca40d5bec2329720e0b6103ff99de7fb0ca4"
77
+ "gitHead": "6a4e65a5808cac7dfc4d750c2af7d9ae7410a162"
80
78
  }