You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Event::verify() method only accepts a string that should contain JSON.
In situations where the Event Data is already is an object this requires encoding the object again to validate the signature.
Also after parsing it would be useful to return the Event object for further use.
I'm already working on improving this myself.
The text was updated successfully, but these errors were encountered:
dsbaars
added a commit
to dsbaars/nostr-php
that referenced
this issue
Feb 14, 2025
Currently the Event::verify() method only accepts a string that should contain JSON.
In situations where the Event Data is already is an object this requires encoding the object again to validate the signature.
Also after parsing it would be useful to return the Event object for further use.
I'm already working on improving this myself.
The text was updated successfully, but these errors were encountered: