@funkit/fun-relay 2.2.3-next.0 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @funkit/fun-relay
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - dee4a4b: feat(fun-relay): add useExternalSearch parameter to getRelayAssetInfo
8
+
9
+ ### Patch Changes
10
+
11
+ - c939c70: fix: tests
12
+
3
13
  ## 2.2.3-next.0
4
14
 
5
15
  ### Patch Changes
package/dist/index.js CHANGED
@@ -507,6 +507,8 @@ var import_relay_sdk5 = require("@relayprotocol/relay-sdk");
507
507
  async function getRelayAssetInfo({
508
508
  chainId,
509
509
  address,
510
+ // https://fun-xyz.slack.com/archives/C08MQ85QB2N/p1770674350731879?thread_ts=1770670744.270889&cid=C08MQ85QB2N
511
+ useExternalSearch = true,
510
512
  apiKey
511
513
  }) {
512
514
  const relayChainId = convertFunToRelayChainId(Number(chainId));
@@ -521,7 +523,8 @@ async function getRelayAssetInfo({
521
523
  });
522
524
  const body = {
523
525
  chainIds: [relayChainId],
524
- address: relayTokenAddress
526
+ address: relayTokenAddress,
527
+ useExternalSearch
525
528
  };
526
529
  const response = await fetch(url, {
527
530
  method: "POST",