@enonic-types/lib-mail 7.14.0 → 7.14.1

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 (2) hide show
  1. package/mail.d.ts +6 -0
  2. package/package.json +2 -2
package/mail.d.ts CHANGED
@@ -56,3 +56,9 @@ export interface SendMessageParams {
56
56
  * @returns {boolean} True if the message was sent successfully, false otherwise.
57
57
  */
58
58
  export declare function send(params: SendMessageParams): boolean;
59
+ /**
60
+ * This function returns defaultFromMail.
61
+ *
62
+ * @returns {string} The default from e-mail address, or null if not set.
63
+ */
64
+ export declare function getDefaultFromEmail(): string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/lib-mail",
3
- "version": "7.14.0",
3
+ "version": "7.14.1",
4
4
  "description": "Type definitions for lib-mail.",
5
5
  "types": "mail.d.ts",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "homepage": "https://github.com/enonic/xp/tree/master#readme",
29
29
  "dependencies": {
30
- "@enonic-types/core": "7.14.0"
30
+ "@enonic-types/core": "7.14.1"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "public"