@swapkit/core 1.0.0-rc.101 → 1.0.0-rc.104
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +11 -11
- package/src/__tests__/helpers.test.ts +63 -58
- package/src/helpers/explorerUrls.ts +2 -0
package/dist/index.es.js
CHANGED
|
@@ -746,7 +746,7 @@ const Te = Object.values(r), St = Object.keys(r), Re = Te.reduce(
|
|
|
746
746
|
LTC: "https://blockchair.com/litecoin",
|
|
747
747
|
MAYA: "https://www.mayascan.org",
|
|
748
748
|
OP: "https://optimistic.etherscan.io",
|
|
749
|
-
DOT: "https://
|
|
749
|
+
DOT: "https://polkadot.subscan.io/",
|
|
750
750
|
MATIC: "https://polygonscan.com",
|
|
751
751
|
THOR: "https://runescan.io"
|
|
752
752
|
};
|
|
@@ -1958,6 +1958,7 @@ const ut = ({ chain: e, txHash: t }) => {
|
|
|
1958
1958
|
case r.BinanceSmartChain:
|
|
1959
1959
|
case r.Ethereum:
|
|
1960
1960
|
case r.Optimism:
|
|
1961
|
+
case r.Polkadot:
|
|
1961
1962
|
case r.Polygon:
|
|
1962
1963
|
return `${n}/tx/${t.startsWith("0x") ? t : `0x${t}`}`;
|
|
1963
1964
|
case r.Cosmos:
|
|
@@ -1985,6 +1986,7 @@ const ut = ({ chain: e, txHash: t }) => {
|
|
|
1985
1986
|
case r.Litecoin:
|
|
1986
1987
|
case r.Maya:
|
|
1987
1988
|
case r.Optimism:
|
|
1989
|
+
case r.Polkadot:
|
|
1988
1990
|
case r.Polygon:
|
|
1989
1991
|
case r.THORChain:
|
|
1990
1992
|
return `${n}/address/${t}`;
|
|
@@ -9152,7 +9154,7 @@ export {
|
|
|
9152
9154
|
Mt as SWAP_IN,
|
|
9153
9155
|
vt as SWAP_OUT,
|
|
9154
9156
|
tn as StreamingSwapProgressStatus,
|
|
9155
|
-
Jn as
|
|
9157
|
+
Jn as SubstrateChains,
|
|
9156
9158
|
ba as SwapKit,
|
|
9157
9159
|
sa as SwapKitApi,
|
|
9158
9160
|
fa as SwapKitCore,
|