lsh-framework 2.1.1 → 2.1.2

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.
@@ -236,11 +236,11 @@ export class SecretsManager {
236
236
  if (filename !== '.env' && !filename.startsWith('.env.')) {
237
237
  throw new Error(`Invalid filename: ${filename}. Must be '.env' or start with '.env.'`);
238
238
  }
239
- logger.info(`Pulling ${filename} (${this.getRepoAwareEnvironment(environment)}) from IPFS...`);
239
+ const effectiveEnv = this.getRepoAwareEnvironment(environment);
240
+ logger.info(`Pulling ${filename} (${effectiveEnv}) from IPFS...`);
240
241
  // Get secrets from IPFS storage
241
- const secrets = await this.storage.pull(environment, this.encryptionKey, this.gitInfo?.repoName);
242
+ const secrets = await this.storage.pull(effectiveEnv, this.encryptionKey, this.gitInfo?.repoName);
242
243
  if (secrets.length === 0) {
243
- const effectiveEnv = this.getRepoAwareEnvironment(environment);
244
244
  throw new Error(`No secrets found for environment: ${effectiveEnv}\n\n` +
245
245
  `💡 Tip: Check available environments with: lsh env\n` +
246
246
  ` Or push secrets first with: lsh push --env ${environment}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lsh-framework",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Simple, cross-platform encrypted secrets manager with automatic sync, IPFS audit logs, and multi-environment support. Just run lsh sync and start managing your secrets.",
5
5
  "main": "dist/app.js",
6
6
  "bin": {