diff --git a/CHANGELOG.md b/CHANGELOG.md index f11dd8b6b..e306e1614 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Unreleased ### API-Changes -- jsonrpc api over werbsocket server (basically a new api next to the cffi) #3463 +- jsonrpc api over websocket server (basically a new api next to the cffi) #3463 - jsonrpc methods in cffi #3463: - `dc_jsonrpc_instance_t* dc_jsonrpc_init(dc_accounts_t* account_manager);` - `void dc_jsonrpc_unref(dc_jsonrpc_instance_t* jsonrpc_instance);` diff --git a/deltachat-jsonrpc/README.md b/deltachat-jsonrpc/README.md index 79c754305..c76329814 100644 --- a/deltachat-jsonrpc/README.md +++ b/deltachat-jsonrpc/README.md @@ -28,7 +28,7 @@ You will then find the `deltachat-jsonrpc-server` executable in your `target/rel The executable currently does not support any command-line arguments. By default, once started it will accept WebSocket connections on `ws://localhost:20808/ws`. It will store the persistent configuration and databases in a `./accounts` folder relative to the directory from where it is started. -The server can be configured with environement variables: +The server can be configured with environment variables: |variable|default|description| |-|-|-| @@ -106,9 +106,9 @@ npm run test This will build the `deltachat-jsonrpc-server` binary and then run a test suite against the WebSocket server. -The test suite includes some tests that need online connectivity and a way to create test email accounts. To run these tests, talk to DeltaChat developers to get a token for the `testrun.org` service, or use a local instannce of [`mailadm`](https://github.com/deltachat/docker-mailadm). +The test suite includes some tests that need online connectivity and a way to create test email accounts. To run these tests, talk to DeltaChat developers to get a token for the `testrun.org` service, or use a local instance of [`mailadm`](https://github.com/deltachat/docker-mailadm). -Then, set the `DCC_NEW_TMP_EMAIL` environemnt variable to your mailadm token before running the tests. +Then, set the `DCC_NEW_TMP_EMAIL` environment variable to your mailadm token before running the tests. ``` DCC_NEW_TMP_EMAIL=https://testrun.org/new_email?t=yourtoken npm run test