@ape.swap/bonds-sdk 1.0.332 → 1.0.333

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.
@@ -254,10 +254,7 @@ var BondModal = function (_a) {
254
254
  !!v.currentTarget.value && isNumber(v.currentTarget.value) && parseFloat(v.currentTarget.value) >= 0
255
255
  ? v.currentTarget.value
256
256
  : v.currentTarget.value.slice(0, v.currentTarget.value.length - 1);
257
- } }) })), _jsx(Flex, __assign({ className: "input-container token" }, { children: bond === null || bond === void 0 ? void 0 : bond.principalTokenName }))] })), _jsxs(Flex, __assign({ className: "modal-container button-container" }, { children: [_jsx(Flex, __assign({ className: "button-container get" }, { children: _jsxs(Button, { children: ["Get ", bond === null || bond === void 0 ? void 0 : bond.principalTokenName] }) })), _jsx(Flex, __assign({ className: "button-container buy" }, { children: approvalStatus === true ?
258
- _jsxs(Button, __assign({ onClick: handleBuy }, { children: ["Buy ", bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName] }))
259
- :
260
- _jsx(Button, __assign({ onClick: handleApprove }, { children: "Approve" })) }))] }))] }))] })) })) }, bond.billAddress));
257
+ } }) })), _jsx(Flex, __assign({ className: "input-container token" }, { children: bond === null || bond === void 0 ? void 0 : bond.principalTokenName }))] })), _jsxs(Flex, __assign({ className: "modal-container button-container" }, { children: [_jsx(Flex, __assign({ className: "button-container get" }, { children: _jsxs(Button, { children: ["Get ", bond === null || bond === void 0 ? void 0 : bond.principalTokenName] }) })), _jsx(Flex, __assign({ className: "button-container buy" }, { children: _jsxs(Button, __assign({ onClick: handleBuy }, { children: ["Buy ", bond === null || bond === void 0 ? void 0 : bond.showcaseTokenName] })) }))] }))] }))] })) })) }, bond.billAddress));
261
258
  }) })));
262
259
  };
263
260
  export default BondModal;
@@ -87,7 +87,7 @@
87
87
  display: flex;
88
88
  flex-direction: row;
89
89
  align-items: center;
90
- padding-left: 20px;
90
+ padding-left: 10px;
91
91
  }
92
92
 
93
93
  .title-container.tokentags {
@@ -146,7 +146,7 @@
146
146
  flex-direction: row;
147
147
  height: 25px;
148
148
  padding-left: 10px;
149
- width: 400px;
149
+ width: 450px;
150
150
  margin-bottom: 10px;
151
151
  align-items: center;
152
152
  justify-content: start;
@@ -155,7 +155,7 @@
155
155
  .modal-block.row-vested {
156
156
  flex-direction: row;
157
157
  height: 50px;
158
- width: 400px;
158
+ width: 450px;
159
159
  margin-bottom: 10px;
160
160
  padding-left: 10px;
161
161
  padding-right: 10px;
@@ -166,7 +166,7 @@
166
166
  .modal-block.row-pending {
167
167
  flex-direction: row;
168
168
  height: 50px;
169
- width: 400px;
169
+ width: 450px;
170
170
  margin-bottom: 10px;
171
171
  padding-left: 10px;
172
172
  padding-right: 10px;
@@ -177,7 +177,7 @@
177
177
  .modal-block.row-claimable {
178
178
  flex-direction: row;
179
179
  height: 50px;
180
- width: 400px;
180
+ width: 450px;
181
181
  margin-bottom: 10px;
182
182
  padding-left: 10px;
183
183
  padding-right: 10px;
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.332",
6
+ "version": "1.0.333",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",