@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/CHANGELOG.md +16 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +2 -2
- package/dist/src/currency.d.ts +2 -1
- package/dist/src/currency.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
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
|
+
|
|
13
|
+
## 2.2.3-next.0
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- c939c70: fix: tests
|
|
18
|
+
|
|
3
19
|
## 2.2.2
|
|
4
20
|
|
|
5
21
|
### 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",
|