@itutoring/itutoring_application_js_api 1.6.16 → 1.6.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.
Files changed (2) hide show
  1. package/apiController.js +1 -1
  2. package/package.json +1 -1
package/apiController.js CHANGED
@@ -96,7 +96,7 @@ class APIController
96
96
  APIController.onConfimationReceived(json.data['conf_request']);
97
97
  }
98
98
  }
99
- if (json.warnings != null && json.warnings.length > 0)
99
+ if (json.warnings != null && Object.entries(json.warnings).length > 0)
100
100
  {
101
101
  if (APIController.onWarningReceived !== null && APIController.onWarningReceived !== undefined)
102
102
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.16",
3
+ "version": "1.6.17",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",