@digipair/skill-client-websocket 0.41.1 → 0.41.3

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.
Files changed (2) hide show
  1. package/index.esm.js +13 -9
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -23517,14 +23517,14 @@ function indent(str, spaces) {
23517
23517
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23518
23518
  // match is required
23519
23519
  if (!match) {
23520
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23520
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23521
23521
  v: nextMatch1
23522
23522
  };
23523
23523
  }
23524
23524
  var token = match.token, offset = match.offset;
23525
23525
  i1 += offset;
23526
23526
  if (token === " ") {
23527
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23527
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23528
23528
  }
23529
23529
  tokens1 = _to_consumable_array$1(tokens1).concat([
23530
23530
  token
@@ -23543,7 +23543,7 @@ function indent(str, spaces) {
23543
23543
  if (contextKeys.some(function(el) {
23544
23544
  return el.startsWith(name);
23545
23545
  })) {
23546
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23546
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23547
23547
  }
23548
23548
  if (dateTimeIdentifiers.some(function(el) {
23549
23549
  return el === name;
@@ -23562,9 +23562,9 @@ function indent(str, spaces) {
23562
23562
  if (dateTimeIdentifiers.some(function(el) {
23563
23563
  return el.startsWith(name);
23564
23564
  })) {
23565
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23565
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
23566
23566
  }
23567
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23567
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
23568
23568
  v: nextMatch1
23569
23569
  };
23570
23570
  };
@@ -27364,10 +27364,14 @@ const isPinsSettings = (value)=>{
27364
27364
  const applyTemplate = (value, context)=>{
27365
27365
  let result = value;
27366
27366
  if (typeof value === 'string') {
27367
- const template = handlebars_min.exports.compile(value, {
27368
- noEscape: true
27369
- });
27370
- result = template(context);
27367
+ if (result.startsWith('NOEVAL:')) {
27368
+ result = value.substring(7);
27369
+ } else {
27370
+ const template = handlebars_min.exports.compile(value, {
27371
+ noEscape: true
27372
+ });
27373
+ result = template(context);
27374
+ }
27371
27375
  if (result.startsWith('EVALUATE:')) {
27372
27376
  const path = result.replace(/^EVALUATE:/, '');
27373
27377
  result = evaluate(path, _extends({}, context, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-client-websocket",
3
- "version": "0.41.1",
3
+ "version": "0.41.3",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"