@asksuite/askflow-app-sdk 0.2.6 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.d.ts +9 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -98,16 +98,24 @@ export declare type IContext = {
98
98
  trackData?: Map<string, any>;
99
99
  };
100
100
  export declare type IAuth = {
101
- oauth2: {
101
+ oAuth2: {
102
102
  accessToken: string;
103
103
  refreshToken: string;
104
104
  updateAt: Date;
105
105
  expiresIn: number;
106
106
  tokenType: string;
107
107
  code: string;
108
+ profile: {
109
+ data: IProfileData[];
110
+ };
108
111
  scopes?: string[];
109
112
  };
110
113
  };
114
+ export declare type IProfileData = {
115
+ key: string;
116
+ label: II18nData;
117
+ value: string;
118
+ };
111
119
  export declare type IResponseOAuthLink = {
112
120
  data: {
113
121
  link: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asksuite/askflow-app-sdk",
3
- "version": "0.2.6",
3
+ "version": "0.2.9",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.m.js",
6
6
  "unpkg": "dist/index.umd.js",