@rango-dev/widget-embedded 0.1.10-next.100

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.
Files changed (204) hide show
  1. package/dist/App.d.ts +9 -0
  2. package/dist/App.d.ts.map +1 -0
  3. package/dist/QueueManager.d.ts +4 -0
  4. package/dist/QueueManager.d.ts.map +1 -0
  5. package/dist/components/AppRouter.d.ts +9 -0
  6. package/dist/components/AppRouter.d.ts.map +1 -0
  7. package/dist/components/AppRoutes.d.ts +8 -0
  8. package/dist/components/AppRoutes.d.ts.map +1 -0
  9. package/dist/components/BottomLogo.d.ts +3 -0
  10. package/dist/components/BottomLogo.d.ts.map +1 -0
  11. package/dist/components/ChangeSlippageButton.d.ts +3 -0
  12. package/dist/components/ChangeSlippageButton.d.ts.map +1 -0
  13. package/dist/components/ConfirmSwapErrors.d.ts +4 -0
  14. package/dist/components/ConfirmSwapErrors.d.ts.map +1 -0
  15. package/dist/components/ConfirmSwapWarnings.d.ts +4 -0
  16. package/dist/components/ConfirmSwapWarnings.d.ts.map +1 -0
  17. package/dist/components/Footer.d.ts +2 -0
  18. package/dist/components/Footer.d.ts.map +1 -0
  19. package/dist/components/Header.d.ts +10 -0
  20. package/dist/components/Header.d.ts.map +1 -0
  21. package/dist/components/HeaderButtons.d.ts +4 -0
  22. package/dist/components/HeaderButtons.d.ts.map +1 -0
  23. package/dist/components/Layout.d.ts +7 -0
  24. package/dist/components/Layout.d.ts.map +1 -0
  25. package/dist/components/RoutesOverview.d.ts +10 -0
  26. package/dist/components/RoutesOverview.d.ts.map +1 -0
  27. package/dist/components/SwitchFromAndTo.d.ts +4 -0
  28. package/dist/components/SwitchFromAndTo.d.ts.map +1 -0
  29. package/dist/components/TokenInfo.d.ts +18 -0
  30. package/dist/components/TokenInfo.d.ts.map +1 -0
  31. package/dist/components/TokenPreview.d.ts +20 -0
  32. package/dist/components/TokenPreview.d.ts.map +1 -0
  33. package/dist/components/UpdateUrl.d.ts +2 -0
  34. package/dist/components/UpdateUrl.d.ts.map +1 -0
  35. package/dist/components/warnings/BalanceWarnings.d.ts +7 -0
  36. package/dist/components/warnings/BalanceWarnings.d.ts.map +1 -0
  37. package/dist/components/warnings/ConfirmSwapExtraMessages.d.ts +7 -0
  38. package/dist/components/warnings/ConfirmSwapExtraMessages.d.ts.map +1 -0
  39. package/dist/components/warnings/HighSlippageWarning.d.ts +7 -0
  40. package/dist/components/warnings/HighSlippageWarning.d.ts.map +1 -0
  41. package/dist/components/warnings/MinRequiredSlippage.d.ts +7 -0
  42. package/dist/components/warnings/MinRequiredSlippage.d.ts.map +1 -0
  43. package/dist/constants/errors.d.ts +4 -0
  44. package/dist/constants/errors.d.ts.map +1 -0
  45. package/dist/constants/navigationRoutes.d.ts +15 -0
  46. package/dist/constants/navigationRoutes.d.ts.map +1 -0
  47. package/dist/constants/numbers.d.ts +3 -0
  48. package/dist/constants/numbers.d.ts.map +1 -0
  49. package/dist/constants/searchParams.d.ts +8 -0
  50. package/dist/constants/searchParams.d.ts.map +1 -0
  51. package/dist/constants/swapSettings.d.ts +6 -0
  52. package/dist/constants/swapSettings.d.ts.map +1 -0
  53. package/dist/globalStyles.d.ts +3 -0
  54. package/dist/globalStyles.d.ts.map +1 -0
  55. package/dist/hooks/useConfirmSwap.d.ts +11 -0
  56. package/dist/hooks/useConfirmSwap.d.ts.map +1 -0
  57. package/dist/hooks/useCopyToClipboard.d.ts +2 -0
  58. package/dist/hooks/useCopyToClipboard.d.ts.map +1 -0
  59. package/dist/hooks/useNavigateBack.d.ts +4 -0
  60. package/dist/hooks/useNavigateBack.d.ts.map +1 -0
  61. package/dist/hooks/usePrevious.d.ts +2 -0
  62. package/dist/hooks/usePrevious.d.ts.map +1 -0
  63. package/dist/hooks/useSelectLanguage.d.ts +5 -0
  64. package/dist/hooks/useSelectLanguage.d.ts.map +1 -0
  65. package/dist/hooks/useTheme.d.ts +8 -0
  66. package/dist/hooks/useTheme.d.ts.map +1 -0
  67. package/dist/i18n.d.ts +3 -0
  68. package/dist/i18n.d.ts.map +1 -0
  69. package/dist/index.d.ts +2 -0
  70. package/dist/index.d.ts.map +1 -0
  71. package/dist/index.js +8 -0
  72. package/dist/lib.d.ts +8 -0
  73. package/dist/lib.d.ts.map +1 -0
  74. package/dist/mockData/pendingSwap.d.ts +2 -0
  75. package/dist/mockData/pendingSwap.d.ts.map +1 -0
  76. package/dist/pages/ConfirmSwapPage.d.ts +3 -0
  77. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -0
  78. package/dist/pages/ConfirmWalletsPage.d.ts +3 -0
  79. package/dist/pages/ConfirmWalletsPage.d.ts.map +1 -0
  80. package/dist/pages/HistoryPage.d.ts +3 -0
  81. package/dist/pages/HistoryPage.d.ts.map +1 -0
  82. package/dist/pages/Home.d.ts +9 -0
  83. package/dist/pages/Home.d.ts.map +1 -0
  84. package/dist/pages/LiquiditySourcesPage.d.ts +8 -0
  85. package/dist/pages/LiquiditySourcesPage.d.ts.map +1 -0
  86. package/dist/pages/SelectChainPage.d.ts +9 -0
  87. package/dist/pages/SelectChainPage.d.ts.map +1 -0
  88. package/dist/pages/SelectTokenPage.d.ts +15 -0
  89. package/dist/pages/SelectTokenPage.d.ts.map +1 -0
  90. package/dist/pages/SettingsPage.d.ts +8 -0
  91. package/dist/pages/SettingsPage.d.ts.map +1 -0
  92. package/dist/pages/SwapDetailsPage.d.ts +3 -0
  93. package/dist/pages/SwapDetailsPage.d.ts.map +1 -0
  94. package/dist/pages/WalletsPage.d.ts +9 -0
  95. package/dist/pages/WalletsPage.d.ts.map +1 -0
  96. package/dist/services/httpService.d.ts +3 -0
  97. package/dist/services/httpService.d.ts.map +1 -0
  98. package/dist/store/bestRoute.d.ts +28 -0
  99. package/dist/store/bestRoute.d.ts.map +1 -0
  100. package/dist/store/meta.d.ts +9 -0
  101. package/dist/store/meta.d.ts.map +1 -0
  102. package/dist/store/selectors.d.ts +11 -0
  103. package/dist/store/selectors.d.ts.map +1 -0
  104. package/dist/store/settings.d.ts +17 -0
  105. package/dist/store/settings.d.ts.map +1 -0
  106. package/dist/store/ui.d.ts +2 -0
  107. package/dist/store/ui.d.ts.map +1 -0
  108. package/dist/store/wallets.d.ts +28 -0
  109. package/dist/store/wallets.d.ts.map +1 -0
  110. package/dist/types/config.d.ts +40 -0
  111. package/dist/types/config.d.ts.map +1 -0
  112. package/dist/types/index.d.ts +4 -0
  113. package/dist/types/index.d.ts.map +1 -0
  114. package/dist/types/routing.d.ts +45 -0
  115. package/dist/types/routing.d.ts.map +1 -0
  116. package/dist/types/swap.d.ts +11 -0
  117. package/dist/types/swap.d.ts.map +1 -0
  118. package/dist/utils/common.d.ts +4 -0
  119. package/dist/utils/common.d.ts.map +1 -0
  120. package/dist/utils/numbers.d.ts +14 -0
  121. package/dist/utils/numbers.d.ts.map +1 -0
  122. package/dist/utils/queue.d.ts +4 -0
  123. package/dist/utils/queue.d.ts.map +1 -0
  124. package/dist/utils/routing.d.ts +18 -0
  125. package/dist/utils/routing.d.ts.map +1 -0
  126. package/dist/utils/swap.d.ts +45 -0
  127. package/dist/utils/swap.d.ts.map +1 -0
  128. package/dist/utils/wallets.d.ts +29 -0
  129. package/dist/utils/wallets.d.ts.map +1 -0
  130. package/dist/widget-embedded.cjs.development.js +3101 -0
  131. package/dist/widget-embedded.cjs.development.js.map +1 -0
  132. package/dist/widget-embedded.cjs.production.min.js +3101 -0
  133. package/dist/widget-embedded.cjs.production.min.js.map +1 -0
  134. package/dist/widget-embedded.esm.js +3092 -0
  135. package/dist/widget-embedded.esm.js.map +1 -0
  136. package/package.json +55 -0
  137. package/readme.md +2 -0
  138. package/src/App.tsx +91 -0
  139. package/src/QueueManager.tsx +94 -0
  140. package/src/app.css +27 -0
  141. package/src/components/AppRouter.tsx +60 -0
  142. package/src/components/AppRoutes.tsx +105 -0
  143. package/src/components/BottomLogo.tsx +47 -0
  144. package/src/components/ChangeSlippageButton.tsx +19 -0
  145. package/src/components/ConfirmSwapErrors.tsx +38 -0
  146. package/src/components/ConfirmSwapWarnings.tsx +35 -0
  147. package/src/components/Footer.tsx +8 -0
  148. package/src/components/Header.tsx +37 -0
  149. package/src/components/HeaderButtons.tsx +47 -0
  150. package/src/components/Layout.tsx +96 -0
  151. package/src/components/RoutesOverview.tsx +60 -0
  152. package/src/components/SwitchFromAndTo.tsx +30 -0
  153. package/src/components/TokenInfo.tsx +311 -0
  154. package/src/components/TokenPreview.tsx +175 -0
  155. package/src/components/UpdateUrl.tsx +162 -0
  156. package/src/components/warnings/BalanceWarnings.tsx +39 -0
  157. package/src/components/warnings/ConfirmSwapExtraMessages.tsx +20 -0
  158. package/src/components/warnings/HighSlippageWarning.tsx +18 -0
  159. package/src/components/warnings/MinRequiredSlippage.tsx +18 -0
  160. package/src/constants/errors.ts +3 -0
  161. package/src/constants/navigationRoutes.ts +14 -0
  162. package/src/constants/numbers.ts +3 -0
  163. package/src/constants/searchParams.ts +7 -0
  164. package/src/constants/swapSettings.ts +9 -0
  165. package/src/globalStyles.ts +26 -0
  166. package/src/hooks/useConfirmSwap.ts +260 -0
  167. package/src/hooks/useCopyToClipboard.ts +23 -0
  168. package/src/hooks/useNavigateBack.ts +40 -0
  169. package/src/hooks/usePrevious.ts +13 -0
  170. package/src/hooks/useSelectLanguage.ts +15 -0
  171. package/src/hooks/useTheme.ts +127 -0
  172. package/src/i18n.js +30 -0
  173. package/src/index.tsx +14 -0
  174. package/src/languages/en.json +14 -0
  175. package/src/languages/tr.json +11 -0
  176. package/src/lib.tsx +119 -0
  177. package/src/mockData/pendingSwap.ts +607 -0
  178. package/src/pages/ConfirmSwapPage.tsx +72 -0
  179. package/src/pages/ConfirmWalletsPage.tsx +127 -0
  180. package/src/pages/HistoryPage.tsx +29 -0
  181. package/src/pages/Home.tsx +228 -0
  182. package/src/pages/LiquiditySourcesPage.tsx +64 -0
  183. package/src/pages/SelectChainPage.tsx +42 -0
  184. package/src/pages/SelectTokenPage.tsx +64 -0
  185. package/src/pages/SettingsPage.tsx +98 -0
  186. package/src/pages/SwapDetailsPage.tsx +38 -0
  187. package/src/pages/WalletsPage.tsx +119 -0
  188. package/src/services/httpService.ts +5 -0
  189. package/src/store/bestRoute.ts +245 -0
  190. package/src/store/meta.ts +35 -0
  191. package/src/store/selectors.ts +19 -0
  192. package/src/store/settings.ts +84 -0
  193. package/src/store/ui.ts +21 -0
  194. package/src/store/wallets.ts +190 -0
  195. package/src/types/config.ts +44 -0
  196. package/src/types/index.ts +3 -0
  197. package/src/types/routing.ts +60 -0
  198. package/src/types/swap.ts +13 -0
  199. package/src/utils/common.ts +35 -0
  200. package/src/utils/numbers.ts +133 -0
  201. package/src/utils/queue.ts +24 -0
  202. package/src/utils/routing.ts +150 -0
  203. package/src/utils/swap.ts +552 -0
  204. package/src/utils/wallets.ts +481 -0
package/dist/App.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import './app.css';
3
+ import { Configs } from './types';
4
+ import './i18n';
5
+ export declare type WidgetProps = {
6
+ configs?: Configs;
7
+ };
8
+ export declare function App({ configs }: WidgetProps): JSX.Element;
9
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["src/App.tsx"],"names":[],"mappings":";AAIA,OAAO,WAAW,CAAC;AAenB,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,QAAQ,CAAC;AAKhB,oBAAY,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,GAAG,CAAC,EAAE,OAAO,EAAE,EAAE,WAAW,eA6D3C"}
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ declare function QueueManager(props: PropsWithChildren<{}>): JSX.Element;
3
+ export default QueueManager;
4
+ //# sourceMappingURL=QueueManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueueManager.d.ts","sourceRoot":"","sources":["src/QueueManager.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAiBjD,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,CAAC,EAAE,CAAC,eA0EjD;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { PropsWithChildren } from 'react';
2
+ interface PropTypes {
3
+ title?: string;
4
+ titleSize?: number;
5
+ titleWeight?: number;
6
+ }
7
+ export declare function AppRouter({ children, ...props }: PropTypes & PropsWithChildren): JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=AppRouter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../src/components/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAqB,MAAM,OAAO,CAAC;AAUpE,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAgCD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,iBAAiB,eAU/B"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Configs } from '../types';
3
+ interface PropTypes {
4
+ configs?: Configs;
5
+ }
6
+ export declare function AppRoutes(props: PropTypes): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | null;
7
+ export {};
8
+ //# sourceMappingURL=AppRoutes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppRoutes.d.ts","sourceRoot":"","sources":["../src/components/AppRoutes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,UAAU,SAAS;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,yJAqFzC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function BottomLogo(): JSX.Element;
3
+ //# sourceMappingURL=BottomLogo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomLogo.d.ts","sourceRoot":"","sources":["../src/components/BottomLogo.tsx"],"names":[],"mappings":";AA0BA,wBAAgB,UAAU,gBAoBzB"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function ChangeSlippageButton(): JSX.Element;
3
+ //# sourceMappingURL=ChangeSlippageButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChangeSlippageButton.d.ts","sourceRoot":"","sources":["../src/components/ChangeSlippageButton.tsx"],"names":[],"mappings":";AAKA,wBAAgB,oBAAoB,gBAanC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ConfirmSwapError } from '../types';
3
+ export declare function ConfirmSwapErrors(errors: ConfirmSwapError[]): JSX.Element[];
4
+ //# sourceMappingURL=ConfirmSwapErrors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmSwapErrors.d.ts","sourceRoot":"","sources":["../src/components/ConfirmSwapErrors.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAGnE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,iBAgC3D"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ConfirmSwapWarnings } from '../types';
3
+ export declare function ConfirmSwapWarnings(warnings: ConfirmSwapWarnings[]): JSX.Element[];
4
+ //# sourceMappingURL=ConfirmSwapWarnings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmSwapWarnings.d.ts","sourceRoot":"","sources":["../src/components/ConfirmSwapWarnings.tsx"],"names":[],"mappings":";AAEA,OAAO,EAA2B,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAGxE,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,iBA6BlE"}
@@ -0,0 +1,2 @@
1
+ export declare const Footer: any;
2
+ //# sourceMappingURL=Footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../src/components/Footer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,KAKjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export declare const HeaderContainer: any;
3
+ export interface PropTypes {
4
+ onClickRefresh: () => void;
5
+ title?: string;
6
+ titleSize?: number;
7
+ titleWeight?: number;
8
+ }
9
+ export declare function Header(props: PropTypes): JSX.Element;
10
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../src/components/Header.tsx"],"names":[],"mappings":";AAKA,eAAO,MAAM,eAAe,KAM1B,CAAC;AAEH,MAAM,WAAW,SAAS;IACxB,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,SAAS,eAgBtC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { PropTypes } from './Header';
3
+ export declare function HeaderButtons(props: PropTypes): JSX.Element;
4
+ //# sourceMappingURL=HeaderButtons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderButtons.d.ts","sourceRoot":"","sources":["../src/components/HeaderButtons.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMrC,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,eA6B7C"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { Configs } from '../types';
3
+ export declare type LayoutProps = {
4
+ configs?: Configs;
5
+ };
6
+ export declare function Layout({ configs }: LayoutProps): JSX.Element;
7
+ //# sourceMappingURL=Layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../src/components/Layout.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAkBnC,oBAAY,WAAW,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,EAAE,WAAW,eA4D9C"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { BestRouteResponse } from 'rango-sdk';
3
+ export declare const Container: any;
4
+ interface PropTypes {
5
+ routes: BestRouteResponse | null;
6
+ totalFee?: string;
7
+ }
8
+ declare function RoutesOverview(props: PropTypes): JSX.Element | null;
9
+ export default RoutesOverview;
10
+ //# sourceMappingURL=RoutesOverview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RoutesOverview.d.ts","sourceRoot":"","sources":["../src/components/RoutesOverview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAK9C,eAAO,MAAM,SAAS,KAkBpB,CAAC;AAEH,UAAU,SAAS;IACjB,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AACD,iBAAS,cAAc,CAAC,KAAK,EAAE,SAAS,sBA0BvC;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare function SwithFromAndTo({ count }: {
2
+ count: number;
3
+ }): null;
4
+ //# sourceMappingURL=SwitchFromAndTo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwitchFromAndTo.d.ts","sourceRoot":"","sources":["../src/components/SwitchFromAndTo.tsx"],"names":[],"mappings":"AAKA,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,QAwB1D"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { BlockchainMeta, Token } from 'rango-sdk';
3
+ import BigNumber from 'bignumber.js';
4
+ declare type PropTypes = ({
5
+ type: 'From';
6
+ inputAmount: string;
7
+ onAmountChange: (amount: string) => void;
8
+ } | {
9
+ type: 'To';
10
+ outputAmount: BigNumber | null;
11
+ outputUsdValue: BigNumber | null;
12
+ }) & {
13
+ chain: BlockchainMeta | null;
14
+ token: Token | null;
15
+ };
16
+ export declare function TokenInfo(props: PropTypes): JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=TokenInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenInfo.d.ts","sourceRoot":"","sources":["../src/components/TokenInfo.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,SAAS,MAAM,cAAc,CAAC;AAMrC,aAAK,SAAS,GAAG,CACb;IACE,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,GACD;IACE,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,SAAS,GAAG,IAAI,CAAC;IAC/B,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;CAClC,CACJ,GAAG;IAAE,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CAAE,CAAC;AAwF1D,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,eA+LzC"}
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { LoadingStatus } from '../store/meta';
3
+ import BigNumber from 'bignumber.js';
4
+ interface PropTypes {
5
+ label: string;
6
+ amount: string;
7
+ usdValue: BigNumber;
8
+ loadingStatus: LoadingStatus;
9
+ chain: {
10
+ displayName: string;
11
+ logo: string;
12
+ };
13
+ token: {
14
+ symbol: string;
15
+ image: string;
16
+ };
17
+ }
18
+ export declare function TokenPreview(props: PropTypes): JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=TokenPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TokenPreview.d.ts","sourceRoot":"","sources":["../src/components/TokenPreview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,OAAO,SAAS,MAAM,cAAc,CAAC;AA+ErC,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE;QACL,WAAW,EAAE,MAAM,CAAC;QACpB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,eA2E5C"}
@@ -0,0 +1,2 @@
1
+ export declare function UpdateUrl(): null;
2
+ //# sourceMappingURL=UpdateUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateUrl.d.ts","sourceRoot":"","sources":["../src/components/UpdateUrl.tsx"],"names":[],"mappings":"AAaA,wBAAgB,SAAS,SAoJxB"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface PropTypes {
3
+ messages: string[];
4
+ }
5
+ export declare function BalanceWarnings({ messages }: PropTypes): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=BalanceWarnings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BalanceWarnings.d.ts","sourceRoot":"","sources":["../../src/components/warnings/BalanceWarnings.tsx"],"names":[],"mappings":";AAGA,UAAU,SAAS;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAsBD,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,SAAS,eAWtD"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface PropTypes {
3
+ selectedSlippage: number;
4
+ }
5
+ export declare function ConfirmSwapExtraMessages(props: PropTypes): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=ConfirmSwapExtraMessages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmSwapExtraMessages.d.ts","sourceRoot":"","sources":["../../src/components/warnings/ConfirmSwapExtraMessages.tsx"],"names":[],"mappings":";AAIA,UAAU,SAAS;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,SAAS,eAWxD"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface PropTypes {
3
+ selectedSlippage: number;
4
+ }
5
+ export declare function HighSlippageWarning(props: PropTypes): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=HighSlippageWarning.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HighSlippageWarning.d.ts","sourceRoot":"","sources":["../../src/components/warnings/HighSlippageWarning.tsx"],"names":[],"mappings":";AAIA,UAAU,SAAS;IACjB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,eASnD"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ interface PropTypes {
3
+ minRequiredSlippage: number | null;
4
+ }
5
+ export declare function MinRequiredSlippage({ minRequiredSlippage }: PropTypes): JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=MinRequiredSlippage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MinRequiredSlippage.d.ts","sourceRoot":"","sources":["../../src/components/warnings/MinRequiredSlippage.tsx"],"names":[],"mappings":";AAIA,UAAU,SAAS;IACjB,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;CACpC;AAED,wBAAgB,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,EAAE,SAAS,eASrE"}
@@ -0,0 +1,4 @@
1
+ export declare const errorMessages: {
2
+ genericServerError: string;
3
+ };
4
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/constants/errors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;CAEzB,CAAC"}
@@ -0,0 +1,15 @@
1
+ export declare const navigationRoutes: {
2
+ home: string;
3
+ fromChain: string;
4
+ fromToken: string;
5
+ toChain: string;
6
+ toToken: string;
7
+ settings: string;
8
+ liquiditySources: string;
9
+ swaps: string;
10
+ wallets: string;
11
+ confirmSwap: string;
12
+ confirmWallets: string;
13
+ swapDetails: string;
14
+ };
15
+ //# sourceMappingURL=navigationRoutes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigationRoutes.d.ts","sourceRoot":"","sources":["../src/constants/navigationRoutes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;CAa5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import BigNumber from 'bignumber.js';
2
+ export declare const ZERO: BigNumber;
3
+ //# sourceMappingURL=numbers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"numbers.d.ts","sourceRoot":"","sources":["../src/constants/numbers.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,eAAO,MAAM,IAAI,WAAmB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare enum SearchParams {
2
+ 'FROM_CHAIN' = "fromChain",
3
+ 'FROM_TOKEN' = "fromToken",
4
+ 'TO_CHAIN' = "toChain",
5
+ 'TO_TOKEN' = "toToken",
6
+ 'FROM_AMOUNT' = "fromAmount"
7
+ }
8
+ //# sourceMappingURL=searchParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchParams.d.ts","sourceRoot":"","sources":["../src/constants/searchParams.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,YAAY,cAAc;IAC1B,YAAY,cAAc;IAC1B,UAAU,YAAY;IACtB,UAAU,YAAY;IACtB,aAAa,eAAe;CAC7B"}
@@ -0,0 +1,6 @@
1
+ export declare const SLIPPAGES: number[];
2
+ export declare const DEFAULT_SLIPPAGE = 1;
3
+ export declare const HIGH_SLIPPAGE = 5;
4
+ export declare const MAX_SLIPPAGE = 100;
5
+ export declare const MIN_SLIPPGAE = 0;
6
+ //# sourceMappingURL=swapSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"swapSettings.d.ts","sourceRoot":"","sources":["../src/constants/swapSettings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,UAA4B,CAAC;AAEnD,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAElC,eAAO,MAAM,aAAa,IAAI,CAAC;AAE/B,eAAO,MAAM,YAAY,MAAM,CAAC;AAEhC,eAAO,MAAM,YAAY,IAAI,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const globalStyles: any;
2
+ export declare const globalFont: (fontFamily: string) => any;
3
+ //# sourceMappingURL=globalStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalStyles.d.ts","sourceRoot":"","sources":["src/globalStyles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,KAavB,CAAC;AACH,eAAO,MAAM,UAAU,eAAgB,MAAM,QASvC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ConfirmSwapError, ConfirmSwapWarnings } from '../types';
2
+ import { PendingSwap } from '@rango-dev/ui/dist/containers/History/types';
3
+ declare type ConfirmSwap = {
4
+ loading: boolean;
5
+ errors: ConfirmSwapError[];
6
+ warnings: ConfirmSwapWarnings[];
7
+ confirmSwap: (() => Promise<PendingSwap | undefined>) | null;
8
+ };
9
+ export declare function useConfirmSwap(): ConfirmSwap;
10
+ export {};
11
+ //# sourceMappingURL=useConfirmSwap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useConfirmSwap.d.ts","sourceRoot":"","sources":["../src/hooks/useConfirmSwap.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,gBAAgB,EAGhB,mBAAmB,EAEpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAyB1E,aAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,WAAW,EAAE,CAAC,MAAM,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAAC,GAAG,IAAI,CAAC;CAC9D,CAAC;AAEF,wBAAgB,cAAc,IAAI,WAAW,CAuN5C"}
@@ -0,0 +1,2 @@
1
+ export default function useCopyToClipboard(resetInterval?: number): readonly [boolean, (text: string | number) => void];
2
+ //# sourceMappingURL=useCopyToClipboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCopyToClipboard.d.ts","sourceRoot":"","sources":["../src/hooks/useCopyToClipboard.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,aAAa,CAAC,EAAE,MAAM,6BAGnB,MAAM,GAAG,MAAM,WAgB5D"}
@@ -0,0 +1,4 @@
1
+ export declare function useNavigateBack(): {
2
+ navigateBackFrom: (currentRoute: string) => void;
3
+ };
4
+ //# sourceMappingURL=useNavigateBack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNavigateBack.d.ts","sourceRoot":"","sources":["../src/hooks/useNavigateBack.ts"],"names":[],"mappings":"AAGA,wBAAgB,eAAe;qCAMW,MAAM;EA8B/C"}
@@ -0,0 +1,2 @@
1
+ export default function usePrevious(value: string): string | undefined;
2
+ //# sourceMappingURL=usePrevious.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePrevious.d.ts","sourceRoot":"","sources":["../src/hooks/usePrevious.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,KAAK,EAAE,MAAM,sBAUhD"}
@@ -0,0 +1,5 @@
1
+ export default function useSelectLanguage(): {
2
+ changeLanguage: (value: string) => void;
3
+ currentLanguage: any;
4
+ };
5
+ //# sourceMappingURL=useSelectLanguage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSelectLanguage.d.ts","sourceRoot":"","sources":["../src/hooks/useSelectLanguage.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,iBAAiB;4BAIR,MAAM;;EAQtC"}
@@ -0,0 +1,8 @@
1
+ import { Colors } from '../types';
2
+ export declare function useTheme({ primary, background, foreground, error, warning, success, fontFamily, borderRadius, }: Colors & {
3
+ borderRadius?: number;
4
+ fontFamily?: string;
5
+ }): {
6
+ activeTheme: any;
7
+ };
8
+ //# sourceMappingURL=useTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useTheme.d.ts","sourceRoot":"","sources":["../src/hooks/useTheme.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,wBAAgB,QAAQ,CAAC,EACvB,OAAmB,EACnB,UAAmB,EACnB,UAAmB,EACnB,KAAiB,EACjB,OAAmB,EACnB,OAAmB,EACnB,UAAoB,EACpB,YAAgB,GACjB,EAAE,MAAM,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE;;EA6GzD"}
package/dist/i18n.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export default i18n;
2
+ import i18n from "i18next";
3
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["src/i18n.js"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { SwapBox } from './lib';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./widget-embedded.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./widget-embedded.cjs.development.js')
8
+ }
package/dist/lib.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { Configs } from './types';
3
+ import './i18n';
4
+ export declare type WidgetProps = {
5
+ configs: Configs;
6
+ };
7
+ export declare const SwapBox: React.FC<WidgetProps>;
8
+ //# sourceMappingURL=lib.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["src/lib.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAGlC,OAAO,QAAQ,CAAC;AAGhB,oBAAY,WAAW,GAAG;IACxB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA2FzC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const pendingSwap: any;
2
+ //# sourceMappingURL=pendingSwap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pendingSwap.d.ts","sourceRoot":"","sources":["../src/mockData/pendingSwap.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,EAAE,GA6lBzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function ConfirmSwapPage(): JSX.Element;
3
+ //# sourceMappingURL=ConfirmSwapPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmSwapPage.d.ts","sourceRoot":"","sources":["../src/pages/ConfirmSwapPage.tsx"],"names":[],"mappings":";AAiBA,wBAAgB,eAAe,gBAsD9B"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function ConfirmWalletsPage(): JSX.Element;
3
+ //# sourceMappingURL=ConfirmWalletsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmWalletsPage.d.ts","sourceRoot":"","sources":["../src/pages/ConfirmWalletsPage.tsx"],"names":[],"mappings":";AA4BA,wBAAgB,kBAAkB,gBAkGjC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function HistoryPage(): JSX.Element;
3
+ //# sourceMappingURL=HistoryPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HistoryPage.d.ts","sourceRoot":"","sources":["../src/pages/HistoryPage.tsx"],"names":[],"mappings":";AASA,wBAAgB,WAAW,gBAmB1B"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface PropTypes {
3
+ title?: string;
4
+ titleSize?: number;
5
+ titleWeight?: number;
6
+ }
7
+ export declare function Home(props: PropTypes): JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Home.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../src/pages/Home.tsx"],"names":[],"mappings":";AA+DA,UAAU,SAAS;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AACD,wBAAgB,IAAI,CAAC,KAAK,EAAE,SAAS,eA+JpC"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Source } from '../types';
3
+ interface PropTypes {
4
+ supportedSwappers: 'all' | Source[];
5
+ }
6
+ export declare function LiquiditySourcePage({ supportedSwappers }: PropTypes): JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=LiquiditySourcesPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiquiditySourcesPage.d.ts","sourceRoot":"","sources":["../src/pages/LiquiditySourcesPage.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,UAAU,SAAS;IACjB,iBAAiB,EAAE,KAAK,GAAG,MAAM,EAAE,CAAC;CACrC;AACD,wBAAgB,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,EAAE,SAAS,eAoDnE"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { BlockchainMeta } from 'rango-sdk';
3
+ interface PropTypes {
4
+ type: 'from' | 'to';
5
+ supportedChains: 'all' | BlockchainMeta[];
6
+ }
7
+ export declare function SelectChainPage(props: PropTypes): JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SelectChainPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectChainPage.d.ts","sourceRoot":"","sources":["../src/pages/SelectChainPage.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,EAAE,KAAK,GAAG,cAAc,EAAE,CAAC;CAC3C;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,eA4B/C"}
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { Token } from 'rango-sdk';
3
+ interface PropTypes {
4
+ type: 'from' | 'to';
5
+ supportedTokens: 'all' | Token[];
6
+ }
7
+ export interface TokenWithBalance extends Token {
8
+ balance?: {
9
+ amount: string;
10
+ usdValue: string;
11
+ };
12
+ }
13
+ export declare function SelectTokenPage(props: PropTypes): JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=SelectTokenPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectTokenPage.d.ts","sourceRoot":"","sources":["../src/pages/SelectTokenPage.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAKlC,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,EAAE,KAAK,GAAG,KAAK,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK;IAC7C,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,eA2C/C"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Source } from '../types';
3
+ interface PropTypes {
4
+ supportedSwappers: 'all' | Source[];
5
+ }
6
+ export declare function SettingsPage({ supportedSwappers }: PropTypes): JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=SettingsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsPage.d.ts","sourceRoot":"","sources":["../src/pages/SettingsPage.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOlC,UAAU,SAAS;IACjB,iBAAiB,EAAE,KAAK,GAAG,MAAM,EAAE,CAAC;CACrC;AACD,wBAAgB,YAAY,CAAC,EAAE,iBAAiB,EAAE,EAAE,SAAS,eAgF5D"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function SwapDetailsPage(): JSX.Element;
3
+ //# sourceMappingURL=SwapDetailsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwapDetailsPage.d.ts","sourceRoot":"","sources":["../src/pages/SwapDetailsPage.tsx"],"names":[],"mappings":";AAUA,wBAAgB,eAAe,gBA2B9B"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { WalletType } from '@rango-dev/wallets-shared';
3
+ interface PropTypes {
4
+ supportedWallets: 'all' | WalletType[];
5
+ multiWallets: boolean;
6
+ }
7
+ export declare function WalletsPage({ supportedWallets, multiWallets }: PropTypes): JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=WalletsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WalletsPage.d.ts","sourceRoot":"","sources":["../src/pages/WalletsPage.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,UAAU,EAAuB,MAAM,2BAA2B,CAAC;AAQ5E,UAAU,SAAS;IACjB,gBAAgB,EAAE,KAAK,GAAG,UAAU,EAAE,CAAC;IACvC,YAAY,EAAE,OAAO,CAAC;CACvB;AAcD,wBAAgB,WAAW,CAAC,EAAE,gBAAgB,EAAE,YAAY,EAAE,EAAE,SAAS,eAmFxE"}
@@ -0,0 +1,3 @@
1
+ import { RangoClient } from 'rango-sdk';
2
+ export declare const httpService: RangoClient;
3
+ //# sourceMappingURL=httpService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpService.d.ts","sourceRoot":"","sources":["../src/services/httpService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,eAAO,MAAM,WAAW,aAEvB,CAAC"}