@icvdeveloper/common-module 1.4.6 → 1.4.8

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/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 1.4.8 - 2024-02-15
11
+
12
+ ## 1.4.7 - 2024-02-15
13
+
10
14
  ## 1.4.6 - 2024-01-29
11
15
 
12
16
  ## 1.4.5 - 2024-01-25
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "1.4.6"
4
+ "version": "1.4.8"
5
5
  }
@@ -74,9 +74,13 @@ export const useUcc = () => {
74
74
  };
75
75
  const postAuthRedirect = () => {
76
76
  if (window.uccMixin.conference.state == "live") {
77
+ console.log("live event");
77
78
  router.push(window.uccMixin.webcastUrl);
78
79
  } else if (window.uccMixin.conference.state == "archive") {
80
+ console.log("archive event");
79
81
  toggleEmailFormDisplay(false);
82
+ console.log("reloading page...");
83
+ window.location.reload();
80
84
  }
81
85
  };
82
86
  const uccShowEventSignUp = (email) => {
@@ -103,12 +107,16 @@ export const useUcc = () => {
103
107
  const handleLoginV3Response = (response, email) => {
104
108
  let conferences = get(response, "data.conferences", []);
105
109
  let _conference = window.uccMixin.conference;
110
+ console.log("conf id: ", _conference.id);
106
111
  let hasAccess = find(conferences, { id: _conference.id });
112
+ console.log("has access: ", hasAccess);
107
113
  if (hasAccess) {
114
+ console.log("hasAcess passed");
108
115
  loginEmailOnly(response.data).then(() => {
109
116
  postAuthRedirect();
110
117
  });
111
118
  } else {
119
+ console.log("hasAccess failed");
112
120
  uccShowEventSignUp(email);
113
121
  }
114
122
  };
@@ -134,6 +142,7 @@ export const useUcc = () => {
134
142
  };
135
143
  const toggleEmailFormDisplay = (show) => {
136
144
  document.getElementById("uccEmailForm").style.display = show ? "block" : "none";
145
+ console.log("toggled email form display", show);
137
146
  };
138
147
  return {
139
148
  loadUccScript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {