@digipair/skill-imap 0.56.2 → 0.57.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/index.cjs.js +2 -2
- package/index.esm.js +7 -7
- package/package.json +1 -1
- package/schema.fr.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -125,7 +125,7 @@ let IMapService = class IMapService {
|
|
|
125
125
|
return client;
|
|
126
126
|
}
|
|
127
127
|
async search(params, _pinsSettingsList, context) {
|
|
128
|
-
const { client = context.imap, query, attachments = '
|
|
128
|
+
const { client = context.imap, query, attachments = 'NONE' } = params;
|
|
129
129
|
let messages;
|
|
130
130
|
const list = await client.search(query);
|
|
131
131
|
const results = await client.fetchAll(list, {
|
|
@@ -194,7 +194,7 @@ let IMapService = class IMapService {
|
|
|
194
194
|
return client.mailboxDelete(path);
|
|
195
195
|
}
|
|
196
196
|
async mailboxOpen(params, _pinsSettingsList, context) {
|
|
197
|
-
const { client = context.imap, path, options = {} } = params;
|
|
197
|
+
const { client = context.imap, path = 'INBOX', options = {} } = params;
|
|
198
198
|
return client.mailboxOpen(path, options);
|
|
199
199
|
}
|
|
200
200
|
async mailboxRename(params, _pinsSettingsList, context) {
|
package/index.esm.js
CHANGED
|
@@ -23901,14 +23901,14 @@ function indent(str, spaces) {
|
|
|
23901
23901
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23902
23902
|
// match is required
|
|
23903
23903
|
if (!match) {
|
|
23904
|
-
return
|
|
23904
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
23905
23905
|
v: nextMatch1
|
|
23906
23906
|
};
|
|
23907
23907
|
}
|
|
23908
23908
|
var token = match.token, offset = match.offset;
|
|
23909
23909
|
i1 += offset;
|
|
23910
23910
|
if (token === " ") {
|
|
23911
|
-
return
|
|
23911
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23912
23912
|
}
|
|
23913
23913
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23914
23914
|
token
|
|
@@ -23927,7 +23927,7 @@ function indent(str, spaces) {
|
|
|
23927
23927
|
if (contextKeys.some(function(el) {
|
|
23928
23928
|
return el.startsWith(name);
|
|
23929
23929
|
})) {
|
|
23930
|
-
return
|
|
23930
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23931
23931
|
}
|
|
23932
23932
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23933
23933
|
return el === name;
|
|
@@ -23946,9 +23946,9 @@ function indent(str, spaces) {
|
|
|
23946
23946
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23947
23947
|
return el.startsWith(name);
|
|
23948
23948
|
})) {
|
|
23949
|
-
return
|
|
23949
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
23950
23950
|
}
|
|
23951
|
-
return
|
|
23951
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
23952
23952
|
v: nextMatch1
|
|
23953
23953
|
};
|
|
23954
23954
|
};
|
|
@@ -28064,7 +28064,7 @@ let IMapService = class IMapService {
|
|
|
28064
28064
|
return client;
|
|
28065
28065
|
}
|
|
28066
28066
|
async search(params, _pinsSettingsList, context) {
|
|
28067
|
-
const { client = context.imap, query, attachments = '
|
|
28067
|
+
const { client = context.imap, query, attachments = 'NONE' } = params;
|
|
28068
28068
|
let messages;
|
|
28069
28069
|
const list = await client.search(query);
|
|
28070
28070
|
const results = await client.fetchAll(list, {
|
|
@@ -28133,7 +28133,7 @@ let IMapService = class IMapService {
|
|
|
28133
28133
|
return client.mailboxDelete(path);
|
|
28134
28134
|
}
|
|
28135
28135
|
async mailboxOpen(params, _pinsSettingsList, context) {
|
|
28136
|
-
const { client = context.imap, path, options = {} } = params;
|
|
28136
|
+
const { client = context.imap, path = 'INBOX', options = {} } = params;
|
|
28137
28137
|
return client.mailboxOpen(path, options);
|
|
28138
28138
|
}
|
|
28139
28139
|
async mailboxRename(params, _pinsSettingsList, context) {
|
package/package.json
CHANGED