@etsoo/appscript 1.5.82 → 1.5.83

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.
@@ -69,8 +69,9 @@ export type AppLoginParams = {
69
69
  export type AppTryLoginParams = AppLoginParams & {
70
70
  /**
71
71
  * Callback on failure
72
+ * @param type Failure type
72
73
  */
73
- onFailure?: () => void;
74
+ onFailure?: (type: string) => void;
74
75
  /**
75
76
  * Callback on success
76
77
  */
@@ -69,8 +69,9 @@ export type AppLoginParams = {
69
69
  export type AppTryLoginParams = AppLoginParams & {
70
70
  /**
71
71
  * Callback on failure
72
+ * @param type Failure type
72
73
  */
73
- onFailure?: () => void;
74
+ onFailure?: (type: string) => void;
74
75
  /**
75
76
  * Callback on success
76
77
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.5.82",
3
+ "version": "1.5.83",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
package/src/app/IApp.ts CHANGED
@@ -95,8 +95,9 @@ export type AppLoginParams = {
95
95
  export type AppTryLoginParams = AppLoginParams & {
96
96
  /**
97
97
  * Callback on failure
98
+ * @param type Failure type
98
99
  */
99
- onFailure?: () => void;
100
+ onFailure?: (type: string) => void;
100
101
 
101
102
  /**
102
103
  * Callback on success