multica/packages/sdk/src/index.ts
Naiyuan Qing 441c2059a8 fix(sdk): point exports to source and remove .js import suffixes
- Change package exports from dist/ to src/ (consistent with @multica/store and @multica/ui)
- Add private: true since SDK is an internal monorepo package
- Switch tsconfig from NodeNext to bundler moduleResolution
- Remove .js suffixes from all internal imports for Turbopack compatibility

Eliminates the need to build SDK before running dev server or Next.js build.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:58:23 +08:00

18 lines
397 B
TypeScript

export { GatewayClient } from "./client";
export {
GatewayEvents,
type DeviceType,
type DeviceInfo,
type RegisteredResponse,
type RoutedMessage,
type SendErrorResponse,
type GatewayClientOptions,
type GatewayClientCallbacks,
type ConnectionState,
type PingPayload,
type PongResponse,
type ListDevicesResponse,
} from "./types";
// Actions
export * from "./actions/index";