@noverachat/sdk-web 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ko.md +1 -1
- package/README.md +1 -1
- package/dist/index.cjs +672 -13
- package/dist/index.d.cts +385 -5
- package/dist/index.d.ts +385 -5
- package/dist/index.js +665 -12
- package/package.json +1 -1
- package/src/cache.ts +65 -0
- package/src/chat-message.ts +214 -0
- package/src/client.ts +49 -2
- package/src/features/message-collection.ts +504 -0
- package/src/features/room.ts +118 -5
- package/src/index.ts +44 -0
- package/src/internal/compare-id.ts +17 -0
- package/src/types.ts +14 -2
package/README.ko.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# @noverachat/sdk-web
|
|
4
4
|
|
|
5
|
-
NoveraChat용 최소·isomorphic(브라우저 + Node) TypeScript 클라이언트 — WebSocket + REST에 낙관적 UI, 재연결, backfill
|
|
5
|
+
NoveraChat용 최소·isomorphic(브라우저 + Node) TypeScript 클라이언트 — WebSocket + REST에 낙관적 UI, 재연결, backfill, 코어 소유 메시지 상태([`MessageCollection`](docs/reference/room.ko.md)), 콜드 스타트 즉시 렌더용 [스냅샷 캐시](docs/core/caching.ko.md)(앱 주입 저장소)를 얹었다. 런타임 의존성 0.
|
|
6
6
|
|
|
7
7
|
> [NoveraChat SDK 모노레포](../../README.md)의 한 패키지.
|
|
8
8
|
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# @noverachat/sdk-web
|
|
4
4
|
|
|
5
|
-
Minimal, isomorphic (browser + Node) TypeScript client for NoveraChat — WebSocket + REST with optimistic UI, reconnection, and
|
|
5
|
+
Minimal, isomorphic (browser + Node) TypeScript client for NoveraChat — WebSocket + REST with optimistic UI, reconnection, backfill, core-owned message state ([`MessageCollection`](docs/reference/room.md)) and an app-injectable [snapshot cache](docs/core/caching.md) for instant cold starts. Zero runtime dependencies.
|
|
6
6
|
|
|
7
7
|
> Part of the [NoveraChat SDK monorepo](../../README.md).
|
|
8
8
|
|