@digipair/skill-imap 0.59.0 → 0.59.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.
package/index.cjs.js CHANGED
@@ -68,6 +68,7 @@ let IMapService = class IMapService {
68
68
  }, configuration));
69
69
  await client.connect();
70
70
  (_context_protected = context.protected) == null ? void 0 : _context_protected.signal.addEventListener('abort', ()=>{
71
+ this.forceClose = true;
71
72
  client.logout();
72
73
  });
73
74
  client.on('close', async ()=>{
@@ -206,6 +207,7 @@ let IMapService = class IMapService {
206
207
  }
207
208
  async logout(params, _pinsSettingsList, context) {
208
209
  const { client = context.imap } = params;
210
+ client.forceClose = true;
209
211
  return client.imap.logout();
210
212
  }
211
213
  async mailboxClose(params, _pinsSettingsList, context) {
package/index.esm.js CHANGED
@@ -23902,14 +23902,14 @@ function indent(str, spaces) {
23902
23902
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23903
23903
  // match is required
23904
23904
  if (!match) {
23905
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23905
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23906
23906
  v: nextMatch1
23907
23907
  };
23908
23908
  }
23909
23909
  var token = match.token, offset = match.offset;
23910
23910
  i1 += offset;
23911
23911
  if (token === " ") {
23912
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23912
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23913
23913
  }
23914
23914
  tokens1 = _to_consumable_array$1(tokens1).concat([
23915
23915
  token
@@ -23928,7 +23928,7 @@ function indent(str, spaces) {
23928
23928
  if (contextKeys.some(function(el) {
23929
23929
  return el.startsWith(name);
23930
23930
  })) {
23931
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23931
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23932
23932
  }
23933
23933
  if (dateTimeIdentifiers.some(function(el) {
23934
23934
  return el === name;
@@ -23947,9 +23947,9 @@ function indent(str, spaces) {
23947
23947
  if (dateTimeIdentifiers.some(function(el) {
23948
23948
  return el.startsWith(name);
23949
23949
  })) {
23950
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23950
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23951
23951
  }
23952
- return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23952
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23953
23953
  v: nextMatch1
23954
23954
  };
23955
23955
  };
@@ -28007,6 +28007,7 @@ let IMapService = class IMapService {
28007
28007
  }, configuration));
28008
28008
  await client.connect();
28009
28009
  (_context_protected = context.protected) == null ? void 0 : _context_protected.signal.addEventListener('abort', ()=>{
28010
+ this.forceClose = true;
28010
28011
  client.logout();
28011
28012
  });
28012
28013
  client.on('close', async ()=>{
@@ -28145,6 +28146,7 @@ let IMapService = class IMapService {
28145
28146
  }
28146
28147
  async logout(params, _pinsSettingsList, context) {
28147
28148
  const { client = context.imap } = params;
28149
+ client.forceClose = true;
28148
28150
  return client.imap.logout();
28149
28151
  }
28150
28152
  async mailboxClose(params, _pinsSettingsList, context) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-imap",
3
- "version": "0.59.0",
3
+ "version": "0.59.1",
4
4
  "dependencies": {
5
5
  "imapflow": "^1.0.171",
6
6
  "jsdom": "^25.0.1"
package/schema.json CHANGED
@@ -91,7 +91,7 @@
91
91
  {
92
92
  "name": "config",
93
93
  "summary": "Configuration",
94
- "required": true,
94
+ "required": false,
95
95
  "description": "IMAP client configuration",
96
96
  "schema": {
97
97
  "type": "object"
File without changes