@absolutejs/voice 0.0.22-beta.474 → 0.0.22-beta.475

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.
Files changed (2) hide show
  1. package/dist/vue/index.js +30 -30
  2. package/package.json +1 -1
package/dist/vue/index.js CHANGED
@@ -278,7 +278,7 @@ var defineVoiceOpsStatusElement = (tagName = "absolute-voice-ops-status") => {
278
278
  };
279
279
 
280
280
  // src/vue/useVoiceOpsStatus.ts
281
- import { onUnmounted, ref, shallowRef } from "vue";
281
+ import { onMounted, onUnmounted, ref, shallowRef } from "vue";
282
282
  function useVoiceOpsStatus(path = "/api/voice/ops-status", options = {}) {
283
283
  const store = createVoiceOpsStatusStore(path, options);
284
284
  const error = ref(null);
@@ -294,9 +294,9 @@ function useVoiceOpsStatus(path = "/api/voice/ops-status", options = {}) {
294
294
  };
295
295
  const unsubscribe = store.subscribe(sync);
296
296
  sync();
297
- if (typeof window !== "undefined") {
297
+ onMounted(() => {
298
298
  store.refresh().catch(() => {});
299
- }
299
+ });
300
300
  onUnmounted(() => {
301
301
  unsubscribe();
302
302
  store.close();
@@ -1012,7 +1012,7 @@ var defineVoiceDeliveryRuntimeElement = (tagName = "absolute-voice-delivery-runt
1012
1012
  };
1013
1013
 
1014
1014
  // src/vue/useVoiceDeliveryRuntime.ts
1015
- import { onUnmounted as onUnmounted3, ref as ref3, shallowRef as shallowRef3 } from "vue";
1015
+ import { onMounted as onMounted2, onUnmounted as onUnmounted3, ref as ref3, shallowRef as shallowRef3 } from "vue";
1016
1016
  function useVoiceDeliveryRuntime(path = "/api/voice-delivery-runtime", options = {}) {
1017
1017
  const store = createVoiceDeliveryRuntimeStore(path, options);
1018
1018
  const actionError = ref3(null);
@@ -1032,9 +1032,9 @@ function useVoiceDeliveryRuntime(path = "/api/voice-delivery-runtime", options =
1032
1032
  };
1033
1033
  const unsubscribe = store.subscribe(sync);
1034
1034
  sync();
1035
- if (typeof window !== "undefined") {
1035
+ onMounted2(() => {
1036
1036
  store.refresh().catch(() => {});
1037
- }
1037
+ });
1038
1038
  onUnmounted3(() => {
1039
1039
  unsubscribe();
1040
1040
  store.close();
@@ -1133,7 +1133,7 @@ var VoiceDeliveryRuntime = defineComponent3({
1133
1133
  import { defineComponent as defineComponent4, h as h4 } from "vue";
1134
1134
 
1135
1135
  // src/vue/useVoicePlatformCoverage.ts
1136
- import { onUnmounted as onUnmounted4, ref as ref4, shallowRef as shallowRef4 } from "vue";
1136
+ import { onMounted as onMounted3, onUnmounted as onUnmounted4, ref as ref4, shallowRef as shallowRef4 } from "vue";
1137
1137
 
1138
1138
  // src/client/platformCoverage.ts
1139
1139
  var fetchVoicePlatformCoverage = async (path = "/api/voice/platform-coverage", options = {}) => {
@@ -1230,9 +1230,9 @@ function useVoicePlatformCoverage(path = "/api/voice/platform-coverage", options
1230
1230
  };
1231
1231
  const unsubscribe = store.subscribe(sync);
1232
1232
  sync();
1233
- if (typeof window !== "undefined") {
1233
+ onMounted3(() => {
1234
1234
  store.refresh().catch(() => {});
1235
- }
1235
+ });
1236
1236
  onUnmounted4(() => {
1237
1237
  unsubscribe();
1238
1238
  store.close();
@@ -6234,7 +6234,7 @@ var defineVoiceProofTrendsElement = (tagName = "absolute-voice-proof-trends") =>
6234
6234
  };
6235
6235
 
6236
6236
  // src/vue/useVoiceProofTrends.ts
6237
- import { onUnmounted as onUnmounted5, ref as ref5, shallowRef as shallowRef5 } from "vue";
6237
+ import { onMounted as onMounted4, onUnmounted as onUnmounted5, ref as ref5, shallowRef as shallowRef5 } from "vue";
6238
6238
  function useVoiceProofTrends(path = "/api/voice/proof-trends", options = {}) {
6239
6239
  const store = createVoiceProofTrendsStore(path, options);
6240
6240
  const error = ref5(null);
@@ -6250,9 +6250,9 @@ function useVoiceProofTrends(path = "/api/voice/proof-trends", options = {}) {
6250
6250
  };
6251
6251
  const unsubscribe = store.subscribe(sync);
6252
6252
  sync();
6253
- if (typeof window !== "undefined") {
6253
+ onMounted4(() => {
6254
6254
  store.refresh().catch(() => {});
6255
- }
6255
+ });
6256
6256
  onUnmounted5(() => {
6257
6257
  unsubscribe();
6258
6258
  store.close();
@@ -6515,7 +6515,7 @@ var defineVoiceReconnectProfileEvidenceElement = (tagName = "absolute-voice-reco
6515
6515
  };
6516
6516
 
6517
6517
  // src/vue/useVoiceReconnectProfileEvidence.ts
6518
- import { onUnmounted as onUnmounted6, ref as ref6, shallowRef as shallowRef6 } from "vue";
6518
+ import { onMounted as onMounted5, onUnmounted as onUnmounted6, ref as ref6, shallowRef as shallowRef6 } from "vue";
6519
6519
  function useVoiceReconnectProfileEvidence(path = "/api/voice/reconnect-profile-evidence", options = {}) {
6520
6520
  const store = createVoiceReconnectProfileEvidenceStore(path, options);
6521
6521
  const error = ref6(null);
@@ -6531,9 +6531,9 @@ function useVoiceReconnectProfileEvidence(path = "/api/voice/reconnect-profile-e
6531
6531
  };
6532
6532
  const unsubscribe = store.subscribe(sync);
6533
6533
  sync();
6534
- if (typeof window !== "undefined") {
6534
+ onMounted5(() => {
6535
6535
  store.refresh().catch(() => {});
6536
- }
6536
+ });
6537
6537
  onUnmounted6(() => {
6538
6538
  unsubscribe();
6539
6539
  store.close();
@@ -7583,7 +7583,7 @@ var defineVoiceReadinessFailuresElement = (tagName = "absolute-voice-readiness-f
7583
7583
  };
7584
7584
 
7585
7585
  // src/vue/useVoiceReadinessFailures.ts
7586
- import { onBeforeUnmount as onBeforeUnmount2, readonly, ref as ref8 } from "vue";
7586
+ import { onMounted as onMounted6, onBeforeUnmount as onBeforeUnmount2, readonly, ref as ref8 } from "vue";
7587
7587
  var useVoiceReadinessFailures = (path = "/api/production-readiness", options = {}) => {
7588
7588
  const store = createVoiceReadinessFailuresStore(path, options);
7589
7589
  const error = ref8(null);
@@ -7599,9 +7599,9 @@ var useVoiceReadinessFailures = (path = "/api/production-readiness", options = {
7599
7599
  };
7600
7600
  const unsubscribe = store.subscribe(sync);
7601
7601
  sync();
7602
- if (typeof window !== "undefined") {
7602
+ onMounted6(() => {
7603
7603
  store.refresh().catch(() => {});
7604
- }
7604
+ });
7605
7605
  onBeforeUnmount2(() => {
7606
7606
  unsubscribe();
7607
7607
  store.close();
@@ -9172,7 +9172,7 @@ var VoiceRoutingStatus = defineComponent15({
9172
9172
  }
9173
9173
  });
9174
9174
  // src/vue/useVoiceAgentSquadStatus.ts
9175
- import { onUnmounted as onUnmounted14, ref as ref12, shallowRef as shallowRef13 } from "vue";
9175
+ import { onMounted as onMounted7, onUnmounted as onUnmounted14, ref as ref12, shallowRef as shallowRef13 } from "vue";
9176
9176
 
9177
9177
  // src/client/traceTimeline.ts
9178
9178
  var fetchVoiceTraceTimeline = async (path = "/api/voice-traces", options = {}) => {
@@ -9346,9 +9346,9 @@ function useVoiceAgentSquadStatus(path = "/api/voice-traces", options = {}) {
9346
9346
  };
9347
9347
  const unsubscribe = store.subscribe(sync);
9348
9348
  sync();
9349
- if (typeof window !== "undefined") {
9349
+ onMounted7(() => {
9350
9350
  store.refresh().catch(() => {});
9351
- }
9351
+ });
9352
9352
  onUnmounted14(() => {
9353
9353
  unsubscribe();
9354
9354
  store.close();
@@ -9978,7 +9978,7 @@ function useVoiceSessionObservability(path = "/api/voice/session-observability/l
9978
9978
  };
9979
9979
  }
9980
9980
  // src/vue/useVoiceProfileComparison.ts
9981
- import { onUnmounted as onUnmounted18, ref as ref14, shallowRef as shallowRef17 } from "vue";
9981
+ import { onMounted as onMounted8, onUnmounted as onUnmounted18, ref as ref14, shallowRef as shallowRef17 } from "vue";
9982
9982
 
9983
9983
  // src/client/profileComparison.ts
9984
9984
  var fetchVoiceProfileComparison = async (path = "/api/voice/real-call-profile-history", options = {}) => {
@@ -10071,9 +10071,9 @@ function useVoiceProfileComparison(path = "/api/voice/real-call-profile-history"
10071
10071
  };
10072
10072
  const unsubscribe = store.subscribe(sync);
10073
10073
  sync();
10074
- if (typeof window !== "undefined") {
10074
+ onMounted8(() => {
10075
10075
  store.refresh().catch(() => {});
10076
- }
10076
+ });
10077
10077
  onUnmounted18(() => {
10078
10078
  unsubscribe();
10079
10079
  store.close();
@@ -10207,7 +10207,7 @@ function useVoiceLiveOps(options = {}) {
10207
10207
  };
10208
10208
  }
10209
10209
  // src/vue/useVoiceCampaignDialerProof.ts
10210
- import { onUnmounted as onUnmounted20, shallowRef as shallowRef19 } from "vue";
10210
+ import { onMounted as onMounted9, onUnmounted as onUnmounted20, shallowRef as shallowRef19 } from "vue";
10211
10211
 
10212
10212
  // src/client/campaignDialerProof.ts
10213
10213
  var fetchVoiceCampaignDialerProofStatus = async (path = "/api/voice/campaigns/dialer-proof", options = {}) => {
@@ -10345,9 +10345,9 @@ function useVoiceCampaignDialerProof(path = "/api/voice/campaigns/dialer-proof",
10345
10345
  };
10346
10346
  const unsubscribe = store.subscribe(sync);
10347
10347
  sync();
10348
- if (typeof window !== "undefined") {
10348
+ onMounted9(() => {
10349
10349
  store.refresh().catch(() => {});
10350
- }
10350
+ });
10351
10351
  onUnmounted20(() => {
10352
10352
  unsubscribe();
10353
10353
  store.close();
@@ -11898,7 +11898,7 @@ function useVoiceTraceTimeline(path = "/api/voice-traces", options = {}) {
11898
11898
  };
11899
11899
  }
11900
11900
  // src/vue/useVoiceWorkflowStatus.ts
11901
- import { onUnmounted as onUnmounted24, ref as ref19, shallowRef as shallowRef23 } from "vue";
11901
+ import { onMounted as onMounted10, onUnmounted as onUnmounted24, ref as ref19, shallowRef as shallowRef23 } from "vue";
11902
11902
 
11903
11903
  // src/client/workflowStatus.ts
11904
11904
  var fetchVoiceWorkflowStatus = async (path = "/evals/scenarios/json", options = {}) => {
@@ -11995,9 +11995,9 @@ function useVoiceWorkflowStatus(path = "/evals/scenarios/json", options = {}) {
11995
11995
  };
11996
11996
  const unsubscribe = store.subscribe(sync);
11997
11997
  sync();
11998
- if (typeof window !== "undefined") {
11998
+ onMounted10(() => {
11999
11999
  store.refresh().catch(() => {});
12000
- }
12000
+ });
12001
12001
  onUnmounted24(() => {
12002
12002
  unsubscribe();
12003
12003
  store.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@absolutejs/voice",
3
- "version": "0.0.22-beta.474",
3
+ "version": "0.0.22-beta.475",
4
4
  "description": "Voice primitives and Elysia plugin for AbsoluteJS",
5
5
  "repository": {
6
6
  "type": "git",