webtonative 1.0.84 → 1.0.85

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.
@@ -2,7 +2,7 @@ type ICb = {
2
2
  callback?: (response: {
3
3
  type: string;
4
4
  } & Record<string, any>) => void;
5
- };
5
+ } & Record<string, any>;
6
6
  export declare const onUnreadChatCountsChange: (options?: ICb) => void;
7
7
  export declare const openConnectWidget: (data?: ICb & {
8
8
  chatId?: string;
@@ -11,10 +11,18 @@ export declare const widgetLogin: (data?: Record<string, any>) => void;
11
11
  export declare const setUserDetails: (data?: Record<string, any>) => void;
12
12
  export declare const widgetLogout: () => void;
13
13
  export declare const isInitializationDone: (options?: ICb) => void;
14
- export declare const setAppId: (options: ICb & {
14
+ export declare const setAppId: (options: {
15
+ callback?: (response: {
16
+ type: string;
17
+ } & Record<string, any>) => void;
18
+ } & Record<string, any> & {
15
19
  appId: string;
16
20
  }) => void;
17
- export declare const setExternalUserid: (options: ICb & {
21
+ export declare const setExternalUserid: (options: {
22
+ callback?: (response: {
23
+ type: string;
24
+ } & Record<string, any>) => void;
25
+ } & Record<string, any> & {
18
26
  externalUserId: string;
19
27
  }) => void;
20
28
  export declare const isUserLoggedIn: (options: ICb) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webtonative",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",