@absolutejs/voice 0.0.22-beta.389 → 0.0.22-beta.390
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/dist/client/index.js +4 -2
- package/dist/index.js +4 -2
- package/dist/react/index.js +4 -2
- package/dist/vue/index.js +4 -2
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -6413,10 +6413,12 @@ var buildRealCallProfileReadinessIssues = (report, options) => {
|
|
|
6413
6413
|
}
|
|
6414
6414
|
}
|
|
6415
6415
|
}
|
|
6416
|
-
|
|
6416
|
+
const requiredProfileIds = new Set(options.requiredProfileIds ?? []);
|
|
6417
|
+
const recommendationProfiles = requiredProfileIds.size === 0 ? report.recommendations.profiles : report.recommendations.profiles.filter((item) => requiredProfileIds.has(item.id));
|
|
6418
|
+
if (recommendationProfiles.some((item) => item.status === "fail")) {
|
|
6417
6419
|
issues.push("At least one real-call profile recommendation is failing.");
|
|
6418
6420
|
}
|
|
6419
|
-
if (
|
|
6421
|
+
if (recommendationProfiles.some((item) => item.status === "warn")) {
|
|
6420
6422
|
warnings.push("At least one real-call profile recommendation is warning.");
|
|
6421
6423
|
}
|
|
6422
6424
|
return { issues, warnings };
|
package/dist/index.js
CHANGED
|
@@ -16932,10 +16932,12 @@ var buildRealCallProfileReadinessIssues = (report, options) => {
|
|
|
16932
16932
|
}
|
|
16933
16933
|
}
|
|
16934
16934
|
}
|
|
16935
|
-
|
|
16935
|
+
const requiredProfileIds = new Set(options.requiredProfileIds ?? []);
|
|
16936
|
+
const recommendationProfiles = requiredProfileIds.size === 0 ? report.recommendations.profiles : report.recommendations.profiles.filter((item) => requiredProfileIds.has(item.id));
|
|
16937
|
+
if (recommendationProfiles.some((item) => item.status === "fail")) {
|
|
16936
16938
|
issues.push("At least one real-call profile recommendation is failing.");
|
|
16937
16939
|
}
|
|
16938
|
-
if (
|
|
16940
|
+
if (recommendationProfiles.some((item) => item.status === "warn")) {
|
|
16939
16941
|
warnings.push("At least one real-call profile recommendation is warning.");
|
|
16940
16942
|
}
|
|
16941
16943
|
return { issues, warnings };
|
package/dist/react/index.js
CHANGED
|
@@ -4000,10 +4000,12 @@ var buildRealCallProfileReadinessIssues = (report, options) => {
|
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
4002
|
}
|
|
4003
|
-
|
|
4003
|
+
const requiredProfileIds = new Set(options.requiredProfileIds ?? []);
|
|
4004
|
+
const recommendationProfiles = requiredProfileIds.size === 0 ? report.recommendations.profiles : report.recommendations.profiles.filter((item) => requiredProfileIds.has(item.id));
|
|
4005
|
+
if (recommendationProfiles.some((item) => item.status === "fail")) {
|
|
4004
4006
|
issues.push("At least one real-call profile recommendation is failing.");
|
|
4005
4007
|
}
|
|
4006
|
-
if (
|
|
4008
|
+
if (recommendationProfiles.some((item) => item.status === "warn")) {
|
|
4007
4009
|
warnings.push("At least one real-call profile recommendation is warning.");
|
|
4008
4010
|
}
|
|
4009
4011
|
return { issues, warnings };
|
package/dist/vue/index.js
CHANGED
|
@@ -3921,10 +3921,12 @@ var buildRealCallProfileReadinessIssues = (report, options) => {
|
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
3923
|
}
|
|
3924
|
-
|
|
3924
|
+
const requiredProfileIds = new Set(options.requiredProfileIds ?? []);
|
|
3925
|
+
const recommendationProfiles = requiredProfileIds.size === 0 ? report.recommendations.profiles : report.recommendations.profiles.filter((item) => requiredProfileIds.has(item.id));
|
|
3926
|
+
if (recommendationProfiles.some((item) => item.status === "fail")) {
|
|
3925
3927
|
issues.push("At least one real-call profile recommendation is failing.");
|
|
3926
3928
|
}
|
|
3927
|
-
if (
|
|
3929
|
+
if (recommendationProfiles.some((item) => item.status === "warn")) {
|
|
3928
3930
|
warnings.push("At least one real-call profile recommendation is warning.");
|
|
3929
3931
|
}
|
|
3930
3932
|
return { issues, warnings };
|