@sinch/functions-runtime 0.4.13 → 0.4.15
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/bin/sinch-runtime.js +3 -4
- package/dist/bin/sinch-runtime.js.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1242,8 +1242,7 @@ async function getPassword(service, account) {
|
|
|
1242
1242
|
|
|
1243
1243
|
// src/secrets/index.ts
|
|
1244
1244
|
var SecretsLoader = class {
|
|
1245
|
-
|
|
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
|
|
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
|
|
1326
|
+
console.log("\u{1F4A1} To manage secrets manually, use: sinch secrets");
|
|
1328
1327
|
return false;
|
|
1329
1328
|
}
|
|
1330
1329
|
}
|