@openfort/react 0.0.31 → 0.0.33

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.
@@ -27,8 +27,6 @@ export type ContextValue = {
27
27
  setConnector: React.Dispatch<React.SetStateAction<Connector>>;
28
28
  errorMessage: ErrorMessage;
29
29
  debugMode?: boolean;
30
- log: (...props: any) => void;
31
- displayError: (message: string | React.ReactNode | null, code?: any) => void;
32
30
  resize: number;
33
31
  triggerResize: () => void;
34
32
  uiConfig: OpenfortUIOptionsExtended;
@@ -91,7 +91,6 @@ export type ConnectUIOptions = {
91
91
  /** Buffer polyfill, needed for bundlers that do not provide Node polyfills (e.g. CRA, Vite, etc.). */
92
92
  bufferPolyfill?: boolean;
93
93
  customAvatar?: React.FC<CustomAvatarProps>;
94
- initialChainId?: number;
95
94
  enforceSupportedChains?: boolean;
96
95
  /** Blur intensity applied to the background when the modal is open. */
97
96
  overlayBlur?: number;
@@ -123,7 +122,6 @@ export type OpenfortUIOptionsExtended = {
123
122
  /** Buffer polyfill, needed for bundlers that do not provide Node polyfills (e.g. CRA, Vite, etc.). */
124
123
  bufferPolyfill?: boolean;
125
124
  customAvatar?: React.FC<CustomAvatarProps>;
126
- initialChainId?: number;
127
125
  enforceSupportedChains?: boolean;
128
126
  ethereumOnboardingUrl?: string;
129
127
  walletOnboardingUrl?: string;
@@ -1,42 +1 @@
1
- export declare function useEnsFallbackConfig(): import("wagmi").Config<readonly [{
2
- blockExplorers: {
3
- readonly default: {
4
- readonly name: "Etherscan";
5
- readonly url: "https://etherscan.io";
6
- readonly apiUrl: "https://api.etherscan.io/api";
7
- };
8
- };
9
- blockTime: 12000;
10
- contracts: {
11
- readonly ensUniversalResolver: {
12
- readonly address: "0xeeeeeeee14d718c2b47d9923deab1335e144eeee";
13
- readonly blockCreated: 23085558;
14
- };
15
- readonly multicall3: {
16
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
17
- readonly blockCreated: 14353601;
18
- };
19
- };
20
- ensTlds?: readonly string[] | undefined;
21
- id: 1;
22
- name: "Ethereum";
23
- nativeCurrency: {
24
- readonly name: "Ether";
25
- readonly symbol: "ETH";
26
- readonly decimals: 18;
27
- };
28
- experimental_preconfirmationTime?: number | undefined | undefined;
29
- rpcUrls: {
30
- readonly default: {
31
- readonly http: readonly ["https://eth.merkle.io"];
32
- };
33
- };
34
- sourceId?: number | undefined | undefined;
35
- testnet?: boolean | undefined | undefined;
36
- custom?: Record<string, unknown> | undefined;
37
- fees?: import("viem").ChainFees<undefined> | undefined;
38
- formatters?: undefined;
39
- serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
40
- }], {
41
- 1: import("viem").HttpTransport<undefined, false>;
42
- }, readonly import("wagmi").CreateConnectorFn[]> | undefined;
1
+ export declare function useEnsFallbackConfig(): undefined;