@huma-finance/widgets 0.0.48-beta.187 → 0.0.48-beta.188
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/API.md +0 -18
- package/dist/cjs/index.cjs +71 -393
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -33
- package/dist/index.js +73 -394
- package/dist/index.js.map +1 -1
- package/package.json +2 -5
- package/src/components/Lend/withdraw/2-ChooseAmount.tsx +7 -1
- package/src/components/Lend/withdraw/index.tsx +11 -4
- package/src/index.tsx +0 -29
- package/src/components/RequestNetworkInvoiceFactoring/1-Evaluation.tsx +0 -58
- package/src/components/RequestNetworkInvoiceFactoring/2-ChooseAmount.tsx +0 -88
- package/src/components/RequestNetworkInvoiceFactoring/3-ConfirmTransfer.tsx +0 -37
- package/src/components/RequestNetworkInvoiceFactoring/4-ApproveNFT.tsx +0 -55
- package/src/components/RequestNetworkInvoiceFactoring/5-Transfer.tsx +0 -34
- package/src/components/RequestNetworkInvoiceFactoring/6-Success.tsx +0 -20
- package/src/components/RequestNetworkInvoiceFactoring/index.tsx +0 -137
- package/src/cosmos/RequestNetworkBorrow.fixture.tsx +0 -65
package/API.md
CHANGED
|
@@ -37,8 +37,6 @@ To be used when re-enabling autopay and other pool actions that require allowanc
|
|
|
37
37
|
<dd><p>Lend pool supply props</p></dd>
|
|
38
38
|
<dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
|
|
39
39
|
<dd><p>Lend pool withdraw props</p></dd>
|
|
40
|
-
<dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
|
|
41
|
-
<dd><p>Invoice factoring pool borrow props</p></dd>
|
|
42
40
|
<dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
|
|
43
41
|
<dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
|
|
44
42
|
<dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
|
|
@@ -264,22 +262,6 @@ To be used when re-enabling autopay and other pool actions that require allowanc
|
|
|
264
262
|
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
265
263
|
| handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
|
|
266
264
|
|
|
267
|
-
<a name="InvoiceFactoringBorrowProps"></a>
|
|
268
|
-
|
|
269
|
-
## InvoiceFactoringBorrowProps : <code>Object</code>
|
|
270
|
-
<p>Invoice factoring pool borrow props</p>
|
|
271
|
-
|
|
272
|
-
**Kind**: global typedef
|
|
273
|
-
**Properties**
|
|
274
|
-
|
|
275
|
-
| Name | Type | Description |
|
|
276
|
-
| --- | --- | --- |
|
|
277
|
-
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
278
|
-
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
279
|
-
| tokenId | <code>string</code> \| <code>BigNumber</code> | <p>The NFT token id representing invoice.</p> |
|
|
280
|
-
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
281
|
-
| handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool borrow action is successful.</p> |
|
|
282
|
-
|
|
283
265
|
<a name="JsonRpcConnectionMap"></a>
|
|
284
266
|
|
|
285
267
|
## JsonRpcConnectionMap : <code>Object</code>
|