@icvdeveloper/common-module 2.3.1 → 2.3.3

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
+ ## 2.3.3 - 2025-04-03
11
+
12
+ ## 2.3.2 - 2025-04-03
13
+
10
14
  ## 2.3.1 - 2025-04-01
11
15
 
12
16
  ## 2.3.0 - 2024-11-27
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "v3plus-common-module",
3
3
  "configKey": "v3plusCommonModule",
4
- "version": "2.3.1"
4
+ "version": "2.3.3"
5
5
  }
@@ -35,29 +35,24 @@ export default defineNuxtPlugin((nuxtApp) => {
35
35
  return text;
36
36
  };
37
37
  let docTitle = "";
38
- let isNEJM = false;
39
38
  const routeName = to.name;
40
39
  const routeArray = routeName.toLowerCase().split("-");
41
40
  const isRedirectPage = routeName.includes("events-id") && to.params.id == "redirect";
42
41
  const isStreamTest = routeName == "stream-test";
43
- let skipCurrentConf = false;
44
42
  if (portal.value === null) {
43
+ await portalStore.getPortal().then(() => {
44
+ NProgress.inc();
45
+ });
46
+ }
47
+ let isNEJM = portal.value.template_id == 7;
48
+ let skipCurrentConf = isNEJM && !isRedirectPage && !isStreamTest;
49
+ docTitle = portal.value.name;
50
+ if (!skipCurrentConf) {
45
51
  Promise.all([
46
- // fetch portal config then increment loading indicator
47
- await portalStore.getPortal().then(() => {
48
- isNEJM = portal.value.template_id == 7;
49
- skipCurrentConf = isNEJM && !isRedirectPage && !isStreamTest;
50
- docTitle = portal.value.name;
51
- NProgress.inc();
52
- })
52
+ await conferencesStore.getConferences().then(() => NProgress.inc()),
53
+ // wait for get conferences to complete, then get current conference data.
54
+ await conferencesStore.getCurrentConference(true).then(() => NProgress.inc())
53
55
  ]);
54
- if (!skipCurrentConf) {
55
- Promise.all([
56
- await conferencesStore.getConferences().then(() => NProgress.inc()),
57
- // wait for get conferences to complete, then get current conference data.
58
- await conferencesStore.getCurrentConference(true).then(() => NProgress.inc())
59
- ]);
60
- }
61
56
  }
62
57
  if (isRedirectPage) {
63
58
  let matchedConfs = conferencesStore.conferenceList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icvdeveloper/common-module",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@analytics/google-analytics": "^1.0.3",
27
27
  "@nuxt/kit": "^3.8.0",
28
- "@nuxtjs/tailwindcss": "^6.12.0",
28
+ "@nuxtjs/tailwindcss": "6.12.0",
29
29
  "@pinia/nuxt": "^0.3.1",
30
30
  "@stripe/stripe-js": "^3.5.0",
31
31
  "@ts-pro/vue-eternal-loading": "^1.3.1",
@@ -59,7 +59,7 @@
59
59
  "eslint-config-prettier": "^8.5.0",
60
60
  "nuxt": "^3.10.3",
61
61
  "postcss-import": "^16.1.0",
62
- "vitest": "^0.33.0"
62
+ "vitest": "^0.34.6"
63
63
  },
64
64
  "description": "## Development",
65
65
  "repository": {