strapi-plugin-magic-mail 1.0.3 → 1.0.4

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.
@@ -108,12 +108,11 @@ const STANDARD_EMAIL_TEMPLATE = {
108
108
  };
109
109
 
110
110
  // Dynamic import for Email Editor (500KB)
111
- const EmailEditor = lazy(async () => {
112
- const module = await import('react-email-editor');
113
- return {
114
- default: module.default || module.EmailEditor,
115
- };
116
- });
111
+ const EmailEditor = lazy(() =>
112
+ import('react-email-editor').then((module) => ({
113
+ default: module.default || module.EmailEditor || module,
114
+ }))
115
+ );
117
116
 
118
117
  // Styled components
119
118
  const Container = styled.div`
@@ -5395,12 +5395,11 @@ const STANDARD_EMAIL_TEMPLATE = {
5395
5395
  },
5396
5396
  schemaVersion: 6
5397
5397
  };
5398
- const EmailEditor = lazy(async () => {
5399
- const module = await import("react-email-editor");
5400
- return {
5401
- default: module.default || module.EmailEditor
5402
- };
5403
- });
5398
+ const EmailEditor = lazy(
5399
+ () => import("react-email-editor").then((module) => ({
5400
+ default: module.default || module.EmailEditor || module
5401
+ }))
5402
+ );
5404
5403
  const Container$1 = styled.div`
5405
5404
  min-height: 100vh;
5406
5405
  display: flex;
@@ -5422,12 +5422,11 @@ const STANDARD_EMAIL_TEMPLATE = {
5422
5422
  },
5423
5423
  schemaVersion: 6
5424
5424
  };
5425
- const EmailEditor = React.lazy(async () => {
5426
- const module2 = await import("react-email-editor");
5427
- return {
5428
- default: module2.default || module2.EmailEditor
5429
- };
5430
- });
5425
+ const EmailEditor = React.lazy(
5426
+ () => import("react-email-editor").then((module2) => ({
5427
+ default: module2.default || module2.EmailEditor || module2
5428
+ }))
5429
+ );
5431
5430
  const Container$1 = styled__default.default.div`
5432
5431
  min-height: 100vh;
5433
5432
  display: flex;
@@ -25,7 +25,7 @@ const index = {
25
25
  id: `${pluginId}.plugin.name`,
26
26
  defaultMessage: "MagicMail"
27
27
  },
28
- Component: () => Promise.resolve().then(() => require("../_chunks/App-DgnyvH-r.js"))
28
+ Component: () => Promise.resolve().then(() => require("../_chunks/App-kROs3WSy.js"))
29
29
  });
30
30
  app.createSettingSection(
31
31
  {
@@ -24,7 +24,7 @@ const index = {
24
24
  id: `${pluginId}.plugin.name`,
25
25
  defaultMessage: "MagicMail"
26
26
  },
27
- Component: () => import("../_chunks/App-BROmljEd.mjs")
27
+ Component: () => import("../_chunks/App-DqArrXrm.mjs")
28
28
  });
29
29
  app.createSettingSection(
30
30
  {
@@ -4776,7 +4776,7 @@ function requireOauth() {
4776
4776
  });
4777
4777
  return oauth;
4778
4778
  }
4779
- const version = "1.0.2";
4779
+ const version = "1.0.3";
4780
4780
  const require$$2 = {
4781
4781
  version
4782
4782
  };
@@ -4768,7 +4768,7 @@ function requireOauth() {
4768
4768
  });
4769
4769
  return oauth;
4770
4770
  }
4771
- const version = "1.0.2";
4771
+ const version = "1.0.3";
4772
4772
  const require$$2 = {
4773
4773
  version
4774
4774
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.0.4",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi-plugin",