@arkstack/notifications 0.17.5 → 0.17.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 CHANGED
@@ -43,9 +43,25 @@ export default () => ({
43
43
  },
44
44
  },
45
45
  transports: {
46
+ ses: {
47
+ region: env('MAIL_SES_REGION', env('AWS_DEFAULT_REGION', 'us-east-1')),
48
+ // SESCustomOptionsSetName: "my-config-set",
49
+ // SESCustomOptionsEmailTags: [{ Name: "tag_name", Value: "tag_value" }],
50
+ },
51
+ sendmail: {
52
+ path: env('MAIL_SENDMAIL_PATH', '/usr/sbin/sendmail'),
53
+ },
46
54
  smtp: {
47
55
  host: env('MAIL_HOST', 'localhost'),
48
56
  port: env('MAIL_PORT', 1025),
57
+ auth: {
58
+ user: env('MAIL_USERNAME', ''),
59
+ pass: env('MAIL_PASSWORD', ''),
60
+ },
61
+ debug: env('MAIL_DEBUG', false),
62
+ secure: env('MAIL_SECURE', false),
63
+ logger: env('MAIL_LOGGER', false),
64
+ require_tls: env('MAIL_REQUIRE_TLS', false),
49
65
  },
50
66
  africastalking: {
51
67
  username: env('AFRICASTALKING_USERNAME', 'sandbox'),
package/dist/index.d.ts CHANGED
@@ -186,7 +186,7 @@ interface NotificationConfig {
186
186
  [key: string]: any;
187
187
  };
188
188
  sendmail?: {
189
- path?: string;
189
+ path: string;
190
190
  args?: string[];
191
191
  };
192
192
  file: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/notifications",
3
- "version": "0.17.5",
3
+ "version": "0.17.6",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic notification module for Arkstack and Nodejs, providing support for multi-channel notification delivery.",
6
6
  "homepage": "https://arkstack.toneflix.net/guide/notifications",
@@ -34,14 +34,14 @@
34
34
  "africastalking": "^0.8.0",
35
35
  "nodemailer": "^8.0.7",
36
36
  "twilio": "^6.0.0",
37
- "@arkstack/common": "^0.17.5"
37
+ "@arkstack/common": "^0.17.6"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@kanun-hq/plugin-phone": "^0.1.8",
41
41
  "firebase-admin": "^13.0.0",
42
42
  "pusher": "^5.2.0",
43
- "@arkstack/contract": "^0.17.5",
44
- "@arkstack/database": "^0.17.5"
43
+ "@arkstack/contract": "^0.17.6",
44
+ "@arkstack/database": "^0.17.6"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "pusher": {