@arela/uploader 1.0.10 → 1.0.11
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/package.json
CHANGED
|
@@ -317,6 +317,7 @@ export class PropagateCommand {
|
|
|
317
317
|
directory_path,
|
|
318
318
|
arela_path,
|
|
319
319
|
rfc,
|
|
320
|
+
detected_pedimento,
|
|
320
321
|
detected_pedimento_year,
|
|
321
322
|
} = pedimento;
|
|
322
323
|
|
|
@@ -343,6 +344,7 @@ export class PropagateCommand {
|
|
|
343
344
|
id: file.id,
|
|
344
345
|
arelaPath: arela_path,
|
|
345
346
|
rfc: rfc,
|
|
347
|
+
detectedPedimento: detected_pedimento,
|
|
346
348
|
detectedPedimentoYear: detected_pedimento_year,
|
|
347
349
|
propagatedFromId: id,
|
|
348
350
|
propagationError: null,
|
package/src/config/config.js
CHANGED
|
@@ -34,10 +34,10 @@ class Config {
|
|
|
34
34
|
const __dirname = path.dirname(__filename);
|
|
35
35
|
const packageJsonPath = path.resolve(__dirname, '../../package.json');
|
|
36
36
|
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
37
|
-
return packageJson.version || '1.0.
|
|
37
|
+
return packageJson.version || '1.0.11';
|
|
38
38
|
} catch (error) {
|
|
39
39
|
console.warn('⚠️ Could not read package.json version, using fallback');
|
|
40
|
-
return '1.0.
|
|
40
|
+
return '1.0.11';
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|