@selfcommunity/react-core 0.6.0-alpha.4 → 0.6.0-alpha.5
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.
|
@@ -169,7 +169,6 @@ const validateWebSocket = (v) => {
|
|
|
169
169
|
.filter((key) => _options.includes(key))
|
|
170
170
|
.reduce((obj, key) => {
|
|
171
171
|
const res = exports.notificationsWebSocketOptions[key].validator(v[key], v);
|
|
172
|
-
console.log(key, v, res);
|
|
173
172
|
res.errors.map((error) => errors.push(error));
|
|
174
173
|
res.warnings.map((warning) => warnings.push(warning));
|
|
175
174
|
obj[key] = res.value;
|
|
@@ -680,7 +679,6 @@ exports.validateOpenAI = validateOpenAI;
|
|
|
680
679
|
* @param v
|
|
681
680
|
*/
|
|
682
681
|
const validateGeocoding = (v) => {
|
|
683
|
-
//console.log(v);
|
|
684
682
|
const errors = [];
|
|
685
683
|
const warnings = [];
|
|
686
684
|
if (v && !(0, utils_1.isObject)(v)) {
|
|
@@ -158,7 +158,6 @@ export const validateWebSocket = (v) => {
|
|
|
158
158
|
.filter((key) => _options.includes(key))
|
|
159
159
|
.reduce((obj, key) => {
|
|
160
160
|
const res = notificationsWebSocketOptions[key].validator(v[key], v);
|
|
161
|
-
console.log(key, v, res);
|
|
162
161
|
res.errors.map((error) => errors.push(error));
|
|
163
162
|
res.warnings.map((warning) => warnings.push(warning));
|
|
164
163
|
obj[key] = res.value;
|
|
@@ -645,7 +644,6 @@ export const validateOpenAI = (v) => {
|
|
|
645
644
|
* @param v
|
|
646
645
|
*/
|
|
647
646
|
export const validateGeocoding = (v) => {
|
|
648
|
-
//console.log(v);
|
|
649
647
|
const errors = [];
|
|
650
648
|
const warnings = [];
|
|
651
649
|
if (v && !isObject(v)) {
|