@liberfi.io/ui-tokens 3.0.18 → 3.0.20
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.
- package/dist/index.d.mts +12 -8
- package/dist/index.d.ts +12 -8
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -13
package/dist/index.d.mts
CHANGED
|
@@ -1771,8 +1771,10 @@ type UseStockTokensScriptParams = {
|
|
|
1771
1771
|
chain: Chain;
|
|
1772
1772
|
/** resolution */
|
|
1773
1773
|
resolution: TokenListResolution;
|
|
1774
|
-
/**
|
|
1775
|
-
|
|
1774
|
+
/** local display filters */
|
|
1775
|
+
filters?: TokenListFiltersType;
|
|
1776
|
+
/** local display sort state */
|
|
1777
|
+
sortDirections?: TokenListSortDirections;
|
|
1776
1778
|
/** refetch tokens interval */
|
|
1777
1779
|
refetchInterval?: number;
|
|
1778
1780
|
/** defer websocket updates while the list is actively scrolling */
|
|
@@ -1786,14 +1788,14 @@ type UseStockTokensScriptResult = {
|
|
|
1786
1788
|
/** tokens */
|
|
1787
1789
|
tokens: Array<Token>;
|
|
1788
1790
|
};
|
|
1789
|
-
declare function useStockTokensScript({ chain,
|
|
1791
|
+
declare function useStockTokensScript({ chain, filters, sortDirections, refetchInterval, deferUpdates, updateFlushInterval, }: UseStockTokensScriptParams): UseStockTokensScriptResult;
|
|
1790
1792
|
|
|
1791
1793
|
type StockTokenListWidgetProps = {
|
|
1792
1794
|
/** chain id */
|
|
1793
1795
|
chain: Chain;
|
|
1794
1796
|
/** resolution of the token prices */
|
|
1795
1797
|
resolution: TokenListResolution;
|
|
1796
|
-
/**
|
|
1798
|
+
/** local display filters */
|
|
1797
1799
|
filters?: TokenListFiltersType;
|
|
1798
1800
|
/** custom token actions component */
|
|
1799
1801
|
ActionsComponent?: TokenListActionsComponent;
|
|
@@ -1819,8 +1821,10 @@ type UseTrendingTokensScriptParams = {
|
|
|
1819
1821
|
chain: Chain;
|
|
1820
1822
|
/** resolution */
|
|
1821
1823
|
resolution: TokenListResolution;
|
|
1822
|
-
/**
|
|
1823
|
-
|
|
1824
|
+
/** local display filters */
|
|
1825
|
+
filters?: TokenListFiltersType;
|
|
1826
|
+
/** local display sort state */
|
|
1827
|
+
sortDirections?: TokenListSortDirections;
|
|
1824
1828
|
/** refetch tokens interval */
|
|
1825
1829
|
refetchInterval?: number;
|
|
1826
1830
|
/** defer websocket updates while the list is actively scrolling */
|
|
@@ -1834,14 +1838,14 @@ type UseTrendingTokensScriptResult = {
|
|
|
1834
1838
|
/** tokens */
|
|
1835
1839
|
tokens: Array<Token>;
|
|
1836
1840
|
};
|
|
1837
|
-
declare function useTrendingTokensScript({ chain, resolution,
|
|
1841
|
+
declare function useTrendingTokensScript({ chain, resolution, filters, sortDirections, refetchInterval, deferUpdates, updateFlushInterval, }: UseTrendingTokensScriptParams): UseTrendingTokensScriptResult;
|
|
1838
1842
|
|
|
1839
1843
|
type TrendingTokenListWidgetProps = {
|
|
1840
1844
|
/** chain id */
|
|
1841
1845
|
chain: Chain;
|
|
1842
1846
|
/** resolution of the token prices */
|
|
1843
1847
|
resolution: TokenListResolution;
|
|
1844
|
-
/**
|
|
1848
|
+
/** local display filters */
|
|
1845
1849
|
filters?: TokenListFiltersType;
|
|
1846
1850
|
/** custom token actions component */
|
|
1847
1851
|
ActionsComponent?: TokenListActionsComponent;
|
package/dist/index.d.ts
CHANGED
|
@@ -1771,8 +1771,10 @@ type UseStockTokensScriptParams = {
|
|
|
1771
1771
|
chain: Chain;
|
|
1772
1772
|
/** resolution */
|
|
1773
1773
|
resolution: TokenListResolution;
|
|
1774
|
-
/**
|
|
1775
|
-
|
|
1774
|
+
/** local display filters */
|
|
1775
|
+
filters?: TokenListFiltersType;
|
|
1776
|
+
/** local display sort state */
|
|
1777
|
+
sortDirections?: TokenListSortDirections;
|
|
1776
1778
|
/** refetch tokens interval */
|
|
1777
1779
|
refetchInterval?: number;
|
|
1778
1780
|
/** defer websocket updates while the list is actively scrolling */
|
|
@@ -1786,14 +1788,14 @@ type UseStockTokensScriptResult = {
|
|
|
1786
1788
|
/** tokens */
|
|
1787
1789
|
tokens: Array<Token>;
|
|
1788
1790
|
};
|
|
1789
|
-
declare function useStockTokensScript({ chain,
|
|
1791
|
+
declare function useStockTokensScript({ chain, filters, sortDirections, refetchInterval, deferUpdates, updateFlushInterval, }: UseStockTokensScriptParams): UseStockTokensScriptResult;
|
|
1790
1792
|
|
|
1791
1793
|
type StockTokenListWidgetProps = {
|
|
1792
1794
|
/** chain id */
|
|
1793
1795
|
chain: Chain;
|
|
1794
1796
|
/** resolution of the token prices */
|
|
1795
1797
|
resolution: TokenListResolution;
|
|
1796
|
-
/**
|
|
1798
|
+
/** local display filters */
|
|
1797
1799
|
filters?: TokenListFiltersType;
|
|
1798
1800
|
/** custom token actions component */
|
|
1799
1801
|
ActionsComponent?: TokenListActionsComponent;
|
|
@@ -1819,8 +1821,10 @@ type UseTrendingTokensScriptParams = {
|
|
|
1819
1821
|
chain: Chain;
|
|
1820
1822
|
/** resolution */
|
|
1821
1823
|
resolution: TokenListResolution;
|
|
1822
|
-
/**
|
|
1823
|
-
|
|
1824
|
+
/** local display filters */
|
|
1825
|
+
filters?: TokenListFiltersType;
|
|
1826
|
+
/** local display sort state */
|
|
1827
|
+
sortDirections?: TokenListSortDirections;
|
|
1824
1828
|
/** refetch tokens interval */
|
|
1825
1829
|
refetchInterval?: number;
|
|
1826
1830
|
/** defer websocket updates while the list is actively scrolling */
|
|
@@ -1834,14 +1838,14 @@ type UseTrendingTokensScriptResult = {
|
|
|
1834
1838
|
/** tokens */
|
|
1835
1839
|
tokens: Array<Token>;
|
|
1836
1840
|
};
|
|
1837
|
-
declare function useTrendingTokensScript({ chain, resolution,
|
|
1841
|
+
declare function useTrendingTokensScript({ chain, resolution, filters, sortDirections, refetchInterval, deferUpdates, updateFlushInterval, }: UseTrendingTokensScriptParams): UseTrendingTokensScriptResult;
|
|
1838
1842
|
|
|
1839
1843
|
type TrendingTokenListWidgetProps = {
|
|
1840
1844
|
/** chain id */
|
|
1841
1845
|
chain: Chain;
|
|
1842
1846
|
/** resolution of the token prices */
|
|
1843
1847
|
resolution: TokenListResolution;
|
|
1844
|
-
/**
|
|
1848
|
+
/** local display filters */
|
|
1845
1849
|
filters?: TokenListFiltersType;
|
|
1846
1850
|
/** custom token actions component */
|
|
1847
1851
|
ActionsComponent?: TokenListActionsComponent;
|