cloud-ide-lms-model 1.0.144 → 1.0.145

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.
@@ -9,10 +9,10 @@ class MPinCodeSelect {
9
9
  }
10
10
  Validate() {
11
11
  let errorLogger = {};
12
- if (!this.sypin_pincode) {
12
+ if (this.sypin_pincode === undefined) {
13
13
  errorLogger.sypin_pincode = "Pin Code is Required!";
14
14
  }
15
- else if (!this.sypin_id && !this.sypin_pincode) {
15
+ else if (this.sypin_id === undefined && this.sypin_pincode === undefined) {
16
16
  errorLogger.sypin_id = "Pin Code ID is Required!";
17
17
  }
18
18
  return errorLogger;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "typescript": "^5.4.2"
6
6
  },
7
7
  "name": "cloud-ide-lms-model",
8
- "version": "1.0.144",
8
+ "version": "1.0.145",
9
9
  "description": "Package for Model management of Cloud IDEsys LMS",
10
10
  "main": "lib/index.js",
11
11
  "types": "lib/index.d.ts",