matrix-rust-sdk icon indicating copy to clipboard operation
matrix-rust-sdk copied to clipboard

bindings/crypto-nodejs: Several functions take/return `string` instead of a usable type

Open turt2live opened this issue 2 years ago • 2 comments

For example, it'd be really great to be able to supply a JS object to encryptRoomEvent() or better understand what receiveSyncChanges is actually returning.

turt2live avatar Jun 29 '22 20:06 turt2live

(non-blocker for bindings usage)

turt2live avatar Jun 29 '22 20:06 turt2live

this also affects requests where it wants the caller to parse a string and supply a string back: surely these should be objects.

turt2live avatar Jun 29 '22 21:06 turt2live