@sinch/functions-runtime 0.4.14 → 0.4.16

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.
@@ -1242,8 +1242,7 @@ async function getPassword(service, account) {
1242
1242
 
1243
1243
  // src/secrets/index.ts
1244
1244
  var SecretsLoader = class {
1245
- // Same service name as CLI uses
1246
- SERVICE_NAME = "sinch-functions-cli";
1245
+ SERVICE_NAME = "sinch-cli";
1247
1246
  username = os.userInfo().username;
1248
1247
  /**
1249
1248
  * Load secrets from OS keychain for variables declared in .env
@@ -1319,12 +1318,12 @@ var SecretsLoader = class {
1319
1318
  if (secretsLoaded === 0) {
1320
1319
  console.log("\u2139\uFE0F No secrets found in secure storage for declared variables");
1321
1320
  console.log("\u{1F4A1} To configure Sinch auth: sinch auth login");
1322
- console.log("\u{1F4A1} To add custom secrets: sinch functions secrets add <KEY> <VALUE>");
1321
+ console.log("\u{1F4A1} To add custom secrets: sinch secrets add <KEY> <VALUE>");
1323
1322
  }
1324
1323
  return secretsLoaded > 0;
1325
1324
  } catch (error) {
1326
1325
  console.error("[Secrets] Unexpected error:", error.message);
1327
- console.log("\u{1F4A1} To manage secrets manually, use: sinch functions secrets");
1326
+ console.log("\u{1F4A1} To manage secrets manually, use: sinch secrets");
1328
1327
  return false;
1329
1328
  }
1330
1329
  }