Satellite-im / Warp

Interface Driven Distributed Data Service
MIT License
14 stars 3 forks source link

wasm: add attachment and group raygun methods #541

Closed Flemmli97 closed 2 weeks ago

Flemmli97 commented 3 weeks ago

What this PR does 📖

Adds the missing stuff for raygun in regards to attachment and groups

ashneverdawn commented 2 weeks ago

With #544 merged, we could do something similar to what we do in multipass for MultiPass::get_identity variant but also factoring in how we do streams similar to Constellation::put_stream variant

https://github.com/Satellite-im/Warp/blob/d8bb96e1be4b5bf9d53cd3551958e89299b78957/warp/src/js_exports/multipass.rs#L41-L51

https://github.com/Satellite-im/Warp/blob/d8bb96e1be4b5bf9d53cd3551958e89299b78957/warp/src/js_exports/constellation.rs#L86-L103

https://github.com/Satellite-im/Warp/blob/d8bb96e1be4b5bf9d53cd3551958e89299b78957/warp/src/js_exports/stream.rs#L49-L76

CC @ashneverdawn

Agreed 👍