Commit Graph

5 Commits

Author SHA1 Message Date
90b75413f1 refactor: api/ 주석 정리 및 소소한 개선
- client.js JSDoc 추가 (apiFetch, tryRefresh, apiUpload, localizeError)
- auth.js 단순 함수 JSDoc 제거, createLaunchTicket why 주석 유지
- chain.js BASE 중복 선언 이유 주석 추가, 단순 함수 JSDoc 제거
- announcements.js 후행 빈 줄 제거
- users.js getUsers 쿼리스트링 → URLSearchParams 변경

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 18:47:26 +09:00
7e7b3e85a7 fix: 마켓 API 요청 필드명 snake_case→camelCase 수정
All checks were successful
Client CI/CD / test (push) Successful in 9s
Client CI/CD / deploy (push) Successful in 14s
서버는 assetId/listingId(camelCase)를 기대하나
asset_id/listing_id(snake_case)로 보내고 있어 검증 실패.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 15:48:49 +09:00
1691638fe9 fix: 지갑 UI 필드명/응답 구조 불일치 수정
All checks were successful
Client CI/CD / test (push) Successful in 9s
Client CI/CD / deploy (push) Successful in 13s
서버 실제 응답과 프론트엔드 필드명이 맞지 않아 공개키 미표시,
인벤토리/마켓 TypeError 발생하던 버그 수정.

- WalletTab: public_key→pubKeyHex, private_key→privateKey
- InventoryTab: 배열→객체(slots) 구조 대응
- AssetsTab: 페이지네이션 응답, tradeable, active_listing_id, template_id
- MarketTab: ID 목록→개별 getListing 호출, listing_id→id, asset_id
- WalletSummary: 페이지네이션 + 인벤토리 객체 구조 대응
- chain.js: getListing() 함수 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 14:41:07 +09:00
3dc1aad8ac feat: add wallet UI with 4 tabs and HomePage summary
- chain.js: API wrapper with Idempotency-Key auto-generation
- WalletPage: 4-tab container (wallet/assets/inventory/market)
- WalletTab: balance, address (truncated+copy), key export
- AssetsTab: asset list with detail expand, market listing
- InventoryTab: read-only slot display
- MarketTab: buy/cancel with confirm dialog, all/mine filter
- WalletSummary: HomePage card with balance + stats
- PrivateRoute guard for /wallet, header link on HomePage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 13:43:46 +09:00
8b6ba38a82 feat: add chain API wrapper with idempotency-key
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 13:38:36 +09:00