Files
SnowLuma/packages/sdk/src/client/index.ts
T
DrSmoothl fa5efcd310 feat(sdk): add media sends, quoted replies, and event waits
Add local media upload-and-send helpers with an optional Node file source
and stage-aware errors. Add explicit quoted replies and cancellable event
waits while preserving existing methods and handler contracts.

Propagate group-file publication failures instead of reporting success.
Cover cancellation, cleanup, signed message IDs, package exports, consumer
types, and real HTTP/WebSocket upload-to-send integration.

Validation: pnpm run ci (6231 tests passed, 9 skipped); SDK package contents
verified with npm pack --dry-run --ignore-scripts.
2026-10-23 19:45:47 +08:00

14 lines
487 B
TypeScript

export { SnowLumaApiClient } from './api-client.js';
export { SnowLumaHttpClient, createHttpClient } from './http-client.js';
export { SnowLumaWebSocketClient, createWebSocketClient } from './websocket-client.js';
export type { SnowLumaHttpClientOptions } from './http-client.js';
export type {
EventWaitOptions,
ReconnectOptions,
SnowLumaWebSocketClientOptions,
SnowLumaWebSocketEvents,
WebSocketCloseInfo,
WebSocketConstructor,
} from './websocket-client.js';