@glowlabs-org/utils 0.2.172 → 0.2.173
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/cjs/browser.js +1 -1
- package/dist/cjs/{calculate-farm-efficiency-CIHgzMwj.js → calculate-farm-efficiency-CKxIgfpG.js} +5 -5
- package/dist/cjs/{calculate-farm-efficiency-CIHgzMwj.js.map → calculate-farm-efficiency-CKxIgfpG.js.map} +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/browser.js +2 -2
- package/dist/esm/{calculate-farm-efficiency-CAWTlnKI.js → calculate-farm-efficiency-DbFNiaxO.js} +5 -5
- package/dist/esm/{calculate-farm-efficiency-CAWTlnKI.js.map → calculate-farm-efficiency-DbFNiaxO.js.map} +1 -1
- package/dist/esm/index.js +2 -2
- package/package.json +1 -1
- package/src/lib/hooks/use-forwarder.ts +4 -4
package/dist/cjs/browser.js
CHANGED
package/dist/cjs/{calculate-farm-efficiency-CIHgzMwj.js → calculate-farm-efficiency-CKxIgfpG.js}
RENAMED
|
@@ -674,7 +674,7 @@ function useForwarder(signer, CHAIN_ID) {
|
|
|
674
674
|
// Approve only the specific amount needed
|
|
675
675
|
const approveTx = await tokenContract.approve(ADDRESSES.FORWARDER, amount);
|
|
676
676
|
await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
|
|
677
|
-
timeoutMs:
|
|
677
|
+
timeoutMs: 60000,
|
|
678
678
|
pollIntervalMs: 2000,
|
|
679
679
|
});
|
|
680
680
|
return true;
|
|
@@ -737,7 +737,7 @@ function useForwarder(signer, CHAIN_ID) {
|
|
|
737
737
|
try {
|
|
738
738
|
const approveTx = await tokenContract.approve(ADDRESSES.FORWARDER, ethers.MaxUint256);
|
|
739
739
|
await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
|
|
740
|
-
timeoutMs:
|
|
740
|
+
timeoutMs: 60000,
|
|
741
741
|
pollIntervalMs: 2000,
|
|
742
742
|
});
|
|
743
743
|
}
|
|
@@ -811,7 +811,7 @@ function useForwarder(signer, CHAIN_ID) {
|
|
|
811
811
|
: ADDRESSES.FOUNDATION_WALLET, amount, sendToCounterfactualWallet, message);
|
|
812
812
|
}
|
|
813
813
|
await waitForEthersTransactionWithRetry(signer, tx.hash, {
|
|
814
|
-
timeoutMs:
|
|
814
|
+
timeoutMs: 60000,
|
|
815
815
|
pollIntervalMs: 2000,
|
|
816
816
|
});
|
|
817
817
|
return tx.hash;
|
|
@@ -1049,7 +1049,7 @@ function useForwarder(signer, CHAIN_ID) {
|
|
|
1049
1049
|
// Try to call mint function (common for test tokens)
|
|
1050
1050
|
const tx = await usdcContract.mint(recipient, amount);
|
|
1051
1051
|
await waitForEthersTransactionWithRetry(signer, tx.hash, {
|
|
1052
|
-
timeoutMs:
|
|
1052
|
+
timeoutMs: 60000,
|
|
1053
1053
|
pollIntervalMs: 2000,
|
|
1054
1054
|
});
|
|
1055
1055
|
return tx.hash;
|
|
@@ -5331,4 +5331,4 @@ exports.useOffchainFractions = useOffchainFractions;
|
|
|
5331
5331
|
exports.useRewardsKernel = useRewardsKernel;
|
|
5332
5332
|
exports.waitForEthersTransactionWithRetry = waitForEthersTransactionWithRetry;
|
|
5333
5333
|
exports.waitForViemTransactionWithRetry = waitForViemTransactionWithRetry;
|
|
5334
|
-
//# sourceMappingURL=calculate-farm-efficiency-
|
|
5334
|
+
//# sourceMappingURL=calculate-farm-efficiency-CKxIgfpG.js.map
|