@ape.swap/bonds-sdk 3.0.15-test.1 → 3.0.17

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 (51) hide show
  1. package/dist/components/Tooltip/ButtonsRow.d.ts +2 -0
  2. package/dist/components/YouTooltip/YouTooltip.d.ts +3 -0
  3. package/dist/components/uikit-sdk/Svg/tokens/MONAD.d.ts +4 -0
  4. package/dist/components/uikit-sdk/Svg/tokens/SONIC.d.ts +4 -0
  5. package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +2 -0
  6. package/dist/components/uikit-sdk/Svg/types.d.ts +2 -0
  7. package/dist/config/constants/queryKeys.d.ts +1 -0
  8. package/dist/config/constants/tooltips.d.ts +1 -0
  9. package/dist/hooks/useIsMobile.d.ts +1 -0
  10. package/dist/hooks/useMonitorTxHash.d.ts +2 -19
  11. package/dist/hooks/useSendReferenceId.d.ts +1 -1
  12. package/dist/main.js +48285 -45528
  13. package/dist/state/abtesting/useABTesting.d.ts +3 -4
  14. package/dist/state/bonds/useBondsData.d.ts +4 -1
  15. package/dist/state/bonds/useGetBondRecommendations.d.ts +1 -1
  16. package/dist/state/bonds/useTierProofSignature.d.ts +4 -0
  17. package/dist/state/bonds/useUserApiStats.d.ts +1 -1
  18. package/dist/state/price/useCurrencyPrice.d.ts +1 -1
  19. package/dist/state/tiers/useTierPoints.d.ts +32 -0
  20. package/dist/state/tokenPrices/useTokenPrices.d.ts +1 -1
  21. package/dist/state/useSDKConfig.d.ts +7 -7
  22. package/dist/state/zap/getChainParam.d.ts +2 -1
  23. package/dist/state/zap/useSoulZapBondQuote.d.ts +1 -1
  24. package/dist/styles.css +18 -12
  25. package/dist/theme/base.d.ts +10 -1
  26. package/dist/theme/components.d.ts +0 -8
  27. package/dist/types/bonds.d.ts +9 -5
  28. package/dist/utils/displayHelpers.d.ts +4 -6
  29. package/dist/utils/getNativeTicker.d.ts +1 -1
  30. package/dist/utils/remove0xPrefix.d.ts +1 -1
  31. package/dist/views/Bonds/Bonds.d.ts +1 -1
  32. package/dist/views/Bonds/components/BondsMenu/BondsMenu.d.ts +1 -1
  33. package/dist/views/Bonds/components/BonusComponents/BonusComponent.d.ts +7 -0
  34. package/dist/views/Bonds/components/BonusComponents/BonusTable.d.ts +7 -0
  35. package/dist/views/Bonds/components/BuyAgainRow/index.d.ts +1 -1
  36. package/dist/views/Bonds/components/CheckURL/index.d.ts +1 -1
  37. package/dist/views/Bonds/components/RecommendationCards/SmallRecommendationCard.d.ts +0 -1
  38. package/dist/views/Bonds/components/RecommendationCards/index.d.ts +0 -1
  39. package/dist/views/Bonds/utils.d.ts +1 -1
  40. package/dist/views/BuyBond/BuyBond.d.ts +1 -0
  41. package/dist/views/BuyBond/components/GetUpToComponent/GetUpToComponent.d.ts +8 -0
  42. package/dist/views/BuyBond/components/ProjectDescription.d.ts +2 -1
  43. package/dist/views/BuyBond/findHighestTrueBondPrice.d.ts +8 -0
  44. package/package.json +2 -2
  45. package/dist/components/TagMinTierFlashBond/TagMinTierFlashBond.d.ts +0 -8
  46. package/dist/components/TokenInfoAndName/MinTierRow.d.ts +0 -5
  47. package/dist/hooks/useIsAbond.d.ts +0 -3
  48. package/dist/state/bonds/useGetUserEscrowWeight.d.ts +0 -11
  49. package/dist/theme/display.d.ts +0 -2
  50. package/dist/theme/types.d.ts +0 -10
  51. /package/dist/{hooks → state/abtesting}/useCookie.d.ts +0 -0
@@ -1,8 +1,10 @@
1
1
  import React from 'react';
2
+ import { ChainId } from '@ape.swap/apeswap-lists';
2
3
  declare const ButtonsRow: React.FC<{
3
4
  projectLink?: string;
4
5
  twitter?: string;
5
6
  bubble?: string;
6
7
  audit?: string;
8
+ chain?: ChainId;
7
9
  }>;
8
10
  export default ButtonsRow;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const YouTooltip: () => React.JSX.Element;
3
+ export default YouTooltip;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from '../types';
3
+ declare const MONAD: React.FC<SvgProps>;
4
+ export default MONAD;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SvgProps } from '../types';
3
+ declare const MONAD: React.FC<SvgProps>;
4
+ export default MONAD;
@@ -22,3 +22,5 @@ export { default as IOTA } from './IOTA';
22
22
  export { default as BASE } from './BASE';
23
23
  export { default as BLAST } from './BLAST';
24
24
  export { default as CROSSFI } from './CROSSFI';
25
+ export { default as MONAD } from './MONAD';
26
+ export { default as SONIC } from './SONIC';
@@ -53,6 +53,8 @@ export declare enum icons {
53
53
  BASE = "base",
54
54
  BLAST = "blast",
55
55
  CROSSFI = "crossfi",
56
+ MONAD = "monad",
57
+ SONIC = "sonic",
56
58
  DISCORD = "discord",
57
59
  REDDIT = "reddit",
58
60
  MEDIUM = "medium",
@@ -34,4 +34,5 @@ export declare const QUERY_KEYS: {
34
34
  FAVORITE_TOKENS: string;
35
35
  POP_UPS: string;
36
36
  GEO_FENCING: string;
37
+ TIER_PROOF_SIG: string;
37
38
  };
@@ -6,6 +6,7 @@ export declare const TooltipText: {
6
6
  MaxBuy: (payoutToken: string) => string;
7
7
  Premium: string;
8
8
  Fee: string;
9
+ Boost: string;
9
10
  };
10
11
  export declare const UserBillTooltipText: {
11
12
  FullyVested: string;
@@ -0,0 +1 @@
1
+ export declare const useIsMobile: () => boolean;
@@ -3,23 +3,6 @@ export declare const useMonitorTxHash: (txHash?: string | null, chainId?: ChainI
3
3
  isLoading: boolean;
4
4
  isSuccess: boolean;
5
5
  data: {
6
- blobGasPrice?: bigint | undefined;
7
- blobGasUsed?: bigint | undefined;
8
- blockHash: import("viem").Hash;
9
- blockNumber: bigint;
10
- contractAddress: import("abitype").Address | null | undefined;
11
- cumulativeGasUsed: bigint;
12
- effectiveGasPrice: bigint;
13
- from: import("abitype").Address;
14
- gasUsed: bigint;
15
- logs: import("viem").Log<bigint, number, false>[];
16
- logsBloom: import("viem").Hex;
17
- root?: `0x${string}` | undefined;
18
- status: "success" | "reverted";
19
- to: import("abitype").Address | null;
20
- transactionHash: import("viem").Hash;
21
- transactionIndex: number;
22
- type: import("viem").TransactionType;
23
- chainId: number;
24
- } | undefined;
6
+ [x: string]: any;
7
+ };
25
8
  };
@@ -1,2 +1,2 @@
1
1
  import { ChainId } from '@ape.swap/apeswap-lists';
2
- export declare const useSendReferenceId: () => (billContract: string, chainId: ChainId, hash: string) => Promise<void>;
2
+ export declare const useSendReferenceId: () => (billContract: string, chainId: ChainId, hash: string, reason?: string) => Promise<void>;