@ferryrsvp/liknoss-client
v1.0.3
Published
Typed Liknoss B2C client for Ferry RSVP services and workers.
Downloads
63
Maintainers
Readme
@ferryrsvp/liknoss-client
Typed Liknoss B2C client for Ferry RSVP services and workers.
Install
npm install @ferryrsvp/liknoss-clientUsage
import { createLiknossClient } from "@ferryrsvp/liknoss-client";
const client = createLiknossClient({
baseUrl: "https://example.com/b2c",
fetch,
});
const countries = await client.catalog.listCountries();
const locations = await client.catalog.listLocations();Notes
- The client ships ESM output and TypeScript declarations.
- For server-side Ferry RSVP usage, prefer passing
defaultHeadersor a customfetchimplementation when upstream authentication headers must be injected. - OpenAPI generation lives in the repository build flow; consumers only need the published build artifacts.
Publishing
This package is configured for public npm publishing.
npm run buildnpm publish
For GitHub Actions publishing, provide an NPM_TOKEN repository secret.
