nestjs-infisical 1.0.8 → 1.0.10
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/dist/infisical.loader.js
CHANGED
|
@@ -24,6 +24,7 @@ async function initializeInfisical(options) {
|
|
|
24
24
|
const provided = [baseUrl, token, projectId, environment].filter(Boolean).length;
|
|
25
25
|
debugLog(debug, `Infisical config resolved: ${provided === 0 ? 'none' : provided === 4 ? 'complete' : 'partial'}`);
|
|
26
26
|
if (provided === 0) {
|
|
27
|
+
debugLog(debug, 'No Infisical configuration provided');
|
|
27
28
|
return;
|
|
28
29
|
}
|
|
29
30
|
if (provided !== 4) {
|
|
@@ -31,6 +32,7 @@ async function initializeInfisical(options) {
|
|
|
31
32
|
debugLog(debug, `baseUrl=${!!baseUrl}, token=${!!token}, projectId=${!!projectId}, environment=${!!environment}`);
|
|
32
33
|
return;
|
|
33
34
|
}
|
|
35
|
+
debugLog(debug, 'Loading Infisical secrets');
|
|
34
36
|
await (0, infisical_loader_1.loadInfisicalSecrets)({
|
|
35
37
|
baseUrl: baseUrl,
|
|
36
38
|
token: token,
|
|
@@ -38,5 +40,6 @@ async function initializeInfisical(options) {
|
|
|
38
40
|
environment: environment,
|
|
39
41
|
override,
|
|
40
42
|
failFast,
|
|
43
|
+
debug
|
|
41
44
|
});
|
|
42
45
|
}
|