@deepdesk/deepdesk-sdk 18.2.1-beta.12 → 18.2.1-beta.14
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.cjs.js +8 -8
- package/dist/index.d.mts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +30 -30
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1351,6 +1351,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1351
1351
|
customData?: CustomData;
|
|
1352
1352
|
platformVariables?: VariableMapping;
|
|
1353
1353
|
fetchState: FetchState;
|
|
1354
|
+
showNicknameDialog: boolean;
|
|
1354
1355
|
};
|
|
1355
1356
|
input: State$7;
|
|
1356
1357
|
settings: {
|
|
@@ -1412,6 +1413,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1412
1413
|
customData?: CustomData;
|
|
1413
1414
|
platformVariables?: VariableMapping;
|
|
1414
1415
|
fetchState: FetchState;
|
|
1416
|
+
showNicknameDialog: boolean;
|
|
1415
1417
|
} | undefined;
|
|
1416
1418
|
input: State$7 | undefined;
|
|
1417
1419
|
settings: {
|
|
@@ -1474,6 +1476,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
|
|
|
1474
1476
|
customData?: CustomData;
|
|
1475
1477
|
platformVariables?: VariableMapping;
|
|
1476
1478
|
fetchState: FetchState;
|
|
1479
|
+
showNicknameDialog: boolean;
|
|
1477
1480
|
};
|
|
1478
1481
|
input: State$7;
|
|
1479
1482
|
settings: {
|
|
@@ -1951,10 +1954,6 @@ interface SDKEventMap {
|
|
|
1951
1954
|
selectionAfter: SelectionRange;
|
|
1952
1955
|
};
|
|
1953
1956
|
cues: LegacyCue[];
|
|
1954
|
-
replace: {
|
|
1955
|
-
text: string;
|
|
1956
|
-
replace: SelectionRange;
|
|
1957
|
-
};
|
|
1958
1957
|
'select-image': {
|
|
1959
1958
|
suggestion: TextSuggestion;
|
|
1960
1959
|
};
|
|
@@ -2028,6 +2027,8 @@ declare class DeepdeskSDK {
|
|
|
2028
2027
|
private floatingMenu;
|
|
2029
2028
|
private widgetElement;
|
|
2030
2029
|
private widgetRoot;
|
|
2030
|
+
private nicknameDialogUnsubscribe;
|
|
2031
|
+
private nicknameDialogFailed;
|
|
2031
2032
|
private dynamicThunkObject;
|
|
2032
2033
|
private queues;
|
|
2033
2034
|
isMounted: boolean;
|
|
@@ -2082,6 +2083,7 @@ declare class DeepdeskSDK {
|
|
|
2082
2083
|
customData?: CustomData;
|
|
2083
2084
|
platformVariables?: VariableMapping;
|
|
2084
2085
|
fetchState: FetchState;
|
|
2086
|
+
showNicknameDialog: boolean;
|
|
2085
2087
|
};
|
|
2086
2088
|
input: State$7;
|
|
2087
2089
|
settings: {
|
|
@@ -3114,6 +3116,7 @@ declare class DeepdeskSDK {
|
|
|
3114
3116
|
* @throws {Error} If the input element is not a supported type (textarea or contentEditable div)
|
|
3115
3117
|
*/
|
|
3116
3118
|
mount(inputElement: HTMLElement, options?: MountOptions): void;
|
|
3119
|
+
private promptForNickname;
|
|
3117
3120
|
/**
|
|
3118
3121
|
* Subscribes to internal state changes.
|
|
3119
3122
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1351,6 +1351,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1351
1351
|
customData?: CustomData;
|
|
1352
1352
|
platformVariables?: VariableMapping;
|
|
1353
1353
|
fetchState: FetchState;
|
|
1354
|
+
showNicknameDialog: boolean;
|
|
1354
1355
|
};
|
|
1355
1356
|
input: State$7;
|
|
1356
1357
|
settings: {
|
|
@@ -1412,6 +1413,7 @@ declare const reducers: redux.Reducer<{
|
|
|
1412
1413
|
customData?: CustomData;
|
|
1413
1414
|
platformVariables?: VariableMapping;
|
|
1414
1415
|
fetchState: FetchState;
|
|
1416
|
+
showNicknameDialog: boolean;
|
|
1415
1417
|
} | undefined;
|
|
1416
1418
|
input: State$7 | undefined;
|
|
1417
1419
|
settings: {
|
|
@@ -1474,6 +1476,7 @@ declare function createStore(config: StoreConfig): _reduxjs_toolkit.EnhancedStor
|
|
|
1474
1476
|
customData?: CustomData;
|
|
1475
1477
|
platformVariables?: VariableMapping;
|
|
1476
1478
|
fetchState: FetchState;
|
|
1479
|
+
showNicknameDialog: boolean;
|
|
1477
1480
|
};
|
|
1478
1481
|
input: State$7;
|
|
1479
1482
|
settings: {
|
|
@@ -1951,10 +1954,6 @@ interface SDKEventMap {
|
|
|
1951
1954
|
selectionAfter: SelectionRange;
|
|
1952
1955
|
};
|
|
1953
1956
|
cues: LegacyCue[];
|
|
1954
|
-
replace: {
|
|
1955
|
-
text: string;
|
|
1956
|
-
replace: SelectionRange;
|
|
1957
|
-
};
|
|
1958
1957
|
'select-image': {
|
|
1959
1958
|
suggestion: TextSuggestion;
|
|
1960
1959
|
};
|
|
@@ -2028,6 +2027,8 @@ declare class DeepdeskSDK {
|
|
|
2028
2027
|
private floatingMenu;
|
|
2029
2028
|
private widgetElement;
|
|
2030
2029
|
private widgetRoot;
|
|
2030
|
+
private nicknameDialogUnsubscribe;
|
|
2031
|
+
private nicknameDialogFailed;
|
|
2031
2032
|
private dynamicThunkObject;
|
|
2032
2033
|
private queues;
|
|
2033
2034
|
isMounted: boolean;
|
|
@@ -2082,6 +2083,7 @@ declare class DeepdeskSDK {
|
|
|
2082
2083
|
customData?: CustomData;
|
|
2083
2084
|
platformVariables?: VariableMapping;
|
|
2084
2085
|
fetchState: FetchState;
|
|
2086
|
+
showNicknameDialog: boolean;
|
|
2085
2087
|
};
|
|
2086
2088
|
input: State$7;
|
|
2087
2089
|
settings: {
|
|
@@ -3114,6 +3116,7 @@ declare class DeepdeskSDK {
|
|
|
3114
3116
|
* @throws {Error} If the input element is not a supported type (textarea or contentEditable div)
|
|
3115
3117
|
*/
|
|
3116
3118
|
mount(inputElement: HTMLElement, options?: MountOptions): void;
|
|
3119
|
+
private promptForNickname;
|
|
3117
3120
|
/**
|
|
3118
3121
|
* Subscribes to internal state changes.
|
|
3119
3122
|
*
|