@vogent/vogent-web-client 0.0.8 → 0.0.9

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.
@@ -219,13 +219,13 @@ export class VogentCall {
219
219
  * @param paused - Whether to pause the AI or not.
220
220
  */
221
221
  async setPaused(paused) {
222
- if (!this.dial) {
222
+ if (!this.dialId) {
223
223
  return;
224
224
  }
225
225
  await this.client.mutate({
226
226
  mutation: AI_SET_PAUSED,
227
227
  variables: {
228
- dialId: this.dial.id,
228
+ dialId: this.dialId,
229
229
  pauseStatus: paused,
230
230
  },
231
231
  });
@@ -234,13 +234,13 @@ export class VogentCall {
234
234
  * Ends the current call
235
235
  */
236
236
  async hangup() {
237
- if (!this.dial) {
237
+ if (!this.dialId) {
238
238
  return;
239
239
  }
240
240
  await this.client.mutate({
241
241
  mutation: AI_HANGUP_CALL,
242
242
  variables: {
243
- dialId: this.dial.id,
243
+ dialId: this.dialId,
244
244
  },
245
245
  });
246
246
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vogent/vogent-web-client",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@apollo/client": "^3.12.4",