@aws/language-server-runtimes
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "@aws/language-server-runtimes", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Runtimes to host Language Servers for AWS", | ||
@@ -5,0 +5,0 @@ "files": [ |
export * from './lsp'; | ||
export * from './auth'; | ||
export * from './chat'; | ||
export * from './telemetry'; |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./chat"), exports); | ||
__exportStar(require("./telemetry"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -114,2 +114,3 @@ "use strict"; | ||
emitMetric: metric => lspConnection.telemetry.logEvent(metric), | ||
onClientTelemetry: handler => lspConnection.onNotification(protocol_1.telemetryNotificationType.method, handler), | ||
}; | ||
@@ -116,0 +117,0 @@ // Set up the workspace sync to use the LSP Text Document Sync capability |
@@ -34,2 +34,3 @@ "use strict"; | ||
emitMetric: metric => lspConnection.telemetry.logEvent(metric), | ||
onClientTelemetry: handler => lspConnection.onNotification(protocol_1.telemetryNotificationType.method, handler), | ||
}; | ||
@@ -36,0 +37,0 @@ // Set up the workspace to use the LSP Text Documents component |
@@ -0,1 +1,2 @@ | ||
import { NotificationHandler } from 'vscode-languageserver-protocol'; | ||
export type Metric = { | ||
@@ -21,3 +22,4 @@ name: string; | ||
emitMetric: (metric: MetricEvent) => void; | ||
onClientTelemetry: (handler: NotificationHandler<any>) => void; | ||
}; | ||
export {}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
219818
108
2392
0