@ape.swap/bonds-sdk 1.0.52 → 1.0.54

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.
@@ -1,6 +1,5 @@
1
1
  /** @jsxImportSource theme-ui */
2
2
  import React from 'react';
3
- import './styles.scss';
4
3
  declare global {
5
4
  interface Window {
6
5
  ethereum?: any;
@@ -55,7 +55,6 @@ import { useWeb3React } from "@web3-react/core";
55
55
  import styles, { getColumnDiscountStyle } from './styles';
56
56
  import getTimePeriods from '../../utils/getTimePeriods';
57
57
  import { defaultTheme } from '../../theme';
58
- import './styles.scss';
59
58
  import Svg from '../uikit/Svg';
60
59
  var Bonds = function (_a) {
61
60
  var connectionString = _a.connectionString;
@@ -0,0 +1,27 @@
1
+
2
+ .container.table-container {
3
+ width: 100%;
4
+ display: flex;
5
+ flex-direction: column;
6
+ padding: 50px;
7
+ }
8
+
9
+ .container.header-container {
10
+ display: flex;
11
+ justify-content: space-around;
12
+ padding: 5px;
13
+ font-size: 12px;
14
+ color: #78787D;
15
+ }
16
+
17
+ .container.bondrow-container {
18
+ display: flex;
19
+ flex-direction: row;
20
+ width: 100%;
21
+ justify-content: space-around;
22
+ background-color:#151320;
23
+ margin-bottom: 10px;
24
+ padding: 20px;
25
+ border-radius: 10px;
26
+ border: 1px solid #4B4B53
27
+ }
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": "1.0.52",
6
+ "version": "1.0.54",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",
@@ -11,9 +11,11 @@
11
11
  "dist"
12
12
  ],
13
13
  "scripts": {
14
- "build": "tsc",
14
+ "build": "npm run clean && tsc && npm run copy",
15
15
  "prepublishOnly": "npm run build",
16
- "start": "react-scripts start"
16
+ "start": "react-scripts start",
17
+ "clean": "rimraf dist/",
18
+ "copy": "copyfiles -u 1 ./src/**/*.scss ./dist/styles"
17
19
  },
18
20
  "peerDependencies": {
19
21
  "axios": "^1.7.2",
@@ -51,7 +53,10 @@
51
53
  "@web3-react/url": "^8.2.0",
52
54
  "@web3-react/walletconnect-v2": "^8.3.3",
53
55
  "axios": "^1.7.2",
56
+ "copyfiles": "^2.4.1",
57
+ "css-loader": "^7.1.2",
54
58
  "ethers": "5.7.2",
59
+ "node-sass": "^7.0.3",
55
60
  "react-redux": "^8.0.5",
56
61
  "react-scripts": "^5.0.1",
57
62
  "react-svg": "^16.1.10",
package/dist/_index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import Bonds from './components/bonds/Bonds';
2
- export { Bonds };
package/dist/_index.js DELETED
@@ -1,3 +0,0 @@
1
- // src/index.ts
2
- import Bonds from './components/bonds/Bonds';
3
- export { Bonds };