strapi-plugin-magic-mail 3.0.4 → 4.0.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 (54) hide show
  1. package/CHANGELOG.md +192 -0
  2. package/README.md +625 -1336
  3. package/dist/admin/App-Bi6mzEff.mjs +10973 -0
  4. package/dist/admin/App-aaEU9cpu.js +10976 -0
  5. package/dist/admin/PluginSettings-BR2-PVHx.mjs +705 -0
  6. package/dist/admin/PluginSettings-DbTkOzCh.js +707 -0
  7. package/dist/admin/analyticsLogs-BCY0Zv3Y.mjs +685 -0
  8. package/dist/admin/analyticsLogs-DNU09hoB.js +686 -0
  9. package/dist/admin/de-B5bPRK6l.js +717 -0
  10. package/dist/admin/de-BqYqMhOn.mjs +717 -0
  11. package/dist/admin/en-8xANOQdO.mjs +717 -0
  12. package/dist/admin/en-Bk5eVrtc.js +717 -0
  13. package/dist/admin/es-BfPsCsam.js +717 -0
  14. package/dist/admin/es-DgpTufJ_.mjs +717 -0
  15. package/dist/admin/fr-BuotP0Gc.mjs +717 -0
  16. package/dist/admin/fr-IQ3KPUoS.js +717 -0
  17. package/dist/admin/index-QGqbGw6k.js +102 -0
  18. package/dist/admin/index-qvFJ-a0Q.mjs +103 -0
  19. package/dist/admin/index.js +2 -99
  20. package/dist/admin/index.mjs +2 -99
  21. package/dist/admin/pt-BI63Lncs.js +717 -0
  22. package/dist/admin/pt-DBZu2cDY.mjs +717 -0
  23. package/dist/server/index.js +4655 -3374
  24. package/dist/server/index.mjs +4655 -3374
  25. package/package.json +54 -48
  26. package/strapi-admin.js +3 -2
  27. package/strapi-server.js +3 -2
  28. package/dist/admin/App-D3TchJYB.js +0 -8028
  29. package/dist/admin/App-DkyWmEgv.mjs +0 -8007
  30. package/dist/admin/PluginSettings-B6TdA1qd.js +0 -388
  31. package/dist/admin/PluginSettings-DTqdZ-nW.mjs +0 -386
  32. package/dist/admin/StyledButtons-aq1EWrQ-.mjs +0 -433
  33. package/dist/admin/StyledButtons-jHF7TXal.js +0 -434
  34. package/dist/admin/de-DKEFnBGC.js +0 -63
  35. package/dist/admin/de-SKsLY2de.mjs +0 -63
  36. package/dist/admin/en-CvtZE1HH.js +0 -63
  37. package/dist/admin/en-Ds2Q7fue.mjs +0 -63
  38. package/dist/admin/es-BEvzLtTg.mjs +0 -63
  39. package/dist/admin/es-BbLLes3D.js +0 -63
  40. package/dist/admin/fr-CRpwImX6.mjs +0 -63
  41. package/dist/admin/fr-nH9uN6s9.js +0 -63
  42. package/dist/admin/pt-CjOe2N_n.mjs +0 -63
  43. package/dist/admin/pt-qt_48NxL.js +0 -63
  44. package/pics/EmailAccountDashboard.png +0 -0
  45. package/pics/Emailaddccount1.png +0 -0
  46. package/pics/RoutingEmailTemplates.png +0 -0
  47. package/pics/Templates.png +0 -0
  48. package/pics/codesnippet.png +0 -0
  49. package/pics/emailAnalytics.png +0 -0
  50. package/pics/emailDesigner.png +0 -0
  51. package/pics/emailTemplateSendTest.png +0 -0
  52. package/pics/emailVersionHistory.png +0 -0
  53. package/pics/emailaddaccount2.png +0 -0
  54. package/pics/emailaddaccount3.png +0 -0
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
- "version": "3.0.4",
2
+ "version": "4.0.0",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "plugin",
6
6
  "strapi-plugin",
7
7
  "strapi-v5",
8
8
  "email",
9
- "whatsapp",
10
9
  "multi-account",
11
10
  "smtp",
12
11
  "nodemailer",
13
12
  "email-routing",
14
13
  "email-analytics",
15
- "messaging"
14
+ "email-delivery"
16
15
  ],
17
16
  "type": "commonjs",
18
17
  "exports": {
@@ -36,89 +35,92 @@
36
35
  "strapi-server.js",
37
36
  "README.md",
38
37
  "LICENSE",
39
- "CHANGELOG.md",
40
- "pics"
38
+ "CHANGELOG.md"
41
39
  ],
42
40
  "engines": {
43
- "node": ">=20.19.0 <=26.x.x",
44
- "npm": ">=6.0.0"
41
+ "node": ">=22.12.0 <=26.x.x",
42
+ "npm": ">=10.0.0"
45
43
  },
46
44
  "scripts": {
47
45
  "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
48
46
  "build": "npm run clean && strapi-plugin build && node scripts/build-server-bundle.mjs",
49
- "watch": "strapi-plugin watch",
50
- "watch:link": "strapi-plugin watch:link",
47
+ "watch": "node scripts/watch.mjs",
48
+ "watch:link": "node scripts/watch.mjs --link",
51
49
  "verify": "strapi-plugin verify",
52
50
  "verify:runtime": "node scripts/verify-server-bundle.mjs",
53
51
  "test": "node --test tests/*.test.js",
52
+ "lint": "eslint .",
53
+ "lint:fix": "eslint . --fix",
54
+ "format": "prettier --write .",
55
+ "format:check": "prettier --check .",
54
56
  "test:integration": "node .dev/test-magic-mail.js --quick",
55
57
  "test:full": "node .dev/test-magic-mail.js --full",
56
58
  "prepublishOnly": "npm test && npm run build && npm run verify && npm run verify:runtime"
57
59
  },
58
60
  "dependencies": {
59
61
  "@heroicons/react": "^2.2.0",
60
- "@strapi/design-system": "^2.2.2",
61
- "@strapi/icons": "^2.2.2",
62
- "baileys": "^7.0.0-rc13",
63
- "decode-html": "^2.0.0",
64
- "form-data": "^4.0.6",
65
- "html-to-text": "^10.0.0",
62
+ "@strapi/design-system": "^2.2.4",
63
+ "@strapi/icons": "^2.2.4",
64
+ "html-to-text": "^10.0.1",
66
65
  "mustache": "^4.2.0",
67
- "nodemailer": "^9.0.3",
68
- "pino": "^10.3.1",
69
- "qrcode": "^1.5.4",
70
- "react-email-editor": "^2.0.0",
71
- "react-intl": "^10.1.15",
72
- "sanitize-html": "^2.17.6",
73
- "striptags": "^3.2.0",
74
- "yup": "^1.7.1",
75
- "zod": "^4.4.3"
66
+ "nodemailer": "^10.3.1",
67
+ "react-email-editor": "^2.1.3",
68
+ "sanitize-html": "^2.18.0",
69
+ "zod": "^4.6.7"
76
70
  },
77
71
  "devDependencies": {
78
- "@semantic-release/changelog": "^6.0.3",
72
+ "@eslint/js": "^10.0.1",
73
+ "@semantic-release/changelog": "^7.0.0",
79
74
  "@semantic-release/commit-analyzer": "^13.0.1",
80
- "@semantic-release/git": "^10.0.1",
81
- "@semantic-release/github": "^12.0.9",
82
- "@semantic-release/npm": "^13.1.5",
75
+ "@semantic-release/git": "^11.0.1",
76
+ "@semantic-release/github": "^12.0.10",
77
+ "@semantic-release/npm": "^13.2.0",
83
78
  "@semantic-release/release-notes-generator": "^14.1.1",
79
+ "@strapi/plugin-users-permissions": "^5.61.0",
84
80
  "@strapi/sdk-plugin": "^6.1.1",
85
- "@strapi/strapi": "^5.50.1",
86
- "esbuild": "^0.28.1",
87
- "prettier": "^3.9.5",
81
+ "@strapi/strapi": "^5.61.0",
82
+ "esbuild": "^0.28.2",
83
+ "eslint": "^10.14.0",
84
+ "eslint-config-prettier": "^10.1.8",
85
+ "eslint-plugin-react-hooks": "^7.1.1",
86
+ "globals": "^17.14.0",
87
+ "prettier": "^3.9.10",
88
88
  "react": "^18.3.1",
89
89
  "react-dom": "^18.3.1",
90
- "react-router-dom": "^6.30.1",
91
- "semantic-release": "^25.0.5",
92
- "styled-components": "6.4.2"
90
+ "react-intl": "^6.8.9",
91
+ "react-router-dom": "^6.30.6",
92
+ "semantic-release": "^25.0.9",
93
+ "styled-components": "^6.6.0"
93
94
  },
94
95
  "peerDependencies": {
95
- "@strapi/strapi": "^5.50.1",
96
- "@strapi/utils": "^5.0.0",
96
+ "@strapi/plugin-users-permissions": "^5.57.0",
97
+ "@strapi/strapi": "^5.57.0",
98
+ "@strapi/utils": "^5.57.0",
97
99
  "react": "^18.3.1",
98
100
  "react-dom": "^18.3.1",
99
- "react-router-dom": "^6.30.1",
100
- "styled-components": "^6.4.2"
101
+ "react-intl": "^6.6.2",
102
+ "react-router-dom": "^6.30.3",
103
+ "styled-components": "^6.0.0"
101
104
  },
102
105
  "overrides": {
103
- "libsignal": "npm:@baileys-md/libsignal@2.0.1",
104
- "protobufjs": "^7.5.6",
105
- "ws": "^8.21.0",
106
- "vite": "6.4.3",
106
+ "ws": "^8.22.0",
107
+ "vite": "^6.4.5",
107
108
  "esbuild": "$esbuild",
108
- "undici": "7.28.0",
109
109
  "@rushstack/node-core-library": {
110
- ".": "5.23.1",
111
110
  "ajv": "^8.18.0"
111
+ },
112
+ "@semantic-release/github": {
113
+ "undici": "^7.30.2"
112
114
  }
113
115
  },
114
116
  "strapi": {
115
117
  "kind": "plugin",
116
118
  "name": "magic-mail",
117
- "displayName": "MagicMail - Email & WhatsApp Suite",
118
- "description": "Multi-account email management with WhatsApp messaging, smart routing, failover, and analytics for Strapi v5"
119
+ "displayName": "MagicMail - Email Suite",
120
+ "description": "Multi-account email management with smart routing, failover, and analytics for Strapi v5"
119
121
  },
120
122
  "name": "strapi-plugin-magic-mail",
121
- "description": "Multi-account email management with WhatsApp messaging, smart routing, failover, and analytics for Strapi v5",
123
+ "description": "Multi-account email management with smart routing, failover, and analytics for Strapi v5",
122
124
  "license": "MIT",
123
125
  "author": "Schero D.",
124
126
  "repository": {
@@ -129,5 +131,9 @@
129
131
  "url": "https://github.com/Schero94/Magic-Mail/issues"
130
132
  },
131
133
  "homepage": "https://github.com/Schero94/Magic-Mail#readme",
132
- "private": false
134
+ "private": false,
135
+ "publishConfig": {
136
+ "access": "public",
137
+ "provenance": true
138
+ }
133
139
  }
package/strapi-admin.js CHANGED
@@ -1,4 +1,5 @@
1
1
  'use strict';
2
2
 
3
- module.exports = require('./admin/src/index.js');
4
-
3
+ // Legacy entry kept for tools that resolve the package root file instead of the
4
+ // exports map. Strapi 5 itself loads ./strapi-admin through package.json exports.
5
+ module.exports = require('./dist/admin/index.js');
package/strapi-server.js CHANGED
@@ -1,4 +1,5 @@
1
1
  'use strict';
2
2
 
3
- module.exports = require('./server/src/index.js');
4
-
3
+ // Legacy entry kept for tools that resolve the package root file instead of the
4
+ // exports map. Strapi 5 itself loads ./strapi-server through package.json exports.
5
+ module.exports = require('./dist/server/index.js');