use dc fork of tiny emitter (#3741)

* use dc fork of tiny emitter

* add pr number to changelog
This commit is contained in:
Simon Laux
2022-11-08 21:22:58 +01:00
committed by GitHub
parent 11a6991b5c
commit b46d40aa07
3 changed files with 4 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
### Changes
- add JSON-RPC stdio server `deltachat-rpc-server` and use it for JSON-RPC tests #3695
- update rPGP from 0.8 to 0.9 #3737
- jsonrpc: typescript client: use npm released deltachat fork of the tiny emitter package #3741
### Fixes

View File

@@ -1,8 +1,8 @@
{
"author": "Delta Chat Developers (ML) <delta@codespeak.net>",
"dependencies": {
"@deltachat/tiny-emitter": "3.0.0",
"isomorphic-ws": "^4.0.1",
"tiny-emitter": "git+https://github.com/Simon-Laux/tiny-emitter.git",
"yerpc": "^0.3.3"
},
"devDependencies": {
@@ -49,4 +49,4 @@
"type": "module",
"types": "dist/deltachat.d.ts",
"version": "1.99.0"
}
}

View File

@@ -3,7 +3,7 @@ import * as RPC from "../generated/jsonrpc.js";
import { RawClient } from "../generated/client.js";
import { Event } from "../generated/events.js";
import { WebsocketTransport, BaseTransport, Request } from "yerpc";
import { TinyEmitter } from "tiny-emitter";
import { TinyEmitter } from "@deltachat/tiny-emitter";
type DCWireEvent<T extends Event> = {
event: T;