@crowdin/app-project-module 0.26.0 → 0.26.1

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.
package/out/util/index.js CHANGED
@@ -122,6 +122,6 @@ function executeWithRetry(func, numOfRetries = 2) {
122
122
  exports.executeWithRetry = executeWithRetry;
123
123
  function isExtendedResultType(data) {
124
124
  const dataTyped = data;
125
- return !Array.isArray(dataTyped);
125
+ return !!dataTyped && !Array.isArray(dataTyped);
126
126
  }
127
127
  exports.isExtendedResultType = isExtendedResultType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "description": "Module that generates for you all common endpoints for serving standalone Crowdin App",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",