@digipair/skill-tool 0.102.2 → 0.102.4

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
@@ -23921,14 +23921,14 @@ function indent(str, spaces) {
23921
23921
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23922
23922
  // match is required
23923
23923
  if (!match) {
23924
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23924
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23925
23925
  v: nextMatch1
23926
23926
  };
23927
23927
  }
23928
23928
  var token = match.token, offset = match.offset;
23929
23929
  i1 += offset;
23930
23930
  if (token === " ") {
23931
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23931
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23932
23932
  }
23933
23933
  tokens1 = _to_consumable_array$1(tokens1).concat([
23934
23934
  token
@@ -23947,7 +23947,7 @@ function indent(str, spaces) {
23947
23947
  if (contextKeys.some(function(el) {
23948
23948
  return el.startsWith(name);
23949
23949
  })) {
23950
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23950
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23951
23951
  }
23952
23952
  if (dateTimeIdentifiers.some(function(el) {
23953
23953
  return el === name;
@@ -23966,9 +23966,9 @@ function indent(str, spaces) {
23966
23966
  if (dateTimeIdentifiers.some(function(el) {
23967
23967
  return el.startsWith(name);
23968
23968
  })) {
23969
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23969
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23970
23970
  }
23971
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23971
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23972
23972
  v: nextMatch1
23973
23973
  };
23974
23974
  };
@@ -28038,7 +28038,7 @@ let ToolService = class ToolService {
28038
28038
  async execute(params, _pinsSettingsList, _context) {
28039
28039
  const { execute, context = {} } = params;
28040
28040
  const result = await executePinsList(execute, _extends({}, context, _context, {
28041
- request: _context.requester
28041
+ request: _context.requester && Object.keys(_context.requester).length >= 0 ? _context.requester : _context.request
28042
28042
  }), `${context.__PATH__}.execute`);
28043
28043
  return result;
28044
28044
  }
package/index.esm.js CHANGED
@@ -28016,7 +28016,7 @@ let ToolService = class ToolService {
28016
28016
  async execute(params, _pinsSettingsList, _context) {
28017
28017
  const { execute, context = {} } = params;
28018
28018
  const result = await executePinsList(execute, _extends({}, context, _context, {
28019
- request: _context.requester
28019
+ request: _context.requester && Object.keys(_context.requester).length >= 0 ? _context.requester : _context.request
28020
28020
  }), `${context.__PATH__}.execute`);
28021
28021
  return result;
28022
28022
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-tool",
3
- "version": "0.102.2",
3
+ "version": "0.102.4",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service"