arthurfranca

Results 18 issues of arthurfranca

Middleware localOptions.headers currently are ignored (only globalOptions.headers are used) https://github.com/kwhitley/apicache/blob/f27cb2b30719e8eb35ef98c6c019dd1d5ec96732/src/apicache.js#L189-L195 Also, following code is ignoring the possibility of `cacheObject.headers['cache-control']` being a value previously overrided by global/localOptions, like e.g. `max-age=0, must-revalidate`...

Bellow code will end in an endless loop - maybe because middleware toggle bypasses cache too late (won't prevent good chunk of lib code from running). e.g.: ``` app .get('*',...

@fiatjaf I just thought about this so wasn't fast enough to comment on PR before the merge. 1. I propose this change: from: `["NOTICE", "restricted: we can't serve DMs to...

Considering NIP-25 is marked as a draft, thought of a way of fixing some problems with the reactions while not breaking current clients. Although the possible values of the `d`...

Currently, if we use the filter `{ kinds: [1], #e: ['note id'] }`, it won't bring only the direct replies to the note, making it hard (impossible?) to lazily (e.g....

Read [here](https://github.com/arthurfranca/nips/blob/priv-dm/43.md)

Read [here](https://github.com/arthurfranca/nips/blob/shared-account/260.md) This proposes a standard for clients to follow to enable users to share their account signing privileges without revealing the privkey. Great for business accounts that need their...

This is an alternative to #1029. It simply uses `A` tags that are set to `pubkeys` that are allowed to download the event after authenticating with NIP-42. Private events also...

**Pledge** > If the feature or idea is implemented or resolved to your satisfaction, please consider making a small monetary donation to support the continued development and independence of this...

enhancement

It makes it possible to use the setter function inside useEffect, for instance, without changing its reference on each update (just like regular useState).