@rango-dev/widget-embedded 0.32.2-next.6 → 0.32.2-next.8

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.32.2-next.6",
3
+ "version": "0.32.2-next.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -30,7 +30,7 @@
30
30
  "@rango-dev/queue-manager-rango-preset": "^0.36.1-next.2",
31
31
  "@rango-dev/queue-manager-react": "^0.27.0",
32
32
  "@rango-dev/signer-solana": "^0.31.1-next.1",
33
- "@rango-dev/ui": "^0.38.1-next.2",
33
+ "@rango-dev/ui": "^0.38.1-next.3",
34
34
  "@rango-dev/wallets-core": "^0.37.1-next.1",
35
35
  "@rango-dev/wallets-react": "^0.22.1-next.2",
36
36
  "@rango-dev/wallets-shared": "^0.36.1-next.2",
@@ -54,4 +54,4 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
57
- }
57
+ }
@@ -97,9 +97,12 @@ export function DerivationPath(props: PropTypes) {
97
97
  <MessageBox
98
98
  type="info"
99
99
  title={i18n.t('Select Derivation Path')}
100
- description={i18n.t(
101
- `In order to connect to ${type}, you must first select a Derivation Path`
102
- )}
100
+ description={i18n.t({
101
+ id: 'In order to connect to {type}, you must first select a Derivation Path',
102
+ values: {
103
+ type,
104
+ },
105
+ })}
103
106
  icon={
104
107
  <LogoContainer>
105
108
  <WalletImageContainer>
@@ -51,9 +51,12 @@ export function useFetchCustomToken(): UseFetchCustomToken {
51
51
  case 'not-found':
52
52
  return {
53
53
  title: i18n.t('Token Not Found'),
54
- message: i18n.t(
55
- `Sorry, no token was found on ${blockchain} blockchain with the provided address. please make sure you have entered the right token address.`
56
- ),
54
+ message: i18n.t({
55
+ id: 'Sorry, no token was found on {blockchain} blockchain with the provided address. please make sure you have entered the right token address.',
56
+ values: {
57
+ blockchain,
58
+ },
59
+ }),
57
60
  };
58
61
  }
59
62
  }