@digipair/skill-service 0.136.3 → 0.136.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/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- function _mergeNamespaces$1(n, m) {
1
+ function _mergeNamespaces(n, m) {
2
2
  m.forEach(function(e) {
3
3
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
4
4
  if (k !== 'default' && !(k in n)) {
@@ -18,7 +18,7 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof win
18
18
  function getDefaultExportFromCjs(x) {
19
19
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
20
20
  }
21
- var handlebars_min = {
21
+ var handlebars_min$1 = {
22
22
  exports: {}
23
23
  };
24
24
  /**!
@@ -46,7 +46,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
46
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
47
47
  THE SOFTWARE.
48
48
 
49
- */ handlebars_min.exports;
49
+ */ handlebars_min$1.exports;
50
50
  (function(module1, exports1) {
51
51
  function _instanceof(left, right) {
52
52
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -8127,12 +8127,12 @@ THE SOFTWARE.
8127
8127
  }
8128
8128
  ]);
8129
8129
  });
8130
- })(handlebars_min, handlebars_min.exports);
8131
- var handlebars_minExports = handlebars_min.exports;
8132
- var handlebars_min_default = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8133
- var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces$1({
8130
+ })(handlebars_min$1, handlebars_min$1.exports);
8131
+ var handlebars_minExports = handlebars_min$1.exports;
8132
+ var handlebars_min = /*@__PURE__*/ getDefaultExportFromCjs(handlebars_minExports);
8133
+ var HandlebarsNamespace = /*#__PURE__*/ _mergeNamespaces({
8134
8134
  __proto__: null,
8135
- default: handlebars_min_default
8135
+ default: handlebars_min
8136
8136
  }, [
8137
8137
  handlebars_minExports
8138
8138
  ]);
@@ -17295,7 +17295,6 @@ class represent prop names.
17295
17295
  this.deserialize = config.deserialize || function() {
17296
17296
  throw new Error("This node type doesn't define a deserialize function");
17297
17297
  };
17298
- this.combine = config.combine || null;
17299
17298
  }
17300
17299
  _create_class$u(NodeProp, [
17301
17300
  {
@@ -17408,16 +17407,10 @@ represented by another tree.
17408
17407
  */ overlay, /**
17409
17408
  The parser used to create this subtree.
17410
17409
  */ parser) {
17411
- var /**
17412
- [Indicates](#common.IterMode.EnterBracketed) that the nested
17413
- content is delineated with some kind
17414
- of bracket token.
17415
- */ bracketed = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
17416
17410
  _class_call_check$z(this, MountedTree);
17417
17411
  this.tree = tree;
17418
17412
  this.overlay = overlay;
17419
17413
  this.parser = parser;
17420
- this.bracketed = bracketed;
17421
17414
  }
17422
17415
  _create_class$u(MountedTree, null, [
17423
17416
  {
@@ -17633,9 +17626,7 @@ types in it, so that the ids fit into 16-bit typed array slots.
17633
17626
  var add = source(type);
17634
17627
  if (add) {
17635
17628
  if (!newProps) newProps = Object.assign({}, type.props);
17636
- var value = add[1], prop = add[0];
17637
- if (prop.combine && prop.id in newProps) value = prop.combine(newProps[prop.id], value);
17638
- newProps[prop.id] = value;
17629
+ newProps[add[0].id] = add[1];
17639
17630
  }
17640
17631
  }
17641
17632
  } catch (err) {
@@ -17701,12 +17692,6 @@ operator to enable multiple ones.
17701
17692
  library to not enter mounted overlays if one covers the given
17702
17693
  position.
17703
17694
  */ IterMode[IterMode["IgnoreOverlays"] = 8] = "IgnoreOverlays";
17704
- /**
17705
- When set, positions on the boundary of a mounted overlay tree
17706
- that has its [`bracketed`](#common.NestedParse.bracketed) flag
17707
- set will enter that tree regardless of side. Only supported in
17708
- [`enter`](#common.SyntaxNode.enter), not in cursors.
17709
- */ IterMode[IterMode["EnterBracketed"] = 16] = "EnterBracketed";
17710
17695
  })(IterMode || (IterMode = {}));
17711
17696
  /**
17712
17697
  A piece of syntax tree. There are two ways to approach these
@@ -18265,17 +18250,17 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18265
18250
  var mode = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0;
18266
18251
  for(var parent = this;;){
18267
18252
  for(var _parent__tree = parent._tree, children = _parent__tree.children, positions = _parent__tree.positions, e = dir > 0 ? children.length : -1; i != e; i += dir){
18268
- var next = children[i], start = positions[i] + parent.from, mounted = void 0;
18269
- if (!(mode & IterMode.EnterBracketed && _instanceof$i(next, Tree) && (mounted = MountedTree.get(next)) && !mounted.overlay && mounted.bracketed && pos >= start && pos <= start + next.length) && !checkSide(side, pos, start, start + next.length)) continue;
18253
+ var next = children[i], start = positions[i] + parent.from;
18254
+ if (!checkSide(side, pos, start, start + next.length)) continue;
18270
18255
  if (_instanceof$i(next, TreeBuffer)) {
18271
18256
  if (mode & IterMode.ExcludeBuffers) continue;
18272
18257
  var index = next.findChild(0, next.buffer.length, dir, pos - start, side);
18273
18258
  if (index > -1) return new BufferNode(new BufferContext(parent, next, i, start), null, index);
18274
18259
  } else if (mode & IterMode.IncludeAnonymous || !next.type.isAnonymous || hasChild(next)) {
18275
- var mounted1 = void 0;
18276
- if (!(mode & IterMode.IgnoreMounts) && (mounted1 = MountedTree.get(next)) && !mounted1.overlay) return new TreeNode(mounted1.tree, start, i, parent);
18260
+ var mounted = void 0;
18261
+ if (!(mode & IterMode.IgnoreMounts) && (mounted = MountedTree.get(next)) && !mounted.overlay) return new TreeNode(mounted.tree, start, i, parent);
18277
18262
  var inner = new TreeNode(next, start, i, parent);
18278
- return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side, mode);
18263
+ return mode & IterMode.IncludeAnonymous || !inner.type.isAnonymous ? inner : inner.nextChild(dir < 0 ? next.children.length - 1 : 0, dir, pos, side);
18279
18264
  }
18280
18265
  }
18281
18266
  if (mode & IterMode.IncludeAnonymous || !parent.type.isAnonymous) return null;
@@ -18310,24 +18295,18 @@ var TreeNode = /*#__PURE__*/ function(BaseNode) {
18310
18295
  return this.nextChild(this._tree.children.length - 1, -1, pos, -2 /* Side.Before */ );
18311
18296
  }
18312
18297
  },
18313
- {
18314
- key: "prop",
18315
- value: function prop(prop) {
18316
- return this._tree.prop(prop);
18317
- }
18318
- },
18319
18298
  {
18320
18299
  key: "enter",
18321
18300
  value: function enter(pos, side) {
18322
18301
  var mode = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
18323
18302
  var mounted;
18324
18303
  if (!(mode & IterMode.IgnoreOverlays) && (mounted = MountedTree.get(this._tree)) && mounted.overlay) {
18325
- var rPos = pos - this.from, enterBracketed = mode & IterMode.EnterBracketed && mounted.bracketed;
18304
+ var rPos = pos - this.from;
18326
18305
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
18327
18306
  try {
18328
18307
  for(var _iterator = mounted.overlay[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
18329
18308
  var _step_value = _step.value, from = _step_value.from, to = _step_value.to;
18330
- if ((side > 0 || enterBracketed ? from <= rPos : from < rPos) && (side < 0 || enterBracketed ? to >= rPos : to > rPos)) return new TreeNode(mounted.tree, mounted.overlay[0].from + this.from, -1, this);
18309
+ if ((side > 0 ? from <= rPos : from < rPos) && (side < 0 ? to >= rPos : to > rPos)) return new TreeNode(mounted.tree, mounted.overlay[0].from + this.from, -1, this);
18331
18310
  }
18332
18311
  } catch (err) {
18333
18312
  _didIteratorError = true;
@@ -18491,12 +18470,6 @@ var BufferNode = /*#__PURE__*/ function(BaseNode) {
18491
18470
  return this.child(-1, pos, -2 /* Side.Before */ );
18492
18471
  }
18493
18472
  },
18494
- {
18495
- key: "prop",
18496
- value: function prop(prop) {
18497
- return this.type.prop(prop);
18498
- }
18499
- },
18500
18473
  {
18501
18474
  key: "enter",
18502
18475
  value: function enter(pos, side) {
@@ -18627,8 +18600,11 @@ A tree cursor object focuses on a given node in a syntax tree, and
18627
18600
  allows you to move to adjacent nodes.
18628
18601
  */ var TreeCursor = /*#__PURE__*/ function() {
18629
18602
  function TreeCursor(node) {
18630
- var mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18603
+ var /**
18604
+ @internal
18605
+ */ mode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
18631
18606
  _class_call_check$z(this, TreeCursor);
18607
+ this.mode = mode;
18632
18608
  /**
18633
18609
  @internal
18634
18610
  */ this.buffer = null;
@@ -18637,7 +18613,6 @@ allows you to move to adjacent nodes.
18637
18613
  @internal
18638
18614
  */ this.index = 0;
18639
18615
  this.bufferNode = null;
18640
- this.mode = mode & ~IterMode.EnterBracketed;
18641
18616
  if (_instanceof$i(node, TreeNode)) {
18642
18617
  this.yieldNode(node);
18643
18618
  } else {
@@ -18981,7 +18956,7 @@ function buildTree(data) {
18981
18956
  function takeNode(parentStart, minPos, children, positions, inRepeat, depth) {
18982
18957
  var id = cursor.id, start = cursor.start, end = cursor.end, size = cursor.size;
18983
18958
  var lookAheadAtStart = lookAhead, contextAtStart = contextHash;
18984
- if (size < 0) {
18959
+ while(size < 0){
18985
18960
  cursor.next();
18986
18961
  if (size == -1 /* SpecialRecord.Reuse */ ) {
18987
18962
  var node = reused[id];
@@ -19148,7 +19123,7 @@ function buildTree(data) {
19148
19123
  fork.next();
19149
19124
  while(fork.pos > startPos){
19150
19125
  if (fork.size < 0) {
19151
- if (fork.size == -3 /* SpecialRecord.ContextChange */ || fork.size == -4 /* SpecialRecord.LookAhead */ ) localSkipped += 4;
19126
+ if (fork.size == -3 /* SpecialRecord.ContextChange */ ) localSkipped += 4;
19152
19127
  else break scan;
19153
19128
  } else if (fork.id >= minRepeatType) {
19154
19129
  localSkipped += 4;
@@ -19587,11 +19562,11 @@ about the parse state.
19587
19562
  var _a;
19588
19563
  var depth = action >> 19 /* Action.ReduceDepthShift */ , type = action & 65535 /* Action.ValueMask */ ;
19589
19564
  var parser = this.p.parser;
19590
- var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ && this.setLookAhead(this.pos);
19565
+ var lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ ;
19566
+ if (lookaheadRecord) this.setLookAhead(this.pos);
19591
19567
  var dPrec = parser.dynamicPrecedence(type);
19592
19568
  if (dPrec) this.score += dPrec;
19593
19569
  if (depth == 0) {
19594
- if (type < parser.minRepeatTerm && this.reducePos < this.pos) this.reducePos = this.pos;
19595
19570
  this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
19596
19571
  // Zero-depth reductions are a special case—they add stuff to
19597
19572
  // the stack without popping anything off.
@@ -19605,9 +19580,7 @@ about the parse state.
19605
19580
  // expression and the state that we'll be staying in, which should
19606
19581
  // be moved to `this.state`).
19607
19582
  var base = this.stack.length - (depth - 1) * 3 - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
19608
- var start = base ? this.stack[base - 2] : this.p.ranges[0].from;
19609
- if (type < parser.minRepeatTerm && start == this.reducePos && this.reducePos < this.pos) this.reducePos = this.pos;
19610
- var size = this.reducePos - start;
19583
+ var start = base ? this.stack[base - 2] : this.p.ranges[0].from, size = this.reducePos - start;
19611
19584
  // This is a kludge to try and detect overly deep left-associative
19612
19585
  // trees, which will not increase the parse stack depth and thus
19613
19586
  // won't be caught by the regular stack-depth limit check.
@@ -19646,11 +19619,15 @@ about the parse state.
19646
19619
  var size = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 4, mustSink = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : false;
19647
19620
  if (term == 0 /* Term.Err */ && (!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
19648
19621
  // Try to omit/merge adjacent error nodes
19649
- var top = this.buffer.length;
19650
- if (top > 0 && this.buffer[top - 4] == 0 /* Term.Err */ && this.buffer[top - 1] > -1) {
19622
+ var cur = this, top = this.buffer.length;
19623
+ if (top == 0 && cur.parent) {
19624
+ top = cur.bufferBase - cur.parent.bufferBase;
19625
+ cur = cur.parent;
19626
+ }
19627
+ if (top > 0 && cur.buffer[top - 4] == 0 /* Term.Err */ && cur.buffer[top - 1] > -1) {
19651
19628
  if (start == end) return;
19652
- if (this.buffer[top - 2] >= start) {
19653
- this.buffer[top - 2] = end;
19629
+ if (cur.buffer[top - 2] >= start) {
19630
+ cur.buffer[top - 2] = end;
19654
19631
  return;
19655
19632
  }
19656
19633
  }
@@ -19659,7 +19636,7 @@ about the parse state.
19659
19636
  this.buffer.push(term, start, end, size);
19660
19637
  } else {
19661
19638
  var index = this.buffer.length;
19662
- if (index > 0 && (this.buffer[index - 4] != 0 /* Term.Err */ || this.buffer[index - 1] < 0)) {
19639
+ if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */ ) {
19663
19640
  var mustMove = false;
19664
19641
  for(var scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4){
19665
19642
  if (this.buffer[scan - 1] >= 0) {
@@ -19694,11 +19671,11 @@ about the parse state.
19694
19671
  this.pushState(action & 65535 /* Action.ValueMask */ , this.pos);
19695
19672
  } else if ((action & 262144 /* Action.StayFlag */ ) == 0) {
19696
19673
  var nextState = action, parser = this.p.parser;
19697
- this.pos = end;
19698
- var skipped = parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ );
19699
- // Skipped or zero-length non-tree tokens don't move reducePos
19700
- if (!skipped && (end > start || type <= parser.maxNode)) this.reducePos = end;
19701
- this.pushState(nextState, skipped ? start : Math.min(start, this.reducePos));
19674
+ if (end > this.pos || type <= parser.maxNode) {
19675
+ this.pos = end;
19676
+ if (!parser.stateFlag(nextState, 1 /* StateFlag.Skipped */ )) this.reducePos = end;
19677
+ }
19678
+ this.pushState(nextState, start);
19702
19679
  this.shiftContext(type, start);
19703
19680
  if (type <= parser.maxNode) this.buffer.push(type, start, end, 4);
19704
19681
  } else {
@@ -19746,9 +19723,6 @@ about the parse state.
19746
19723
  value: function split() {
19747
19724
  var parent = this;
19748
19725
  var off = parent.buffer.length;
19749
- // Leave off top error node, if there, because that might be
19750
- // merged with other nodes.
19751
- if (off && parent.buffer[off - 4] == 0 /* Term.Err */ ) off -= 4;
19752
19726
  // Because the top of the buffer (after this.pos) may be mutated
19753
19727
  // to reorder reductions and skipped tokens, and shared buffers
19754
19728
  // should be immutable, this copies any outstanding skipped tokens
@@ -19992,10 +19966,10 @@ about the parse state.
19992
19966
  @internal
19993
19967
  */ key: "setLookAhead",
19994
19968
  value: function setLookAhead(lookAhead) {
19995
- if (lookAhead <= this.lookAhead) return false;
19996
- this.emitLookAhead();
19997
- this.lookAhead = lookAhead;
19998
- return true;
19969
+ if (lookAhead > this.lookAhead) {
19970
+ this.emitLookAhead();
19971
+ this.lookAhead = lookAhead;
19972
+ }
19999
19973
  }
20000
19974
  },
20001
19975
  {
@@ -20888,12 +20862,7 @@ var Parse = /*#__PURE__*/ function() {
20888
20862
  }
20889
20863
  }
20890
20864
  }
20891
- if (newStacks.length > 12 /* Rec.MaxStackCount */ ) {
20892
- newStacks.sort(function(a, b) {
20893
- return b.score - a.score;
20894
- });
20895
- newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20896
- }
20865
+ if (newStacks.length > 12 /* Rec.MaxStackCount */ ) newStacks.splice(12 /* Rec.MaxStackCount */ , newStacks.length - 12 /* Rec.MaxStackCount */ );
20897
20866
  }
20898
20867
  this.minStackPos = newStacks[0].pos;
20899
20868
  for(var i2 = 1; i2 < newStacks.length; i2++)if (newStacks[i2].pos < this.minStackPos) this.minStackPos = newStacks[i2].pos;
@@ -20988,7 +20957,7 @@ var Parse = /*#__PURE__*/ function() {
20988
20957
  if (done) continue;
20989
20958
  }
20990
20959
  var force = stack.split(), forceBase = base;
20991
- for(var j = 0; j < 10 /* Rec.ForceReduceLimit */ && force.forceReduce(); j++){
20960
+ for(var j = 0; force.forceReduce() && j < 10 /* Rec.ForceReduceLimit */ ; j++){
20992
20961
  if (verbose) console.log(forceBase + this.stackID(force) + " (via force-reduce)");
20993
20962
  var done1 = this.advanceFully(force, newStacks);
20994
20963
  if (done1) break;
@@ -21023,8 +20992,8 @@ var Parse = /*#__PURE__*/ function() {
21023
20992
  stack.recoverByDelete(token, tokenEnd);
21024
20993
  if (verbose) console.log(base + this.stackID(stack) + " (via recover-delete ".concat(this.parser.getName(token), ")"));
21025
20994
  pushStackDedup(stack, newStacks);
21026
- } else if (!finished || finished.score < force.score) {
21027
- finished = force;
20995
+ } else if (!finished || finished.score < stack.score) {
20996
+ finished = stack;
21028
20997
  }
21029
20998
  }
21030
20999
  return finished;
@@ -21873,7 +21842,7 @@ must be quoted as JSON strings.
21873
21842
  For example:
21874
21843
 
21875
21844
  ```javascript
21876
- parser.configure({props: [
21845
+ parser.withProps(
21877
21846
  styleTags({
21878
21847
  // Style Number and BigNumber nodes
21879
21848
  "Number BigNumber": tags.number,
@@ -21888,7 +21857,7 @@ parser.configure({props: [
21888
21857
  // Style the node named "/" as punctuation
21889
21858
  '"/"': tags.punctuation
21890
21859
  })
21891
- ]})
21860
+ )
21892
21861
  ```
21893
21862
  */ function styleTags(spec) {
21894
21863
  var byName = Object.create(null);
@@ -21944,26 +21913,7 @@ parser.configure({props: [
21944
21913
  }
21945
21914
  return ruleNodeProp.add(byName);
21946
21915
  }
21947
- var ruleNodeProp = new NodeProp({
21948
- combine: function combine(a, b) {
21949
- var cur, root, take;
21950
- while(a || b){
21951
- if (!a || b && a.depth >= b.depth) {
21952
- take = b;
21953
- b = b.next;
21954
- } else {
21955
- take = a;
21956
- a = a.next;
21957
- }
21958
- if (cur && cur.mode == take.mode && !take.context && !cur.context) continue;
21959
- var copy = new Rule$1(take.tags, take.mode, take.context);
21960
- if (cur) cur.next = copy;
21961
- else root = copy;
21962
- cur = copy;
21963
- }
21964
- return root;
21965
- }
21966
- });
21916
+ var ruleNodeProp = new NodeProp();
21967
21917
  var Rule$1 = /*#__PURE__*/ function() {
21968
21918
  function Rule(tags, mode, context, next) {
21969
21919
  _class_call_check$x(this, Rule);
@@ -22888,14 +22838,14 @@ function indent(str, spaces) {
22888
22838
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
22889
22839
  // match is required
22890
22840
  if (!match) {
22891
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22841
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22892
22842
  v: nextMatch1
22893
22843
  };
22894
22844
  }
22895
22845
  var token = match.token, offset = match.offset;
22896
22846
  i1 += offset;
22897
22847
  if (token === ' ') {
22898
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22848
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22899
22849
  }
22900
22850
  tokens1 = _to_consumable_array$4(tokens1).concat([
22901
22851
  token
@@ -22914,7 +22864,7 @@ function indent(str, spaces) {
22914
22864
  if (contextKeys.some(function(el) {
22915
22865
  return el.startsWith(name);
22916
22866
  })) {
22917
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22867
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22918
22868
  }
22919
22869
  if (dateTimeIdentifiers.some(function(el) {
22920
22870
  return el === name;
@@ -22933,9 +22883,9 @@ function indent(str, spaces) {
22933
22883
  if (dateTimeIdentifiers.some(function(el) {
22934
22884
  return el.startsWith(name);
22935
22885
  })) {
22936
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
22886
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
22937
22887
  }
22938
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
22888
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
22939
22889
  v: nextMatch1
22940
22890
  };
22941
22891
  };
@@ -44439,7 +44389,7 @@ function _object_spread_props(target, source) {
44439
44389
  prefix: '_'
44440
44390
  })).join('').toLowerCase();
44441
44391
  }
44442
- const Handlebars = handlebars_min_default || HandlebarsNamespace;
44392
+ const Handlebars = handlebars_min || HandlebarsNamespace;
44443
44393
  Handlebars.registerHelper('JSONstringify', function(value) {
44444
44394
  return JSON.stringify(value);
44445
44395
  });
@@ -0,0 +1,2 @@
1
+ export * from './lib/skill-service';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { PinsSettings } from '@digipair/engine';
2
+ export declare const service: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
3
+ export declare const send: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
4
+ export declare const status: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
5
+ export declare const headers: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
6
+ export declare const upload: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<{
7
+ body: any;
8
+ files: any;
9
+ }>;
10
+ //# sourceMappingURL=skill-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skill-service.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAmB,MAAM,kBAAkB,CAAC;AA+CjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAElE,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAE/D,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAEjE,eAAO,MAAM,OAAO,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBAClB,CAAC;AAElE,eAAO,MAAM,MAAM,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG;;;EAClB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-service",
3
- "version": "0.136.3",
3
+ "version": "0.136.4",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",