@web3auth/no-modal 10.0.0-beta.1 → 10.0.0-beta.2

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,9 @@
1
1
  import { AUTH_CONNECTION_TYPE, AuthUserInfo, ExtraLoginOptions, JRPCRequest, JRPCResponse, Maybe, RequestArguments, SafeEventEmitter, SendCallBack, UX_MODE, type UX_MODE_TYPE, WEB3AUTH_NETWORK, type WEB3AUTH_NETWORK_TYPE } from "@web3auth/auth";
2
- import { ConnectorNamespaceType, CustomChainConfig } from "../chain/IChainInterface";
3
- import { IWeb3AuthCoreOptions } from "../core/IWeb3Auth";
2
+ import type { ChainNamespaceType, ConnectorNamespaceType, CustomChainConfig } from "../chain/IChainInterface";
3
+ import type { IWeb3AuthCoreOptions } from "../core/IWeb3Auth";
4
4
  import { Web3AuthError } from "../errors";
5
- import { ProjectConfig } from "../interfaces";
6
- import { ProviderEvents, SafeEventEmitterProvider } from "../provider/IProvider";
5
+ import type { ProjectConfig } from "../interfaces";
6
+ import type { ProviderEvents, SafeEventEmitterProvider } from "../provider/IProvider";
7
7
  import { CONNECTOR_CATEGORY, CONNECTOR_EVENTS, CONNECTOR_STATUS } from "./constants";
8
8
  export type UserInfo = AuthUserInfo;
9
9
  export { UX_MODE, UX_MODE_TYPE, WEB3AUTH_NETWORK, WEB3AUTH_NETWORK_TYPE };
@@ -100,6 +100,7 @@ export interface BaseConnectorConfig {
100
100
  label: string;
101
101
  icon?: string;
102
102
  isInjected?: boolean;
103
+ chainNamespaces?: ChainNamespaceType[];
103
104
  showOnModal?: boolean;
104
105
  showOnMobile?: boolean;
105
106
  showOnDesktop?: boolean;