@asksuite/askflow-app-sdk 0.3.1 → 0.3.3

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 +3 -3
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -94,7 +94,7 @@ export declare type IContext = {
94
94
  arguments: Map<string, any>;
95
95
  pushQueryItem: (item: IQueryItem) => Promise<boolean>;
96
96
  pushOauthData: (key: string, oauth: IAuth) => Promise<boolean>;
97
- pushAuthValidationResult: (key: string, result: IAuthValidationResult) => Promise<boolean>;
97
+ pushAuthValidationResult: (result: IAuthValidationResult) => Promise<boolean>;
98
98
  executionMode: 'default' | 'getMetadata';
99
99
  trackData?: Map<string, any>;
100
100
  };
@@ -113,9 +113,9 @@ export declare type IAuth = {
113
113
  };
114
114
  };
115
115
  export declare type IAuthValidationResult = {
116
- key: string;
116
+ key?: string;
117
117
  success: false;
118
- error: string;
118
+ message: II18nData;
119
119
  };
120
120
  export declare type IProfileData = {
121
121
  key: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asksuite/askflow-app-sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.m.js",
6
6
  "unpkg": "dist/index.umd.js",