@river-build/mls-rs-wasm-node
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-node", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "mls_rs_wasm_bg.wasm", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
8022326