@@ -1,5 +1,9 @@ | |||||
# Changelog for webextension-rpc | # Changelog for webextension-rpc | ||||
## 0.3.0 (2022-07-30) | |||||
- Replace functions with classes: `RpcClient`/`RpcServer`. (**Breaking**) | |||||
## 0.2.0 (2022-07-24) | ## 0.2.0 (2022-07-24) | ||||
- Convert to TypeScript. | - Convert to TypeScript. | ||||
@@ -1,12 +1,12 @@ | |||||
{ | { | ||||
"name": "webextension-rpc", | "name": "webextension-rpc", | ||||
"version": "0.2.0", | |||||
"version": "0.3.0", | |||||
"lockfileVersion": 2, | "lockfileVersion": 2, | ||||
"requires": true, | "requires": true, | ||||
"packages": { | "packages": { | ||||
"": { | "": { | ||||
"name": "webextension-rpc", | "name": "webextension-rpc", | ||||
"version": "0.2.0", | |||||
"version": "0.3.0", | |||||
"license": "CC0-1.0", | "license": "CC0-1.0", | ||||
"devDependencies": { | "devDependencies": { | ||||
"@types/firefox-webext-browser": "^94.0.1", | "@types/firefox-webext-browser": "^94.0.1", | ||||
@@ -1,6 +1,6 @@ | |||||
{ | { | ||||
"name": "webextension-rpc", | "name": "webextension-rpc", | ||||
"version": "0.2.0", | |||||
"version": "0.3.0", | |||||
"description": "Remote Procedure Call implementation for WebExtensions, to easily call functions across content scripts and background script.", | "description": "Remote Procedure Call implementation for WebExtensions, to easily call functions across content scripts and background script.", | ||||
"main": "./lib/index.js", | "main": "./lib/index.js", | ||||
"types": "./lib/index.d.ts", | "types": "./lib/index.d.ts", | ||||
@@ -18,7 +18,9 @@ | |||||
"types": "./lib/RpcServer.d.ts" | "types": "./lib/RpcServer.d.ts" | ||||
} | } | ||||
}, | }, | ||||
"files": ["lib"], | |||||
"files": [ | |||||
"lib" | |||||
], | |||||
"scripts": { | "scripts": { | ||||
"prepare": "tsc", | "prepare": "tsc", | ||||
"test": "ava" | "test": "ava" | ||||