@uniai-fe/uds-templates 0.6.18 → 0.6.20

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.
@@ -0,0 +1,17 @@
1
+ # Third Party Notices
2
+
3
+ Package: @uniai-fe/uds-templates
4
+
5
+ This package declares the following direct third-party dependencies or peer dependencies.
6
+ Internal `@uniai-fe/*` packages are excluded from this notice file.
7
+
8
+ | Package | Relationship | Declared version | Installed metadata version | License |
9
+ | --------------------- | -------------------------- | ---------------- | -------------------------- | ------- |
10
+ | @tanstack/react-query | peerDependency | ^5 | 5.101.0 | MIT |
11
+ | clsx | dependency, peerDependency | ^2.1.1 | 2.1.1 | MIT |
12
+ | dayjs | dependency | ^1.11.21 | 1.11.21 | MIT |
13
+ | jotai | peerDependency | ^2 | 2.20.1 | MIT |
14
+ | next | peerDependency | ^15 | 15.5.18 | MIT |
15
+ | react | peerDependency | ^19 | 19.2.7 | MIT |
16
+ | react-dom | peerDependency | ^19 | 19.2.7 | MIT |
17
+ | react-hook-form | peerDependency | ^7 | 7.78.0 | MIT |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-templates",
3
- "version": "0.6.18",
3
+ "version": "0.6.20",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -25,7 +25,8 @@
25
25
  },
26
26
  "files": [
27
27
  "src",
28
- "dist"
28
+ "dist",
29
+ "THIRD_PARTY_NOTICES.md"
29
30
  ],
30
31
  "main": "./src/index.tsx",
31
32
  "module": "./src/index.tsx",
@@ -225,7 +225,8 @@ export async function getServerCctvToken({
225
225
  token: "",
226
226
  };
227
227
 
228
- const password = reqBody?.password || tokenPreset?.password || "";
228
+ const password =
229
+ reqBody?.password || tokenPreset?.password || reqBody?.username || "";
229
230
 
230
231
  if (
231
232
  !reqBody ||
@@ -298,7 +298,7 @@ export type API_Res_CctvCompany = API_Res_Base<API_Res_CctvCompanyData>;
298
298
  * @property {string} company_id 업체 id코드
299
299
  * @property {string} cam_id 카메라 id코드
300
300
  * @property {string} username 사용자 계정 아이디
301
- * @property {string} [password] 사용자 계정 비밀번호. 서버 route에서 tokenPreset.password 주입하는 경우 생략 가능
301
+ * @property {string} [password] 사용자 계정 비밀번호. 생략 시 서버 route에서 tokenPreset.password 또는 username fallback을 사용
302
302
  */
303
303
  export interface API_Req_CctvRtcToken {
304
304
  /**
@@ -315,7 +315,7 @@ export interface API_Req_CctvRtcToken {
315
315
  username: string;
316
316
  /**
317
317
  * 사용자 계정 비밀번호
318
- * - 서버 route에서 tokenPreset.password 주입하는 경우 생략 가능
318
+ * - 서버 route에서 tokenPreset.password 또는 username fallback을 사용하는 경우 생략 가능
319
319
  */
320
320
  password?: string;
321
321
  }