opentool 0.13.0 → 0.14.0

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.
@@ -1384,7 +1384,7 @@ async function placeHyperliquidTwapOrder(options) {
1384
1384
  symbol: twap.symbol,
1385
1385
  baseUrl: API_BASES[env],
1386
1386
  environment: env,
1387
- fetcher: fetch
1387
+ fetcher: (...args) => fetch(...args)
1388
1388
  });
1389
1389
  const action = {
1390
1390
  type: "twapOrder",
@@ -1406,7 +1406,7 @@ async function cancelHyperliquidTwapOrder(options) {
1406
1406
  symbol: options.cancel.symbol,
1407
1407
  baseUrl: API_BASES[env],
1408
1408
  environment: env,
1409
- fetcher: fetch
1409
+ fetcher: (...args) => fetch(...args)
1410
1410
  });
1411
1411
  const action = {
1412
1412
  type: "twapCancel",
@@ -1423,7 +1423,7 @@ async function updateHyperliquidLeverage(options) {
1423
1423
  symbol: options.input.symbol,
1424
1424
  baseUrl: API_BASES[env],
1425
1425
  environment: env,
1426
- fetcher: fetch
1426
+ fetcher: (...args) => fetch(...args)
1427
1427
  });
1428
1428
  const action = {
1429
1429
  type: "updateLeverage",
@@ -1441,7 +1441,7 @@ async function updateHyperliquidIsolatedMargin(options) {
1441
1441
  symbol: options.input.symbol,
1442
1442
  baseUrl: API_BASES[env],
1443
1443
  environment: env,
1444
- fetcher: fetch
1444
+ fetcher: (...args) => fetch(...args)
1445
1445
  });
1446
1446
  const action = {
1447
1447
  type: "updateIsolatedMargin",
@@ -1556,7 +1556,7 @@ async function withAssetIndexes(options, entries, mapper) {
1556
1556
  symbol: entry.symbol,
1557
1557
  baseUrl: API_BASES[env],
1558
1558
  environment: env,
1559
- fetcher: fetch
1559
+ fetcher: (...args) => fetch(...args)
1560
1560
  });
1561
1561
  return mapper(assetIndex, entry);
1562
1562
  })
@@ -1571,7 +1571,7 @@ async function buildOrder(intent, options) {
1571
1571
  symbol: intent.symbol,
1572
1572
  baseUrl: API_BASES[env],
1573
1573
  environment: env,
1574
- fetcher: fetch
1574
+ fetcher: (...args) => fetch(...args)
1575
1575
  });
1576
1576
  const limitOrTrigger = intent.trigger ? mapTrigger(intent.trigger) : {
1577
1577
  limit: {
@@ -2946,7 +2946,7 @@ async function placeHyperliquidOrder(options) {
2946
2946
  symbol: intent.symbol,
2947
2947
  baseUrl: resolvedBaseUrl,
2948
2948
  environment: inferredEnvironment,
2949
- fetcher: fetch
2949
+ fetcher: (...args) => fetch(...args)
2950
2950
  });
2951
2951
  const limitOrTrigger = intent.trigger ? {
2952
2952
  trigger: {