nostr:npub1v0lxxxxutpvrelsksy8cdhgfux9l6a42hsj2qzquu2zk7vc9qnkszrqj49 could you have a look at https://github.com/WebBTC/webln-types and see if that will work for you? it's much more up to date.

Reply to this note

Please Login to reply.

Discussion

Nice, i dont see `enabled` prop, is this alby specific?

For the webln.enable() call? It seems to be (It doesn't match the current spec at https://www.webln.guide/building-lightning-apps/webln-reference/webln.enable). It isn't really necessary though since the enable call should reject if the user doesn't allow webln to be enabled