@suronai/sdk 0.1.13 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/vault.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suronai/sdk",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "App SDK for Suron — await vault() to load secrets",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/vault.js CHANGED
@@ -113,14 +113,14 @@ export async function vault(options = {}) {
113
113
 
114
114
  const requestId = await requestAccess(apiUrl, config.id);
115
115
 
116
- process.stdout.write(`[suron] Waiting for Telegram approval for "${config.app}" ...\n`);
116
+ process.stdout.write(`\n △ Suron — waiting for Telegram approval\n │ App: ${config.app}\n │ Tap ✅ Approve in Telegram to continue.\n\n`);
117
117
 
118
118
  await pollUntilApproved(apiUrl, requestId, timeout, pollInterval);
119
119
 
120
120
  const privateKey = await fetchKey(apiUrl, requestId);
121
121
  decryptEnv(privateKey, configPath);
122
122
  // Note: JS strings are immutable — there is no way to scrub the value from
123
- // heap memory. The reference is dropped here and will be GC'd normally.
123
+ // heap memory. The reference is dropped here and will be GCd normally.
124
124
 
125
- process.stdout.write(`[suron] Secrets loaded for "${config.app}"\n`);
125
+ process.stdout.write(` Suron — secrets loaded for “${config.app}”\n\n`);
126
126
  }