ping-openmls-sdk-react-native-macos 0.7.11 → 0.7.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
@@ -2524,13 +2524,15 @@ public struct HistoryAppEvent {
2524
2524
  public var eventId: Data
2525
2525
  public var wallMs: UInt64
2526
2526
  public var payload: Data
2527
+ public var author: String
2527
2528
 
2528
2529
  /// Default memberwise initializers are never public by default, so we
2529
2530
  /// declare one manually.
2530
- public init(eventId: Data, wallMs: UInt64, payload: Data) {
2531
+ public init(eventId: Data, wallMs: UInt64, payload: Data, author: String) {
2531
2532
  self.eventId = eventId
2532
2533
  self.wallMs = wallMs
2533
2534
  self.payload = payload
2535
+ self.author = author
2534
2536
  }
2535
2537
  }
2536
2538
 
@@ -2545,6 +2547,9 @@ extension HistoryAppEvent: Equatable, Hashable {
2545
2547
  if lhs.payload != rhs.payload {
2546
2548
  return false
2547
2549
  }
2550
+ if lhs.author != rhs.author {
2551
+ return false
2552
+ }
2548
2553
  return true
2549
2554
  }
2550
2555
 
@@ -2552,6 +2557,7 @@ extension HistoryAppEvent: Equatable, Hashable {
2552
2557
  hasher.combine(eventId)
2553
2558
  hasher.combine(wallMs)
2554
2559
  hasher.combine(payload)
2560
+ hasher.combine(author)
2555
2561
  }
2556
2562
  }
2557
2563
 
@@ -2564,7 +2570,8 @@ public struct FfiConverterTypeHistoryAppEvent: FfiConverterRustBuffer {
2564
2570
  try HistoryAppEvent(
2565
2571
  eventId: FfiConverterData.read(from: &buf),
2566
2572
  wallMs: FfiConverterUInt64.read(from: &buf),
2567
- payload: FfiConverterData.read(from: &buf)
2573
+ payload: FfiConverterData.read(from: &buf),
2574
+ author: FfiConverterString.read(from: &buf)
2568
2575
  )
2569
2576
  }
2570
2577
 
@@ -2572,6 +2579,7 @@ public struct FfiConverterTypeHistoryAppEvent: FfiConverterRustBuffer {
2572
2579
  FfiConverterData.write(value.eventId, into: &buf)
2573
2580
  FfiConverterUInt64.write(value.wallMs, into: &buf)
2574
2581
  FfiConverterData.write(value.payload, into: &buf)
2582
+ FfiConverterString.write(value.author, into: &buf)
2575
2583
  }
2576
2584
  }
2577
2585
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ping-openmls-sdk-react-native-macos",
3
- "version": "0.7.11",
3
+ "version": "0.7.12",
4
4
  "description": "Real MLS for React Native macOS apps — wraps the ping-openmls-sdk Rust core via UniFFI.",
5
5
  "homepage": "https://github.com/AMP-Media-Development/ping-openmls-sdk",
6
6
  "license": "Apache-2.0",