multica/apps/gateway
Naiyuan Qing 242be23876 feat(utils): unify encrypted Device ID across all platforms
- Add common generateEncryptedId() utility in @multica/utils
- All Device IDs now use same encryption algorithm (40 hex chars)
- Web: store encrypted format directly in localStorage
- Desktop: use shared utility, accept encrypted ID from Web
- Hub: use shared utility for hub-id generation
- Telegram: use shared utility for device ID generation
- Gateway hook: use encrypted format for client connections

Algorithm: sha256(sha256(uuid).slice(0,32)).slice(0,8) + sha256(uuid).slice(0,32)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-13 17:34:23 +08:00
..
database refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
migrations refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
public refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
scripts fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
telegram feat(utils): unify encrypted Device ID across all platforms 2026-02-13 17:34:23 +08:00
app.controller.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
app.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
Dockerfile fix(gateway): rewrite Dockerfile to match current source layout 2026-02-12 13:27:41 +08:00
events.gateway.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
gateway.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
index.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
main.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
package.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-app.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
test-client.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
tsconfig.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
types.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00