Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 671 Bytes

File metadata and controls

23 lines (18 loc) · 671 Bytes

Subpath Imports

Subpath Description
lily-sdk Full SDK (all clients)
lily-sdk/config Configuration types and resolver
lily-sdk/errors Error classes and type guards
lily-sdk/http HTTP transport layer
lily-sdk/models Domain models
lily-sdk/types Shared type definitions

Usage

import { LilySdk } from 'lily-sdk';
import { LilyApiError, isLilySdkError } from 'lily-sdk/errors';
import type { LilySdkConfig } from 'lily-sdk/config';
import { createFetchHttpClient } from 'lily-sdk/http';

Tree-Shaking

Each subpath is independently buildable for minimal bundle size.