@funkit/fun-relay 2.2.2 → 2.3.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.
package/dist/index.mjs CHANGED
@@ -454,6 +454,8 @@ import { MAINNET_RELAY_API as MAINNET_RELAY_API4 } from "@relayprotocol/relay-sd
454
454
  async function getRelayAssetInfo({
455
455
  chainId,
456
456
  address,
457
+ // https://fun-xyz.slack.com/archives/C08MQ85QB2N/p1770674350731879?thread_ts=1770670744.270889&cid=C08MQ85QB2N
458
+ useExternalSearch = true,
457
459
  apiKey
458
460
  }) {
459
461
  const relayChainId = convertFunToRelayChainId(Number(chainId));
@@ -468,7 +470,8 @@ async function getRelayAssetInfo({
468
470
  });
469
471
  const body = {
470
472
  chainIds: [relayChainId],
471
- address: relayTokenAddress
473
+ address: relayTokenAddress,
474
+ useExternalSearch
472
475
  };
473
476
  const response = await fetch(url, {
474
477
  method: "POST",