@saooti/octopus-sdk 41.0.7-SNAPSHOT → 41.0.8-SNAPSHOT

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "41.0.7-SNAPSHOT",
3
+ "version": "41.0.8-SNAPSHOT",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -75,11 +75,10 @@ async function fetchStatus(): Promise<void> {
75
75
  api: 9,
76
76
  path: "conference/info/" + props.fetchConference.conferenceId,
77
77
  });
78
- const newStatus = confInfo.status;
79
- if (newStatus !== props.fetchConference.status) {
78
+ if (confInfo.status !== props.fetchConference.status) {
80
79
  emit("updateItem", {
81
80
  ...props.fetchConference,
82
- ...{ status: newStatus },
81
+ ...confInfo,
83
82
  });
84
83
  }
85
84
  }
@@ -255,7 +255,8 @@ async function fetchConferenceStatus() {
255
255
  api: 9,
256
256
  path: "conference/info/" + podcast.value?.conferenceId,
257
257
  });
258
- fetchConference.value.status = data.status;
258
+
259
+ fetchConference.value = {...fetchConference.value, ...data};
259
260
  } catch {
260
261
  //Do nothing
261
262
  }