@icvdeveloper/common-module 0.0.78 → 0.0.79

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/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "0.0.78"
4
+ "version": "0.0.79"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { toRefs } from "vue";
2
+ import { ref, toRefs } from "vue";
3
3
  import { storeToRefs } from "pinia";
4
4
  import { useRoute } from "vue-router";
5
5
  import { useClassBinding } from "../../composables/useClassBinding";
@@ -55,7 +55,7 @@ const { isLoggedIn } = storeToRefs(useAuthStore());
55
55
  // computed
56
56
 
57
57
  const isStreamTest = computed((): boolean => {
58
- return String(route.value.name).includes("stream-test");
58
+ return route.value.params.channelid === "stream-test";
59
59
  });
60
60
 
61
61
  const hasAccess = computed((): boolean => {
@@ -10,7 +10,7 @@ import { useV3plusCommonModule } from "../../../composables/useV3plusCommonModul
10
10
  import { useStream } from "../../../composables/useStream";
11
11
  import { useClassBinding } from "../../../composables/useClassBinding";
12
12
 
13
- const commonModule = useV3plusCommonModule();
13
+ const config = useRuntimeConfig();
14
14
 
15
15
  type Props = {
16
16
  webcastConference: Conference;
@@ -37,9 +37,13 @@ const emit = defineEmits<{
37
37
  (event: string, value: Presentation): void;
38
38
  }>();
39
39
 
40
+ console.log(
41
+ config.public.awsDefaultRegion + ", " + config.public.resourcePrefix
42
+ );
43
+
40
44
  const { currentStreamData, currentPresentation } = useStream(
41
- "us-west-2",
42
- "staging",
45
+ config.public.awsDefaultRegion,
46
+ config.public.resourcePrefix,
43
47
  Number(webcastConference.value.id),
44
48
  emit
45
49
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {