@fastyoke/sdk-core
v0.1.0
Published
Framework-agnostic wire layer for FastYoke — REST clients, realtime WebSocket client, shared TypeScript types. Consumed by @fastyoke/sdk (React), @fastyoke/sdk-vue, and any future binding.
Maintainers
Readme
@fastyoke/sdk-core
Framework-agnostic wire layer for FastYoke — typed REST clients, the multiplexed realtime WebSocket client, and the shared TypeScript / zod schemas consumed by every framework binding.
Pre-1.0, expect breakage. This package is still stabilising — every minor version may change the wire shape or API surface. Pin an exact version and bump deliberately.
This package has no framework peer dependencies. Use it directly for vanilla JS / Node integrations, or via one of the framework bindings:
@fastyoke/sdk— React@fastyoke/sdk-vue— Vue 3 (preview)@fastyoke/next— Next.js server-side ergonomics (wraps@fastyoke/sdk)
Quick start
import { EntitiesClient, JobsClient } from '@fastyoke/sdk-core';
const cfg = {
tenantId: '...',
fetcher: fetch.bind(globalThis),
baseUrl: 'https://app.fastyoke.io',
};
const entities = new EntitiesClient(cfg);
const jobs = new JobsClient(cfg);See the parent SDK README for the full public surface.
