@river-build/mls-rs-wasm
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -5,14 +5,7 @@ /* tslint:disable */ | ||
type ClientOptions = { | ||
withRatchetTreeExtension?: boolean, | ||
storage?: IGroupStateStorage, | ||
}; | ||
interface IGroupStateStorage { | ||
state(groupId: Uint8Array): Promise<Uint8Array | undefined>; | ||
epoch(groupId: Uint8Array, epochId: BigInt): Promise<Uint8Array | undefined>; | ||
epoch(groupId: Uint8Array, epochId: bigint): Promise<Uint8Array | undefined>; | ||
write(stateId: Uint8Array, stateData: Uint8Array, epochInserts: EpochRecord[], epochUpdates: EpochRecord[]): Promise<undefined>; | ||
maxEpochId(groupId: Uint8Array): Promise<BigInt | undefined>; | ||
maxEpochId(groupId: Uint8Array): Promise<bigint | undefined>; | ||
} | ||
@@ -23,3 +16,3 @@ | ||
type EpochRecord = { | ||
id: BigInt; | ||
id: bigint; | ||
data: Uint8Array; | ||
@@ -29,2 +22,9 @@ } | ||
type ClientOptions = { | ||
withRatchetTreeExtension?: boolean, | ||
storage?: IGroupStateStorage, | ||
}; | ||
export class ApplicationMessage { | ||
@@ -31,0 +31,0 @@ private constructor(); |
{ | ||
"name": "@river-build/mls-rs-wasm", | ||
"type": "module", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"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
8020359