@absolutejs/voice 0.0.22-beta.339 → 0.0.22-beta.340
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 +14 -8
- package/dist/index.js +14 -8
- package/dist/react/index.js +14 -8
- package/dist/vue/index.js +14 -8
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -3928,16 +3928,22 @@ var buildVoiceProofTrendProfileSummaries = (input, options = {}) => {
|
|
|
3928
3928
|
return definitions.map((definition) => {
|
|
3929
3929
|
const historicalProfiles = reports.flatMap((report) => report.summary.profiles?.filter((profile) => profile.id === definition.id) ?? []);
|
|
3930
3930
|
if (historicalProfiles.length > 0) {
|
|
3931
|
+
const missingProfileReports = reports.filter((report) => !report.summary.profiles?.some((profile) => profile.id === definition.id));
|
|
3932
|
+
const derivedProfiles = missingProfileReports.length > 0 ? buildVoiceProofTrendProfileSummaries(missingProfileReports, {
|
|
3933
|
+
...options,
|
|
3934
|
+
profiles: [definition]
|
|
3935
|
+
}) : [];
|
|
3936
|
+
const profiles = [...historicalProfiles, ...derivedProfiles];
|
|
3931
3937
|
return {
|
|
3932
|
-
description: definition.description ??
|
|
3938
|
+
description: definition.description ?? profiles.find(Boolean)?.description,
|
|
3933
3939
|
id: definition.id,
|
|
3934
|
-
label: definition.label ??
|
|
3935
|
-
maxLiveP95Ms: maxNumber(
|
|
3936
|
-
maxProviderP95Ms: maxNumber(
|
|
3937
|
-
maxTurnP95Ms: maxNumber(
|
|
3938
|
-
providers: aggregateProofTrendProviders(
|
|
3939
|
-
runtimeChannel: aggregateProofTrendRuntimeChannel(
|
|
3940
|
-
status:
|
|
3940
|
+
label: definition.label ?? profiles.find(Boolean)?.label,
|
|
3941
|
+
maxLiveP95Ms: maxNumber(profiles.map((profile) => profile.maxLiveP95Ms)),
|
|
3942
|
+
maxProviderP95Ms: maxNumber(profiles.map((profile) => profile.maxProviderP95Ms)),
|
|
3943
|
+
maxTurnP95Ms: maxNumber(profiles.map((profile) => profile.maxTurnP95Ms)),
|
|
3944
|
+
providers: aggregateProofTrendProviders(profiles.flatMap((profile) => profile.providers ?? [])),
|
|
3945
|
+
runtimeChannel: aggregateProofTrendRuntimeChannel(profiles.map((profile) => profile.runtimeChannel).filter((channel) => channel !== undefined)),
|
|
3946
|
+
status: profiles.some((profile) => profile.status === "fail") ? "fail" : profiles.some((profile) => profile.status === "warn") ? "warn" : profiles.every((profile) => profile.status === "pass") ? "pass" : undefined
|
|
3941
3947
|
};
|
|
3942
3948
|
}
|
|
3943
3949
|
const runtimeChannel = aggregateProofTrendRuntimeChannel(reports.map((report) => readProofTrendRuntimeChannel(report)).filter((channel) => Object.values(channel).some((value) => value !== undefined)));
|
package/dist/index.js
CHANGED
|
@@ -14645,16 +14645,22 @@ var buildVoiceProofTrendProfileSummaries = (input, options = {}) => {
|
|
|
14645
14645
|
return definitions.map((definition) => {
|
|
14646
14646
|
const historicalProfiles = reports.flatMap((report) => report.summary.profiles?.filter((profile) => profile.id === definition.id) ?? []);
|
|
14647
14647
|
if (historicalProfiles.length > 0) {
|
|
14648
|
+
const missingProfileReports = reports.filter((report) => !report.summary.profiles?.some((profile) => profile.id === definition.id));
|
|
14649
|
+
const derivedProfiles = missingProfileReports.length > 0 ? buildVoiceProofTrendProfileSummaries(missingProfileReports, {
|
|
14650
|
+
...options,
|
|
14651
|
+
profiles: [definition]
|
|
14652
|
+
}) : [];
|
|
14653
|
+
const profiles = [...historicalProfiles, ...derivedProfiles];
|
|
14648
14654
|
return {
|
|
14649
|
-
description: definition.description ??
|
|
14655
|
+
description: definition.description ?? profiles.find(Boolean)?.description,
|
|
14650
14656
|
id: definition.id,
|
|
14651
|
-
label: definition.label ??
|
|
14652
|
-
maxLiveP95Ms: maxNumber(
|
|
14653
|
-
maxProviderP95Ms: maxNumber(
|
|
14654
|
-
maxTurnP95Ms: maxNumber(
|
|
14655
|
-
providers: aggregateProofTrendProviders(
|
|
14656
|
-
runtimeChannel: aggregateProofTrendRuntimeChannel(
|
|
14657
|
-
status:
|
|
14657
|
+
label: definition.label ?? profiles.find(Boolean)?.label,
|
|
14658
|
+
maxLiveP95Ms: maxNumber(profiles.map((profile) => profile.maxLiveP95Ms)),
|
|
14659
|
+
maxProviderP95Ms: maxNumber(profiles.map((profile) => profile.maxProviderP95Ms)),
|
|
14660
|
+
maxTurnP95Ms: maxNumber(profiles.map((profile) => profile.maxTurnP95Ms)),
|
|
14661
|
+
providers: aggregateProofTrendProviders(profiles.flatMap((profile) => profile.providers ?? [])),
|
|
14662
|
+
runtimeChannel: aggregateProofTrendRuntimeChannel(profiles.map((profile) => profile.runtimeChannel).filter((channel) => channel !== undefined)),
|
|
14663
|
+
status: profiles.some((profile) => profile.status === "fail") ? "fail" : profiles.some((profile) => profile.status === "warn") ? "warn" : profiles.every((profile) => profile.status === "pass") ? "pass" : undefined
|
|
14658
14664
|
};
|
|
14659
14665
|
}
|
|
14660
14666
|
const runtimeChannel = aggregateProofTrendRuntimeChannel(reports.map((report) => readProofTrendRuntimeChannel(report)).filter((channel) => Object.values(channel).some((value) => value !== undefined)));
|
package/dist/react/index.js
CHANGED
|
@@ -1676,16 +1676,22 @@ var buildVoiceProofTrendProfileSummaries = (input, options = {}) => {
|
|
|
1676
1676
|
return definitions.map((definition) => {
|
|
1677
1677
|
const historicalProfiles = reports.flatMap((report) => report.summary.profiles?.filter((profile) => profile.id === definition.id) ?? []);
|
|
1678
1678
|
if (historicalProfiles.length > 0) {
|
|
1679
|
+
const missingProfileReports = reports.filter((report) => !report.summary.profiles?.some((profile) => profile.id === definition.id));
|
|
1680
|
+
const derivedProfiles = missingProfileReports.length > 0 ? buildVoiceProofTrendProfileSummaries(missingProfileReports, {
|
|
1681
|
+
...options,
|
|
1682
|
+
profiles: [definition]
|
|
1683
|
+
}) : [];
|
|
1684
|
+
const profiles = [...historicalProfiles, ...derivedProfiles];
|
|
1679
1685
|
return {
|
|
1680
|
-
description: definition.description ??
|
|
1686
|
+
description: definition.description ?? profiles.find(Boolean)?.description,
|
|
1681
1687
|
id: definition.id,
|
|
1682
|
-
label: definition.label ??
|
|
1683
|
-
maxLiveP95Ms: maxNumber(
|
|
1684
|
-
maxProviderP95Ms: maxNumber(
|
|
1685
|
-
maxTurnP95Ms: maxNumber(
|
|
1686
|
-
providers: aggregateProofTrendProviders(
|
|
1687
|
-
runtimeChannel: aggregateProofTrendRuntimeChannel(
|
|
1688
|
-
status:
|
|
1688
|
+
label: definition.label ?? profiles.find(Boolean)?.label,
|
|
1689
|
+
maxLiveP95Ms: maxNumber(profiles.map((profile) => profile.maxLiveP95Ms)),
|
|
1690
|
+
maxProviderP95Ms: maxNumber(profiles.map((profile) => profile.maxProviderP95Ms)),
|
|
1691
|
+
maxTurnP95Ms: maxNumber(profiles.map((profile) => profile.maxTurnP95Ms)),
|
|
1692
|
+
providers: aggregateProofTrendProviders(profiles.flatMap((profile) => profile.providers ?? [])),
|
|
1693
|
+
runtimeChannel: aggregateProofTrendRuntimeChannel(profiles.map((profile) => profile.runtimeChannel).filter((channel) => channel !== undefined)),
|
|
1694
|
+
status: profiles.some((profile) => profile.status === "fail") ? "fail" : profiles.some((profile) => profile.status === "warn") ? "warn" : profiles.every((profile) => profile.status === "pass") ? "pass" : undefined
|
|
1689
1695
|
};
|
|
1690
1696
|
}
|
|
1691
1697
|
const runtimeChannel = aggregateProofTrendRuntimeChannel(reports.map((report) => readProofTrendRuntimeChannel(report)).filter((channel) => Object.values(channel).some((value) => value !== undefined)));
|
package/dist/vue/index.js
CHANGED
|
@@ -1597,16 +1597,22 @@ var buildVoiceProofTrendProfileSummaries = (input, options = {}) => {
|
|
|
1597
1597
|
return definitions.map((definition) => {
|
|
1598
1598
|
const historicalProfiles = reports.flatMap((report) => report.summary.profiles?.filter((profile) => profile.id === definition.id) ?? []);
|
|
1599
1599
|
if (historicalProfiles.length > 0) {
|
|
1600
|
+
const missingProfileReports = reports.filter((report) => !report.summary.profiles?.some((profile) => profile.id === definition.id));
|
|
1601
|
+
const derivedProfiles = missingProfileReports.length > 0 ? buildVoiceProofTrendProfileSummaries(missingProfileReports, {
|
|
1602
|
+
...options,
|
|
1603
|
+
profiles: [definition]
|
|
1604
|
+
}) : [];
|
|
1605
|
+
const profiles = [...historicalProfiles, ...derivedProfiles];
|
|
1600
1606
|
return {
|
|
1601
|
-
description: definition.description ??
|
|
1607
|
+
description: definition.description ?? profiles.find(Boolean)?.description,
|
|
1602
1608
|
id: definition.id,
|
|
1603
|
-
label: definition.label ??
|
|
1604
|
-
maxLiveP95Ms: maxNumber(
|
|
1605
|
-
maxProviderP95Ms: maxNumber(
|
|
1606
|
-
maxTurnP95Ms: maxNumber(
|
|
1607
|
-
providers: aggregateProofTrendProviders(
|
|
1608
|
-
runtimeChannel: aggregateProofTrendRuntimeChannel(
|
|
1609
|
-
status:
|
|
1609
|
+
label: definition.label ?? profiles.find(Boolean)?.label,
|
|
1610
|
+
maxLiveP95Ms: maxNumber(profiles.map((profile) => profile.maxLiveP95Ms)),
|
|
1611
|
+
maxProviderP95Ms: maxNumber(profiles.map((profile) => profile.maxProviderP95Ms)),
|
|
1612
|
+
maxTurnP95Ms: maxNumber(profiles.map((profile) => profile.maxTurnP95Ms)),
|
|
1613
|
+
providers: aggregateProofTrendProviders(profiles.flatMap((profile) => profile.providers ?? [])),
|
|
1614
|
+
runtimeChannel: aggregateProofTrendRuntimeChannel(profiles.map((profile) => profile.runtimeChannel).filter((channel) => channel !== undefined)),
|
|
1615
|
+
status: profiles.some((profile) => profile.status === "fail") ? "fail" : profiles.some((profile) => profile.status === "warn") ? "warn" : profiles.every((profile) => profile.status === "pass") ? "pass" : undefined
|
|
1610
1616
|
};
|
|
1611
1617
|
}
|
|
1612
1618
|
const runtimeChannel = aggregateProofTrendRuntimeChannel(reports.map((report) => readProofTrendRuntimeChannel(report)).filter((channel) => Object.values(channel).some((value) => value !== undefined)));
|