@river-build/mls-rs-wasm
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -5,2 +5,9 @@ /* tslint:disable */ | ||
type ClientOptions = { | ||
withRatchetTreeExtension?: boolean, | ||
storage?: IGroupStateStorage, | ||
}; | ||
interface IGroupStateStorage { | ||
@@ -14,2 +21,9 @@ state(groupId: Uint8Array): Promise<Uint8Array | undefined>; | ||
type EpochRecord { | ||
id: BigInt; | ||
data: Uint8Array; | ||
} | ||
export class ApplicationMessage { | ||
@@ -38,3 +52,3 @@ private constructor(); | ||
free(): void; | ||
static create(name: Uint8Array, options?: ClientOptions, storage?: IGroupStateStorage): Promise<Client>; | ||
static create(name: Uint8Array, options?: ClientOptions): Promise<Client>; | ||
createGroup(): Promise<Group>; | ||
@@ -47,7 +61,2 @@ loadGroup(group_id: Uint8Array): Promise<Group>; | ||
} | ||
export class ClientOptions { | ||
free(): void; | ||
constructor(); | ||
withRatchetTreeExtension?: boolean; | ||
} | ||
export class CommitExternalOutput { | ||
@@ -76,8 +85,2 @@ private constructor(); | ||
} | ||
export class EpochRecord { | ||
free(): void; | ||
constructor(id: bigint, data: Uint8Array); | ||
id: bigint; | ||
data: Uint8Array; | ||
} | ||
export class ExportedTree { | ||
@@ -84,0 +87,0 @@ private constructor(); |
{ | ||
"name": "@river-build/mls-rs-wasm", | ||
"type": "module", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
8019666
2257
1