obi-sdk 0.1.6 → 0.1.7
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-e52b38be.js → index-d9a81606.js} +792 -750
- package/dist/modular/index.js +109 -51
- package/dist/modular/index.js.map +1 -1
- package/dist/obi-sdk.es.js +1 -1
- package/dist/obi-sdk.standalone.iife.js +2 -2
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/obi-sdk.umd.js +40 -40
- package/dist/{session-33b71dff.js → session-c2549ff3.js} +1 -1
- package/index.d.ts +10 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -41,16 +41,21 @@ export declare enum SDKState {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Initialize the Obi Assistant widget with the latest SDK version
|
|
44
|
+
* Initialize the Obi Assistant widget with the latest SDK version from CDN
|
|
45
|
+
* This ensures users always get the latest features and bug fixes
|
|
46
|
+
*
|
|
47
|
+
* @param config The configuration for initializing the Obi widget
|
|
45
48
|
*/
|
|
46
49
|
export declare function initObi(config: ObiAssistantConfig): Promise<HTMLElement>
|
|
47
50
|
|
|
48
51
|
/**
|
|
49
|
-
* Get the latest SDK instance
|
|
52
|
+
* Get the latest SDK instance (not implemented in this version)
|
|
53
|
+
* @throws Error always throws error in this version
|
|
50
54
|
*/
|
|
51
|
-
export declare function getLatestSDK(): Promise<
|
|
55
|
+
export declare function getLatestSDK(): Promise<never>
|
|
52
56
|
|
|
53
57
|
/**
|
|
54
|
-
* Create a session
|
|
58
|
+
* Create a session (not implemented in this version)
|
|
59
|
+
* @throws Error always throws error in this version
|
|
55
60
|
*/
|
|
56
|
-
export declare function createLatestSession(options?: any): Promise<
|
|
61
|
+
export declare function createLatestSession(options?: any): Promise<never>
|