@rango-dev/widget-embedded 0.8.1-next.13 → 0.8.1-next.14

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 (41) hide show
  1. package/dist/QueueManager.d.ts +2 -2
  2. package/dist/QueueManager.d.ts.map +1 -1
  3. package/dist/Wallets.d.ts +1 -1
  4. package/dist/Wallets.d.ts.map +1 -1
  5. package/dist/Widget.d.ts +3 -3
  6. package/dist/Widget.d.ts.map +1 -1
  7. package/dist/components/AppRouter.d.ts +2 -2
  8. package/dist/components/AppRouter.d.ts.map +1 -1
  9. package/dist/components/ConfirmSwapErrors.d.ts +2 -2
  10. package/dist/components/ConfirmSwapErrors.d.ts.map +1 -1
  11. package/dist/components/Layout.d.ts +2 -2
  12. package/dist/components/Layout.d.ts.map +1 -1
  13. package/dist/components/PercentageChange.d.ts +2 -2
  14. package/dist/components/PercentageChange.d.ts.map +1 -1
  15. package/dist/components/RoutesOverview.d.ts +2 -2
  16. package/dist/components/RoutesOverview.d.ts.map +1 -1
  17. package/dist/components/SwapDetailsPlaceholder.d.ts +2 -2
  18. package/dist/components/SwapDetailsPlaceholder.d.ts.map +1 -1
  19. package/dist/components/TokenInfo.d.ts +2 -2
  20. package/dist/components/TokenInfo.d.ts.map +1 -1
  21. package/dist/components/TokenPreview.d.ts +2 -2
  22. package/dist/components/TokenPreview.d.ts.map +1 -1
  23. package/dist/pages/ConfirmSwapPage.d.ts +2 -2
  24. package/dist/pages/ConfirmSwapPage.d.ts.map +1 -1
  25. package/dist/pages/HistoryPage.d.ts +2 -2
  26. package/dist/pages/HistoryPage.d.ts.map +1 -1
  27. package/dist/pages/Home.d.ts +2 -2
  28. package/dist/pages/Home.d.ts.map +1 -1
  29. package/dist/pages/LiquiditySourcesPage.d.ts +2 -2
  30. package/dist/pages/LiquiditySourcesPage.d.ts.map +1 -1
  31. package/dist/pages/SelectChainPage.d.ts +2 -2
  32. package/dist/pages/SelectChainPage.d.ts.map +1 -1
  33. package/dist/pages/SelectTokenPage.d.ts +2 -2
  34. package/dist/pages/SelectTokenPage.d.ts.map +1 -1
  35. package/dist/pages/SettingsPage.d.ts +2 -2
  36. package/dist/pages/SettingsPage.d.ts.map +1 -1
  37. package/dist/pages/SwapDetailsPage.d.ts +2 -2
  38. package/dist/pages/SwapDetailsPage.d.ts.map +1 -1
  39. package/dist/pages/WalletsPage.d.ts +2 -2
  40. package/dist/pages/WalletsPage.d.ts.map +1 -1
  41. package/package.json +6 -6
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren } from 'react';
2
- declare function QueueManager(props: PropsWithChildren): JSX.Element;
1
+ import React, { PropsWithChildren } from 'react';
2
+ declare function QueueManager(props: PropsWithChildren): React.JSX.Element;
3
3
  export default QueueManager;
4
4
  //# sourceMappingURL=QueueManager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueueManager.d.ts","sourceRoot":"","sources":["../src/QueueManager.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAmB1D,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,eAoF7C;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"QueueManager.d.ts","sourceRoot":"","sources":["../src/QueueManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAmB1D,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,qBAoF7C;AAED,eAAe,YAAY,CAAC"}
package/dist/Wallets.d.ts CHANGED
@@ -11,6 +11,6 @@ export declare function WidgetWallets(props: PropsWithChildren<{
11
11
  providers: WidgetConfig['wallets'];
12
12
  options?: ProvidersOptions;
13
13
  onUpdateState?: EventHandler;
14
- }>): JSX.Element;
14
+ }>): React.JSX.Element;
15
15
  export {};
16
16
  //# sourceMappingURL=Wallets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../src/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AASvD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,KAAK,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AAC9C,UAAU,sBAAsB;IAC9B,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAEH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,iBAAiB,CAAC;IACvB,SAAS,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC,eA2EH"}
1
+ {"version":3,"file":"Wallets.d.ts","sourceRoot":"","sources":["../src/Wallets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AASvD,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,KAAK,gBAAgB,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;AAC9C,UAAU,sBAAsB;IAC9B,eAAe,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,aAAa,uCAIxB,CAAC;AAEH,wBAAgB,aAAa,CAC3B,KAAK,EAAE,iBAAiB,CAAC;IACvB,SAAS,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,aAAa,CAAC,EAAE,YAAY,CAAC;CAC9B,CAAC,qBA2EH"}
package/dist/Widget.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { WidgetConfig } from './types';
3
3
  export type WidgetProps = {
4
4
  config?: WidgetConfig;
5
5
  };
6
- export declare function Main(props: PropsWithChildren<WidgetProps>): JSX.Element;
7
- export declare function Widget(props: PropsWithChildren<WidgetProps>): JSX.Element;
6
+ export declare function Main(props: PropsWithChildren<WidgetProps>): React.JSX.Element;
7
+ export declare function Widget(props: PropsWithChildren<WidgetProps>): React.JSX.Element;
8
8
  //# sourceMappingURL=Widget.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../src/Widget.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAevC,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,wBAAgB,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,eA0CzD;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,eAa3D"}
1
+ {"version":3,"file":"Widget.d.ts","sourceRoot":"","sources":["../src/Widget.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EAKlB,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAevC,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,wBAAgB,IAAI,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,qBA0CzD;AAED,wBAAgB,MAAM,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,qBAa3D"}
@@ -1,8 +1,8 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { WalletType } from '@rango-dev/wallets-shared';
3
3
  export declare function AppRouter({ children, ...props }: PropsWithChildren & {
4
4
  lastConnectedWallet: string;
5
5
  disconnectedWallet: WalletType | undefined;
6
6
  clearDisconnectedWallet: () => void;
7
- }): JSX.Element;
7
+ }): React.JSX.Element;
8
8
  //# sourceMappingURL=AppRouter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../src/components/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMvD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,UAAU,GAAG,SAAS,CAAC;IAC3C,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACrC,eAsBA"}
1
+ {"version":3,"file":"AppRouter.d.ts","sourceRoot":"","sources":["../../src/components/AppRouter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG3D,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAMvD,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG;IACrB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,kBAAkB,EAAE,UAAU,GAAG,SAAS,CAAC;IAC3C,uBAAuB,EAAE,MAAM,IAAI,CAAC;CACrC,qBAsBA"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { ConfirmSwapError } from '../types';
3
- export declare function ConfirmSwapErrors(errors: ConfirmSwapError[]): (string | JSX.Element)[];
3
+ export declare function ConfirmSwapErrors(errors: ConfirmSwapError[]): (string | React.JSX.Element)[];
4
4
  //# sourceMappingURL=ConfirmSwapErrors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmSwapErrors.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmSwapErrors.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,4BA2B3D"}
1
+ {"version":3,"file":"ConfirmSwapErrors.d.ts","sourceRoot":"","sources":["../../src/components/ConfirmSwapErrors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAyB,MAAM,UAAU,CAAC;AAInE,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,EAAE,kCA2B3D"}
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { WidgetConfig } from '../types';
3
3
  export type LayoutProps = {
4
4
  config?: WidgetConfig;
5
5
  };
6
- export declare function Layout({ config }: LayoutProps): JSX.Element;
6
+ export declare function Layout({ config }: LayoutProps): React.JSX.Element;
7
7
  //# sourceMappingURL=Layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":";AAqBA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA4BxC,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,eAwG7C"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../src/components/Layout.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAazC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AA4BxC,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,wBAAgB,MAAM,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,qBAwG7C"}
@@ -1,9 +1,9 @@
1
- /// <reference types="react" />
2
1
  import BigNumber from 'bignumber.js';
2
+ import React from 'react';
3
3
  interface PropTypes {
4
4
  inputUsdValue: BigNumber | null;
5
5
  outputUsdValue: BigNumber | null;
6
6
  }
7
- export declare function PercentageChange(props: PropTypes): JSX.Element | null;
7
+ export declare function PercentageChange(props: PropTypes): React.JSX.Element | null;
8
8
  export {};
9
9
  //# sourceMappingURL=PercentageChange.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PercentageChange.d.ts","sourceRoot":"","sources":["../../src/components/PercentageChange.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAMrC,UAAU,SAAS;IACjB,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;CAClC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,sBAqBhD"}
1
+ {"version":3,"file":"PercentageChange.d.ts","sourceRoot":"","sources":["../../src/components/PercentageChange.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,SAAS;IACjB,aAAa,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,cAAc,EAAE,SAAS,GAAG,IAAI,CAAC;CAClC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,4BAqBhD"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BestRouteResponse } from 'rango-sdk';
3
3
  export declare const Container: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
4
4
  sm: string;
@@ -115,6 +115,6 @@ interface PropTypes {
115
115
  routes: BestRouteResponse | null;
116
116
  totalFee?: string;
117
117
  }
118
- declare function RoutesOverview(props: PropTypes): JSX.Element | null;
118
+ declare function RoutesOverview(props: PropTypes): React.JSX.Element | null;
119
119
  export default RoutesOverview;
120
120
  //# sourceMappingURL=RoutesOverview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RoutesOverview.d.ts","sourceRoot":"","sources":["../../src/components/RoutesOverview.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAkBpB,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"}
1
+ {"version":3,"file":"RoutesOverview.d.ts","sourceRoot":"","sources":["../../src/components/RoutesOverview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAkBpB,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,4BA0BvC;AAED,eAAe,cAAc,CAAC"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const LoaderContainer: import("@stitches/react/types/styled-component").StyledComponent<"div", {}, {
3
3
  sm: string;
4
4
  md: string;
@@ -115,6 +115,6 @@ interface PropTypes {
115
115
  loading: boolean;
116
116
  onBack: () => void;
117
117
  }
118
- export declare function SwapDetailsPlaceholder(props: PropTypes): JSX.Element;
118
+ export declare function SwapDetailsPlaceholder(props: PropTypes): React.JSX.Element;
119
119
  export {};
120
120
  //# sourceMappingURL=SwapDetailsPlaceholder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetailsPlaceholder.d.ts","sourceRoot":"","sources":["../../src/components/SwapDetailsPlaceholder.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC;AAEH,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,eA0BtD"}
1
+ {"version":3,"file":"SwapDetailsPlaceholder.d.ts","sourceRoot":"","sources":["../../src/components/SwapDetailsPlaceholder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+DAM1B,CAAC;AAEH,UAAU,SAAS;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,SAAS,qBA0BtD"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BlockchainMeta, Token } from 'rango-sdk';
3
3
  import BigNumber from 'bignumber.js';
4
4
  type PropTypes = ({
@@ -13,6 +13,6 @@ type PropTypes = ({
13
13
  chain: BlockchainMeta | null;
14
14
  token: Token | null;
15
15
  };
16
- export declare function TokenInfo(props: PropTypes): JSX.Element;
16
+ export declare function TokenInfo(props: PropTypes): React.JSX.Element;
17
17
  export {};
18
18
  //# sourceMappingURL=TokenInfo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenInfo.d.ts","sourceRoot":"","sources":["../../src/components/TokenInfo.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,SAAS,MAAM,cAAc,CAAC;AAOrC,KAAK,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;AA4F1D,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,eA0MzC"}
1
+ {"version":3,"file":"TokenInfo.d.ts","sourceRoot":"","sources":["../../src/components/TokenInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAIlD,OAAO,SAAS,MAAM,cAAc,CAAC;AAOrC,KAAK,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;AA4F1D,wBAAgB,SAAS,CAAC,KAAK,EAAE,SAAS,qBA0MzC"}
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { LoadingStatus } from '../store/meta';
3
3
  import BigNumber from 'bignumber.js';
4
4
  interface PropTypes {
@@ -16,6 +16,6 @@ interface PropTypes {
16
16
  };
17
17
  percentageChange?: ReactNode;
18
18
  }
19
- export declare function TokenPreview(props: PropTypes): JSX.Element;
19
+ export declare function TokenPreview(props: PropTypes): React.JSX.Element;
20
20
  export {};
21
21
  //# sourceMappingURL=TokenPreview.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TokenPreview.d.ts","sourceRoot":"","sources":["../../src/components/TokenPreview.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASzC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,SAAS,MAAM,cAAc,CAAC;AA8ErC,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,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;IACF,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,eAiF5C"}
1
+ {"version":3,"file":"TokenPreview.d.ts","sourceRoot":"","sources":["../../src/components/TokenPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASzC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,SAAS,MAAM,cAAc,CAAC;AA8ErC,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,GAAG,IAAI,CAAC;IAC3B,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;IACF,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,SAAS,qBAiF5C"}
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare function ConfirmSwapPage({ customDestinationEnabled, }: {
3
3
  customDestinationEnabled?: boolean;
4
- }): JSX.Element;
4
+ }): React.JSX.Element;
5
5
  //# sourceMappingURL=ConfirmSwapPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConfirmSwapPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConfirmSwapPage.tsx"],"names":[],"mappings":";AAyCA,wBAAgB,eAAe,CAAC,EAC9B,wBAAwB,GACzB,EAAE;IACD,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,eAgNA"}
1
+ {"version":3,"file":"ConfirmSwapPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConfirmSwapPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAyCnD,wBAAgB,eAAe,CAAC,EAC9B,wBAAwB,GACzB,EAAE;IACD,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC,qBAgNA"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export declare function HistoryPage(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function HistoryPage(): React.JSX.Element;
3
3
  //# sourceMappingURL=HistoryPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HistoryPage.d.ts","sourceRoot":"","sources":["../../src/pages/HistoryPage.tsx"],"names":[],"mappings":";AAUA,wBAAgB,WAAW,gBAqB1B"}
1
+ {"version":3,"file":"HistoryPage.d.ts","sourceRoot":"","sources":["../../src/pages/HistoryPage.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,wBAAgB,WAAW,sBAqB1B"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export declare function Home(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function Home(): React.JSX.Element;
3
3
  //# sourceMappingURL=Home.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../src/pages/Home.tsx"],"names":[],"mappings":";AA0EA,wBAAgB,IAAI,gBA+JnB"}
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../src/pages/Home.tsx"],"names":[],"mappings":"AAWA,OAAO,KAA8B,MAAM,OAAO,CAAC;AA+DnD,wBAAgB,IAAI,sBA+JnB"}
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  supportedSwappers?: string[];
4
4
  }
5
- export declare function LiquiditySourcePage({ supportedSwappers }: PropTypes): JSX.Element;
5
+ export declare function LiquiditySourcePage({ supportedSwappers }: PropTypes): React.JSX.Element;
6
6
  export {};
7
7
  //# sourceMappingURL=LiquiditySourcesPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LiquiditySourcesPage.d.ts","sourceRoot":"","sources":["../../src/pages/LiquiditySourcesPage.tsx"],"names":[],"mappings":";AAOA,UAAU,SAAS;IACjB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AACD,wBAAgB,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,EAAE,SAAS,eAoDnE"}
1
+ {"version":3,"file":"LiquiditySourcesPage.d.ts","sourceRoot":"","sources":["../../src/pages/LiquiditySourcesPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,SAAS;IACjB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC9B;AACD,wBAAgB,mBAAmB,CAAC,EAAE,iBAAiB,EAAE,EAAE,SAAS,qBAoDnE"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  type: 'from' | 'to';
4
4
  supportedChains?: string[];
5
5
  }
6
- export declare function SelectChainPage(props: PropTypes): JSX.Element;
6
+ export declare function SelectChainPage(props: PropTypes): React.JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=SelectChainPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectChainPage.d.ts","sourceRoot":"","sources":["../../src/pages/SelectChainPage.tsx"],"names":[],"mappings":";AAOA,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,eA6B/C"}
1
+ {"version":3,"file":"SelectChainPage.d.ts","sourceRoot":"","sources":["../../src/pages/SelectChainPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,SAAS,qBA6B/C"}
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { Asset, Token } from 'rango-sdk';
3
3
  interface PropTypes {
4
4
  type: 'from' | 'to';
@@ -10,6 +10,6 @@ export interface TokenWithBalance extends Token {
10
10
  usdValue: string;
11
11
  };
12
12
  }
13
- export declare function SelectTokenPage(props: PropTypes): JSX.Element;
13
+ export declare function SelectTokenPage(props: PropTypes): React.JSX.Element;
14
14
  export {};
15
15
  //# sourceMappingURL=SelectTokenPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectTokenPage.d.ts","sourceRoot":"","sources":["../../src/pages/SelectTokenPage.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAMzC,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC;CAC3B;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,eA0C/C"}
1
+ {"version":3,"file":"SelectTokenPage.d.ts","sourceRoot":"","sources":["../../src/pages/SelectTokenPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAMzC,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,EAAE,CAAC;CAC3B;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,qBA0C/C"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface PropTypes {
3
3
  supportedSwappers?: string[];
4
4
  singleTheme?: boolean;
5
5
  }
6
- export declare function SettingsPage({ supportedSwappers, singleTheme }: PropTypes): JSX.Element;
6
+ export declare function SettingsPage({ supportedSwappers, singleTheme }: PropTypes): React.JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=SettingsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SettingsPage.tsx"],"names":[],"mappings":";AAaA,UAAU,SAAS;IACjB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AACD,wBAAgB,YAAY,CAAC,EAAE,iBAAiB,EAAE,WAAW,EAAE,EAAE,SAAS,eA2EzE"}
1
+ {"version":3,"file":"SettingsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SettingsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,UAAU,SAAS;IACjB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AACD,wBAAgB,YAAY,CAAC,EAAE,iBAAiB,EAAE,WAAW,EAAE,EAAE,SAAS,qBA2EzE"}
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- export declare function SwapDetailsPage(): JSX.Element;
1
+ import React from 'react';
2
+ export declare function SwapDetailsPage(): React.JSX.Element;
3
3
  //# sourceMappingURL=SwapDetailsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwapDetailsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SwapDetailsPage.tsx"],"names":[],"mappings":";AA6BA,wBAAgB,eAAe,gBAqI9B"}
1
+ {"version":3,"file":"SwapDetailsPage.d.ts","sourceRoot":"","sources":["../../src/pages/SwapDetailsPage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AA6B1B,wBAAgB,eAAe,sBAqI9B"}
@@ -1,10 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { WidgetConfig } from '../types';
3
3
  interface PropTypes {
4
4
  supportedWallets: WidgetConfig['wallets'];
5
5
  multiWallets: boolean;
6
6
  config?: WidgetConfig;
7
7
  }
8
- export declare function WalletsPage({ supportedWallets, multiWallets, config, }: PropTypes): JSX.Element;
8
+ export declare function WalletsPage({ supportedWallets, multiWallets, config, }: PropTypes): React.JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=WalletsPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalletsPage.d.ts","sourceRoot":"","sources":["../../src/pages/WalletsPage.tsx"],"names":[],"mappings":";AAwBA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,UAAU,SAAS;IACjB,gBAAgB,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAyBD,wBAAgB,WAAW,CAAC,EAC1B,gBAAgB,EAChB,YAAY,EACZ,MAAM,GACP,EAAE,SAAS,eA2FX"}
1
+ {"version":3,"file":"WalletsPage.d.ts","sourceRoot":"","sources":["../../src/pages/WalletsPage.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAgB3D,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,UAAU,SAAS;IACjB,gBAAgB,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;IAC1C,YAAY,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB;AAyBD,wBAAgB,WAAW,CAAC,EAC1B,gBAAgB,EAChB,YAAY,EACZ,MAAM,GACP,EAAE,SAAS,qBA2FX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.8.1-next.13",
3
+ "version": "0.8.1-next.14",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -19,11 +19,11 @@
19
19
  "dependencies": {
20
20
  "@lingui/core": "4.2.1",
21
21
  "@lingui/react": "4.2.1",
22
- "@rango-dev/provider-all": "^0.8.1-next.7",
23
- "@rango-dev/queue-manager-core": "^0.8.1-next.6",
24
- "@rango-dev/queue-manager-rango-preset": "^0.8.1-next.13",
25
- "@rango-dev/queue-manager-react": "^0.8.1-next.8",
26
- "@rango-dev/ui": "^0.8.1-next.14",
22
+ "@rango-dev/provider-all": "^0.8.1-next.8",
23
+ "@rango-dev/queue-manager-core": "^0.8.1-next.7",
24
+ "@rango-dev/queue-manager-rango-preset": "^0.8.1-next.14",
25
+ "@rango-dev/queue-manager-react": "^0.8.1-next.9",
26
+ "@rango-dev/ui": "^0.8.1-next.15",
27
27
  "@rango-dev/wallets-core": "^0.8.1-next.6",
28
28
  "@rango-dev/wallets-shared": "^0.8.1-next.7",
29
29
  "bignumber.js": "^9.1.1",