Closed alexgleason closed 1 month ago
It is possible for Amber to send a response like:
{"error":null,"id":"23af55b0-698c-4150-a56a-9a508c658ce3","result":"ack"}
This causes my serializer to crash:
error: Uncaught (in promise) ZodError: [ { "code": "invalid_type", "expected": "string", "received": "null", "path": [ "error" ], "message": "Expected string, received null" } ]
The result should look like this (error is omitted):
{"id":"23af55b0-698c-4150-a56a-9a508c658ce3","result":"ack"}
We should change the nip text too
Fixed by 518a610c92d6bc61bdc8a0ea106b9215aba1f0f2
@greenart7c3 Can you do a release please? Thank you for fixing these! :clap:
Sure, i'll make a release later
It is possible for Amber to send a response like:
This causes my serializer to crash:
The result should look like this (error is omitted):