@dynamic-labs/sdk-react-core 1.1.0-alpha.6 → 1.1.0-alpha.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.
Files changed (84) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.cjs +2 -2
  3. package/package.js +2 -2
  4. package/package.json +12 -11
  5. package/src/index.cjs +2 -0
  6. package/src/index.js +1 -0
  7. package/src/lib/components/ChainCard/ChainCard.d.ts +2 -2
  8. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.cjs +5 -1
  9. package/src/lib/components/SelectWalletChainLayout/SelectWalletChainLayout.js +5 -1
  10. package/src/lib/context/DynamicContext/DynamicContext.cjs +18 -3
  11. package/src/lib/context/DynamicContext/DynamicContext.js +18 -3
  12. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.cjs +29 -7
  13. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.d.ts +4 -4
  14. package/src/lib/context/DynamicContext/hooks/useSetShowAuthFlowWithInit/useSetShowAuthFlowWithInit.js +29 -7
  15. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModalWithInit/index.d.ts +1 -0
  16. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModalWithInit/useSetShowLinkNewWalletModalWithInit.cjs +54 -0
  17. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModalWithInit/useSetShowLinkNewWalletModalWithInit.d.ts +18 -0
  18. package/src/lib/context/DynamicContext/hooks/useSetShowLinkNewWalletModalWithInit/useSetShowLinkNewWalletModalWithInit.js +50 -0
  19. package/src/lib/context/DynamicContext/types/index.d.ts +1 -0
  20. package/src/lib/context/DynamicContext/useDynamicContext.cjs +2 -1
  21. package/src/lib/context/DynamicContext/useDynamicContext.d.ts +1 -1
  22. package/src/lib/context/DynamicContext/useDynamicContext.js +2 -1
  23. package/src/lib/context/FundingContext/FundingContext.cjs +4 -1
  24. package/src/lib/context/FundingContext/FundingContext.js +4 -1
  25. package/src/lib/context/ViewContext/ViewContext.d.ts +1 -1
  26. package/src/lib/locale/en/translation.cjs +20 -2
  27. package/src/lib/locale/en/translation.d.ts +19 -1
  28. package/src/lib/locale/en/translation.js +20 -2
  29. package/src/lib/shared/assets/alt-key.cjs +54 -0
  30. package/src/lib/shared/assets/alt-key.js +30 -0
  31. package/src/lib/shared/assets/index.d.ts +1 -0
  32. package/src/lib/styles/index.shadow.cjs +1 -1
  33. package/src/lib/styles/index.shadow.js +1 -1
  34. package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.cjs +13 -2
  35. package/src/lib/utils/functions/walletListBuilder/utils/filterConnectedWallets/filterConnectedWallets.js +13 -2
  36. package/src/lib/utils/hooks/index.d.ts +1 -0
  37. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.cjs +3 -2
  38. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.d.ts +6 -1
  39. package/src/lib/utils/hooks/multiWallet/useMultiWallet/useMultiWallet.js +3 -2
  40. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +2 -1
  41. package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +2 -1
  42. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.cjs +18 -11
  43. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.d.ts +1 -1
  44. package/src/lib/utils/hooks/useEmbeddedReveal/useEmbeddedReveal.js +18 -11
  45. package/src/lib/utils/hooks/useWalletConnectorNetwork/index.d.ts +1 -0
  46. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.cjs +42 -0
  47. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.d.ts +18 -0
  48. package/src/lib/utils/hooks/useWalletConnectorNetwork/useWalletConnectorNetwork.js +38 -0
  49. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +19 -17
  50. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +19 -17
  51. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +55 -30
  52. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.d.ts +7 -1
  53. package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +55 -31
  54. package/src/lib/views/LoginView/LoginView.cjs +60 -7
  55. package/src/lib/views/LoginView/LoginView.js +60 -7
  56. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.cjs +3 -4
  57. package/src/lib/views/NetworkNotSupported/NetworkNotSupported.js +3 -4
  58. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.cjs +3 -6
  59. package/src/lib/views/NetworkNotSupportedSwitchManual/NetworkNotSupportedSwitchManual.js +3 -6
  60. package/src/lib/views/WalletGroupView/WalletGroupView.cjs +70 -1
  61. package/src/lib/views/WalletGroupView/WalletGroupView.js +71 -2
  62. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.cjs +72 -0
  63. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.d.ts +7 -0
  64. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/HardwareWalletToggle.js +68 -0
  65. package/src/lib/views/WalletGroupView/components/HardwareWalletToggle/index.d.ts +1 -0
  66. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.cjs +2 -4
  67. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.d.ts +2 -1
  68. package/src/lib/views/WalletGroupView/components/WalletGroupItem/WalletGroupItem.js +2 -4
  69. package/src/lib/views/viewToComponentMap.cjs +1 -0
  70. package/src/lib/views/viewToComponentMap.js +1 -0
  71. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.cjs +76 -0
  72. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.d.ts +9 -0
  73. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/ActiveBitcoinWalletAddresses.js +72 -0
  74. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveBitcoinWalletAddresses/index.d.ts +1 -0
  75. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.cjs +67 -0
  76. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.d.ts +9 -0
  77. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/ActiveWalletAddress.js +63 -0
  78. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletAddress/index.d.ts +1 -0
  79. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +7 -5
  80. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +7 -5
  81. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.cjs +8 -6
  82. package/src/lib/widgets/DynamicWidget/views/WalletSettingsView/WalletSettingsView.js +8 -6
  83. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.cjs +2 -2
  84. package/src/lib/widgets/DynamicWidget/views/WalletsView/WalletsView.js +2 -2
@@ -6,6 +6,7 @@ var _tslib = require('../../../../_virtual/_tslib.cjs');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
7
  var React = require('react');
8
8
  var walletConnectorCore = require('@dynamic-labs/wallet-connector-core');
9
+ var bitcoin = require('@dynamic-labs/bitcoin');
9
10
  var api = require('../../data/api.cjs');
10
11
  var useInternalDynamicContext = require('../DynamicContext/useInternalDynamicContext.cjs');
11
12
  require('@dynamic-labs/sdk-api');
@@ -39,13 +40,15 @@ const FundingContextProvider = ({ children, }) => {
39
40
  const chainName = (_c = walletConnectorCore.getChainInfo(primaryWallet.chain)) === null || _c === void 0 ? void 0 : _c.name;
40
41
  if (!chainName)
41
42
  return;
43
+ const bitcoinAddress = bitcoin.isBitcoinConnector(primaryWallet.connector) &&
44
+ (yield primaryWallet.connector.getPaymentAddress());
42
45
  try {
43
46
  const [{ url }] = yield api.getOnrampProviders({
44
47
  chain: chainName,
45
48
  environmentId,
46
49
  networkId: network ? network.toString() : undefined,
47
50
  token,
48
- walletAddress: address ? address : primaryWallet.address,
51
+ walletAddress: address || bitcoinAddress || primaryWallet.address,
49
52
  });
50
53
  if (!url)
51
54
  throw new Error('No onramp url found');
@@ -2,6 +2,7 @@ import { __awaiter } from '../../../../_virtual/_tslib.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { createContext, useContext, useRef, useState, useCallback, useMemo, useEffect } from 'react';
4
4
  import { getChainInfo } from '@dynamic-labs/wallet-connector-core';
5
+ import { isBitcoinConnector } from '@dynamic-labs/bitcoin';
5
6
  import { getOnrampProviders } from '../../data/api.js';
6
7
  import { useInternalDynamicContext } from '../DynamicContext/useInternalDynamicContext.js';
7
8
  import '@dynamic-labs/sdk-api';
@@ -35,13 +36,15 @@ const FundingContextProvider = ({ children, }) => {
35
36
  const chainName = (_c = getChainInfo(primaryWallet.chain)) === null || _c === void 0 ? void 0 : _c.name;
36
37
  if (!chainName)
37
38
  return;
39
+ const bitcoinAddress = isBitcoinConnector(primaryWallet.connector) &&
40
+ (yield primaryWallet.connector.getPaymentAddress());
38
41
  try {
39
42
  const [{ url }] = yield getOnrampProviders({
40
43
  chain: chainName,
41
44
  environmentId,
42
45
  networkId: network ? network.toString() : undefined,
43
46
  token,
44
- walletAddress: address ? address : primaryWallet.address,
47
+ walletAddress: address || bitcoinAddress || primaryWallet.address,
45
48
  });
46
49
  if (!url)
47
50
  throw new Error('No onramp url found');
@@ -1,5 +1,5 @@
1
1
  import { Dispatch, FC, PropsWithChildren, SetStateAction } from 'react';
2
- export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'multi-wallet-wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'wallet-locked-view' | 'social-wrong-account' | 'gate-blocked-wallet' | 'bridge-welcome' | 'bridge-summary' | 'bridge-next-wallet-connection' | 'account-exists' | 'merge-user-accounts' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'embedded-reveal-view';
2
+ export type ViewType = 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-with-email' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'network-not-supported' | 'network-not-supported-manual' | 'no-access' | 'no-qr-not-installed' | 'pending-connect' | 'pending-signature-without-back-button' | 'pending-signature' | 'qr-code' | 'update-email' | 'verify-email' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'multi-wallet-wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'wait-for-email-confirmation-view' | 'email-wallet-otp-verification-view' | 'social-redirect-view' | 'wallet-locked-view' | 'social-wrong-account' | 'gate-blocked-wallet' | 'bridge-welcome' | 'bridge-summary' | 'bridge-next-wallet-connection' | 'account-exists' | 'merge-user-accounts' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'embedded-reveal-view' | 'embedded-reveal-account-view';
3
3
  export type ViewContextProps = {
4
4
  setView: Dispatch<SetStateAction<ViewType>>;
5
5
  view: ViewType;
@@ -23,14 +23,18 @@ const translation = {
23
23
  trail_message_social: 'through {{socialOauth}}',
24
24
  },
25
25
  /**
26
- * @description copy keys for showing an alert when a user is connected to a testnet network
26
+ * @description copy keys for active wallet information (address, network, etc)
27
27
  * @default
28
28
  * {
29
29
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
30
+ ordinals_address: 'Ordinals address',
31
+ payment_address: 'Payment address',
30
32
  }
31
33
  */
32
34
  dyn_active_wallet_info: {
33
35
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
36
+ ordinals_address: 'Ordinals address',
37
+ payment_address: 'Payment address',
34
38
  },
35
39
  /**
36
40
  * @description copy keys for bridge view
@@ -411,7 +415,7 @@ const translation = {
411
415
  },
412
416
  statement_2: {
413
417
  title: 'Do not publicly share your wallet key',
414
- description: 'Your recovery phrase controls your account and assets.',
418
+ description: 'Your {{credential_type}} controls your account and assets.',
415
419
  },
416
420
  checkbox_label: 'I am responsible for safeguarding and using my wallet key information.',
417
421
  reveal_description: 'Make sure to safely back up this information',
@@ -947,6 +951,20 @@ const translation = {
947
951
  gas_not_sponsored: 'The gas fee has increased. Confirm if you still want to complete this transaction.',
948
952
  },
949
953
  },
954
+ /**
955
+ * @description copy keys for Select Chain view
956
+ * @default
957
+ * {
958
+ description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
959
+ using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
960
+ using_hardware_wallet_toggle_info: 'To sign in with Ledger and Solana.',
961
+ }
962
+ */
963
+ dyn_select_chain: {
964
+ description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
965
+ using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
966
+ using_hardware_wallet_toggle_info: 'To sign in with Ledger and Solana.',
967
+ },
950
968
  /**
951
969
  * @description copy keys for sign message flow views
952
970
  * @default
@@ -18,14 +18,18 @@ export declare const translation: {
18
18
  trail_message_social: string;
19
19
  };
20
20
  /**
21
- * @description copy keys for showing an alert when a user is connected to a testnet network
21
+ * @description copy keys for active wallet information (address, network, etc)
22
22
  * @default
23
23
  * {
24
24
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
25
+ ordinals_address: 'Ordinals address',
26
+ payment_address: 'Payment address',
25
27
  }
26
28
  */
27
29
  dyn_active_wallet_info: {
28
30
  testnet_warning: string;
31
+ ordinals_address: string;
32
+ payment_address: string;
29
33
  };
30
34
  /**
31
35
  * @description copy keys for bridge view
@@ -942,6 +946,20 @@ export declare const translation: {
942
946
  gas_not_sponsored: string;
943
947
  };
944
948
  };
949
+ /**
950
+ * @description copy keys for Select Chain view
951
+ * @default
952
+ * {
953
+ description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
954
+ using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
955
+ using_hardware_wallet_toggle_info: 'To sign in with Ledger and Solana.',
956
+ }
957
+ */
958
+ dyn_select_chain: {
959
+ description: string;
960
+ using_hardware_wallet_toggle_label: string;
961
+ using_hardware_wallet_toggle_info: string;
962
+ };
945
963
  /**
946
964
  * @description copy keys for sign message flow views
947
965
  * @default
@@ -19,14 +19,18 @@ const translation = {
19
19
  trail_message_social: 'through {{socialOauth}}',
20
20
  },
21
21
  /**
22
- * @description copy keys for showing an alert when a user is connected to a testnet network
22
+ * @description copy keys for active wallet information (address, network, etc)
23
23
  * @default
24
24
  * {
25
25
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
26
+ ordinals_address: 'Ordinals address',
27
+ payment_address: 'Payment address',
26
28
  }
27
29
  */
28
30
  dyn_active_wallet_info: {
29
31
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
32
+ ordinals_address: 'Ordinals address',
33
+ payment_address: 'Payment address',
30
34
  },
31
35
  /**
32
36
  * @description copy keys for bridge view
@@ -407,7 +411,7 @@ const translation = {
407
411
  },
408
412
  statement_2: {
409
413
  title: 'Do not publicly share your wallet key',
410
- description: 'Your recovery phrase controls your account and assets.',
414
+ description: 'Your {{credential_type}} controls your account and assets.',
411
415
  },
412
416
  checkbox_label: 'I am responsible for safeguarding and using my wallet key information.',
413
417
  reveal_description: 'Make sure to safely back up this information',
@@ -943,6 +947,20 @@ const translation = {
943
947
  gas_not_sponsored: 'The gas fee has increased. Confirm if you still want to complete this transaction.',
944
948
  },
945
949
  },
950
+ /**
951
+ * @description copy keys for Select Chain view
952
+ * @default
953
+ * {
954
+ description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
955
+ using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
956
+ using_hardware_wallet_toggle_info: 'To sign in with Ledger and Solana.',
957
+ }
958
+ */
959
+ dyn_select_chain: {
960
+ description: "This wallet supports multiple chains. Select which chain you'd like to connect to",
961
+ using_hardware_wallet_toggle_label: 'Using Ledger with Solana',
962
+ using_hardware_wallet_toggle_info: 'To sign in with Ledger and Solana.',
963
+ },
946
964
  /**
947
965
  * @description copy keys for sign message flow views
948
966
  * @default
@@ -0,0 +1,54 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
26
+
27
+ var _path;
28
+ var _excluded = ["title", "titleId"];
29
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
30
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
31
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
32
+ var SvgAltKey = function SvgAltKey(_ref) {
33
+ var title = _ref.title,
34
+ titleId = _ref.titleId,
35
+ props = _objectWithoutProperties(_ref, _excluded);
36
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
37
+ width: 24,
38
+ height: 24,
39
+ viewBox: "0 0 24 24",
40
+ fill: "none",
41
+ xmlns: "http://www.w3.org/2000/svg",
42
+ "aria-labelledby": titleId
43
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
44
+ id: titleId
45
+ }, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
46
+ fillRule: "evenodd",
47
+ clipRule: "evenodd",
48
+ d: "M15 4a5 5 0 0 0-4.786 6.453 1 1 0 0 1-.25.997L4 17.414V20h2v-1a1 1 0 0 1 1-1h1v-1a1 1 0 0 1 1-1h1.586l1.964-1.964a1 1 0 0 1 .997-.25A5 5 0 1 0 15 4ZM8 20v1a1 1 0 0 1-1 1H4a2 2 0 0 1-2-2v-2.586A2 2 0 0 1 2.586 16l5.562-5.562a7 7 0 1 1 5.414 5.414l-1.855 1.855A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8Zm6-13a1 1 0 0 1 1-1 3 3 0 0 1 3 3 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1-1-1Z",
49
+ fill: "#383C48",
50
+ fillOpacity: 0.4
51
+ })));
52
+ };
53
+
54
+ exports.ReactComponent = SvgAltKey;
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+
3
+ var _path;
4
+ var _excluded = ["title", "titleId"];
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
7
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
+ var SvgAltKey = function SvgAltKey(_ref) {
9
+ var title = _ref.title,
10
+ titleId = _ref.titleId,
11
+ props = _objectWithoutProperties(_ref, _excluded);
12
+ return /*#__PURE__*/React.createElement("svg", _extends({
13
+ width: 24,
14
+ height: 24,
15
+ viewBox: "0 0 24 24",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "aria-labelledby": titleId
19
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
20
+ id: titleId
21
+ }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M15 4a5 5 0 0 0-4.786 6.453 1 1 0 0 1-.25.997L4 17.414V20h2v-1a1 1 0 0 1 1-1h1v-1a1 1 0 0 1 1-1h1.586l1.964-1.964a1 1 0 0 1 .997-.25A5 5 0 1 0 15 4ZM8 20v1a1 1 0 0 1-1 1H4a2 2 0 0 1-2-2v-2.586A2 2 0 0 1 2.586 16l5.562-5.562a7 7 0 1 1 5.414 5.414l-1.855 1.855A1 1 0 0 1 11 18h-1v1a1 1 0 0 1-1 1H8Zm6-13a1 1 0 0 1 1-1 3 3 0 0 1 3 3 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 0 1-1-1Z",
25
+ fill: "#383C48",
26
+ fillOpacity: 0.4
27
+ })));
28
+ };
29
+
30
+ export { SvgAltKey as ReactComponent };
@@ -65,3 +65,4 @@ export { ReactComponent as AltEmbeddedWalletIcon } from './alt-embedded-wallet.s
65
65
  export { ReactComponent as FaceIdIcon } from './face-id.svg';
66
66
  export { ReactComponent as ExportEmbeddedHero } from './export-embedded-hero.svg';
67
67
  export { ReactComponent as WalletV2Icon } from './wallet-v2.svg';
68
+ export { ReactComponent as AltKeyIcon } from './alt-key.svg';