matrix-org / matrix-rust-sdk-crypto-nodejs

Apache License 2.0
3 stars 5 forks source link

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

Open turt2live opened 2 years ago

turt2live commented 2 years ago

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 commented 2 years ago

(non-blocker for bindings usage)

turt2live commented 2 years ago

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