Service for fetching user data that is currently logged in in the main app.
npm install @evo/user-info/remote/auth/info;```
'id':
'full_name':
'email':
'phone':
'is_paid_company':
'company_id':
js
import { init, getUserInfo } from '@evo/user-info';// you should call init on application start
init('http://my.example.com:5000');
const userInfo = await getUserInfo();
`API
init(myHost: string, user: UserData): void
Initializes the service (myHost is required).getUserInfo(): Promise\
Fetches remote infoExample:
`js
import { getUserInfo } from "@evo/user-info"const userInfo = await getUserInfo();
``