From 9cee8239daa712815ad6f774994b1dcb9d8fc898 Mon Sep 17 00:00:00 2001 From: Elysia <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:14:15 +0700 Subject: [PATCH] chore: update .gitattributes for consistent line endings and simplify exports in index.ts --- .gitattributes | 2 +- src/index.ts | 49 +++++-------------------------------------------- 2 files changed, 6 insertions(+), 45 deletions(-) diff --git a/.gitattributes b/.gitattributes index dfe0770..5a0d5e4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # Auto detect text files and perform LF normalization -* text=auto +* text=auto eol=lf diff --git a/src/index.ts b/src/index.ts index 233e048..f41d422 100644 --- a/src/index.ts +++ b/src/index.ts @@ -58,50 +58,11 @@ * @packageDocumentation */ -export type { ClientEventMap } from "./client.js"; -export { Client } from "./client.js"; -export { UIDLogin } from "./login.js"; -export { - type Attachment, - type AttachmentType, - type BaseEvent, - type ClientEvent, - type ClientOptions, - type Cookies, - type CreateThreadResult, - type DisconnectedEvent, - type E2EEConnectedEvent, - type E2EEMessage, - type E2EEMessageEvent, - type E2EEReactionEvent, - type E2EEReceiptEvent, - type ErrorEvent, - // Types - type EventType, - type InitialData, - type LogLevel, - type Mention, - type Message, - type MessageEditEvent, - type MessageEvent, - type MessageUnsendEvent, - type Platform, - type ReactionEvent, - type ReadyEvent, - type ReconnectedEvent, - type ReplyTo, - type SearchUserResult, - type SendMessageOptions, - type SendMessageResult, - type Thread, - // Enums - ThreadType, - type TypingEvent, - type UploadMediaResult, - type User, - type UserInfo, -} from "./types.js"; -export { type CookieObject, extractUrlFromLPHP, isThumbsUpSticker, THUMBS_UP_STICKER_IDS, Utils } from "./utils.js"; +// Exports all +export * from "./client.js"; +export * from "./login.js"; +export * from "./types.js"; +export * from "./utils.js"; import { Client } from "./client.js"; import type { ClientOptions, Cookies } from "./types.js";