@huma-finance/widgets 0.0.75-beta.984 → 0.0.75-beta.986
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/dist/index.js
CHANGED
|
@@ -182500,11 +182500,7 @@ function Transfer$a({
|
|
|
182500
182500
|
BigInt(ur === "senior" ? or.seniorTrancheAssets ?? 0 : or.juniorTrancheAssets ?? 0),
|
|
182501
182501
|
BigInt(ur === "senior" ? (Br == null ? void 0 : Br.toString()) ?? 0 : (Pr == null ? void 0 : Pr.toString()) ?? 0),
|
|
182502
182502
|
BigInt(Ar.toString())
|
|
182503
|
-
), Rr =
|
|
182504
|
-
BigInt(ur === "senior" ? or.seniorTrancheAssets ?? 0 : or.juniorTrancheAssets ?? 0),
|
|
182505
|
-
BigInt(ur === "senior" ? (Br == null ? void 0 : Br.toString()) ?? 0 : (Pr == null ? void 0 : Pr.toString()) ?? 0),
|
|
182506
|
-
BigInt(ur === "senior" ? (Ur == null ? void 0 : Ur.amount.toString()) ?? "0" : (Qr == null ? void 0 : Qr.amount.toString()) ?? "0")
|
|
182507
|
-
);
|
|
182503
|
+
), Rr = BigInt(ur === "senior" ? (Ur == null ? void 0 : Ur.amount.toString()) ?? "0" : (Qr == null ? void 0 : Qr.amount.toString()) ?? "0");
|
|
182508
182504
|
Vr.add(
|
|
182509
182505
|
createApproveCheckedInstruction(
|
|
182510
182506
|
ur === "senior" ? Dr : br,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.75-beta.
|
|
3
|
+
"version": "0.0.75-beta.986+e44c5b2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@ethersproject/contracts": "^5.7.0",
|
|
23
23
|
"@ethersproject/experimental": "^5.7.0",
|
|
24
24
|
"@ethersproject/units": "^5.6.0",
|
|
25
|
-
"@huma-finance/sdk": "^0.0.75-beta.
|
|
26
|
-
"@huma-finance/shared": "^0.0.75-beta.
|
|
27
|
-
"@huma-finance/web-shared": "^0.0.75-beta.
|
|
25
|
+
"@huma-finance/sdk": "^0.0.75-beta.986+e44c5b2",
|
|
26
|
+
"@huma-finance/shared": "^0.0.75-beta.986+e44c5b2",
|
|
27
|
+
"@huma-finance/web-shared": "^0.0.75-beta.986+e44c5b2",
|
|
28
28
|
"@mui/x-date-pickers": "^5.0.7",
|
|
29
29
|
"@notifi-network/notifi-frontend-client": "^1.1.2",
|
|
30
30
|
"@notifi-network/notifi-react": "^1.1.2",
|
|
@@ -190,5 +190,5 @@
|
|
|
190
190
|
"optionalDependencies": {
|
|
191
191
|
"encoding": "^0.1.13"
|
|
192
192
|
},
|
|
193
|
-
"gitHead": "
|
|
193
|
+
"gitHead": "e44c5b28ec4cd8dacaf817056ca2f5b68094741b"
|
|
194
194
|
}
|
|
@@ -156,17 +156,11 @@ export function Transfer({
|
|
|
156
156
|
: BigInt(juniorTrancheMintSupply?.toString() ?? 0),
|
|
157
157
|
BigInt(supplyBigNumber.toString()),
|
|
158
158
|
)
|
|
159
|
-
const existingShares =
|
|
160
|
-
selectedTranche === 'senior'
|
|
161
|
-
? BigInt(poolState.seniorTrancheAssets ?? 0)
|
|
162
|
-
: BigInt(poolState.juniorTrancheAssets ?? 0),
|
|
163
|
-
selectedTranche === 'senior'
|
|
164
|
-
? BigInt(seniorTrancheMintSupply?.toString() ?? 0)
|
|
165
|
-
: BigInt(juniorTrancheMintSupply?.toString() ?? 0),
|
|
159
|
+
const existingShares =
|
|
166
160
|
selectedTranche === 'senior'
|
|
167
161
|
? BigInt(seniorTokenAccount?.amount.toString() ?? '0')
|
|
168
|
-
: BigInt(juniorTokenAccount?.amount.toString() ?? '0')
|
|
169
|
-
|
|
162
|
+
: BigInt(juniorTokenAccount?.amount.toString() ?? '0')
|
|
163
|
+
|
|
170
164
|
tx.add(
|
|
171
165
|
createApproveCheckedInstruction(
|
|
172
166
|
selectedTranche === 'senior' ? seniorTrancheATA : juniorTrancheATA,
|