@digipair/skill-web-chatbot 0.38.2 → 0.38.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.
- package/index.cjs2.js +7 -19
- package/index.esm2.js +7 -19
- package/package.json +1 -1
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
|
|
37345
|
+
return i = i1, tokens = tokens1, 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
|
|
37352
|
+
return i = i1, tokens = tokens1, 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
|
|
37371
|
+
return i = i1, tokens = tokens1, 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
|
|
37390
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
|
37391
37391
|
}
|
|
37392
|
-
return
|
|
37392
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
|
37393
37393
|
v: nextMatch1
|
|
37394
37394
|
};
|
|
37395
37395
|
};
|
|
@@ -59208,14 +59208,8 @@ class ChatbotElement extends s$3 {
|
|
|
59208
59208
|
body: JSON.stringify({
|
|
59209
59209
|
userId: this.userId
|
|
59210
59210
|
}),
|
|
59211
|
-
async onopen (response) {
|
|
59212
|
-
console.log('open', response);
|
|
59213
|
-
},
|
|
59214
|
-
onclose () {
|
|
59215
|
-
console.log('close');
|
|
59216
|
-
},
|
|
59217
59211
|
onerror (err) {
|
|
59218
|
-
console.error('Error:', err);
|
|
59212
|
+
console.error('[Digipair] SSE Error:', err);
|
|
59219
59213
|
}
|
|
59220
59214
|
});
|
|
59221
59215
|
}
|
|
@@ -59715,14 +59709,8 @@ class DigipairFullElement extends s$3 {
|
|
|
59715
59709
|
body: JSON.stringify({
|
|
59716
59710
|
userId: this.userId
|
|
59717
59711
|
}),
|
|
59718
|
-
async onopen (response) {
|
|
59719
|
-
console.log('open', response);
|
|
59720
|
-
},
|
|
59721
|
-
onclose () {
|
|
59722
|
-
console.log('close');
|
|
59723
|
-
},
|
|
59724
59712
|
onerror (err) {
|
|
59725
|
-
console.error('Error:', err);
|
|
59713
|
+
console.error('[Digipair] SSE Error:', err);
|
|
59726
59714
|
}
|
|
59727
59715
|
});
|
|
59728
59716
|
}
|
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
|
|
37325
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
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
|
|
37332
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "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
|
|
37351
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "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
|
|
37370
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
37371
37371
|
}
|
|
37372
|
-
return
|
|
37372
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
37373
37373
|
v: nextMatch1
|
|
37374
37374
|
};
|
|
37375
37375
|
};
|
|
@@ -59188,14 +59188,8 @@ class ChatbotElement extends s$3 {
|
|
|
59188
59188
|
body: JSON.stringify({
|
|
59189
59189
|
userId: this.userId
|
|
59190
59190
|
}),
|
|
59191
|
-
async onopen (response) {
|
|
59192
|
-
console.log('open', response);
|
|
59193
|
-
},
|
|
59194
|
-
onclose () {
|
|
59195
|
-
console.log('close');
|
|
59196
|
-
},
|
|
59197
59191
|
onerror (err) {
|
|
59198
|
-
console.error('Error:', err);
|
|
59192
|
+
console.error('[Digipair] SSE Error:', err);
|
|
59199
59193
|
}
|
|
59200
59194
|
});
|
|
59201
59195
|
}
|
|
@@ -59695,14 +59689,8 @@ class DigipairFullElement extends s$3 {
|
|
|
59695
59689
|
body: JSON.stringify({
|
|
59696
59690
|
userId: this.userId
|
|
59697
59691
|
}),
|
|
59698
|
-
async onopen (response) {
|
|
59699
|
-
console.log('open', response);
|
|
59700
|
-
},
|
|
59701
|
-
onclose () {
|
|
59702
|
-
console.log('close');
|
|
59703
|
-
},
|
|
59704
59692
|
onerror (err) {
|
|
59705
|
-
console.error('Error:', err);
|
|
59693
|
+
console.error('[Digipair] SSE Error:', err);
|
|
59706
59694
|
}
|
|
59707
59695
|
});
|
|
59708
59696
|
}
|