@itutoring/itutoring_application_js_api 1.7.8 → 1.7.10

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.
Files changed (2) hide show
  1. package/apiController.js +5 -0
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -68,6 +68,11 @@ class APIController
68
68
 
69
69
  static GetVisitorSessionID()
70
70
  {
71
+ const urlParams = new URLSearchParams(window.location.search);
72
+ if (urlParams.has("vid")) {
73
+ return urlParams.get("vid");
74
+ }
75
+
71
76
  //console.log(CookiesManager.GetCookie("session"));
72
77
  return CookiesManager.GetCookie("session");
73
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.7.8",
3
+ "version": "1.7.10",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",