@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.
- 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
package/dist/index.js
CHANGED
|
@@ -3494,8 +3494,7 @@ async function getPassword(service, account) {
|
|
|
3494
3494
|
|
|
3495
3495
|
// src/secrets/index.ts
|
|
3496
3496
|
var SecretsLoader = class {
|
|
3497
|
-
|
|
3498
|
-
SERVICE_NAME = "sinch-functions-cli";
|
|
3497
|
+
SERVICE_NAME = "sinch-cli";
|
|
3499
3498
|
username = os.userInfo().username;
|
|
3500
3499
|
/**
|
|
3501
3500
|
* Load secrets from OS keychain for variables declared in .env
|
|
@@ -3571,12 +3570,12 @@ var SecretsLoader = class {
|
|
|
3571
3570
|
if (secretsLoaded === 0) {
|
|
3572
3571
|
console.log("\u2139\uFE0F No secrets found in secure storage for declared variables");
|
|
3573
3572
|
console.log("\u{1F4A1} To configure Sinch auth: sinch auth login");
|
|
3574
|
-
console.log("\u{1F4A1} To add custom secrets: sinch
|
|
3573
|
+
console.log("\u{1F4A1} To add custom secrets: sinch secrets add <KEY> <VALUE>");
|
|
3575
3574
|
}
|
|
3576
3575
|
return secretsLoaded > 0;
|
|
3577
3576
|
} catch (error) {
|
|
3578
3577
|
console.error("[Secrets] Unexpected error:", error.message);
|
|
3579
|
-
console.log("\u{1F4A1} To manage secrets manually, use: sinch
|
|
3578
|
+
console.log("\u{1F4A1} To manage secrets manually, use: sinch secrets");
|
|
3580
3579
|
return false;
|
|
3581
3580
|
}
|
|
3582
3581
|
}
|