@ape.swap/bonds-sdk 1.1.0-test.93 → 2.0.0-test.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.
Files changed (40) hide show
  1. package/dist/components/Tooltip/ButtonsRow.d.ts +2 -2
  2. package/dist/components/Tooltip/Tooltip.d.ts +5 -11
  3. package/dist/components/uikit-sdk/Svg/tokens/GraphLinq.d.ts +4 -0
  4. package/dist/components/uikit-sdk/Svg/types.d.ts +2 -1
  5. package/dist/config/constants/chains.d.ts +0 -14
  6. package/dist/config/constants/queryKeys.d.ts +1 -1
  7. package/dist/main.d.ts +2 -1
  8. package/dist/main.js +16684 -798
  9. package/dist/state/bondApiStats/useGetBondApiStats.d.ts +25 -0
  10. package/dist/state/bonds/useHotBonds.d.ts +1 -0
  11. package/dist/state/useSDKConfig.d.ts +2 -0
  12. package/dist/utils/dates/formatDate.d.ts +1 -0
  13. package/dist/utils/remove0xPrefix.d.ts +1 -0
  14. package/dist/views/BondModal/components/BondModalHeader.d.ts +2 -1
  15. package/dist/views/BondModal/components/ExpandedViewButton.d.ts +6 -0
  16. package/dist/views/Bonds/Bonds.d.ts +1 -4
  17. package/dist/views/Bonds/components/BondRows/BondRowsByChain.d.ts +0 -1
  18. package/dist/views/Bonds/index.d.ts +1 -4
  19. package/dist/views/ProjectView/ProjectView.d.ts +13 -0
  20. package/dist/views/ProjectView/components/BondLeaderboard/components/SalesTable.d.ts +6 -0
  21. package/dist/views/ProjectView/components/BondLeaderboard/components/TopSaleCard.d.ts +7 -0
  22. package/dist/views/ProjectView/components/BondLeaderboard/components/TopThreeSalesCards.d.ts +6 -0
  23. package/dist/views/ProjectView/components/BondLeaderboard/components/styles.d.ts +2 -0
  24. package/dist/views/ProjectView/components/BondLeaderboard/index.d.ts +6 -0
  25. package/dist/views/ProjectView/components/BondStats/index.d.ts +6 -0
  26. package/dist/views/ProjectView/components/BondStats/styles.d.ts +2 -0
  27. package/dist/views/ProjectView/components/BondStats/types.d.ts +43 -0
  28. package/dist/views/ProjectView/components/BondStats/utils.d.ts +1 -0
  29. package/dist/views/ProjectView/components/NavPanel/index.d.ts +5 -0
  30. package/dist/views/ProjectView/components/PriceChart/components/CandleStickChart.d.ts +9 -0
  31. package/dist/views/ProjectView/components/PriceChart/components/LineChart.d.ts +9 -0
  32. package/dist/views/ProjectView/components/PriceChart/components/utils.d.ts +1 -0
  33. package/dist/views/ProjectView/components/PriceChart/index.d.ts +8 -0
  34. package/dist/views/ProjectView/components/PriceChart/styles.d.ts +2 -0
  35. package/dist/views/ProjectView/components/ProjectInfo/index.d.ts +6 -0
  36. package/dist/views/ProjectView/components/ProjectInfo/styles.d.ts +2 -0
  37. package/dist/views/ProjectView/components/RecommendationCards/index.d.ts +3 -0
  38. package/dist/views/ProjectView/index.d.ts +7 -0
  39. package/dist/views/ProjectView/styles.d.ts +2 -0
  40. package/package.json +7 -3
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const ButtonsRow: React.FC<{
3
- projectLink: string;
4
- twitter: string;
3
+ projectLink?: string;
4
+ twitter?: string;
5
5
  bubble?: string;
6
6
  audit?: string;
7
7
  }>;
@@ -1,18 +1,12 @@
1
1
  import React from 'react';
2
2
  export interface TooltipProps {
3
- valueTitle?: string;
4
- valueContent?: string;
5
- value2Title?: string;
6
- value2Content?: string;
7
- tokenContract: string;
8
- secondURL?: string;
9
- secondURLTitle?: string;
3
+ earnTokenContract: string;
4
+ earnTokenSymbol: string;
5
+ bondContract: string;
10
6
  projectLink?: string;
11
7
  twitter?: string;
12
8
  audit?: string;
13
- thirdURL?: string;
14
- thirdURLTitle?: string;
15
9
  chain: number;
16
10
  }
17
- declare const Tooltip: React.FunctionComponent<TooltipProps>;
18
- export default Tooltip;
11
+ declare const BondInfoTooltip: React.FunctionComponent<TooltipProps>;
12
+ export default BondInfoTooltip;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from '../types';
3
+ declare const GRAPHLINQ: React.FC<SvgProps>;
4
+ export default GRAPHLINQ;
@@ -152,7 +152,8 @@ export declare enum icons {
152
152
  AllChains = "AllChains",
153
153
  Star = "Star",
154
154
  StarFilled = "StarFilled",
155
- FirePink = "FirePink"
155
+ FirePink = "FirePink",
156
+ GRAPHLINQ = "GRAPHLINQ"
156
157
  }
157
158
  export declare enum directions {
158
159
  LEFT = "left",
@@ -4,17 +4,3 @@ export declare const MAINNET_CHAINS: ChainId[];
4
4
  export declare const NETWORK_ICONS: Partial<Record<number, icons>>;
5
5
  export declare const NETWORK_LABEL: Record<number, string>;
6
6
  export declare const BLOCK_EXPLORER: Record<number, string>;
7
- interface ChainParamContent {
8
- chainId: string;
9
- chainName: string;
10
- nativeCurrency: {
11
- name: string;
12
- symbol: string;
13
- decimals: number;
14
- logo: string;
15
- };
16
- blockExplorerUrls: string[];
17
- logoURI: string;
18
- }
19
- export declare const CHAIN_PARAMS: Partial<Record<ChainId, ChainParamContent>>;
20
- export {};
@@ -12,9 +12,9 @@ export declare const QUERY_KEYS: {
12
12
  BONDS_LANDING: string;
13
13
  BOND_POST_REFERENCE: string;
14
14
  TIERS: string;
15
- BOND_STATS: string;
16
15
  AB_TEST_VALUE: string;
17
16
  USE_CURRENCY_NEW: string;
17
+ BOND_API_STATS: string;
18
18
  SDK_CONFIG: string;
19
19
  BOND_RECOMMENDATIONS: string;
20
20
  USER_STATS: string;
package/dist/main.d.ts CHANGED
@@ -2,4 +2,5 @@ import Bonds from './views/Bonds';
2
2
  import YourBonds from './views/YourBonds';
3
3
  import BondModal from './views/BondModal';
4
4
  import FullBondsView from './views/FullBondsView';
5
- export { Bonds, BondModal, YourBonds, FullBondsView };
5
+ import ProjectView from './views/ProjectView';
6
+ export { Bonds, BondModal, YourBonds, FullBondsView, ProjectView };