@rango-dev/widget-embedded 0.31.1-next.5 → 0.31.1-next.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.31.1-next.5",
3
+ "version": "0.31.1-next.7",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -25,12 +25,12 @@
25
25
  "@lingui/core": "4.2.1",
26
26
  "@lingui/react": "4.2.1",
27
27
  "@rango-dev/logging-core": "^0.6.0",
28
- "@rango-dev/provider-all": "^0.36.1-next.2",
28
+ "@rango-dev/provider-all": "^0.36.1-next.3",
29
29
  "@rango-dev/queue-manager-core": "^0.27.0",
30
30
  "@rango-dev/queue-manager-rango-preset": "^0.36.1-next.0",
31
31
  "@rango-dev/queue-manager-react": "^0.27.0",
32
- "@rango-dev/signer-solana": "^0.31.1-next.0",
33
- "@rango-dev/ui": "^0.37.1-next.2",
32
+ "@rango-dev/signer-solana": "^0.31.1-next.1",
33
+ "@rango-dev/ui": "^0.37.1-next.3",
34
34
  "@rango-dev/wallets-core": "^0.37.1-next.0",
35
35
  "@rango-dev/wallets-react": "^0.22.1-next.0",
36
36
  "@rango-dev/wallets-shared": "^0.36.1-next.0",
@@ -2,6 +2,7 @@ import { i18n } from '@lingui/core';
2
2
  import {
3
3
  Divider,
4
4
  InfoIcon,
5
+ SlippageIcon,
5
6
  TextField,
6
7
  Tooltip,
7
8
  Typography,
@@ -31,6 +32,8 @@ export function Slippage() {
31
32
  return (
32
33
  <BaseContainer>
33
34
  <Head>
35
+ <SlippageIcon size={16} color="gray" />
36
+ <Divider direction="horizontal" size={4} />
34
37
  <Typography variant="title" size="xmedium">
35
38
  {i18n.t('Slippage tolerance per swap')}
36
39
  </Typography>
package/src/index.ts CHANGED
@@ -63,6 +63,7 @@ import { WidgetWallets } from './containers/Wallets';
63
63
  import { Widget } from './containers/Widget';
64
64
  import { useWidget } from './containers/WidgetInfo';
65
65
  import { WidgetProvider } from './containers/WidgetProvider';
66
+ import { useStatefulConnect } from './hooks/useStatefulConnect';
66
67
  import { useWalletList } from './hooks/useWalletList';
67
68
  import { useWidgetEvents } from './hooks/useWidgetEvents';
68
69
  import { widgetEventEmitter } from './services/eventEmitter';
@@ -119,6 +120,7 @@ export {
119
120
  WidgetProvider,
120
121
  useWidget,
121
122
  useWallets,
123
+ useStatefulConnect,
122
124
  /**
123
125
  * @deprecated Use `widgetEventEmitter` instead. This hook will be removed in future versions.
124
126
  */