Skip to content

Commit

Permalink
🐛 Fix type bug
Browse files Browse the repository at this point in the history
  • Loading branch information
d2n0s4ur committed Feb 13, 2024
1 parent d924eeb commit fecbff4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
**/*
!/dist/**
!/lib/chzzkChat.d.ts
!/dist/**
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Chzzk Chat Crawler


<img alt="chzzk_logo" src="./img/chzzk_logo.svg" style="width: 50%">
<img alt="chzzk_logo" src="./img/chzzk_logo.svg" style="width: 40%">

Javascript를 통해 치지직 채팅을 크롤링하는 코드입니다.

Expand All @@ -16,7 +16,6 @@ $ npm install @d2n0s4ur/chzzk-chat

```typescript
import { ChzzkChat } from "@d2n0s4ur/chzzk-chat";
import type { messageHandler } from "@d2n0s4ur/chzzk-chat";

const chzzkChat = new ChzzkChat("YOUR_CHZZK_USER_HASH");
// ex) CHzzkchat('dfffd9591264f43f4cbe3e2e3252c35c)
Expand Down
2 changes: 2 additions & 0 deletions fixup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
cp dist/mjs/index.d.ts dist

rm -rf dist/*/index.d.ts
mkdir dist/lib
cp src/lib/chzzkChat.d.ts dist/lib/

cat >dist/cjs/package.json <<!EOF
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@d2n0s4ur/chzzk-chat",
"version": "1.0.4",
"version": "1.1.0",
"description": "chzzk chat crawler",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
Expand Down

0 comments on commit fecbff4

Please sign in to comment.