@dynamic-labs/sdk-react-core 3.1.4 → 3.3.0

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 (33) hide show
  1. package/CHANGELOG.md +25 -1
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +10 -10
  5. package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.cjs +15 -8
  6. package/src/lib/context/SocialRedirectContext/hooks/useRedirectSocialHandler/useRedirectSocialHandler.js +15 -8
  7. package/src/lib/locale/en/translation.cjs +43 -24
  8. package/src/lib/locale/en/translation.d.ts +43 -24
  9. package/src/lib/locale/en/translation.js +43 -24
  10. package/src/lib/shared/assets/connected-apps.cjs +64 -0
  11. package/src/lib/shared/assets/connected-apps.js +40 -0
  12. package/src/lib/shared/assets/embedded-wallet-icon.cjs +11 -10
  13. package/src/lib/shared/assets/embedded-wallet-icon.js +11 -10
  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/functions/socialStorage/socialStorage.d.ts +3 -0
  18. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +1 -0
  19. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +1 -0
  20. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.cjs +4 -2
  21. package/src/lib/widgets/DynamicWidget/components/DynamicWidgetViews/DynamicWidgetViews.js +4 -2
  22. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.cjs +8 -1
  23. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.js +9 -2
  24. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.cjs +4 -1
  25. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.d.ts +19 -14
  26. package/src/lib/widgets/DynamicWidget/context/DynamicWidgetContext.types.js +4 -1
  27. package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.cjs +180 -0
  28. package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.d.ts +12 -0
  29. package/src/lib/widgets/DynamicWidget/views/ConnectedAppsView/ConnectedAppsView.js +175 -0
  30. package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.cjs +7 -9
  31. package/src/lib/widgets/DynamicWidget/views/GlobalWalletView/GlobalWalletView.js +7 -9
  32. package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.cjs +17 -8
  33. package/src/lib/widgets/DynamicWidget/views/SettingsView/SettingsView.js +17 -8
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
  import * as React from 'react';
3
3
 
4
- var _g;
4
+ var _path;
5
5
  var _excluded = ["title", "titleId"];
6
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
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; }
@@ -11,20 +11,21 @@ var SvgEmbeddedWalletIcon = function SvgEmbeddedWalletIcon(_ref) {
11
11
  titleId = _ref.titleId,
12
12
  props = _objectWithoutProperties(_ref, _excluded);
13
13
  return /*#__PURE__*/React.createElement("svg", _extends({
14
- width: 28,
15
- height: 28,
16
- viewBox: "0 0 28 28",
14
+ width: 64,
15
+ height: 64,
16
+ viewBox: "0 0 64 64",
17
17
  fill: "none",
18
18
  xmlns: "http://www.w3.org/2000/svg",
19
19
  "aria-labelledby": titleId
20
20
  }, props), title ? /*#__PURE__*/React.createElement("title", {
21
21
  id: titleId
22
- }, title) : null, _g || (_g = /*#__PURE__*/React.createElement("g", {
23
- "data-testid": "wallet-icon-embedded",
24
- fill: "#4779FF"
25
- }, /*#__PURE__*/React.createElement("path", {
26
- d: "M17.5 2.333a2.333 2.333 0 0 1 2.334 2.334h-14a4.654 4.654 0 0 0-3.426 1.497A4.668 4.668 0 0 1 7 2.334h10.5ZM25.666 11.667A4.667 4.667 0 0 0 21 7H7a4.667 4.667 0 0 0-4.667 4.667V21A4.667 4.667 0 0 0 7 25.667h14A4.667 4.667 0 0 0 25.666 21v-9.333Z"
27
- }))));
22
+ }, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
23
+ fillRule: "evenodd",
24
+ clipRule: "evenodd",
25
+ d: "M32 64c17.673 0 32-14.327 32-32C64 14.327 49.673 0 32 0 14.327 0 0 14.327 0 32c0 17.673 14.327 32 32 32Zm8.334-45.333a3.333 3.333 0 0 0-3.333-3.334h-15a6.669 6.669 0 0 0-6.56 5.473 6.649 6.649 0 0 1 4.893-2.14h20ZM42 22a6.667 6.667 0 0 1 6.667 6.667V42A6.667 6.667 0 0 1 42 48.667H22A6.667 6.667 0 0 1 15.334 42V28.667A6.667 6.667 0 0 1 22 22h20Z",
26
+ fill: "#4779FF",
27
+ "data-testid": "wallet-icon-embedded"
28
+ })));
28
29
  };
29
30
 
30
31
  export { SvgEmbeddedWalletIcon as ReactComponent };
@@ -5,6 +5,7 @@ export { ReactComponent as AltEmbeddedWalletIcon } from './alt-embedded-wallet.s
5
5
  export { ReactComponent as AltKeyIcon } from './alt-key.svg';
6
6
  export { ReactComponent as AndroidFaceId } from './android-face-id.svg';
7
7
  export { ReactComponent as AndroidTouchId } from './android-touch-id.svg';
8
+ export { ReactComponent as ConnectedAppsIcon } from './connected-apps.svg';
8
9
  export { ReactComponent as ArrowDownIcon } from './arrow-down.svg';
9
10
  export { ReactComponent as ArrowLeftIcon } from './arrow-left.svg';
10
11
  export { ReactComponent as ArrowRightBackgroundIcon } from './arrow-right-background.svg';