Skip to content

Releases: stakwork/sphinx-rs

sphinx-ffi-0.6.10

06 Mar 15:59
Compare
Choose a tag to compare
  • bump sphinx dep
  • payment_hash_from_invoice util

sphinx-ffi-0.6.9

05 Mar 18:57
Compare
Choose a tag to compare
  • make_invoice
  • pay_invoice
  • state_to_delete on RunReturn

sphinx-ffi-0.6.8

04 Mar 16:28
Compare
Choose a tag to compare
  • tribe info on make_invite

sphinx-ffi-0.6.7

29 Feb 21:01
Compare
Choose a tag to compare
  • inviter alias in invite QR

sphinx-ffi-0.6.6

29 Feb 19:00
Compare
Choose a tag to compare
  • add "code" to RunReturn msg.sender json, so inviter can link invited user

sphinx-ffi-0.6.5

27 Feb 22:10
Compare
Choose a tag to compare
  • better invite utils

sphinx-ffi-0.6.4

14 Feb 18:41
Compare
Choose a tag to compare
  • async pay!

sphinx-ffi-0.6.3

13 Feb 20:13
Compare
Choose a tag to compare
  • topics/payloads are arrays

sphinx-ffi-0.6.2

12 Feb 22:28
Compare
Choose a tag to compare
  • make sure sender json appears on all message types (even key exchange)

sphinx-ffi-0.6.1

12 Feb 19:47
Compare
Choose a tag to compare

Instead of msg, msg_type, msg_index, msg_msat, msg_sender, msg_uuid, msg_timestamp, and sent_to being a part of the RunReturn object, there is an array of messages called msgs on RunReturn:

pub struct Msg {
    pub type: Option<u8>,
    pub message: Option<String>,
    pub sender: Option<String>,
    pub uuid: Option<String>,
    pub index: Option<String>,
    pub msat: Option<u64>,
    pub timestamp: Option<u64>,
    pub sent_to: Option<String>,
}

This is so that we can do batches messages later on, when restoring an account. When you receive a message from a contact or in a tribe, there is just one item in the array