@river-build/mls-rs-wasm
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -5,6 +5,13 @@ /* tslint:disable */ | ||
type ClientOptions = { | ||
withRatchetTreeExtension?: boolean, | ||
storage?: IGroupStateStorage, | ||
}; | ||
interface IGroupStateStorage { | ||
state(groupId: Uint8Array): Promise<Uint8Array | undefined>; | ||
epoch(groupId: Uint8Array, epochId: bigint): Promise<Uint8Array | undefined>; | ||
write(stateId: Uint8Array, stateData: Uint8Array, epochInserts: EpochRecord[], epochUpdates: EpochRecord[]): Promise<undefined>; | ||
write(stateId: Uint8Array, stateData: Uint8Array, epochInserts: EpochRecord[], epochUpdates: EpochRecord[]): Promise<void>; | ||
maxEpochId(groupId: Uint8Array): Promise<bigint | undefined>; | ||
@@ -21,9 +28,2 @@ } | ||
type ClientOptions = { | ||
withRatchetTreeExtension?: boolean, | ||
storage?: IGroupStateStorage, | ||
}; | ||
export class ApplicationMessage { | ||
@@ -30,0 +30,0 @@ private constructor(); |
{ | ||
"name": "@river-build/mls-rs-wasm", | ||
"type": "module", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"files": [ | ||
@@ -6,0 +6,0 @@ "mls_rs_wasm_bg.wasm", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
8020342