2 Commits

Author SHA1 Message Date
31ea0863e8 1.0.6 2019-10-28 15:38:44 +01:00
0210bdf4df fix(core): update 2019-10-28 15:38:44 +01:00
3 changed files with 3 additions and 3 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartmail", "name": "@pushrocks/smartmail",
"version": "1.0.5", "version": "1.0.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartmail", "name": "@pushrocks/smartmail",
"version": "1.0.5", "version": "1.0.6",
"private": false, "private": false,
"description": "a unified format for representing and dealing with mails", "description": "a unified format for representing and dealing with mails",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -11,7 +11,7 @@ export interface ISmartmailOptions {
*/ */
export class Smartmail { export class Smartmail {
public options: ISmartmailOptions; public options: ISmartmailOptions;
public attachments: plugins.smartfile.Smartfile[]; public attachments: plugins.smartfile.Smartfile[] = [];
constructor(optionsArg: ISmartmailOptions) { constructor(optionsArg: ISmartmailOptions) {
this.options = optionsArg; this.options = optionsArg;