@digipair/skill-web-chatbot 0.41.3 → 0.41.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.cjs2.js CHANGED
@@ -37342,14 +37342,14 @@ function indent(str, spaces) {
37342
37342
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
37343
37343
  // match is required
37344
37344
  if (!match) {
37345
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37345
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
37346
37346
  v: nextMatch1
37347
37347
  };
37348
37348
  }
37349
37349
  var token = match.token, offset = match.offset;
37350
37350
  i1 += offset;
37351
37351
  if (token === " ") {
37352
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37352
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37353
37353
  }
37354
37354
  tokens1 = _to_consumable_array$c(tokens1).concat([
37355
37355
  token
@@ -37368,7 +37368,7 @@ function indent(str, spaces) {
37368
37368
  if (contextKeys.some(function(el) {
37369
37369
  return el.startsWith(name);
37370
37370
  })) {
37371
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37371
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37372
37372
  }
37373
37373
  if (dateTimeIdentifiers.some(function(el) {
37374
37374
  return el === name;
@@ -37387,9 +37387,9 @@ function indent(str, spaces) {
37387
37387
  if (dateTimeIdentifiers.some(function(el) {
37388
37388
  return el.startsWith(name);
37389
37389
  })) {
37390
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37390
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37391
37391
  }
37392
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37392
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
37393
37393
  v: nextMatch1
37394
37394
  };
37395
37395
  };
@@ -59775,10 +59775,8 @@ class DigipairFullElement extends s$3 {
59775
59775
  parent_conversation: detail.parent_conversation,
59776
59776
  parent_history: detail.parent_history
59777
59777
  });
59778
- if (detail.command && detail.command.library && detail.command.element) {
59779
- executePinsList([
59780
- detail.command
59781
- ], {
59778
+ if (detail.command && detail.command.length > 0) {
59779
+ executePinsList(detail.command, {
59782
59780
  config: {
59783
59781
  VERSIONS: this.metadata.config.VERSIONS
59784
59782
  }
@@ -59863,18 +59861,6 @@ class DigipairFullElement extends s$3 {
59863
59861
  >
59864
59862
  </div>
59865
59863
  `)}
59866
- ${!this.currentBoost ? T : x`
59867
- <div>
59868
- <span
59869
- class="action"
59870
- style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
59871
- @click=${()=>{
59872
- this.currentBoost = null;
59873
- }}
59874
- >Annuler</span
59875
- >
59876
- </div>
59877
- `}
59878
59864
  </section>
59879
59865
 
59880
59866
  <section
package/index.esm2.js CHANGED
@@ -37322,14 +37322,14 @@ function indent(str, spaces) {
37322
37322
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
37323
37323
  // match is required
37324
37324
  if (!match) {
37325
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
37325
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
37326
37326
  v: nextMatch1
37327
37327
  };
37328
37328
  }
37329
37329
  var token = match.token, offset = match.offset;
37330
37330
  i1 += offset;
37331
37331
  if (token === " ") {
37332
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37332
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
37333
37333
  }
37334
37334
  tokens1 = _to_consumable_array$c(tokens1).concat([
37335
37335
  token
@@ -37348,7 +37348,7 @@ function indent(str, spaces) {
37348
37348
  if (contextKeys.some(function(el) {
37349
37349
  return el.startsWith(name);
37350
37350
  })) {
37351
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37351
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
37352
37352
  }
37353
37353
  if (dateTimeIdentifiers.some(function(el) {
37354
37354
  return el === name;
@@ -37367,9 +37367,9 @@ function indent(str, spaces) {
37367
37367
  if (dateTimeIdentifiers.some(function(el) {
37368
37368
  return el.startsWith(name);
37369
37369
  })) {
37370
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
37370
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
37371
37371
  }
37372
- return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
37372
+ return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
37373
37373
  v: nextMatch1
37374
37374
  };
37375
37375
  };
@@ -59755,10 +59755,8 @@ class DigipairFullElement extends s$3 {
59755
59755
  parent_conversation: detail.parent_conversation,
59756
59756
  parent_history: detail.parent_history
59757
59757
  });
59758
- if (detail.command && detail.command.library && detail.command.element) {
59759
- executePinsList([
59760
- detail.command
59761
- ], {
59758
+ if (detail.command && detail.command.length > 0) {
59759
+ executePinsList(detail.command, {
59762
59760
  config: {
59763
59761
  VERSIONS: this.metadata.config.VERSIONS
59764
59762
  }
@@ -59843,18 +59841,6 @@ class DigipairFullElement extends s$3 {
59843
59841
  >
59844
59842
  </div>
59845
59843
  `)}
59846
- ${!this.currentBoost ? T : x`
59847
- <div>
59848
- <span
59849
- class="action"
59850
- style="border: 1px solid var(--digipair-color-primary, #52DFDB)"
59851
- @click=${()=>{
59852
- this.currentBoost = null;
59853
- }}
59854
- >Annuler</span
59855
- >
59856
- </div>
59857
- `}
59858
59844
  </section>
59859
59845
 
59860
59846
  <section
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.41.3",
3
+ "version": "0.41.4",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",