@constructive-io/postmaster 1.25.2 → 1.26.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.
- package/esm/index.js +2 -2
- package/index.js +2 -2
- package/package.json +3 -3
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { email, env, host, str } from '12factor-env';
|
|
2
2
|
import FormData from 'form-data';
|
|
3
|
-
import
|
|
3
|
+
import Mailgun from 'mailgun.js';
|
|
4
4
|
let cachedEnvConfig;
|
|
5
5
|
const getEnvConfig = () => {
|
|
6
6
|
if (cachedEnvConfig) {
|
package/index.js
CHANGED
|
@@ -4,9 +4,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.resetClient = exports.send = void 0;
|
|
7
|
-
const mailgun_js_1 = __importDefault(require("mailgun.js"));
|
|
8
|
-
const form_data_1 = __importDefault(require("form-data"));
|
|
9
7
|
const _12factor_env_1 = require("12factor-env");
|
|
8
|
+
const form_data_1 = __importDefault(require("form-data"));
|
|
9
|
+
const mailgun_js_1 = __importDefault(require("mailgun.js"));
|
|
10
10
|
let cachedEnvConfig;
|
|
11
11
|
const getEnvConfig = () => {
|
|
12
12
|
if (cachedEnvConfig) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/postmaster",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Mailgun email sender for Constructive",
|
|
6
6
|
"main": "index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test:watch": "jest --watch"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"12factor-env": "^1.
|
|
32
|
+
"12factor-env": "^1.27.0",
|
|
33
33
|
"form-data": "^4.0.0",
|
|
34
34
|
"mailgun.js": "^10.2.3"
|
|
35
35
|
},
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"email",
|
|
42
42
|
"postmaster"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "d508453a32a2f1d70ff6916871046615226e6f33"
|
|
45
45
|
}
|