expose wisp-client-js apis

This commit is contained in:
ading2210 2024-07-29 00:21:08 -04:00
parent 4d64b27a82
commit 88f2249e4e
5 changed files with 14 additions and 5 deletions

View file

@ -102,8 +102,12 @@ api = {
get_cacert: get_cacert,
get_error_string: get_error_str,
wisp_connections: _wisp_connections,
WispConnection: WispConnection,
wisp: {
wisp_connections: _wisp_connections,
WispConnection: WispConnection,
WispWebSocket: WispWebSocket
},
transport: "wisp",
WebSocket: FakeWebSocket,

View file

@ -1,5 +1,3 @@
//currently broken
class TLSSocket extends CurlSession {
constructor(hostname, port, options={}) {
super();

View file

@ -1,6 +1,6 @@
{
"name": "libcurl.js",
"version": "0.6.11",
"version": "0.6.12",
"description": "An experimental port of libcurl to WebAssembly for use in the browser.",
"main": "libcurl.mjs",
"exports": {