mirror of
https://github.com/koush/scrypted.git
synced 2026-02-08 08:19:56 +00:00
smtp: update
This commit is contained in:
4
plugins/smtp/package-lock.json
generated
4
plugins/smtp/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@scrypted/smtp",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@scrypted/smtp",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"dependencies": {
|
||||
"@types/node": "^16.6.1",
|
||||
"mailparser": "^3.4.0",
|
||||
|
||||
@@ -39,5 +39,5 @@
|
||||
"@types/mailparser": "^3.0.3",
|
||||
"@types/smtp-server": "^3.5.7"
|
||||
},
|
||||
"version": "0.0.8"
|
||||
"version": "0.0.9"
|
||||
}
|
||||
|
||||
@@ -173,9 +173,10 @@ class MailPlugin extends ScryptedDeviceBase implements Settings, MixinProvider {
|
||||
}
|
||||
|
||||
async getMixin(mixinDevice: any, mixinDeviceInterfaces: ScryptedInterface[], mixinDeviceState: { [key: string]: any; }): Promise<any> {
|
||||
const ret = new SmtpMixin(mixinDevice, mixinDeviceState, {
|
||||
const ret = new SmtpMixin({
|
||||
mixinDevice, mixinDeviceState,
|
||||
mixinDeviceInterfaces,
|
||||
providerNativeId: this.nativeId,
|
||||
mixinProviderNativeId: this.nativeId,
|
||||
group: "Mail",
|
||||
groupKey: "mail",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user