@ekidpro/bridge
Advanced tools
Comparing version 1.0.4 to 1.0.5
import { ResponseType, RequestType } from './base-type'; | ||
export interface Workspace { | ||
id: number; | ||
name: string; | ||
code: string; | ||
is_public: number; | ||
authen_api_url?: string; | ||
manual_authen_url?: string; | ||
icon: string | undefined; | ||
cover: string | undefined; | ||
status: 'ACTIVE' | 'INACTIVE'; | ||
group_name: string | undefined; | ||
w_role?: string; | ||
} | ||
export declare type UserInfo = { | ||
@@ -7,2 +20,3 @@ token: string; | ||
avatar?: string; | ||
workspace?: Workspace; | ||
}; | ||
@@ -9,0 +23,0 @@ export declare const GetUserInfoChannel = "CHANNEL_GET_USER_INFO"; |
{ | ||
"name": "@ekidpro/bridge", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Bridge between ekidpro app with website", | ||
@@ -44,3 +44,3 @@ "homepage": "https://github.com/ekidpro-vn/bridge", | ||
"peerDependencies": { | ||
"react": "^16.13.1", | ||
"react": "16.11.0", | ||
"react-router-dom": "^5.2.0" | ||
@@ -50,4 +50,6 @@ }, | ||
"qrcode.react": "^1.0.0", | ||
"react": "^16.11.0", | ||
"react-router-dom": "^5.2.0", | ||
"uuid": "^8.1.0" | ||
} | ||
} |
@@ -149,4 +149,8 @@ ![ekidpro](./documents/image.png 'eKidPro Logo') | ||
- getDeviceInfo() => Promise<DeviceInfo> | ||
- command.device.getDeviceInfo() => Promise<DeviceInfo> | ||
- command.user.getUserInfo() => Promise<UserInfo> | ||
- command.user.scanQr() => Promise<string> | ||
- // TODO: getUserInfo() |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34588
538
156
6
+ Addedreact@^16.11.0
+ Addedreact-router-dom@^5.2.0