@ever-works/mailgun-plugin 1.0.0 → 1.0.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/README.md +2 -2
- package/dist/index.cjs +1250 -0
- package/dist/index.d.cts +30 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +1242 -0
- package/package.json +108 -98
- package/LICENSE +0 -661
package/package.json
CHANGED
|
@@ -1,99 +1,109 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
2
|
+
"name": "@ever-works/mailgun-plugin",
|
|
3
|
+
"version": "1.0.6",
|
|
4
|
+
"description": "Mailgun email provider plugin (outbound + inbound) for Ever Works platform",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Ever Co. LTD",
|
|
7
|
+
"email": "ever@ever.co",
|
|
8
|
+
"url": "https://ever.co"
|
|
9
|
+
},
|
|
10
|
+
"license": "AGPL-3.0",
|
|
11
|
+
"private": false,
|
|
12
|
+
"type": "module",
|
|
13
|
+
"main": "./dist/index.cjs",
|
|
14
|
+
"module": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"require": "./dist/index.cjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc --noEmit && tsup",
|
|
28
|
+
"dev": "tsup --watch",
|
|
29
|
+
"clean": "rm -rf dist",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@ever-works/plugin": "^1.2.5",
|
|
36
|
+
"form-data": "^4.0.1",
|
|
37
|
+
"mailgun.js": "^10.2.3"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/node": "^26.6.4",
|
|
41
|
+
"tsup": "^8.0.0",
|
|
42
|
+
"typescript": "^5.9.3",
|
|
43
|
+
"vitest": "^5.0.5"
|
|
44
|
+
},
|
|
45
|
+
"everworks": {
|
|
46
|
+
"plugin": {
|
|
47
|
+
"id": "mailgun",
|
|
48
|
+
"name": "Mailgun",
|
|
49
|
+
"version": "1.0.0",
|
|
50
|
+
"category": "email-provider",
|
|
51
|
+
"capabilities": [
|
|
52
|
+
"email-outbound",
|
|
53
|
+
"email-inbound"
|
|
54
|
+
],
|
|
55
|
+
"description": "Send + receive email through Mailgun (Messages API + signed inbound routes, US/EU regions).",
|
|
56
|
+
"settings": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"apiKey": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"title": "Mailgun API key",
|
|
62
|
+
"x-secret": true,
|
|
63
|
+
"x-envVar": "MAILGUN_API_KEY"
|
|
64
|
+
},
|
|
65
|
+
"domain": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"title": "Sending domain",
|
|
68
|
+
"x-envVar": "MAILGUN_DOMAIN"
|
|
69
|
+
},
|
|
70
|
+
"region": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"title": "Region",
|
|
73
|
+
"enum": [
|
|
74
|
+
"us",
|
|
75
|
+
"eu"
|
|
76
|
+
],
|
|
77
|
+
"default": "us",
|
|
78
|
+
"x-envVar": "MAILGUN_REGION"
|
|
79
|
+
},
|
|
80
|
+
"webhookSigningKey": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"title": "Webhook signing key (inbound)",
|
|
83
|
+
"x-secret": true,
|
|
84
|
+
"x-envVar": "MAILGUN_WEBHOOK_SIGNING_KEY"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"required": [
|
|
88
|
+
"apiKey",
|
|
89
|
+
"domain"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"distribution": "registry"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"repository": {
|
|
96
|
+
"type": "git",
|
|
97
|
+
"url": "git+https://github.com/ever-works/ever-works.git",
|
|
98
|
+
"directory": "packages/plugins/mailgun"
|
|
99
|
+
},
|
|
100
|
+
"homepage": "https://github.com/ever-works/ever-works/tree/main/packages/plugins/mailgun#readme",
|
|
101
|
+
"bugs": {
|
|
102
|
+
"url": "https://github.com/ever-works/ever-works/issues"
|
|
103
|
+
},
|
|
104
|
+
"everworksRelease": {
|
|
105
|
+
"contentHash": "sha256:67b3989e2cd280ad55dd8d6de81ecf313d5dcfad08c9be4456db4bfa92cddb6f",
|
|
106
|
+
"commit": "19905c70cf05be3bc523db030597046067cd322a",
|
|
107
|
+
"source": "https://github.com/ever-works/ever-works/tree/19905c70cf05be3bc523db030597046067cd322a/packages/plugins/mailgun"
|
|
108
|
+
}
|
|
109
|
+
}
|