obi-sdk 0.19.17 → 0.19.18
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.
- package/dist/index.js +35 -35
- package/dist/obi-sdk.standalone.iife.js +35 -35
- package/dist/src/loader.d.ts +3 -2
- package/package.json +1 -1
package/dist/src/loader.d.ts
CHANGED
|
@@ -4,8 +4,9 @@ import { ObiSDK } from "./sdk";
|
|
|
4
4
|
* been added to the window object by the loader script, and assigns the SDK class instance to the
|
|
5
5
|
* window object at "ObiSDK".
|
|
6
6
|
*/
|
|
7
|
-
export declare function loadObiSDK(appToken?: string): Promise<ObiSDK | undefined>;
|
|
8
|
-
export declare function loadObiSDKWithWindow({ appToken, window, }: {
|
|
7
|
+
export declare function loadObiSDK(appToken?: string, init?: () => void): Promise<ObiSDK | undefined>;
|
|
8
|
+
export declare function loadObiSDKWithWindow({ appToken, window, init, }: {
|
|
9
9
|
appToken?: string;
|
|
10
10
|
window: any;
|
|
11
|
+
init?: () => void;
|
|
11
12
|
}): Promise<ObiSDK | undefined>;
|