@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/esm/index.js
CHANGED
|
@@ -13,8 +13,8 @@ import { parseUnits, formatUnits } from 'viem';
|
|
|
13
13
|
import { MerkleTree } from 'merkletreejs';
|
|
14
14
|
import { solidityPackedKeccak256, keccak256 } from 'ethers';
|
|
15
15
|
import Decimal from 'decimal.js';
|
|
16
|
-
import { H as HUB_URL, U as USDG_WEIGHT_DECIMAL_PRECISION, G as GLOW_WEIGHT_DECIMAL_PRECISION, M as MAX_WEIGHT } from './calculate-farm-efficiency-
|
|
17
|
-
export { C as ControlRouter, F as FarmsRouter, e as KICKSTARTER_STATUS, K as KickstarterRouter, O as OFF_CHAIN_PAYMENT_CURRENCIES, P as PAYMENT_CURRENCIES, d as REGIONS, R as RegionRouter, S as STAKING_DIRECTIONS, T as TRANSFER_TYPES, W as WalletsRouter, f as calculateFarmEfficiency, c as configureSentry, u as useForwarder, a as useOffchainFractions, b as useRewardsKernel } from './calculate-farm-efficiency-
|
|
16
|
+
import { H as HUB_URL, U as USDG_WEIGHT_DECIMAL_PRECISION, G as GLOW_WEIGHT_DECIMAL_PRECISION, M as MAX_WEIGHT } from './calculate-farm-efficiency-DbFNiaxO.js';
|
|
17
|
+
export { C as ControlRouter, F as FarmsRouter, e as KICKSTARTER_STATUS, K as KickstarterRouter, O as OFF_CHAIN_PAYMENT_CURRENCIES, P as PAYMENT_CURRENCIES, d as REGIONS, R as RegionRouter, S as STAKING_DIRECTIONS, T as TRANSFER_TYPES, W as WalletsRouter, f as calculateFarmEfficiency, c as configureSentry, u as useForwarder, a as useOffchainFractions, b as useRewardsKernel } from './calculate-farm-efficiency-DbFNiaxO.js';
|
|
18
18
|
|
|
19
19
|
const GENESIS_TIMESTAMP = 1700352000;
|
|
20
20
|
|
package/package.json
CHANGED
|
@@ -236,7 +236,7 @@ export function useForwarder(signer: Signer | undefined, CHAIN_ID: number) {
|
|
|
236
236
|
amount
|
|
237
237
|
);
|
|
238
238
|
await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
|
|
239
|
-
timeoutMs:
|
|
239
|
+
timeoutMs: 60000,
|
|
240
240
|
pollIntervalMs: 2000,
|
|
241
241
|
});
|
|
242
242
|
|
|
@@ -315,7 +315,7 @@ export function useForwarder(signer: Signer | undefined, CHAIN_ID: number) {
|
|
|
315
315
|
MaxUint256
|
|
316
316
|
);
|
|
317
317
|
await waitForEthersTransactionWithRetry(signer, approveTx.hash, {
|
|
318
|
-
timeoutMs:
|
|
318
|
+
timeoutMs: 60000,
|
|
319
319
|
pollIntervalMs: 2000,
|
|
320
320
|
});
|
|
321
321
|
} catch (approveError) {
|
|
@@ -416,7 +416,7 @@ export function useForwarder(signer: Signer | undefined, CHAIN_ID: number) {
|
|
|
416
416
|
);
|
|
417
417
|
}
|
|
418
418
|
await waitForEthersTransactionWithRetry(signer, tx.hash, {
|
|
419
|
-
timeoutMs:
|
|
419
|
+
timeoutMs: 60000,
|
|
420
420
|
pollIntervalMs: 2000,
|
|
421
421
|
});
|
|
422
422
|
|
|
@@ -755,7 +755,7 @@ export function useForwarder(signer: Signer | undefined, CHAIN_ID: number) {
|
|
|
755
755
|
// Try to call mint function (common for test tokens)
|
|
756
756
|
const tx = await usdcContract.mint(recipient, amount);
|
|
757
757
|
await waitForEthersTransactionWithRetry(signer, tx.hash, {
|
|
758
|
-
timeoutMs:
|
|
758
|
+
timeoutMs: 60000,
|
|
759
759
|
pollIntervalMs: 2000,
|
|
760
760
|
});
|
|
761
761
|
|