diff --git a/README.md b/README.md index d0c76e8899..f3962e55ad 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Encrypted p2p team chat with no servers, just Tor.
- Downloads | + Downloads | How it Works | Features | Threat Model | @@ -52,7 +52,7 @@ See our [FAQ](https://github.com/TryQuiet/monorepo/wiki/Quiet-FAQ) for answers t ## Getting started -To try Quiet, download the [latest release](https://github.com/TryQuiet/quiet/releases/tag/quiet%401.9.6) for your platform (.dmg for macOS, .exe for Windows, etc.) and install it in the normal way. Then create a community and open the community's settings to invite members. +To try Quiet, download the [latest release](https://github.com/TryQuiet/quiet/releases/tag/quiet%401.9.7) for your platform (.dmg for macOS, .exe for Windows, etc.) and install it in the normal way. Then create a community and open the community's settings to invite members. If you'd like to help develop Quiet, see [Contributing to Quiet](#contributing-to-quiet). diff --git a/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.test.ts b/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.test.ts index 3e9e5f2271..9c37fe9c82 100644 --- a/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.test.ts +++ b/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.test.ts @@ -41,7 +41,7 @@ describe('saveUserCsr', () => { combineReducers({ [StoreKeys.Communities]: communitiesReducer, [StoreKeys.Identity]: identityReducer, - [StoreKeys.Users]: usersReducer + [StoreKeys.Users]: usersReducer, }), { [StoreKeys.Communities]: { @@ -59,20 +59,19 @@ describe('saveUserCsr', () => { identities: identityAdapter.setAll(identityAdapter.getInitialState(), [identity]), }, [StoreKeys.Users]: { - ...new UsersState() - } + ...new UsersState(), + }, } ) .apply(socket, socket.emit, [ SocketActionTypes.SAVE_USER_CSR, { - csr: identity.userCsr?.userCsr + csr: identity.userCsr?.userCsr, }, ]) .run() }) test("do not save user csr if it's already included in csrs list", async () => { - const socket = { emit: jest.fn(), on: jest.fn() } as unknown as Socket const community = @@ -90,7 +89,7 @@ describe('saveUserCsr', () => { combineReducers({ [StoreKeys.Communities]: communitiesReducer, [StoreKeys.Identity]: identityReducer, - [StoreKeys.Users]: usersReducer + [StoreKeys.Users]: usersReducer, }), { [StoreKeys.Communities]: { @@ -109,15 +108,14 @@ describe('saveUserCsr', () => { }, [StoreKeys.Users]: { ...new UsersState(), - csrs: certificatesAdapter.setAll(certificatesAdapter.getInitialState(), [identity.userCsr?.pkcs10.pkcs10]) - } + csrs: certificatesAdapter.setAll(certificatesAdapter.getInitialState(), [identity.userCsr?.pkcs10.pkcs10]), + }, } ) - .not - .apply(socket, socket.emit, [ + .not.apply(socket, socket.emit, [ SocketActionTypes.SAVE_USER_CSR, { - csr: identity.userCsr?.userCsr + csr: identity.userCsr?.userCsr, }, ]) .run() diff --git a/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.ts b/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.ts index 1895662ef9..f8e462788c 100644 --- a/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.ts +++ b/packages/state-manager/src/sagas/identity/saveUserCsr/saveUserCsr.saga.ts @@ -22,4 +22,4 @@ export function* saveUserCsrSaga(socket: Socket): Generator { } console.log(`Send ${SocketActionTypes.SAVE_USER_CSR}`) yield* apply(socket, socket.emit, applyEmitParams(SocketActionTypes.SAVE_USER_CSR, payload)) -} \ No newline at end of file +}