It used to work. This is a known new bug. Another one nostr:nprofile1qqswfa547pdmqkerzf2uen3agudc67wxffjmenqpge3dylc006fppyspzemhxue69uhhyetvv9ujumn0wd68ytnzv9hxgqghwaehxw309aex2mrp0yhxvmm4de6xz6tw9enx6qgkwaehxw309aex2mrp0yh8qunfd4skctnwv46qj40rct.
It looks like we're getting a different data structure sent back from the Amber signer since version 2.0.6 - @greenart7c3 has anything changed on your side since this version? It looks like when we call sign_event we are getting the npub returned in the 'event' field rather than the signed event json.
Yep, we changed the name signature to result. :(
I'm not sure I'm following - was something in the NIP-55 spec changed? According to the NIP it seems like we should still be looking for the 'event' field - https://github.com/nostr-protocol/nips/blob/master/55.md
Two PRs: https://github.com/nostr-protocol/nips/pull/1341 https://github.com/nostr-protocol/nips/pull/1533
I'm returning the same data structure still. I tested with old amber version and fountain is not working its something on their side
Hmmm ok that's odd as it seems to work for me on Amber 2.0.5 but not on Amber 2.0.6. Is it definitely not working for you on Amber 2.0.5? What version of Fountain are you using?
Tested with amber 2.0.4 and 2.0.5 Fountain 1.1.5
Ok so it looks like it's the content resolver method that's not working - and we do have an issue on our side where if the content resolver fails we're not properly falling back to the intent method. I think maybe it was failing every time for you on 2.0.5 because the content resolver was never used because "remember my choice" option was not selected. But if you install Amber 2.0.5 from a fresh state and select this option it works. We'll get a fix out ASAP for the intent fallback - but can you think of something that might have changed with the content resolver logic?
How is the event you are sending to the content resolver? I changed recently to check for id and pubkey
Aah ok maybe that's it then - we weren't sending the event id through originally and it was working - will update and confirm if that fixes it.
ok @greenart7c3 @Vitor Pamplona @Derek Ross @sourcenode we have a fix for this now - new version will be available in beta later today
Thank you for your hard work on this.
FYI for those having issues with Fountain and Amber. nostr:nevent1qqstv0j52jnvmr0a35dn44wundkdxgxlzuj5fp9fydmt0x04hntx0qsppemhxue69uhkummn9ekx7mp0qgswfa547pdmqkerzf2uen3agudc67wxffjmenqpge3dylc006fppysrqsqqqqqp902x2a