fiatjaf on Nostr: Alby has started to return a {created: true} object from webln.enable() calls, which ...
Alby has started to return a {created: true} object from webln.enable() calls, which is not in the spec (the spec says to return an empty Promise).
Now some websites are relying on that {created: true} object being present and assuming webln doesn't exist otherwise, which makes it so they won't work on any other extension or environment that correctly implements the webln standard but not the "Alby standard".
In this case it might be a silly example, but this is how protocols die.
Published at
2023-08-08 14:02:14Event JSON
{
"id": "c50088be0abe764a601a1f4d77d50d4b0be8475cc2b361209d6bc9fca50d2b71",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1691503334,
"kind": 1,
"tags": [
[
"client",
"coracle"
]
],
"content": "Alby has started to return a {created: true} object from webln.enable() calls, which is not in the spec (the spec says to return an empty Promise).\n\nNow some websites are relying on that {created: true} object being present and assuming webln doesn't exist otherwise, which makes it so they won't work on any other extension or environment that correctly implements the webln standard but not the \"Alby standard\".\n\nIn this case it might be a silly example, but this is how protocols die.",
"sig": "5fbb817c969549e8c86438bd15ce0adad8124cb68ff99938739660930c3e45899f223e177c27b3548dab0ccd5e8085156149cd6742862ed5842dd461cbe22425"
}