@huma-finance/widgets 0.0.38-beta.33 → 0.0.38-beta.40
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 -25
- package/package.json +6 -5
package/API.md
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
## Members
|
|
2
|
-
|
|
3
|
-
<dl>
|
|
4
|
-
<dt><a href="#ChainEnum">ChainEnum</a></dt>
|
|
5
|
-
<dd><p>Updates cy.visit() to include an injected window.ethereum provider.</p></dd>
|
|
6
|
-
</dl>
|
|
7
|
-
|
|
8
1
|
## Functions
|
|
9
2
|
|
|
10
3
|
<dl>
|
|
@@ -25,9 +18,6 @@ To be used when re-enabling autopay and other pool actions that require allowanc
|
|
|
25
18
|
<dd><p>Lend withdraw widget</p></dd>
|
|
26
19
|
<dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
|
|
27
20
|
<dd><p>Superfluid factoring widget</p></dd>
|
|
28
|
-
<dt><a href="#components">components()</a></dt>
|
|
29
|
-
<dd><p>This file can be used to override default props and styles on the various Material components
|
|
30
|
-
see: https://mui.com/customization/theme-components/</p></dd>
|
|
31
21
|
</dl>
|
|
32
22
|
|
|
33
23
|
## Typedefs
|
|
@@ -67,13 +57,6 @@ see: https://mui.com/customization/theme-components/</p></dd>
|
|
|
67
57
|
<dd><p>Lend pool withdraw widget props</p></dd>
|
|
68
58
|
</dl>
|
|
69
59
|
|
|
70
|
-
<a name="ChainEnum"></a>
|
|
71
|
-
|
|
72
|
-
## ChainEnum
|
|
73
|
-
|
|
74
|
-
<p>Updates cy.visit() to include an injected window.ethereum provider.</p>
|
|
75
|
-
|
|
76
|
-
**Kind**: global variable
|
|
77
60
|
<a name="InvoiceFactoringBorrowWidget"></a>
|
|
78
61
|
|
|
79
62
|
## InvoiceFactoringBorrowWidget(props) ⇒
|
|
@@ -179,14 +162,6 @@ To be used when re-enabling autopay and other pool actions that require allowanc
|
|
|
179
162
|
| ----- | ---------------------------------------- | --------------------------------------------- |
|
|
180
163
|
| props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
|
|
181
164
|
|
|
182
|
-
<a name="components"></a>
|
|
183
|
-
|
|
184
|
-
## components()
|
|
185
|
-
|
|
186
|
-
<p>This file can be used to override default props and styles on the various Material components
|
|
187
|
-
see: https://mui.com/customization/theme-components/</p>
|
|
188
|
-
|
|
189
|
-
**Kind**: global function
|
|
190
165
|
<a name="CreditLineApproveProps"></a>
|
|
191
166
|
|
|
192
167
|
## CreditLineApproveProps : <code>Object</code>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.38-beta.
|
|
3
|
+
"version": "0.0.38-beta.40+26ed627",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@ethersproject/experimental": "^5.7.0",
|
|
31
31
|
"@ethersproject/providers": "^5.6.0",
|
|
32
32
|
"@ethersproject/units": "^5.6.0",
|
|
33
|
-
"@huma-finance/sdk": "^0.0.38-beta.
|
|
34
|
-
"@huma-finance/shared": "^0.0.38-beta.
|
|
33
|
+
"@huma-finance/sdk": "^0.0.38-beta.40+26ed627",
|
|
34
|
+
"@huma-finance/shared": "^0.0.38-beta.40+26ed627",
|
|
35
35
|
"@mui/icons-material": "^5.3.0",
|
|
36
36
|
"@mui/material": "^5.0.6",
|
|
37
37
|
"@mui/styles": "^5.0.2",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"lint": "eslint --max-warnings=0 \"src/**/*.{js,ts,tsx,graphql}\"",
|
|
87
87
|
"lint-staged": "lint-staged",
|
|
88
88
|
"e2e": "cypress run --config baseUrl=http://localhost:8000 --headed --browser chrome --e2e",
|
|
89
|
-
"generateDocs": "jsdoc2md --files src
|
|
89
|
+
"generateDocs": "jsdoc2md --files \"src/**/*.tsx\" --configure ./jsdoc2md.json > API.md",
|
|
90
90
|
"contracts:compile:abi": "typechain --target ethers-v5 --out-dir src/abis/types \"./src/abis/**/*.json\"",
|
|
91
91
|
"prettier": "prettier --write \"src/**/*.{js,ts,tsx,graphql}\""
|
|
92
92
|
},
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"lint-staged": {
|
|
99
99
|
"src/**/*.{js,ts,tsx,css,sass,less,graphql}": [
|
|
100
|
+
"yarn generateDocs",
|
|
100
101
|
"eslint --fix --max-warnings=0",
|
|
101
102
|
"prettier --write",
|
|
102
103
|
"git add ."
|
|
@@ -193,5 +194,5 @@
|
|
|
193
194
|
"optionalDependencies": {
|
|
194
195
|
"encoding": "^0.1.13"
|
|
195
196
|
},
|
|
196
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "26ed627966ef677f1e749a1209164d4a13fee78a"
|
|
197
198
|
}
|