@cetusprotocol/terminal 1.3.3 → 1.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.
Binary file
@@ -29,7 +29,9 @@ interface GlobalState {
29
29
  ignoreWarnTokenMap: Record<string, boolean>;
30
30
  setIgnoreWarnToken: (coin_type: string) => void;
31
31
  }
32
- declare const useGlobalStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<GlobalState>, "persist"> & {
32
+ declare const useGlobalStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<GlobalState>, "setState" | "persist"> & {
33
+ setState(partial: GlobalState | Partial<GlobalState> | ((state: GlobalState) => GlobalState | Partial<GlobalState>), replace?: false | undefined): unknown;
34
+ setState(state: GlobalState | ((state: GlobalState) => GlobalState), replace: true): unknown;
33
35
  persist: {
34
36
  setOptions: (options: Partial<import('zustand/middleware').PersistOptions<GlobalState, {
35
37
  currentExplorer: string;
@@ -42,7 +44,7 @@ declare const useGlobalStore: import('zustand').UseBoundStore<Omit<import('zusta
42
44
  transactionMode: TransactionMode;
43
45
  maxCapForGas: string;
44
46
  customGasPrice: string;
45
- }>>) => void;
47
+ }, unknown>>) => void;
46
48
  clearStorage: () => void;
47
49
  rehydrate: () => Promise<void> | void;
48
50
  hasHydrated: () => boolean;
@@ -59,7 +61,7 @@ declare const useGlobalStore: import('zustand').UseBoundStore<Omit<import('zusta
59
61
  transactionMode: TransactionMode;
60
62
  maxCapForGas: string;
61
63
  customGasPrice: string;
62
- }>>;
64
+ }, unknown>>;
63
65
  };
64
66
  }>;
65
67
  export { useGlobalStore };