-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: split api into separate parts to not override endpoints
- Loading branch information
1 parent
929e681
commit 768b206
Showing
12 changed files
with
46 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,19 @@ | ||
import * as microgardEndpoints from "./microgard/endpoints"; | ||
import * as microgard from "./microgard/endpoints"; | ||
import { mayachainMidgard, thorchainMidgard } from "./midgard/endpoints"; | ||
import * as swapkitApiEndpoints from "./swapkitApi/endpoints"; | ||
import * as thornodeEndpoints from "./thornode/endpoints"; | ||
import * as thorswapStaticEndpoints from "./thorswapStatic/endpoints"; | ||
import * as swapkit from "./swapkitApi/endpoints"; | ||
import * as thornode from "./thornode/endpoints"; | ||
import * as tsStatic from "./thorswapStatic/endpoints"; | ||
|
||
export * from "./microgard/types"; | ||
export * from "./thorswapStatic/types"; | ||
export * from "./thornode/types"; | ||
export * from "./swapkitApi/types"; | ||
|
||
export { | ||
mayachainMidgard, | ||
microgardEndpoints, | ||
swapkitApiEndpoints, | ||
thorchainMidgard, | ||
thornodeEndpoints, | ||
thorswapStaticEndpoints, | ||
}; | ||
|
||
export const SwapKitApi = { | ||
...microgardEndpoints, | ||
...thornodeEndpoints, | ||
...swapkitApiEndpoints, | ||
...thorswapStaticEndpoints, | ||
thorchainMidgard, | ||
...swapkit, | ||
...tsStatic, | ||
mayachainMidgard, | ||
microgard, | ||
thorchainMidgard, | ||
thornode, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters