@ape.swap/bonds-sdk 3.0.13 → 3.0.14-test.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.
- package/README.md +9 -10
- package/dist/components/uikit-sdk/Svg/tokens/MONAD.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/SONIC.d.ts +4 -0
- package/dist/components/uikit-sdk/Svg/tokens/index.d.ts +2 -0
- package/dist/components/uikit-sdk/Svg/types.d.ts +2 -0
- package/dist/config/constants/variables.d.ts +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.js +412 -313
- package/dist/styles.css +2 -0
- package/dist/views/{BuyBond/BuyBond.d.ts → BondModal/BondModal.d.ts} +3 -3
- package/dist/views/BondModal/index.d.ts +7 -0
- package/dist/views/SingleBond/SingleBond.d.ts +1 -4
- package/dist/views/SingleBond/index.d.ts +1 -4
- package/dist/views/YourBonds/YourBonds.d.ts +1 -3
- package/package.json +2 -2
- package/dist/components/uikit-sdk/TabNav/index.d.ts +0 -8
- package/dist/views/BuyBond/BuyBondModal.d.ts +0 -4
- package/dist/views/BuyBond/index.d.ts +0 -7
- package/dist/views/SingleBond/SoldOutBuyBondPlaceholder.d.ts +0 -8
- /package/dist/views/{BuyBond → BondModal}/components/BondCards.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/BondModalHeader.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/BondModalHeaderAlt.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/BondModalMinTierHeader.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/Estimations.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/ExpandedViewButton.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/ImageAndShortDescription.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/NewRateModal/NewRateModal.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/NoBonusModal/NoBonusModal.d.ts +0 -0
- /package/dist/views/{BuyBond → BondModal}/components/ProjectDescription.d.ts +0 -0
package/dist/styles.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export interface
|
|
2
|
+
export interface BondModalProps {
|
|
3
3
|
onDismiss?: () => void;
|
|
4
4
|
bondAddress?: string;
|
|
5
5
|
bondChain?: number;
|
|
6
6
|
handlePurchasedBond?: (hash: string) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const BondModal: React.FC<BondModalProps>;
|
|
9
|
+
export default BondModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BondModalProps } from './BondModal';
|
|
3
|
+
import { SDKProps } from '../../state/useSDKConfig';
|
|
4
|
+
interface Props extends SDKProps, BondModalProps {
|
|
5
|
+
}
|
|
6
|
+
declare const BondModalWithProviders: React.FC<Props>;
|
|
7
|
+
export default BondModalWithProviders;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SDKProps } from '../../state/useSDKConfig';
|
|
3
|
-
|
|
4
|
-
interface Props extends SDKProps, SingleBondProps {
|
|
5
|
-
}
|
|
6
|
-
declare const SingleBondWithProviders: React.FC<Props>;
|
|
3
|
+
declare const SingleBondWithProviders: React.FC<SDKProps>;
|
|
7
4
|
export default SingleBondWithProviders;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Ape Bond SDK",
|
|
4
4
|
"author": "Ape Bond",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "3.0.
|
|
6
|
+
"version": "3.0.14-test.1",
|
|
7
7
|
"module": "dist/main.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"types": "dist/main.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"yalc": "^1.0.0-pre.53"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@ape.swap/apeswap-lists": "4.
|
|
60
|
+
"@ape.swap/apeswap-lists": "^4.1.1-alpha.1",
|
|
61
61
|
"@emotion/react": "11.11.4",
|
|
62
62
|
"bignumber.js": "^9.1.2",
|
|
63
63
|
"chart.js": "4.2.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BuyBondProps } from './BuyBond';
|
|
3
|
-
import { SDKProps } from '../../state/useSDKConfig';
|
|
4
|
-
interface Props extends SDKProps, BuyBondProps {
|
|
5
|
-
}
|
|
6
|
-
declare const BuyBondModalWithProviders: React.FC<Props>;
|
|
7
|
-
export default BuyBondModalWithProviders;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BillsConfig } from '@ape.swap/apeswap-lists';
|
|
3
|
-
export interface SoldOutProps {
|
|
4
|
-
onDismiss?: () => void;
|
|
5
|
-
bond: BillsConfig;
|
|
6
|
-
}
|
|
7
|
-
declare const SoldOutBuyBondPlaceholder: React.FC<SoldOutProps>;
|
|
8
|
-
export default SoldOutBuyBondPlaceholder;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|