function · Browser and Node

# disclose

Sends a bundle (with the bodies chosen for this reader) over TSP: `trail/disclose`.

`@toip-tools/eventlog` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/eventlog/src/tasks.ts#L60)

Import:

```ts
import { disclose } from "@toip-tools/eventlog";
```

## Declaration

Signature:

```ts
disclose(endpoint: Endpoint, to: string, bundle: Bundle): Promise<void>;
```

### Parameters

- **`endpoint` (required)**: `Endpoint`
- **`to` (required)**: `string`
- **`bundle` (required)**: `Bundle`

### Returns

`Promise<void>`

[Usage guide](https://toip.tools/toolkit/eventlog/#usage) · [Error handling](https://toip.tools/toolkit/eventlog/#errors) · [All exports](https://toip.tools/toolkit/eventlog/api/)

---

This is the Markdown version of https://toip.tools/toolkit/eventlog/api/disclose/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
