@deepdesk/deepdesk-sdk 11.6.1-beta.5 → 11.6.1-beta.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.d.mts CHANGED
@@ -201,7 +201,8 @@ declare enum InputType {
201
201
  TAB = "tab",
202
202
  ARROW = "arrow",
203
203
  HOTKEY = "hotkey",
204
- MOUSE = "mouse"
204
+ MOUSE = "mouse",
205
+ SPACE = "space"
205
206
  }
206
207
 
207
208
  /**
@@ -1519,6 +1520,7 @@ declare enum FetchState {
1519
1520
  ERROR = "error"
1520
1521
  }
1521
1522
 
1523
+ type KeyboardMetric = Pick<KeyboardEvent, 'key' | 'shiftKey' | 'ctrlKey' | 'altKey' | 'metaKey'>;
1522
1524
  type StageSuggestion = {
1523
1525
  text: string;
1524
1526
  suggestion: TextSuggestion;
@@ -1548,9 +1550,10 @@ type State$6 = {
1548
1550
  text: string;
1549
1551
  html: string | null;
1550
1552
  selection: SelectionRange;
1551
- beforeKeyUp: {
1553
+ beforeInputChange: {
1552
1554
  text: string;
1553
1555
  selection: SelectionRange;
1556
+ keyDown: KeyboardMetric;
1554
1557
  } | null;
1555
1558
  mixedSuggestion: TextSuggestion | null;
1556
1559
  metrics: MetricState;
package/dist/index.d.ts CHANGED
@@ -201,7 +201,8 @@ declare enum InputType {
201
201
  TAB = "tab",
202
202
  ARROW = "arrow",
203
203
  HOTKEY = "hotkey",
204
- MOUSE = "mouse"
204
+ MOUSE = "mouse",
205
+ SPACE = "space"
205
206
  }
206
207
 
207
208
  /**
@@ -1519,6 +1520,7 @@ declare enum FetchState {
1519
1520
  ERROR = "error"
1520
1521
  }
1521
1522
 
1523
+ type KeyboardMetric = Pick<KeyboardEvent, 'key' | 'shiftKey' | 'ctrlKey' | 'altKey' | 'metaKey'>;
1522
1524
  type StageSuggestion = {
1523
1525
  text: string;
1524
1526
  suggestion: TextSuggestion;
@@ -1548,9 +1550,10 @@ type State$6 = {
1548
1550
  text: string;
1549
1551
  html: string | null;
1550
1552
  selection: SelectionRange;
1551
- beforeKeyUp: {
1553
+ beforeInputChange: {
1552
1554
  text: string;
1553
1555
  selection: SelectionRange;
1556
+ keyDown: KeyboardMetric;
1554
1557
  } | null;
1555
1558
  mixedSuggestion: TextSuggestion | null;
1556
1559
  metrics: MetricState;