@icvdeveloper/common-module 1.4.7 → 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,8 @@ 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
+
10
12
  ## 1.4.7 - 2024-02-15
11
13
 
12
14
  ## 1.4.6 - 2024-01-29
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.7"
4
+ "version": "1.4.8"
5
5
  }
@@ -74,9 +74,12 @@ 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...");
80
83
  window.location.reload();
81
84
  }
82
85
  };
@@ -104,12 +107,16 @@ export const useUcc = () => {
104
107
  const handleLoginV3Response = (response, email) => {
105
108
  let conferences = get(response, "data.conferences", []);
106
109
  let _conference = window.uccMixin.conference;
110
+ console.log("conf id: ", _conference.id);
107
111
  let hasAccess = find(conferences, { id: _conference.id });
112
+ console.log("has access: ", hasAccess);
108
113
  if (hasAccess) {
114
+ console.log("hasAcess passed");
109
115
  loginEmailOnly(response.data).then(() => {
110
116
  postAuthRedirect();
111
117
  });
112
118
  } else {
119
+ console.log("hasAccess failed");
113
120
  uccShowEventSignUp(email);
114
121
  }
115
122
  };
@@ -135,6 +142,7 @@ export const useUcc = () => {
135
142
  };
136
143
  const toggleEmailFormDisplay = (show) => {
137
144
  document.getElementById("uccEmailForm").style.display = show ? "block" : "none";
145
+ console.log("toggled email form display", show);
138
146
  };
139
147
  return {
140
148
  loadUccScript,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {