timelock-sdk 0.0.261 → 0.0.262

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/client.cjs CHANGED
@@ -1424,7 +1424,7 @@ const useMarketPriceHistory = (marketAddr, resolution, startTimestamp, endTimest
1424
1424
  //#endregion
1425
1425
  //#region src/hooks/pool/usePoolVolume.ts
1426
1426
  const usePoolVolume = (poolManager, poolKey) => {
1427
- const { uniV4GraphqlClient } = useTimelockConfig();
1427
+ const { univ4GraphqlClient } = useTimelockConfig();
1428
1428
  const poolId = (0, react.useMemo)(() => poolKey ? getPoolId(poolKey) : void 0, [poolKey]);
1429
1429
  return (0, _tanstack_react_query.useQuery)({
1430
1430
  queryKey: [
@@ -1433,7 +1433,7 @@ const usePoolVolume = (poolManager, poolKey) => {
1433
1433
  (poolManager === null || poolManager === void 0 ? void 0 : poolManager.toLowerCase()) || "--"
1434
1434
  ],
1435
1435
  queryFn: async () => {
1436
- const result = await uniV4GraphqlClient.GetPoolVolume({ poolId });
1436
+ const result = await univ4GraphqlClient.GetPoolVolume({ poolId });
1437
1437
  return {
1438
1438
  ...result.Pool[0],
1439
1439
  volume0: BigInt(result.Pool[0].volume0),
@@ -1446,7 +1446,7 @@ const usePoolVolume = (poolManager, poolKey) => {
1446
1446
  positionCount: BigInt(result.Pool[0].positionCount)
1447
1447
  };
1448
1448
  },
1449
- enabled: !!poolId && !!uniV4GraphqlClient
1449
+ enabled: !!poolId && !!univ4GraphqlClient
1450
1450
  });
1451
1451
  };
1452
1452