@digipair/skill-web-chatbot 0.28.14 → 0.29.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.cjs2.js CHANGED
@@ -52659,14 +52659,14 @@ function indent(str, spaces) {
52659
52659
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
52660
52660
  // match is required
52661
52661
  if (!match) {
52662
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
52662
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52663
52663
  v: nextMatch1
52664
52664
  };
52665
52665
  }
52666
52666
  var token = match.token, offset = match.offset;
52667
52667
  i1 += offset;
52668
52668
  if (token === " ") {
52669
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52669
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52670
52670
  }
52671
52671
  tokens1 = _to_consumable_array$9(tokens1).concat([
52672
52672
  token
@@ -52685,7 +52685,7 @@ function indent(str, spaces) {
52685
52685
  if (contextKeys.some(function(el) {
52686
52686
  return el.startsWith(name);
52687
52687
  })) {
52688
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52688
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52689
52689
  }
52690
52690
  if (dateTimeIdentifiers.some(function(el) {
52691
52691
  return el === name;
@@ -52704,9 +52704,9 @@ function indent(str, spaces) {
52704
52704
  if (dateTimeIdentifiers.some(function(el) {
52705
52705
  return el.startsWith(name);
52706
52706
  })) {
52707
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
52707
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52708
52708
  }
52709
- return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
52709
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52710
52710
  v: nextMatch1
52711
52711
  };
52712
52712
  };
package/index.esm2.js CHANGED
@@ -52639,14 +52639,14 @@ function indent(str, spaces) {
52639
52639
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
52640
52640
  // match is required
52641
52641
  if (!match) {
52642
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
52642
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52643
52643
  v: nextMatch1
52644
52644
  };
52645
52645
  }
52646
52646
  var token = match.token, offset = match.offset;
52647
52647
  i1 += offset;
52648
52648
  if (token === " ") {
52649
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
52649
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52650
52650
  }
52651
52651
  tokens1 = _to_consumable_array$9(tokens1).concat([
52652
52652
  token
@@ -52665,7 +52665,7 @@ function indent(str, spaces) {
52665
52665
  if (contextKeys.some(function(el) {
52666
52666
  return el.startsWith(name);
52667
52667
  })) {
52668
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
52668
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52669
52669
  }
52670
52670
  if (dateTimeIdentifiers.some(function(el) {
52671
52671
  return el === name;
@@ -52684,9 +52684,9 @@ function indent(str, spaces) {
52684
52684
  if (dateTimeIdentifiers.some(function(el) {
52685
52685
  return el.startsWith(name);
52686
52686
  })) {
52687
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
52687
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52688
52688
  }
52689
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
52689
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52690
52690
  v: nextMatch1
52691
52691
  };
52692
52692
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.28.14",
3
+ "version": "0.29.2",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",
package/schema.en.json ADDED
@@ -0,0 +1,89 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "@digipair/skill-web-chatbot",
5
+ "summary": "Display of chatbots",
6
+ "description": "Integration of an interactive chatbot on a web page to enhance engagement and communication with users.",
7
+ "version": "0.1.0",
8
+ "x-icon": "🤖"
9
+ },
10
+ "paths": {
11
+ "/digipair-chatbot-full": {
12
+ "post": {
13
+ "tags": ["web"],
14
+ "summary": "Full-page chatbot",
15
+ "description": "Displays a conversation with a chatbot in full-page mode",
16
+ "parameters": [
17
+ {
18
+ "name": "code",
19
+ "summary": "Digipair",
20
+ "required": true,
21
+ "description": "Digipair to display",
22
+ "schema": {
23
+ "type": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "apiUrl",
28
+ "summary": "Factory address",
29
+ "required": false,
30
+ "description": "URL address of the factory",
31
+ "schema": {
32
+ "type": "string"
33
+ }
34
+ },
35
+ {
36
+ "name": "commonExperience",
37
+ "summary": "Common Digipair",
38
+ "required": false,
39
+ "description": "Digipair that shares common reasoning with all chatbots",
40
+ "schema": {
41
+ "type": "string"
42
+ }
43
+ }
44
+ ],
45
+ "x-events": []
46
+ }
47
+ },
48
+ "/digipair-chatbot": {
49
+ "post": {
50
+ "tags": ["web"],
51
+ "summary": "Chatbot",
52
+ "description": "Displays a chatbot on a web page",
53
+ "parameters": [
54
+ {
55
+ "name": "code",
56
+ "summary": "Digipair",
57
+ "required": true,
58
+ "description": "Digipair to display",
59
+ "schema": {
60
+ "type": "string"
61
+ }
62
+ },
63
+ {
64
+ "name": "apiUrl",
65
+ "summary": "Factory address",
66
+ "required": false,
67
+ "description": "URL address of the factory",
68
+ "schema": {
69
+ "type": "string"
70
+ }
71
+ },
72
+ {
73
+ "name": "commonExperience",
74
+ "summary": "Common Digipair",
75
+ "required": false,
76
+ "description": "Digipair that shares common reasoning with all chatbots",
77
+ "schema": {
78
+ "type": "string"
79
+ }
80
+ }
81
+ ],
82
+ "x-events": []
83
+ }
84
+ }
85
+ },
86
+ "components": {
87
+ "schemas": {}
88
+ }
89
+ }