@algosuite/vo-mcp 0.2.0-beta.12 → 0.2.0-beta.13

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/cli.js CHANGED
@@ -1261,6 +1261,7 @@ __export(credential_store_exports, {
1261
1261
  KEYCHAIN_LOCATION: () => KEYCHAIN_LOCATION,
1262
1262
  credentialPath: () => credentialPath,
1263
1263
  readStoredCredential: () => readStoredCredential,
1264
+ readStoredCredentialKeychainOnly: () => readStoredCredentialKeychainOnly,
1264
1265
  writeStoredCredential: () => writeStoredCredential
1265
1266
  });
1266
1267
  import { homedir as homedir3 } from "node:os";
@@ -1319,6 +1320,11 @@ function readStoredCredential(env = process.env, keychain = realKeychain) {
1319
1320
  }
1320
1321
  return readFromFile(env);
1321
1322
  }
1323
+ function readStoredCredentialKeychainOnly(env = process.env, keychain = realKeychain) {
1324
+ if (!keychainEnabled(env, keychain)) return null;
1325
+ const raw = keychain.get();
1326
+ return raw ? deserialize(raw) : null;
1327
+ }
1322
1328
  function deleteFile(env) {
1323
1329
  try {
1324
1330
  rmSync(credentialPath(env), { force: true });