toip.tools

function · Browser and Node

openBundle

The messages in a bundle. A sealed bundle opens only for the courier it was sealed to.

@toip-tools/mesh-transportView source
TypeScriptImport
import { openBundle } from "@toip-tools/mesh-transport";

Declaration

TypeScriptSignature
openBundle(bytes: Uint8Array, me?: Identity): Promise<BundleItem[]>;

Parameters

bytesrequired
Uint8Array<ArrayBufferLike>
meoptional
Identity | undefined

Returns

Promise<BundleItem[]>