From 6756c98beb719336598fafc087c89b3b2fbcfb2d Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 25 Sep 2019 21:11:11 +0200 Subject: [PATCH] README typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ea1e606..dad885b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ rpclibrary offers a special type of call that can be used with callbacks. The ca In order to function, some metadata has to be included in the return value of hooks. On success, the function is expected to return a `type SubscriptionResponse = { result: 'Success', uuid: string }` or in case of errors a `type ErrorResponse = { result: 'Error' }`. -The uuid, as the name implies, is used to uniquely identify the callback for a given invocation and also dictates the name given to the client-side RPC. Unless you got a preferred way of generating these (e.g. using some kind of unique information important to your task) we reccomend [uuid](https://www.npmjs.com/package/uuid) for this purpose. +The uuid, as the name implies, is used to uniquely identify the callback for a given invocation and also dictates the name given to the client-side RPC. Unless you got a preferred way of generating these (e.g. using some kind of unique information important to your task) we recommend [uuid](https://www.npmjs.com/package/uuid) for this purpose. You should unhook the client socket once you're done with it as not to cause security or program flow issues.