@itutoring/itutoring_application_js_api 1.10.2 → 1.10.4

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.
@@ -18,6 +18,16 @@ class CustomerAuth
18
18
  // All method names
19
19
  static #SIGN_IN = "SignIn";
20
20
  static #RESEND_CONFIRMATION_EMAIL = 'ResendConfirmationEmail';
21
+ static #REQUEST_PASSWORD_CHANGE = 'RequestPasswordChange';
22
+
23
+ static async RequestPasswordChange(email)
24
+ {
25
+ var result = await APIController.Get(this.#MODULE, this.#REQUEST_PASSWORD_CHANGE, {
26
+ 'email': email
27
+ });
28
+
29
+ return result;
30
+ }
21
31
 
22
32
  static async ResendConfirmationEmail(email)
23
33
  {
@@ -32,18 +42,13 @@ class CustomerAuth
32
42
  *
33
43
  * @param {*} email
34
44
  * @param {*} pass
35
- * @param {*} fname
36
- * @param {*} lname
37
45
  * @returns Int (AuthResult)
38
46
  */
39
- static async SignIn(email, pass, fname, lname, phone)
47
+ static async SignIn(email, pass)
40
48
  {
41
49
  var result = await APIController.Post(this.#MODULE, this.#SIGN_IN, {
42
50
  'email': email,
43
51
  'pass': pass,
44
- 'fname': fname,
45
- 'lname': lname,
46
- 'phone': phone,
47
52
  });
48
53
 
49
54
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.10.2",
3
+ "version": "1.10.4",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",