Oyetoke Tobiloba

Results 71 comments of Oyetoke Tobiloba

@yaccine I was able to fix it by ensuring not to pass undefined value as header. Check your code.

There are 2 fix to this: 1. Delete dom-monkeypatch.d.ts 2. Update the below variables from ``` readonly CLOSED: number; readonly CONNECTING: number; readonly OPEN: number; ``` to: ``` readonly CLOSED:...

https://www.npmjs.com/package/@citguru/stellar-sdk If you are having the same issues. You can easily fix it by using this installation instead

@Shaptic great that helps. However, the EventSource static variable type declaration is not backward compatible. If you install this in Typescript less than 5, it throws the same error. Typescript...

> But then doing something like `number | 1` means downstream needs to handle the union 🤔 maybe I'll just include this in the next major version release? though that...

Any update on this, I am having this same issue and more: ```node_modules/stellar-sdk/lib/horizon/call_builder.d.ts:6:23 - error TS2304: Cannot find name 'MessageEvent'. 6 onerror?: (event: MessageEvent) => void; ~~~~~~~~~~~~ node_modules/stellar-sdk/types/dom-monkeypatch.d.ts:11:12 - error...

Hmmnn. I will add support for that. Thanks raising this up