@dynamic-labs/sdk-react-core 4.0.0-alpha.22 → 4.0.0-alpha.24

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 (29) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +11 -11
  5. package/src/lib/context/ViewContext/types/index.d.ts +1 -1
  6. package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +29 -0
  7. package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +14 -0
  8. package/src/lib/data/api/embeddedWallets/embeddedWallets.js +28 -1
  9. package/src/lib/locale/en/translation.cjs +21 -0
  10. package/src/lib/locale/en/translation.d.ts +21 -0
  11. package/src/lib/locale/en/translation.js +21 -0
  12. package/src/lib/shared/assets/delete-embedded-hero.cjs +57 -0
  13. package/src/lib/shared/assets/delete-embedded-hero.js +33 -0
  14. package/src/lib/shared/assets/index.d.ts +1 -0
  15. package/src/lib/styles/index.shadow.cjs +1 -1
  16. package/src/lib/styles/index.shadow.js +1 -1
  17. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +4 -0
  18. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +4 -0
  19. package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +1 -1
  20. package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +1 -1
  21. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.cjs +154 -0
  22. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.d.ts +2 -0
  23. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.js +150 -0
  24. package/src/lib/views/EmbeddedDeleteView/index.d.ts +1 -0
  25. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +9 -3
  26. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +9 -3
  27. package/src/lib/views/viewToComponentMap.cjs +2 -0
  28. package/src/lib/views/viewToComponentMap.d.ts +1 -0
  29. package/src/lib/views/viewToComponentMap.js +2 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,18 @@
1
1
 
2
+ ## [4.0.0-alpha.24](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.23...v4.0.0-alpha.24) (2024-10-31)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * prevent use-wallet-options from reading empty wallet-book ([#7319](https://github.com/dynamic-labs/dynamic-auth/issues/7319)) ([fc1269e](https://github.com/dynamic-labs/dynamic-auth/commit/fc1269ed2b59ee17fc528d24a4d34936eb20c02f))
8
+
9
+ ## [4.0.0-alpha.23](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.22...v4.0.0-alpha.23) (2024-10-31)
10
+
11
+
12
+ ### Features
13
+
14
+ * allow deletion of embedded wallets ([#7170](https://github.com/dynamic-labs/dynamic-auth/issues/7170)) ([40c5478](https://github.com/dynamic-labs/dynamic-auth/commit/40c54789594ba265a63b24f936da4e72b5b1c5b9))
15
+
2
16
  ## [4.0.0-alpha.22](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.21...v4.0.0-alpha.22) (2024-10-30)
3
17
 
4
18
 
package/package.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
- var version = "4.0.0-alpha.22";
6
+ var version = "4.0.0-alpha.24";
7
7
  var dependencies = {
8
8
  "@dynamic-labs/sdk-api-core": "0.0.559",
9
9
  "@hcaptcha/react-hcaptcha": "1.4.4",
package/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  'use client'
2
- var version = "4.0.0-alpha.22";
2
+ var version = "4.0.0-alpha.24";
3
3
  var dependencies = {
4
4
  "@dynamic-labs/sdk-api-core": "0.0.559",
5
5
  "@hcaptcha/react-hcaptcha": "1.4.4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "4.0.0-alpha.22",
3
+ "version": "4.0.0-alpha.24",
4
4
  "dependencies": {
5
5
  "@dynamic-labs/sdk-api-core": "0.0.559",
6
6
  "@hcaptcha/react-hcaptcha": "1.4.4",
@@ -12,16 +12,16 @@
12
12
  "react-i18next": "13.5.0",
13
13
  "yup": "0.32.11",
14
14
  "react-international-phone": "4.2.5",
15
- "@dynamic-labs/assert-package-version": "4.0.0-alpha.22",
16
- "@dynamic-labs/iconic": "4.0.0-alpha.22",
17
- "@dynamic-labs/logger": "4.0.0-alpha.22",
18
- "@dynamic-labs/multi-wallet": "4.0.0-alpha.22",
19
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.22",
20
- "@dynamic-labs/store": "4.0.0-alpha.22",
21
- "@dynamic-labs/types": "4.0.0-alpha.22",
22
- "@dynamic-labs/utils": "4.0.0-alpha.22",
23
- "@dynamic-labs/wallet-book": "4.0.0-alpha.22",
24
- "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.22",
15
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.24",
16
+ "@dynamic-labs/iconic": "4.0.0-alpha.24",
17
+ "@dynamic-labs/logger": "4.0.0-alpha.24",
18
+ "@dynamic-labs/multi-wallet": "4.0.0-alpha.24",
19
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.24",
20
+ "@dynamic-labs/store": "4.0.0-alpha.24",
21
+ "@dynamic-labs/types": "4.0.0-alpha.24",
22
+ "@dynamic-labs/utils": "4.0.0-alpha.24",
23
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.24",
24
+ "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.24",
25
25
  "eventemitter3": "5.0.1"
26
26
  },
27
27
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { viewToComponentMap } from '../../../views/viewToComponentMap';
3
- export type ViewType = 'access-blocked' | 'select-hardware-wallet' | 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-no-wallet' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'login-with-sms-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' | 'verify-email' | 'verify-sms' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'sandbox-maximum-threshold-reached' | 'multi-wallet-wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'select-wallet-in-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' | 'merge-user-accounts-conflicts' | 'merge-user-accounts-with-same-email' | 'mfa-choose-device' | 'mfa-recovery' | 'mfa-secure-device' | 'mfa-secure-device-help' | 'mfa-verification' | 'mfa-display-backup-codes' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-add-email' | 'global-wallet-confirm' | 'global-wallet-malicious' | 'global-wallet-info' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'passkey-new-domain-detected' | 'embedded-reveal-view' | 'embedded-reveal-account-view' | 'embedded-wallet-auth-choice' | 'rename-passkey' | 'wallet-redirect-view' | 'create-password-view' | 'wallet-claim-intro' | 'mobile-wallet-redirect-view' | 'farcaster-connect-view';
3
+ export type ViewType = 'access-blocked' | 'select-hardware-wallet' | 'captcha' | 'chainalysis-blocked-wallet' | 'collect-user-data' | 'collect-user-data-login-no-wallet' | 'login-with-email-or-wallet-full-wallet-list' | 'login-with-email-or-wallet' | 'login-with-wallet-only' | 'login-with-email-verification' | 'login-with-sms-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' | 'verify-email' | 'verify-sms' | 'wallet-connect-mobile-wallets-list' | 'wallet-list' | 'sandbox-maximum-threshold-reached' | 'multi-wallet-wallet-list' | 'wallet-sign' | 'wallet-used' | 'wallet-group' | 'select-wallet-in-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' | 'merge-user-accounts-conflicts' | 'merge-user-accounts-with-same-email' | 'mfa-choose-device' | 'mfa-recovery' | 'mfa-secure-device' | 'mfa-secure-device-help' | 'mfa-verification' | 'mfa-display-backup-codes' | 'wallet-cannot-be-transferred' | 'passkey-intro' | 'passkey-recovery-add-email' | 'global-wallet-confirm' | 'global-wallet-malicious' | 'global-wallet-info' | 'passkey-recovery-start' | 'passkey-recovery-bundle' | 'passkey-recovery-complete' | 'passkey-new-domain-detected' | 'embedded-delete-view' | 'embedded-reveal-view' | 'embedded-reveal-account-view' | 'embedded-wallet-auth-choice' | 'rename-passkey' | 'wallet-redirect-view' | 'create-password-view' | 'wallet-claim-intro' | 'mobile-wallet-redirect-view' | 'farcaster-connect-view';
4
4
  export type ViewMapConstraint = Record<ViewType, FC<any>>;
5
5
  type ComponentProps<T extends FC<any>> = T extends FC<infer P> ? P : never;
6
6
  export type ViewMap = typeof viewToComponentMap;
@@ -244,13 +244,42 @@ const createEmbeddedWalletAccount = (_r) => _tslib.__awaiter(void 0, [_r], void
244
244
  throw new utils.DynamicError('Error creating embedded wallet account');
245
245
  }
246
246
  });
247
+ const getDeleteEmbeddedWalletsRequest = (_s) => _tslib.__awaiter(void 0, [_s], void 0, function* ({ environmentId, }) {
248
+ try {
249
+ const response = yield api.sdkApi().getEmbeddedWalletsDeleteRequest({
250
+ environmentId,
251
+ });
252
+ return response;
253
+ }
254
+ catch (e) {
255
+ logger.logger.error('Error fetching delete embedded wallets request: ', e);
256
+ throw new utils.DynamicError('Error fetching delete embedded wallets request');
257
+ }
258
+ });
259
+ const deleteEmbeddedWallets = (_t) => _tslib.__awaiter(void 0, [_t], void 0, function* ({ environmentId, deleteEmbeddedWalletsRequest, }) {
260
+ try {
261
+ const response = yield api.sdkApi().deleteEmbeddedWallets({
262
+ deleteEmbeddedWalletsRequest: {
263
+ turnkeySignedRequest: deleteEmbeddedWalletsRequest,
264
+ },
265
+ environmentId,
266
+ });
267
+ return response;
268
+ }
269
+ catch (e) {
270
+ logger.logger.error('Error deleting embedded wallets: ', e);
271
+ throw new utils.DynamicError('Error deleting embedded wallets');
272
+ }
273
+ });
247
274
 
248
275
  exports.claimEmbeddedWallet = claimEmbeddedWallet;
249
276
  exports.completePasskeyRecovery = completePasskeyRecovery;
250
277
  exports.createEmbeddedWalletAccount = createEmbeddedWalletAccount;
251
278
  exports.createTurnkeyEmbeddedWallet = createTurnkeyEmbeddedWallet;
279
+ exports.deleteEmbeddedWallets = deleteEmbeddedWallets;
252
280
  exports.exportEmbeddedWallet = exportEmbeddedWallet;
253
281
  exports.getCreateEmbeddedWalletAccountRequest = getCreateEmbeddedWalletAccountRequest;
282
+ exports.getDeleteEmbeddedWalletsRequest = getDeleteEmbeddedWalletsRequest;
254
283
  exports.getEmbeddedWalletBackup = getEmbeddedWalletBackup;
255
284
  exports.getEmbeddedWalletPasscode = getEmbeddedWalletPasscode;
256
285
  exports.getUserPasskeys = getUserPasskeys;
@@ -48,3 +48,17 @@ export declare const createEmbeddedWalletAccount: ({ environmentId, createEmbedd
48
48
  };
49
49
  };
50
50
  }) => Promise<VerifyResponse>;
51
+ export declare const getDeleteEmbeddedWalletsRequest: ({ environmentId, }: {
52
+ environmentId: string;
53
+ }) => Promise<import("@dynamic-labs/sdk-api-core").TurnkeyDeleteEmbeddedWalletsRequestBody>;
54
+ export declare const deleteEmbeddedWallets: ({ environmentId, deleteEmbeddedWalletsRequest, }: {
55
+ environmentId: string;
56
+ deleteEmbeddedWalletsRequest: {
57
+ body: string;
58
+ url: string;
59
+ stamp: {
60
+ stampHeaderName: string;
61
+ stampHeaderValue: string;
62
+ };
63
+ };
64
+ }) => Promise<void>;
@@ -240,5 +240,32 @@ const createEmbeddedWalletAccount = (_r) => __awaiter(void 0, [_r], void 0, func
240
240
  throw new DynamicError('Error creating embedded wallet account');
241
241
  }
242
242
  });
243
+ const getDeleteEmbeddedWalletsRequest = (_s) => __awaiter(void 0, [_s], void 0, function* ({ environmentId, }) {
244
+ try {
245
+ const response = yield sdkApi().getEmbeddedWalletsDeleteRequest({
246
+ environmentId,
247
+ });
248
+ return response;
249
+ }
250
+ catch (e) {
251
+ logger.error('Error fetching delete embedded wallets request: ', e);
252
+ throw new DynamicError('Error fetching delete embedded wallets request');
253
+ }
254
+ });
255
+ const deleteEmbeddedWallets = (_t) => __awaiter(void 0, [_t], void 0, function* ({ environmentId, deleteEmbeddedWalletsRequest, }) {
256
+ try {
257
+ const response = yield sdkApi().deleteEmbeddedWallets({
258
+ deleteEmbeddedWalletsRequest: {
259
+ turnkeySignedRequest: deleteEmbeddedWalletsRequest,
260
+ },
261
+ environmentId,
262
+ });
263
+ return response;
264
+ }
265
+ catch (e) {
266
+ logger.error('Error deleting embedded wallets: ', e);
267
+ throw new DynamicError('Error deleting embedded wallets');
268
+ }
269
+ });
243
270
 
244
- export { claimEmbeddedWallet, completePasskeyRecovery, createEmbeddedWalletAccount, createTurnkeyEmbeddedWallet, exportEmbeddedWallet, getCreateEmbeddedWalletAccountRequest, getEmbeddedWalletBackup, getEmbeddedWalletPasscode, getUserPasskeys, getWalletAuthToken, initEmbeddedWalletSession, registerSessionKey, updatePasskeyRecoveryEmail, updateUserPasskey };
271
+ export { claimEmbeddedWallet, completePasskeyRecovery, createEmbeddedWalletAccount, createTurnkeyEmbeddedWallet, deleteEmbeddedWallets, exportEmbeddedWallet, getCreateEmbeddedWalletAccountRequest, getDeleteEmbeddedWalletsRequest, getEmbeddedWalletBackup, getEmbeddedWalletPasscode, getUserPasskeys, getWalletAuthToken, initEmbeddedWalletSession, registerSessionKey, updatePasskeyRecoveryEmail, updateUserPasskey };
@@ -864,6 +864,13 @@ const translation = {
864
864
  reveal_button_label: 'Reveal',
865
865
  copy_button_label: 'Copy to clipboard',
866
866
  done_button_label: "I'm Done",
867
+ aa_warning: {
868
+ title: 'Your assets are not in this wallet.',
869
+ subtitle:
870
+ 'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
871
+ button: 'here',
872
+ },
873
+ unlink: 'Unlink wallet info',
867
874
  },
868
875
  */
869
876
  dyn_embedded_reveal: {
@@ -893,6 +900,20 @@ const translation = {
893
900
  subtitle: 'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
894
901
  button: 'here',
895
902
  },
903
+ unlink: 'Unlink wallet info',
904
+ },
905
+ /**
906
+ * @description export keys for Dynamic embedded delete view
907
+ * @default
908
+ *
909
+ */
910
+ dyn_embedded_delete: {
911
+ title: 'Unlink from app',
912
+ description_1: 'By continuing you acknowledge that if you return to the application, you will receive a new wallet address.',
913
+ description_2: 'Once unlinked, you cannot recover any wallet information through this application including any associated smart contract wallets.',
914
+ acknowledgement: 'I have safely backed up my wallet seed phrase information. If I return to this application, a new wallet will be created for me.',
915
+ cancel_button: 'Cancel',
916
+ action_button: 'Unlink & Log out',
896
917
  },
897
918
  /**
898
919
  * @description Settings for Dynamic settings view which are used inside dynamic widget
@@ -858,6 +858,13 @@ export declare const translation: {
858
858
  reveal_button_label: 'Reveal',
859
859
  copy_button_label: 'Copy to clipboard',
860
860
  done_button_label: "I'm Done",
861
+ aa_warning: {
862
+ title: 'Your assets are not in this wallet.',
863
+ subtitle:
864
+ 'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
865
+ button: 'here',
866
+ },
867
+ unlink: 'Unlink wallet info',
861
868
  },
862
869
  */
863
870
  dyn_embedded_reveal: {
@@ -887,6 +894,20 @@ export declare const translation: {
887
894
  subtitle: string;
888
895
  button: string;
889
896
  };
897
+ unlink: string;
898
+ };
899
+ /**
900
+ * @description export keys for Dynamic embedded delete view
901
+ * @default
902
+ *
903
+ */
904
+ dyn_embedded_delete: {
905
+ title: string;
906
+ description_1: string;
907
+ description_2: string;
908
+ acknowledgement: string;
909
+ cancel_button: string;
910
+ action_button: string;
890
911
  };
891
912
  /**
892
913
  * @description Settings for Dynamic settings view which are used inside dynamic widget
@@ -860,6 +860,13 @@ const translation = {
860
860
  reveal_button_label: 'Reveal',
861
861
  copy_button_label: 'Copy to clipboard',
862
862
  done_button_label: "I'm Done",
863
+ aa_warning: {
864
+ title: 'Your assets are not in this wallet.',
865
+ subtitle:
866
+ 'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
867
+ button: 'here',
868
+ },
869
+ unlink: 'Unlink wallet info',
863
870
  },
864
871
  */
865
872
  dyn_embedded_reveal: {
@@ -889,6 +896,20 @@ const translation = {
889
896
  subtitle: 'This is a smart-contract wallet. You will not see your balance if you import this to an external service. Please send your assets to your preferred external wallet first to access your funds:',
890
897
  button: 'here',
891
898
  },
899
+ unlink: 'Unlink wallet info',
900
+ },
901
+ /**
902
+ * @description export keys for Dynamic embedded delete view
903
+ * @default
904
+ *
905
+ */
906
+ dyn_embedded_delete: {
907
+ title: 'Unlink from app',
908
+ description_1: 'By continuing you acknowledge that if you return to the application, you will receive a new wallet address.',
909
+ description_2: 'Once unlinked, you cannot recover any wallet information through this application including any associated smart contract wallets.',
910
+ acknowledgement: 'I have safely backed up my wallet seed phrase information. If I return to this application, a new wallet will be created for me.',
911
+ cancel_button: 'Cancel',
912
+ action_button: 'Unlink & Log out',
892
913
  },
893
914
  /**
894
915
  * @description Settings for Dynamic settings view which are used inside dynamic widget
@@ -0,0 +1,57 @@
1
+ 'use client'
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, '__esModule', { value: true });
5
+
6
+ var React = require('react');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+
28
+ var _circle, _path;
29
+ var _excluded = ["title", "titleId"];
30
+ 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); }
31
+ 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; }
32
+ 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; }
33
+ var SvgDeleteEmbeddedHero = function SvgDeleteEmbeddedHero(_ref) {
34
+ var title = _ref.title,
35
+ titleId = _ref.titleId,
36
+ props = _objectWithoutProperties(_ref, _excluded);
37
+ return /*#__PURE__*/React__namespace.createElement("svg", _extends({
38
+ width: 64,
39
+ height: 64,
40
+ viewBox: "0 0 64 64",
41
+ fill: "none",
42
+ xmlns: "http://www.w3.org/2000/svg",
43
+ "aria-labelledby": titleId
44
+ }, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
45
+ id: titleId
46
+ }, title) : null, _circle || (_circle = /*#__PURE__*/React__namespace.createElement("circle", {
47
+ cx: 32,
48
+ cy: 32,
49
+ r: 32,
50
+ fill: "#FF4646"
51
+ })), _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
52
+ d: "M35.4 19.2a3.2 3.2 0 0 0-6.4 0V32a3.2 3.2 0 0 0 6.4 0V19.2ZM32.2 41.6a3.2 3.2 0 0 0 0 6.4h.032a3.2 3.2 0 0 0 0-6.4H32.2Z",
53
+ fill: "#F9F9FB"
54
+ })));
55
+ };
56
+
57
+ exports.ReactComponent = SvgDeleteEmbeddedHero;
@@ -0,0 +1,33 @@
1
+ 'use client'
2
+ import * as React from 'react';
3
+
4
+ var _circle, _path;
5
+ var _excluded = ["title", "titleId"];
6
+ 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); }
7
+ 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; }
8
+ 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; }
9
+ var SvgDeleteEmbeddedHero = function SvgDeleteEmbeddedHero(_ref) {
10
+ var title = _ref.title,
11
+ titleId = _ref.titleId,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/React.createElement("svg", _extends({
14
+ width: 64,
15
+ height: 64,
16
+ viewBox: "0 0 64 64",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ "aria-labelledby": titleId
20
+ }, props), title ? /*#__PURE__*/React.createElement("title", {
21
+ id: titleId
22
+ }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement("circle", {
23
+ cx: 32,
24
+ cy: 32,
25
+ r: 32,
26
+ fill: "#FF4646"
27
+ })), _path || (_path = /*#__PURE__*/React.createElement("path", {
28
+ d: "M35.4 19.2a3.2 3.2 0 0 0-6.4 0V32a3.2 3.2 0 0 0 6.4 0V19.2ZM32.2 41.6a3.2 3.2 0 0 0 0 6.4h.032a3.2 3.2 0 0 0 0-6.4H32.2Z",
29
+ fill: "#F9F9FB"
30
+ })));
31
+ };
32
+
33
+ export { SvgDeleteEmbeddedHero as ReactComponent };
@@ -32,6 +32,7 @@ export { ReactComponent as DynamicLogoIcon } from './dynamic-logo.svg';
32
32
  export { ReactComponent as EmbeddedWalletIcon } from './embedded-wallet-icon.svg';
33
33
  export { ReactComponent as ErrorIcon } from './error.svg';
34
34
  export { ReactComponent as ExportEmbeddedHero } from './export-embedded-hero.svg';
35
+ export { ReactComponent as DeleteEmbeddedHero } from './delete-embedded-hero.svg';
35
36
  export { ReactComponent as ExportPrivateKeyIcon } from './export-private-key.svg';
36
37
  export { ReactComponent as ExportRecoveryPhraseIcon } from './export-recovery-phrase.svg';
37
38
  export { ReactComponent as ExternalLinkIcon } from './externalLink.svg';