connectbase-client 3.5.1 → 3.5.2

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 CHANGED
@@ -3,6 +3,26 @@
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.5.2] - 2026-05-01
7
+
8
+ ### Fixed — `connectbase tunnel --label` / `--description` 옵션이 파싱되지 않던 문제
9
+
10
+ 3.5.1 의 인증 헤더 / `await` 수정에도 불구하고 `--label` / `--description` 으로
11
+ endpoint binding 자동 등록이 한 번도 트리거되지 않던 문제를 수정했습니다.
12
+ 원인은 `parseArgs()` 의 옵션 파싱 분기 자체가 두 옵션을 매칭하지 않아
13
+ `parsed.options.label === undefined` 로 떨어지고, 결과적으로
14
+ `if (tunnelOpts?.label && tunnelUrl)` 가드가 항상 false 가 되어
15
+ `registerEndpointBinding()` 이 호출되지 않았던 것입니다.
16
+
17
+ - `parseArgs()` 의 while 루프에 `--label` / `--description` 분기 추가
18
+ (기존 `--storage` / `--max-body` 와 동일 패턴).
19
+ - `parseArgs()` 를 `export` 로 노출 + `test/cli-parse-args.test.ts` 회귀 테스트
20
+ 추가 — `--label` 단독 / `--label` + `--description` 조합 / 미지정 / `--description`
21
+ 단독 4 가지 케이스를 검증해 동일 회귀 차단.
22
+
23
+ 회귀 영향 범위: 3.5.1 에서 `--label` / `--description` 을 사용했던 모든 호출
24
+ (즉 endpoint binding 자동 등록 기능 전체). 다른 옵션·기본 `tunnel` 동작에는 영향 없음.
25
+
6
26
  ## [3.5.1] - 2026-05-01
7
27
 
8
28
  ### Fixed — `connectbase tunnel --label` endpoint 자동 등록 401
package/dist/cli.js CHANGED
@@ -33,6 +33,7 @@ var cli_exports = {};
33
33
  __export(cli_exports, {
34
34
  computeDeployDiff: () => computeDeployDiff,
35
35
  normalizeRelativePath: () => normalizeRelativePath,
36
+ parseArgs: () => parseArgs,
36
37
  sha256Hex: () => sha256Hex
37
38
  });
38
39
  module.exports = __toCommonJS(cli_exports);
@@ -2093,6 +2094,10 @@ function parseArgs(args) {
2093
2094
  result.options.timeout = args[++i];
2094
2095
  } else if (arg === "--max-body") {
2095
2096
  result.options.maxBody = args[++i];
2097
+ } else if (arg === "--label") {
2098
+ result.options.label = args[++i];
2099
+ } else if (arg === "--description") {
2100
+ result.options.description = args[++i];
2096
2101
  } else if (arg === "-a" || arg === "--app") {
2097
2102
  result.options.appId = args[++i];
2098
2103
  } else if (arg === "--force") {
@@ -2221,5 +2226,6 @@ main().catch((err) => {
2221
2226
  0 && (module.exports = {
2222
2227
  computeDeployDiff,
2223
2228
  normalizeRelativePath,
2229
+ parseArgs,
2224
2230
  sha256Hex
2225
2231
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectbase-client",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "description": "Connect Base JavaScript/TypeScript SDK for browser and Node.js",
5
5
  "repository": {
6
6
  "type": "git",