@crowdin/app-project-module 0.23.4 → 0.23.5

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/out/util/cron.js +1 -1
  2. package/package.json +1 -1
package/out/util/cron.js CHANGED
@@ -98,7 +98,7 @@ function filesCron(config, integration, period) {
98
98
  const crowdinFiles = files;
99
99
  const onlyTranslated = intConfig.condition === SyncCondition.TRANSLATED;
100
100
  const onlyApproved = intConfig.condition === SyncCondition.APPROVED;
101
- const all = intConfig.condition === SyncCondition.ALL;
101
+ const all = intConfig.condition === SyncCondition.ALL || intConfig.condition === undefined;
102
102
  (0, _1.log)(`Executing updateIntegration task for files cron job with period [${period}] for project ${projectId} and request ${JSON.stringify(files, null, 2)}`, config.logger);
103
103
  if (all) {
104
104
  yield integration.updateIntegration(projectId, crowdinClient, apiCredentials, crowdinFiles, rootFolder, intConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crowdin/app-project-module",
3
- "version": "0.23.4",
3
+ "version": "0.23.5",
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",