connectbase-client 3.46.0 → 3.47.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/CHANGELOG.md +11 -0
- package/dist/connect-base.umd.js +5 -5
- package/dist/index.d.mts +201 -3
- package/dist/index.d.ts +201 -3
- package/dist/index.js +123 -0
- package/dist/index.mjs +122 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
본 SDK 의 모든 주요 변경사항을 [Keep a Changelog](https://keepachangelog.com/ko/1.1.0/) 형식으로 기록합니다.
|
|
4
4
|
버전은 [Semantic Versioning](https://semver.org/lang/ko/) 을 따릅니다.
|
|
5
5
|
|
|
6
|
+
## [3.47.0] - 2026-07-16
|
|
7
|
+
|
|
8
|
+
### Added — ctx.cbAdmin 관리 REST (service_role + management_scopes)
|
|
9
|
+
|
|
10
|
+
service_role 함수가 시크릿 키 없이 일부 관리 REST 를 호출할 수 있도록 `ctx.cbAdmin` 에 관리 메서드를 추가했다. 함수 생성 시 `management_scopes` 로 필요한 스코프만 opt-in 하면 되고(최소권한), 시크릿 키는 대화/로그/코드 어디에도 등장하지 않는다. (platform-issue 019f6a82)
|
|
11
|
+
|
|
12
|
+
- `cb.push.getStats(appId)` — 푸시 통계(도달/오픈율/클릭율, 디바이스/메시지/토픽 수). 스코프 `push:read`. 신규 타입 `PushStatsResult`.
|
|
13
|
+
- `cb.roles` (신규 모듈) — 앱 역할(RBAC) 관리. 조회 `list`/`get`(스코프 `role:read`), 변경 `create`/`update`/`assign`/`delete`(스코프 `role:manage`). `assign` 은 기존 제목/설명/권한을 보존한 채 사용자만 교체한다. 신규 타입 `RoleList`/`RoleListItem`/`RoleDetail`/`RolePermissionItem`/`RoleUserItem`/`CreateRolePayload`/`CreateRoleResult`/`UpdateRolePayload`.
|
|
14
|
+
- `cb.payment.list(appId, options?)` — 결제 내역 목록(필터/페이지네이션). 스코프 `payment:read`. 신규 타입 `PaymentListItem`/`PaymentListResult`/`ListPaymentsOptions`.
|
|
15
|
+
- 세 메서드 모두 서버사이드 전용 — Public Key(cb_pk_) 단독 브라우저 인스턴스는 클라이언트 단에서 차단하고, 위임 Bearer(ctx.cbAdmin / 콘솔 JWT) 인스턴스만 허용한다(sendToMembers 와 동일 가드).
|
|
16
|
+
|
|
6
17
|
## [3.46.0] - 2026-07-11
|
|
7
18
|
|
|
8
19
|
### Added — 크로스 플랫폼 음성 인식(STT) API
|