@itutoring/itutoring_application_js_api 1.1.24 → 1.1.26

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.
@@ -30,7 +30,9 @@ class CustomerEduPortal
30
30
  var eventsJson = JSON.parse(events)
31
31
  for (const [key, value] of Object.entries(eventsJson))
32
32
  {
33
- eventObjs.push(((new iEvent()).CreateFromJSON(JSON.parse(value))));
33
+ var ev = new iEvent();
34
+ ev.CreateFromJSON(JSON.parse(value))
35
+ eventObjs.push(ev);
34
36
  }
35
37
 
36
38
  return eventObjs;
package/objects/Event.js CHANGED
@@ -82,6 +82,8 @@ class iEvent
82
82
 
83
83
  CreateFromJSON(json)
84
84
  {
85
+ console.log(json);
86
+
85
87
  this.ID = json['ID'];
86
88
  this.PassCode = json['PassCode'];
87
89
  this.RoomID = json['RoomID'];
@@ -99,6 +101,8 @@ class iEvent
99
101
  this.Recursivity = json['Recursivity'];
100
102
  this.IsVideoConference = json['IsVideoConference'];
101
103
  this.ReadOnly = json['ReadOnly'];
104
+
105
+ console.log(json['OneTime'])
102
106
  }
103
107
  }
104
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",