@rango-dev/widget-embedded 0.50.1-next.6 → 0.50.1-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.50.1-next.6",
3
+ "version": "0.50.1-next.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -25,15 +25,15 @@
25
25
  "@lingui/core": "4.2.1",
26
26
  "@lingui/react": "4.2.1",
27
27
  "@rango-dev/logging-core": "^0.11.0",
28
- "@rango-dev/provider-all": "^0.52.1-next.4",
28
+ "@rango-dev/provider-all": "^0.52.1-next.5",
29
29
  "@rango-dev/queue-manager-core": "^0.32.0",
30
- "@rango-dev/queue-manager-rango-preset": "^0.52.1-next.3",
30
+ "@rango-dev/queue-manager-rango-preset": "^0.52.1-next.4",
31
31
  "@rango-dev/queue-manager-react": "^0.32.0",
32
32
  "@rango-dev/signer-solana": "^0.44.0",
33
- "@rango-dev/ui": "^0.53.1-next.5",
34
- "@rango-dev/wallets-core": "^0.49.1-next.3",
35
- "@rango-dev/wallets-react": "^0.36.1-next.3",
36
- "@rango-dev/wallets-shared": "^0.50.1-next.3",
33
+ "@rango-dev/ui": "^0.53.1-next.6",
34
+ "@rango-dev/wallets-core": "^0.49.1-next.4",
35
+ "@rango-dev/wallets-react": "^0.36.1-next.4",
36
+ "@rango-dev/wallets-shared": "^0.50.1-next.4",
37
37
  "bignumber.js": "^9.1.1",
38
38
  "copy-to-clipboard": "^3.3.3",
39
39
  "dayjs": "^1.11.7",
@@ -54,4 +54,4 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  }
57
- }
57
+ }
@@ -25,6 +25,7 @@ export function Detached(props: PropTypes) {
25
25
  value,
26
26
  selectedNamespaces,
27
27
  onConfirm,
28
+ confirmText = i18n.t('Done'),
28
29
  onDisconnectWallet,
29
30
  navigateToDerivationPath,
30
31
  } = props;
@@ -173,7 +174,7 @@ export function Detached(props: PropTypes) {
173
174
  id="widget-name-space-confirm-btn"
174
175
  type="primary"
175
176
  onClick={onConfirm}>
176
- {i18n.t('Done')}
177
+ {confirmText}
177
178
  </StyledButton>
178
179
  </>
179
180
  );
@@ -4,6 +4,7 @@ import type { Namespace } from '@rango-dev/wallets-core/namespaces/common';
4
4
  export interface PropTypes {
5
5
  value: NeedsNamespacesState;
6
6
  onConfirm: () => void;
7
+ confirmText?: string;
7
8
  onDisconnectWallet: () => void;
8
9
  selectedNamespaces:
9
10
  | { namespace: Namespace; derivationPath?: string }[]