@cobrowser/chatgpt 0.7.29 → 0.7.30
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.
|
@@ -106,7 +106,6 @@ class BaseService {
|
|
|
106
106
|
* @param data
|
|
107
107
|
*/
|
|
108
108
|
output(data, shouldStringify = false) {
|
|
109
|
-
console.log('DATA: ', data);
|
|
110
109
|
if (!data) {
|
|
111
110
|
return;
|
|
112
111
|
}
|
|
@@ -118,8 +117,6 @@ class BaseService {
|
|
|
118
117
|
catch (error) { }
|
|
119
118
|
}
|
|
120
119
|
const sanitized = xss_validation_1.XSSProtector.sanitize(data), encoded = xss_validation_1.XSSProtector.encode(sanitized);
|
|
121
|
-
console.log('sanitized 1111: ', sanitized);
|
|
122
|
-
console.log('encoded: ', encoded);
|
|
123
120
|
logger_1.default.info({ data, sanitized, encoded }, ':: Sanitized Response ::');
|
|
124
121
|
return shouldStringify ? JSON.stringify(encoded) : encoded;
|
|
125
122
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobrowser/chatgpt",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.30",
|
|
4
4
|
"description": "chatgpt services to connect our projects with chatgpt api",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"chatgpt",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://bitbucket.org/cobrowser/cb_utils/issues"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c8747e61dff13093fa0593dd4a3219ff11eb7b82"
|
|
44
44
|
}
|