platform.ts and platform-api.ts both created PlatformClient instances. Merge all typed helpers (getUserSettings, updateUserSettings, listSessions, revokeSession, updateProfile) into platform.ts and delete the duplicate file. Use lazy singleton instead of eager. |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| lib | ||
| test | ||