remove external certs

This commit is contained in:
Toshit Chawda 2024-07-25 21:32:35 -07:00
parent 4c9f689c3b
commit 453ec94772
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
10 changed files with 28 additions and 104 deletions

View file

@ -224,7 +224,6 @@ impl EpoxyClient {
#[wasm_bindgen(constructor)]
pub fn new(
wisp_url: String,
certs: Array,
options: EpoxyClientOptions,
) -> Result<EpoxyClient, EpoxyError> {
let wisp_url: Uri = wisp_url.try_into()?;
@ -232,7 +231,7 @@ impl EpoxyClient {
return Err(EpoxyError::InvalidUrlScheme);
}
let stream_provider = Arc::new(StreamProvider::new(wisp_url.to_string(), certs, &options)?);
let stream_provider = Arc::new(StreamProvider::new(wisp_url.to_string(), &options)?);
let service = StreamProviderService(stream_provider.clone());
let client = Client::builder(WasmExecutor)