From a810b22e80f1ef60fc637398d0397fc5e911bf73 Mon Sep 17 00:00:00 2001 From: overtorment Date: Sun, 4 Feb 2024 14:42:32 +0000 Subject: [PATCH] DOC --- README.md | 4 ++++ lib/client.js | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5a0bfde..7288d94 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Electrum Protocol Client for React Native * batch requests * works in RN and nodejs * both clearnet TCP and TLS +* zero dependencies ## protocol spec @@ -45,3 +46,6 @@ one of the ways to shim it is via `package.json`: } ``` +# license + +MIT diff --git a/lib/client.js b/lib/client.js index cac12e0..51fa396 100644 --- a/lib/client.js +++ b/lib/client.js @@ -1,11 +1,9 @@ 'use strict'; /** * NET & TLS dependencies should be injected via constructor - * for RN it can be something like this in shim.js: - * global.net = require('react-native-tcp'); - * global.tls = require('react-native-tcp/tls'); + * for RN you can use react-native-tcp-socket * - * for nodejs tests it should be regular node's net * tls: + * for nodejs it should be regular node's net & tls: * const net = require('net'); * const tls = require('tls'); * */