@theweave/api
Version:
This package contains the interfaces and contracts that a Holochain app UI needs to implement in order to run as a Tool in a Weave Frame like [Moss](theweave.social#tryit).
11 lines (10 loc) • 369 B
TypeScript
import { HoloHashB64 } from '@holochain/client';
import { AppletToParentRequest } from './types';
/**
* A postMessage function used in applet dev mode by initializeHotReload()
*
* @param request
* @returns
*/
export declare function postMessage<T>(request: AppletToParentRequest): Promise<T>;
export declare function toOriginalCaseB64(input: string): HoloHashB64;