@itutoring/itutoring_application_js_api 1.7.16 → 1.7.17

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.
@@ -21,6 +21,7 @@ class TeacherAuth
21
21
  static #REGISTER = "Register";
22
22
  static #IS_AUTHENTICATED = "IsAuthenticated";
23
23
  static #CHANGE_PASSWOD = "ChangePassword";
24
+ static #REQUEST_PASSWORD_CHANGE = "RequestPasswordChange";
24
25
 
25
26
  /**
26
27
  * This mothod will force default auth dialog
@@ -45,6 +46,13 @@ class TeacherAuth
45
46
 
46
47
  return res;
47
48
  }
49
+
50
+ static async RequestPasswordChange(email)
51
+ {
52
+ await APIController.Get(this.#MODULE, this.#REQUEST_PASSWORD_CHANGE, {
53
+ 'email': email
54
+ });
55
+ }
48
56
  }
49
57
 
50
58
  export default TeacherAuth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.7.16",
3
+ "version": "1.7.17",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",