@huma-finance/widgets 0.0.75-beta.986 → 0.0.75-beta.988
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
|
@@ -178169,9 +178169,7 @@ function SolanaTxSendModal({
|
|
|
178169
178169
|
}), ur({ signature: Tr });
|
|
178170
178170
|
return;
|
|
178171
178171
|
}
|
|
178172
|
-
if (
|
|
178173
|
-
"confirmed"
|
|
178174
|
-
)).lastValidBlockHeight - Dr.lastValidBlockHeight > 100) {
|
|
178172
|
+
if (await hr.getBlockHeight("confirmed") > Dr.lastValidBlockHeight) {
|
|
178175
178173
|
Cr.logAction("ShowRetryScreenDueToExpiration", {
|
|
178176
178174
|
signature: Tr
|
|
178177
178175
|
}), Sr(!0);
|
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.988+26df29a",
|
|
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.988+26df29a",
|
|
26
|
+
"@huma-finance/shared": "^0.0.75-beta.988+26df29a",
|
|
27
|
+
"@huma-finance/web-shared": "^0.0.75-beta.988+26df29a",
|
|
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": "26df29a7d408edab87353f12760681307ba01c9d"
|
|
194
194
|
}
|
|
@@ -156,14 +156,8 @@ export function SolanaTxSendModal({
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
// eslint-disable-next-line no-await-in-loop
|
|
159
|
-
const
|
|
160
|
-
|
|
161
|
-
)
|
|
162
|
-
if (
|
|
163
|
-
latestBlockhash.lastValidBlockHeight -
|
|
164
|
-
optimizedTx.lastValidBlockHeight! >
|
|
165
|
-
100
|
|
166
|
-
) {
|
|
159
|
+
const latestBlockheight = await connection.getBlockHeight('confirmed')
|
|
160
|
+
if (latestBlockheight > optimizedTx.lastValidBlockHeight!) {
|
|
167
161
|
loggingHelper.logAction('ShowRetryScreenDueToExpiration', {
|
|
168
162
|
signature: signatureResult,
|
|
169
163
|
})
|