THRIFT-5849: Expose createClient in browser version of nodejs package
`createClient` is exposed in a nodejs context, but not for browsers. Even though this is the same function as `createWsClient`, `createHttpClient`, etc, it seems odd to use these for custom connection types. Moreover, it is beneficial for the browser and nodejs interface to be as similar as possible.
diff --git a/lib/nodejs/lib/thrift/browser.js b/lib/nodejs/lib/thrift/browser.js
index 1d225c6..5915cf6 100644
--- a/lib/nodejs/lib/thrift/browser.js
+++ b/lib/nodejs/lib/thrift/browser.js
@@ -33,6 +33,8 @@
exports.createOhosConnection = ohosConnection.createOhosConnection;
exports.createOhosClient = ohosConnection.createOhosClient;
+exports.createClient = require('./create_client');
+
exports.Int64 = require('node-int64');
exports.Q = require('q');