@digipair/skill-worker 0.102.0 → 0.102.2

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 tokens = tokens1, nextMatch = nextMatch1, i = i1, {
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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "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 tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23969
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
23970
23970
  }
23971
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23971
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
23972
23972
  v: nextMatch1
23973
23973
  };
23974
23974
  };
@@ -28010,18 +28010,24 @@ let WorkerService = class WorkerService {
28010
28010
  context.workflow = {
28011
28011
  steps: {}
28012
28012
  };
28013
- return await executePinsList(execute, context, `${context.__PATH__}.execute`);
28013
+ return await executePinsList(execute, _extends({}, context, {
28014
+ request: context.requester
28015
+ }), `${context.__PATH__}.execute`);
28014
28016
  }
28015
28017
  async action(params, _pinsSettingsList, context) {
28016
28018
  const { execute } = params;
28017
28019
  context.workflow = {
28018
28020
  steps: {}
28019
28021
  };
28020
- return await executePinsList(execute, context, `${context.__PATH__}.execute`);
28022
+ return await executePinsList(execute, _extends({}, context, {
28023
+ request: context.requester
28024
+ }), `${context.__PATH__}.execute`);
28021
28025
  }
28022
28026
  async activity(params, _pinsSettingsList, context) {
28023
28027
  const { name, execute } = params;
28024
- const result = await executePinsList(execute, context, `${context.__PATH__}.execute`);
28028
+ const result = await executePinsList(execute, _extends({}, context, {
28029
+ request: context.requester
28030
+ }), `${context.__PATH__}.execute`);
28025
28031
  context.workflow.steps[name] = result;
28026
28032
  return result;
28027
28033
  }
package/index.esm.js CHANGED
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
23899
23899
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23900
23900
  // match is required
23901
23901
  if (!match) {
23902
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23902
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23903
23903
  v: nextMatch1
23904
23904
  };
23905
23905
  }
23906
23906
  var token = match.token, offset = match.offset;
23907
23907
  i1 += offset;
23908
23908
  if (token === " ") {
23909
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23909
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23910
23910
  }
23911
23911
  tokens1 = _to_consumable_array$1(tokens1).concat([
23912
23912
  token
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
23925
23925
  if (contextKeys.some(function(el) {
23926
23926
  return el.startsWith(name);
23927
23927
  })) {
23928
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23928
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23929
23929
  }
23930
23930
  if (dateTimeIdentifiers.some(function(el) {
23931
23931
  return el === name;
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
23944
23944
  if (dateTimeIdentifiers.some(function(el) {
23945
23945
  return el.startsWith(name);
23946
23946
  })) {
23947
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
23947
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23948
23948
  }
23949
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
23949
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23950
23950
  v: nextMatch1
23951
23951
  };
23952
23952
  };
@@ -27988,18 +27988,24 @@ let WorkerService = class WorkerService {
27988
27988
  context.workflow = {
27989
27989
  steps: {}
27990
27990
  };
27991
- return await executePinsList(execute, context, `${context.__PATH__}.execute`);
27991
+ return await executePinsList(execute, _extends({}, context, {
27992
+ request: context.requester
27993
+ }), `${context.__PATH__}.execute`);
27992
27994
  }
27993
27995
  async action(params, _pinsSettingsList, context) {
27994
27996
  const { execute } = params;
27995
27997
  context.workflow = {
27996
27998
  steps: {}
27997
27999
  };
27998
- return await executePinsList(execute, context, `${context.__PATH__}.execute`);
28000
+ return await executePinsList(execute, _extends({}, context, {
28001
+ request: context.requester
28002
+ }), `${context.__PATH__}.execute`);
27999
28003
  }
28000
28004
  async activity(params, _pinsSettingsList, context) {
28001
28005
  const { name, execute } = params;
28002
- const result = await executePinsList(execute, context, `${context.__PATH__}.execute`);
28006
+ const result = await executePinsList(execute, _extends({}, context, {
28007
+ request: context.requester
28008
+ }), `${context.__PATH__}.execute`);
28003
28009
  context.workflow.steps[name] = result;
28004
28010
  return result;
28005
28011
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-worker",
3
- "version": "0.102.0",
3
+ "version": "0.102.2",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service"