Skip to content

Serverless package 0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 19:21
7b086a9

Overview

Added

  • clientFromContext(ctx).streams.subscribe(topic, options) reads a durable stream topic over the invocation socket. streams.events() is now an alias of it and will be removed in a future release.

Installation

pnpm add @hatchet-dev/serverless @hatchet-dev/typescript-sdk zod

@hatchet-dev/typescript-sdk (1.41.0 or later, for its /core entry, its durable stream
calls and its task calls) and zod are peer dependencies: the SDK supplies the declaration API, Context, the registration format and
the core client, nothing else.

What's Changed?