strapi-plugin-magic-mail 2.10.3 → 2.10.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.10.4](https://github.com/Schero94/Magic-Mail/compare/v2.10.3...v2.10.4) (2026-04-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **build:** use non-destructured require for zod + @strapi/utils ([054a091](https://github.com/Schero94/Magic-Mail/commit/054a0914b24ef336d56ffd1638ca43dd9a121bee))
7
+
1
8
  ## [2.10.3](https://github.com/Schero94/Magic-Mail/compare/v2.10.2...v2.10.3) (2026-04-21)
2
9
 
3
10
 
@@ -16752,7 +16752,7 @@ function date(params) {
16752
16752
  __exportStar(external, exports$1);
16753
16753
  exports$1.default = z2;
16754
16754
  })(zod);
16755
- const { z } = zod;
16755
+ const z = zod;
16756
16756
  const emailString = z.string().email().max(254);
16757
16757
  const safeString = z.string().max(1e3);
16758
16758
  const safeText = z.string().max(1e5);
@@ -17003,7 +17003,7 @@ function validate$5(schemaName, body) {
17003
17003
  }
17004
17004
  const result2 = schema.safeParse(body);
17005
17005
  if (!result2.success) {
17006
- const { errors: strapiErrors } = require$$1__default.default;
17006
+ const strapiErrors = require$$1__default.default.errors;
17007
17007
  const flattened = result2.error.flatten();
17008
17008
  const strapiLog = typeof strapi !== "undefined" && strapi && strapi.log ? strapi.log : null;
17009
17009
  if (strapiLog) {
@@ -31592,7 +31592,7 @@ var oauth$1 = ({ strapi: strapi2 }) => ({
31592
31592
  return account;
31593
31593
  }
31594
31594
  });
31595
- const version = "2.10.2";
31595
+ const version = "2.10.3";
31596
31596
  const require$$2 = {
31597
31597
  version
31598
31598
  };
@@ -16740,7 +16740,7 @@ function date(params) {
16740
16740
  __exportStar(external, exports$1);
16741
16741
  exports$1.default = z2;
16742
16742
  })(zod);
16743
- const { z } = zod;
16743
+ const z = zod;
16744
16744
  const emailString = z.string().email().max(254);
16745
16745
  const safeString = z.string().max(1e3);
16746
16746
  const safeText = z.string().max(1e5);
@@ -16991,7 +16991,7 @@ function validate$5(schemaName, body) {
16991
16991
  }
16992
16992
  const result2 = schema.safeParse(body);
16993
16993
  if (!result2.success) {
16994
- const { errors: strapiErrors } = require$$1$2;
16994
+ const strapiErrors = require$$1$2.errors;
16995
16995
  const flattened = result2.error.flatten();
16996
16996
  const strapiLog = typeof strapi !== "undefined" && strapi && strapi.log ? strapi.log : null;
16997
16997
  if (strapiLog) {
@@ -31580,7 +31580,7 @@ var oauth$1 = ({ strapi: strapi2 }) => ({
31580
31580
  return account;
31581
31581
  }
31582
31582
  });
31583
- const version = "2.10.2";
31583
+ const version = "2.10.3";
31584
31584
  const require$$2 = {
31585
31585
  version
31586
31586
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.10.3",
2
+ "version": "2.10.4",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "plugin",