strapi-plugin-magic-mail 2.10.4 → 2.10.6

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [2.10.6](https://github.com/Schero94/Magic-Mail/compare/v2.10.5...v2.10.6) (2026-04-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **designer:** correct template lookup order so 'Send Test' hits the actual template ([c62c0e4](https://github.com/Schero94/Magic-Mail/commit/c62c0e461d39275dca2a176276d2797c9743a8fd))
7
+
8
+ ## [2.10.5](https://github.com/Schero94/Magic-Mail/compare/v2.10.4...v2.10.5) (2026-04-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** declare zod ^3.25.76 as direct dependency (was phantom / transitive) ([70f82c4](https://github.com/Schero94/Magic-Mail/commit/70f82c44c8cf80e60e66a632748f724f1df487b2))
14
+
1
15
  ## [2.10.4](https://github.com/Schero94/Magic-Mail/compare/v2.10.3...v2.10.4) (2026-04-21)
2
16
 
3
17
 
@@ -4830,7 +4830,8 @@ const TemplateList = () => {
4830
4830
  return;
4831
4831
  }
4832
4832
  try {
4833
- const response = await post(`/magic-mail/designer/templates/${selectedTemplate.id}/test-send`, {
4833
+ const templateIdForLookup = selectedTemplate.templateReferenceId ?? selectedTemplate.id;
4834
+ const response = await post(`/magic-mail/designer/templates/${templateIdForLookup}/test-send`, {
4834
4835
  to: testEmail,
4835
4836
  accountName: testAccount || null
4836
4837
  });
@@ -4807,7 +4807,8 @@ const TemplateList = () => {
4807
4807
  return;
4808
4808
  }
4809
4809
  try {
4810
- const response = await post(`/magic-mail/designer/templates/${selectedTemplate.id}/test-send`, {
4810
+ const templateIdForLookup = selectedTemplate.templateReferenceId ?? selectedTemplate.id;
4811
+ const response = await post(`/magic-mail/designer/templates/${templateIdForLookup}/test-send`, {
4811
4812
  to: testEmail,
4812
4813
  accountName: testAccount || null
4813
4814
  });
@@ -68,7 +68,7 @@ const index = {
68
68
  id: `${pluginId}.plugin.name`,
69
69
  defaultMessage: "MagicMail"
70
70
  },
71
- Component: () => Promise.resolve().then(() => require("../_chunks/App-2Bg4LxwL.js")),
71
+ Component: () => Promise.resolve().then(() => require("../_chunks/App-BJBweFJi.js")),
72
72
  permissions: pluginPermissions
73
73
  });
74
74
  app.createSettingSection(
@@ -67,7 +67,7 @@ const index = {
67
67
  id: `${pluginId}.plugin.name`,
68
68
  defaultMessage: "MagicMail"
69
69
  },
70
- Component: () => import("../_chunks/App-CAtJIwNW.mjs"),
70
+ Component: () => import("../_chunks/App-PxOT9hIQ.mjs"),
71
71
  permissions: pluginPermissions
72
72
  });
73
73
  app.createSettingSection(