@aws/language-server-runtimes
Advanced tools
Comparing version 0.2.26 to 0.2.27
{ | ||
"name": "@aws/language-server-runtimes", | ||
"version": "0.2.26", | ||
"version": "0.2.27", | ||
"description": "Runtimes to host Language Servers for AWS", | ||
@@ -44,3 +44,3 @@ "files": [ | ||
"@types/mocha": "^10.0.9", | ||
"@types/node": "^22.7.4", | ||
"@types/node": "^22.9.0", | ||
"assert": "^2.0.0", | ||
@@ -47,0 +47,0 @@ "husky": "^9.1.6", |
@@ -63,3 +63,2 @@ import { ProtocolNotificationType, ProtocolRequestType, ResponseError, UpdateCredentialsParams } from './lsp'; | ||
createNonexistentSsoSession?: boolean; | ||
ensureSsoAccountAccessScope?: boolean; | ||
updateSharedSsoSession?: boolean; | ||
@@ -70,3 +69,2 @@ } | ||
createNonexistentSsoSession: true; | ||
ensureSsoAccountAccessScope: true; | ||
updateSharedSsoSession: false; | ||
@@ -73,0 +71,0 @@ }; |
@@ -47,3 +47,2 @@ "use strict"; | ||
createNonexistentSsoSession: true, | ||
ensureSsoAccountAccessScope: true, | ||
updateSharedSsoSession: false, | ||
@@ -50,0 +49,0 @@ }; |
@@ -250,4 +250,6 @@ "use strict"; | ||
} | ||
if (result.updateCredentialsParams.data) { | ||
result.updateCredentialsParams.data = yield (0, encryption_1.encryptObjectWithKey)(result.updateCredentialsParams.data, encryptionKey); | ||
if (result.updateCredentialsParams.data && !result.updateCredentialsParams.encrypted) { | ||
result.updateCredentialsParams.data = yield (0, encryption_1.encryptObjectWithKey)( | ||
// decodeCredentialsRequestToken expects nested 'data' fields | ||
{ data: result.updateCredentialsParams.data }, encryptionKey); | ||
result.updateCredentialsParams.encrypted = true; | ||
@@ -254,0 +256,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
336171
3861