@lanonasis/cli 3.7.6 → 3.7.8
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/utils/config.js +2 -1
- package/package.json +2 -2
package/dist/utils/config.js
CHANGED
|
@@ -662,7 +662,8 @@ export class CLIConfig {
|
|
|
662
662
|
async isAuthenticated() {
|
|
663
663
|
// Check if using vendor key authentication
|
|
664
664
|
if (this.config.authMethod === 'vendor_key') {
|
|
665
|
-
|
|
665
|
+
// Use async method to read from encrypted ApiKeyStorage
|
|
666
|
+
const vendorKey = await this.getVendorKeyAsync();
|
|
666
667
|
if (!vendorKey)
|
|
667
668
|
return false;
|
|
668
669
|
// Check cache first
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lanonasis/cli",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"LICENSE"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@lanonasis/oauth-client": "
|
|
25
|
+
"@lanonasis/oauth-client": "1.2.5",
|
|
26
26
|
"@lanonasis/security-sdk": "^1.0.1",
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.1.1",
|
|
28
28
|
"axios": "^1.7.7",
|