@liveblocks/core 2.16.1-ai1 → 2.16.1-ai3

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.mjs CHANGED
@@ -6,7 +6,7 @@ var __export = (target, all) => {
6
6
 
7
7
  // src/version.ts
8
8
  var PKG_NAME = "@liveblocks/core";
9
- var PKG_VERSION = "2.16.1-ai1";
9
+ var PKG_VERSION = "2.16.1-ai3";
10
10
  var PKG_FORMAT = "esm";
11
11
 
12
12
  // src/dupe-detection.ts
@@ -1565,8 +1565,12 @@ function createApiClient({
1565
1565
  }),
1566
1566
  {
1567
1567
  prompt: options.prompt,
1568
- selectionText: options.selectionText,
1569
- context: options.context
1568
+ context: {
1569
+ beforeSelection: options.context.beforeSelection,
1570
+ selection: options.context.selection,
1571
+ afterSelection: options.context.afterSelection
1572
+ },
1573
+ previous: options.previous
1570
1574
  },
1571
1575
  { signal: options.signal }
1572
1576
  );