This is insane... If you don't know whats going on here then your probably better of not knowing. its some pretty crazy JavaScript stuff and some dynamic Typescript types.
But the result is an API that is based on RxJS observables and can be chained as deep as you want and then ended with `$first(<timeout>)` to produce a promise with a timeout, or `.subscribe` to subscribe to the RxJS observable.
Next ill have to find a way to write docs for this so Claude and other AI models can understand how to use this.
View quoted note โ
View quoted note โ
I think i cracked the code for using RxJS in the library but not requiring the developer (or AI model) to understand RxJS ๐
Found a bunch of places that where throwing errors and not supposed to be.

For context I've been maintaining a small app store for small nostr related apps 