@integration-app/sdk
Advanced tools
Comparing version 0.0.11 to 0.0.12
declare type Callbacks = { | ||
[key: string]: (...args: any[]) => void; | ||
[key: string]: ((...args: any[]) => void) | undefined; | ||
}; | ||
@@ -4,0 +4,0 @@ export declare function openIframe(uri: string, callbacks?: Callbacks): Promise<void>; |
@@ -12,3 +12,3 @@ export declare function init(options: InitOptions): void; | ||
onData: (...args: any) => void; | ||
onClose: (...args: any) => void; | ||
onClose?: (...args: any) => void; | ||
} | ||
@@ -18,5 +18,5 @@ interface NewFlowOptions extends InitOptions { | ||
flowConfig: any; | ||
onFlowRunComplete: (...args: any) => void; | ||
onClose: (...args: any) => void; | ||
onFlowRunComplete?: (...args: any) => void; | ||
onClose?: (...args: any) => void; | ||
} | ||
export {}; |
{ | ||
"name": "@integration-app/sdk", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "JavaScript SDK for Integration.app", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -10,3 +10,3 @@ import { connectToChild } from 'penpal' | ||
type Callbacks = { | ||
[key: string]: (...args: any[]) => void | ||
[key: string]: ((...args: any[]) => void) | undefined | ||
} | ||
@@ -13,0 +13,0 @@ |
@@ -74,3 +74,3 @@ import { openIframe } from './iframe' | ||
onData: (...args: any) => void | ||
onClose: (...args: any) => void | ||
onClose?: (...args: any) => void | ||
} | ||
@@ -81,4 +81,4 @@ | ||
flowConfig: any | ||
onFlowRunComplete: (...args: any) => void | ||
onClose: (...args: any) => void | ||
onFlowRunComplete?: (...args: any) => void | ||
onClose?: (...args: any) => void | ||
} |
166541