@dynamic-labs/sdk-react-core 4.0.0-alpha.21 → 4.0.0-alpha.23

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 (38) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +11 -11
  5. package/src/lib/components/NetworkPicker/NetworkPicker.cjs +1 -1
  6. package/src/lib/components/NetworkPicker/NetworkPicker.js +1 -1
  7. package/src/lib/components/index.d.ts +1 -0
  8. package/src/lib/context/ViewContext/types/index.d.ts +1 -1
  9. package/src/lib/data/api/embeddedWallets/embeddedWallets.cjs +29 -0
  10. package/src/lib/data/api/embeddedWallets/embeddedWallets.d.ts +14 -0
  11. package/src/lib/data/api/embeddedWallets/embeddedWallets.js +28 -1
  12. package/src/lib/locale/en/translation.cjs +52 -1
  13. package/src/lib/locale/en/translation.d.ts +52 -1
  14. package/src/lib/locale/en/translation.js +52 -1
  15. package/src/lib/shared/assets/delete-embedded-hero.cjs +57 -0
  16. package/src/lib/shared/assets/delete-embedded-hero.js +33 -0
  17. package/src/lib/shared/assets/eye-outline.cjs +54 -0
  18. package/src/lib/shared/assets/eye-outline.js +30 -0
  19. package/src/lib/shared/assets/index.d.ts +2 -0
  20. package/src/lib/styles/index.shadow.cjs +1 -1
  21. package/src/lib/styles/index.shadow.js +1 -1
  22. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.cjs +4 -0
  23. package/src/lib/utils/hooks/useDynamicLayoutData/useDynamicLayoutData.js +4 -0
  24. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.cjs +154 -0
  25. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.d.ts +2 -0
  26. package/src/lib/views/EmbeddedDeleteView/EmbeddedDeleteView.js +150 -0
  27. package/src/lib/views/EmbeddedDeleteView/index.d.ts +1 -0
  28. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.cjs +9 -3
  29. package/src/lib/views/EmbeddedReveal/EmbeddedRevealView/EmbeddedRevealView.js +9 -3
  30. package/src/lib/views/viewToComponentMap.cjs +2 -0
  31. package/src/lib/views/viewToComponentMap.d.ts +1 -0
  32. package/src/lib/views/viewToComponentMap.js +2 -0
  33. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.cjs +20 -11
  34. package/src/lib/widgets/DynamicWidget/components/ActiveWalletInformation/ActiveWalletInformation.js +20 -11
  35. package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/WalletDetailsCard.cjs +99 -0
  36. package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/WalletDetailsCard.d.ts +12 -0
  37. package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/WalletDetailsCard.js +95 -0
  38. package/src/lib/widgets/DynamicWidget/components/WalletDetailsCard/index.d.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -1,4 +1,23 @@
1
1
 
2
+ ## [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)
3
+
4
+
5
+ ### Features
6
+
7
+ * 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))
8
+
9
+ ## [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)
10
+
11
+
12
+ ### Features
13
+
14
+ * **QNTM-522:** add wallet details card ([#7239](https://github.com/dynamic-labs/dynamic-auth/issues/7239)) ([0181c87](https://github.com/dynamic-labs/dynamic-auth/commit/0181c8727af575620525b8ea47b196945c347846))
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * update check for wallet provider event listeners support ([#7303](https://github.com/dynamic-labs/dynamic-auth/issues/7303)) ([c5f3766](https://github.com/dynamic-labs/dynamic-auth/commit/c5f376691c87a0999991e477f9acd07eed4774aa))
20
+
2
21
  ## [4.0.0-alpha.21](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.20...v4.0.0-alpha.21) (2024-10-30)
3
22
 
4
23
  ## [4.0.0-alpha.20](https://github.com/dynamic-labs/dynamic-auth/compare/v4.0.0-alpha.19...v4.0.0-alpha.20) (2024-10-30)
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.21";
6
+ var version = "4.0.0-alpha.23";
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.21";
2
+ var version = "4.0.0-alpha.23";
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.21",
3
+ "version": "4.0.0-alpha.23",
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.21",
16
- "@dynamic-labs/iconic": "4.0.0-alpha.21",
17
- "@dynamic-labs/logger": "4.0.0-alpha.21",
18
- "@dynamic-labs/multi-wallet": "4.0.0-alpha.21",
19
- "@dynamic-labs/rpc-providers": "4.0.0-alpha.21",
20
- "@dynamic-labs/store": "4.0.0-alpha.21",
21
- "@dynamic-labs/types": "4.0.0-alpha.21",
22
- "@dynamic-labs/utils": "4.0.0-alpha.21",
23
- "@dynamic-labs/wallet-book": "4.0.0-alpha.21",
24
- "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.21",
15
+ "@dynamic-labs/assert-package-version": "4.0.0-alpha.23",
16
+ "@dynamic-labs/iconic": "4.0.0-alpha.23",
17
+ "@dynamic-labs/logger": "4.0.0-alpha.23",
18
+ "@dynamic-labs/multi-wallet": "4.0.0-alpha.23",
19
+ "@dynamic-labs/rpc-providers": "4.0.0-alpha.23",
20
+ "@dynamic-labs/store": "4.0.0-alpha.23",
21
+ "@dynamic-labs/types": "4.0.0-alpha.23",
22
+ "@dynamic-labs/utils": "4.0.0-alpha.23",
23
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.23",
24
+ "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.23",
25
25
  "eventemitter3": "5.0.1"
26
26
  },
27
27
  "devDependencies": {
@@ -62,6 +62,7 @@ var MenuList = require('../MenuList/MenuList/MenuList.cjs');
62
62
  require('../Transition/ZoomTransition/ZoomTransition.cjs');
63
63
  require('../Transition/SlideInUpTransition/SlideInUpTransition.cjs');
64
64
  require('../Transition/OpacityTransition/OpacityTransition.cjs');
65
+ require('../OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
65
66
  require('../PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
66
67
  require('../Popper/Popper/Popper.cjs');
67
68
  require('../Popper/PopperContext/PopperContext.cjs');
@@ -79,7 +80,6 @@ require('@hcaptcha/react-hcaptcha');
79
80
  require('../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
80
81
  require('../../context/PasskeyContext/PasskeyContext.cjs');
81
82
  require('../../store/state/sendBalances.cjs');
82
- require('../OverlayCard/OverlayCardTarget/OverlayCardTarget.cjs');
83
83
  require('../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
84
84
  require('../../views/TransactionConfirmationView/helpers/transactionErrorMessage.cjs');
85
85
  require('../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
@@ -58,6 +58,7 @@ import { MenuList } from '../MenuList/MenuList/MenuList.js';
58
58
  import '../Transition/ZoomTransition/ZoomTransition.js';
59
59
  import '../Transition/SlideInUpTransition/SlideInUpTransition.js';
60
60
  import '../Transition/OpacityTransition/OpacityTransition.js';
61
+ import '../OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
61
62
  import '../PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
62
63
  import '../Popper/Popper/Popper.js';
63
64
  import '../Popper/PopperContext/PopperContext.js';
@@ -75,7 +76,6 @@ import '@hcaptcha/react-hcaptcha';
75
76
  import '../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
76
77
  import '../../context/PasskeyContext/PasskeyContext.js';
77
78
  import '../../store/state/sendBalances.js';
78
- import '../OverlayCard/OverlayCardTarget/OverlayCardTarget.js';
79
79
  import '../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
80
80
  import '../../views/TransactionConfirmationView/helpers/transactionErrorMessage.js';
81
81
  import '../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
@@ -33,6 +33,7 @@ export * from './ModalCard';
33
33
  export * from './ModalHeader';
34
34
  export * from './ModalHeaderBanner';
35
35
  export * from './NeedHelpSection';
36
+ export * from './OverlayCard';
36
37
  export * from './OTPVerificationView';
37
38
  export * from './PasskeyCreatedSuccessBanner';
38
39
  export * from './PhoneNumberField';
@@ -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 };
@@ -36,12 +36,42 @@ const translation = {
36
36
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
37
37
  ordinals_address: 'Ordinals address',
38
38
  payment_address: 'Payment address',
39
- }
39
+ balance: 'Balance',
40
+ options: {
41
+ copy_ens: 'Copy ENS',
42
+ view_address: 'View address',
43
+ settings: 'Wallet settings',
44
+ export: 'Export private keys',
45
+ },
46
+ }
40
47
  */
41
48
  dyn_active_wallet_info: {
42
49
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
43
50
  ordinals_address: 'Ordinals address',
44
51
  payment_address: 'Payment address',
52
+ balance: 'Balance',
53
+ options: {
54
+ copy_ens: 'Copy ENS',
55
+ view_address: 'View address',
56
+ settings: 'Wallet settings',
57
+ export: 'Export private keys',
58
+ },
59
+ },
60
+ /**
61
+ * @description copy keys for wallet details card
62
+ * @default
63
+ * {
64
+ header: 'Wallet Details',
65
+ address: 'Address',
66
+ copy: 'Copy',
67
+ copied: 'Copied!',
68
+ }
69
+ */
70
+ dyn_wallet_details_card: {
71
+ header: 'Wallet Details',
72
+ address: 'Address',
73
+ copy: 'Copy',
74
+ copied: 'Copied!',
45
75
  },
46
76
  /**
47
77
  * @description copy keys for add network view
@@ -834,6 +864,13 @@ const translation = {
834
864
  reveal_button_label: 'Reveal',
835
865
  copy_button_label: 'Copy to clipboard',
836
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',
837
874
  },
838
875
  */
839
876
  dyn_embedded_reveal: {
@@ -863,6 +900,20 @@ const translation = {
863
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:',
864
901
  button: 'here',
865
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',
866
917
  },
867
918
  /**
868
919
  * @description Settings for Dynamic settings view which are used inside dynamic widget
@@ -30,12 +30,42 @@ export declare const translation: {
30
30
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
31
31
  ordinals_address: 'Ordinals address',
32
32
  payment_address: 'Payment address',
33
- }
33
+ balance: 'Balance',
34
+ options: {
35
+ copy_ens: 'Copy ENS',
36
+ view_address: 'View address',
37
+ settings: 'Wallet settings',
38
+ export: 'Export private keys',
39
+ },
40
+ }
34
41
  */
35
42
  dyn_active_wallet_info: {
36
43
  testnet_warning: string;
37
44
  ordinals_address: string;
38
45
  payment_address: string;
46
+ balance: string;
47
+ options: {
48
+ copy_ens: string;
49
+ view_address: string;
50
+ settings: string;
51
+ export: string;
52
+ };
53
+ };
54
+ /**
55
+ * @description copy keys for wallet details card
56
+ * @default
57
+ * {
58
+ header: 'Wallet Details',
59
+ address: 'Address',
60
+ copy: 'Copy',
61
+ copied: 'Copied!',
62
+ }
63
+ */
64
+ dyn_wallet_details_card: {
65
+ header: string;
66
+ address: string;
67
+ copy: string;
68
+ copied: string;
39
69
  };
40
70
  /**
41
71
  * @description copy keys for add network view
@@ -828,6 +858,13 @@ export declare const translation: {
828
858
  reveal_button_label: 'Reveal',
829
859
  copy_button_label: 'Copy to clipboard',
830
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',
831
868
  },
832
869
  */
833
870
  dyn_embedded_reveal: {
@@ -857,6 +894,20 @@ export declare const translation: {
857
894
  subtitle: string;
858
895
  button: string;
859
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;
860
911
  };
861
912
  /**
862
913
  * @description Settings for Dynamic settings view which are used inside dynamic widget
@@ -32,12 +32,42 @@ const translation = {
32
32
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
33
33
  ordinals_address: 'Ordinals address',
34
34
  payment_address: 'Payment address',
35
- }
35
+ balance: 'Balance',
36
+ options: {
37
+ copy_ens: 'Copy ENS',
38
+ view_address: 'View address',
39
+ settings: 'Wallet settings',
40
+ export: 'Export private keys',
41
+ },
42
+ }
36
43
  */
37
44
  dyn_active_wallet_info: {
38
45
  testnet_warning: 'A testnet network has been selected. Please only use testnet funds or they will be lost.',
39
46
  ordinals_address: 'Ordinals address',
40
47
  payment_address: 'Payment address',
48
+ balance: 'Balance',
49
+ options: {
50
+ copy_ens: 'Copy ENS',
51
+ view_address: 'View address',
52
+ settings: 'Wallet settings',
53
+ export: 'Export private keys',
54
+ },
55
+ },
56
+ /**
57
+ * @description copy keys for wallet details card
58
+ * @default
59
+ * {
60
+ header: 'Wallet Details',
61
+ address: 'Address',
62
+ copy: 'Copy',
63
+ copied: 'Copied!',
64
+ }
65
+ */
66
+ dyn_wallet_details_card: {
67
+ header: 'Wallet Details',
68
+ address: 'Address',
69
+ copy: 'Copy',
70
+ copied: 'Copied!',
41
71
  },
42
72
  /**
43
73
  * @description copy keys for add network view
@@ -830,6 +860,13 @@ const translation = {
830
860
  reveal_button_label: 'Reveal',
831
861
  copy_button_label: 'Copy to clipboard',
832
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',
833
870
  },
834
871
  */
835
872
  dyn_embedded_reveal: {
@@ -859,6 +896,20 @@ const translation = {
859
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:',
860
897
  button: 'here',
861
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',
862
913
  },
863
914
  /**
864
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 };
@@ -0,0 +1,54 @@
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 _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 SvgEyeOutline = function SvgEyeOutline(_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: 24,
39
+ height: 24,
40
+ viewBox: "0 0 24 24",
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, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
47
+ fillRule: "evenodd",
48
+ clipRule: "evenodd",
49
+ d: "M3.512 12a9.004 9.004 0 0 0 16.977 0 9.004 9.004 0 0 0-16.977 0Zm-2.008-.3C2.906 7.238 7.074 4 12 4c4.927 0 9.095 3.238 10.497 7.7a1 1 0 0 1 0 .6C21.095 16.762 16.927 20 12 20c-4.927 0-9.095-3.238-10.497-7.7a1 1 0 0 1 0-.6ZM12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",
50
+ fill: "#ABACB2"
51
+ })));
52
+ };
53
+
54
+ exports.ReactComponent = SvgEyeOutline;
@@ -0,0 +1,30 @@
1
+ 'use client'
2
+ import * as React from 'react';
3
+
4
+ var _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 SvgEyeOutline = function SvgEyeOutline(_ref) {
10
+ var title = _ref.title,
11
+ titleId = _ref.titleId,
12
+ props = _objectWithoutProperties(_ref, _excluded);
13
+ return /*#__PURE__*/React.createElement("svg", _extends({
14
+ width: 24,
15
+ height: 24,
16
+ viewBox: "0 0 24 24",
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, _path || (_path = /*#__PURE__*/React.createElement("path", {
23
+ fillRule: "evenodd",
24
+ clipRule: "evenodd",
25
+ d: "M3.512 12a9.004 9.004 0 0 0 16.977 0 9.004 9.004 0 0 0-16.977 0Zm-2.008-.3C2.906 7.238 7.074 4 12 4c4.927 0 9.095 3.238 10.497 7.7a1 1 0 0 1 0 .6C21.095 16.762 16.927 20 12 20c-4.927 0-9.095-3.238-10.497-7.7a1 1 0 0 1 0-.6ZM12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",
26
+ fill: "#ABACB2"
27
+ })));
28
+ };
29
+
30
+ export { SvgEyeOutline as ReactComponent };