Skip to content

Commit

Permalink
Prepare 0.4.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuebner committed Mar 17, 2023
1 parent 7751faf commit 30471ce
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# VS Code Messenger
RPC messaging library for the VS Code extension platform
RPC messaging library for the VS Code extension platform. Makes the communication between your [VS Code extension](https://code.visualstudio.com/) and its [webviews](https://code.visualstudio.com/api/extension-guides/webview) much simpler.

[![npm](https://img.shields.io/npm/v/vscode-messenger)](https://www.npmjs.com/package/vscode-messenger) [![CI](https://github.com/TypeFox/vscode-messenger/actions/workflows/main.yml/badge.svg)](https://github.com/TypeFox/vscode-messenger/actions/workflows/main.yml) [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/typefox/vscode-messenger)

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/vscode-messenger-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-messenger-common",
"version": "0.4.3",
"version": "0.4.5",
"description": "VS Code Messenger: common code shared by extension and webviews",
"keywords": [
"vscode",
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode-messenger-common/src/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export type NotificationHandler<P> = (params: P, sender: MessageParticipant) =>
* Base API for Messenger implementations.
*/
export interface MessengerAPI {
sendRequest<P, R>(type: RequestType<P, R>, receiver: MessageParticipant, params: P): Promise<R>
sendRequest<P, R>(type: RequestType<P, R>, receiver: MessageParticipant, params?: P): Promise<R>
onRequest<P, R>(type: RequestType<P, R>, handler: RequestHandler<P, R>): void
sendNotification<P>(type: NotificationType<P>, receiver: MessageParticipant, params: P): void
sendNotification<P>(type: NotificationType<P>, receiver: MessageParticipant, params?: P): void
onNotification<P>(type: NotificationType<P>, handler: NotificationHandler<P>): void
}
4 changes: 2 additions & 2 deletions packages/vscode-messenger-webview/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-messenger-webview",
"version": "0.4.3",
"version": "0.4.5",
"description": "VS Code Messenger: webview integration",
"keywords": [
"vscode",
Expand All @@ -26,7 +26,7 @@
"publish:latest": "npm publish --tag latest"
},
"dependencies": {
"vscode-messenger-common": "^0.4.3"
"vscode-messenger-common": "^0.4.5"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.15.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode-messenger/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-messenger",
"version": "0.4.4",
"version": "0.4.5",
"description": "VS Code Messenger: extension integration",
"keywords": [
"vscode",
Expand All @@ -26,7 +26,7 @@
"publish:latest": "npm publish --tag latest"
},
"dependencies": {
"vscode-messenger-common": "^0.4.3"
"vscode-messenger-common": "^0.4.5"
},
"devDependencies": {
"@types/jest": "^27.4.1",
Expand Down

0 comments on commit 30471ce

Please sign in to comment.