Remote Procedure Call implementation for WebExtensions, to easily call functions across content scripts and background script.
Browse Source

v0.3.0

master
Gerben 2 years ago
parent
commit
433f4df254
3 changed files with 10 additions and 4 deletions
  1. +4
    -0
      Changelog.md
  2. +2
    -2
      package-lock.json
  3. +4
    -2
      package.json

+ 4
- 0
Changelog.md View File

@@ -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.


+ 2
- 2
package-lock.json View File

@@ -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",


+ 4
- 2
package.json View File

@@ -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"


Loading…
Cancel
Save