@difizen/libro-prompt-cell 0.2.23 → 0.2.25

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.
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-output-render.d.ts","sourceRoot":"","sources":["../src/prompt-output-render.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC;IACxC,KAAK,EAAE,cAAc,CAAC;CACvB,CA8FA,CAAC"}
1
+ {"version":3,"file":"prompt-output-render.d.ts","sourceRoot":"","sources":["../src/prompt-output-render.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAG7D,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC;IACxC,KAAK,EAAE,cAAc,CAAC;CACvB,CAgGA,CAAC"}
@@ -63,9 +63,10 @@ export var PromptOutputRender = function PromptOutputRender(props) {
63
63
  }
64
64
  }, insertIndex + 1);
65
65
  case 4:
66
- _context.next = 6;
67
- return commandRegistry.executeCommand(NotebookCommands['RunCell'].id, libro.model.cells[insertIndex + 1], libro);
68
- case 6:
66
+ setTimeout(function () {
67
+ commandRegistry.executeCommand(NotebookCommands['RunCell'].id, libro.model.cells[insertIndex + 1], libro);
68
+ });
69
+ case 5:
69
70
  case "end":
70
71
  return _context.stop();
71
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-prompt-cell",
3
- "version": "0.2.23",
3
+ "version": "0.2.25",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -32,12 +32,12 @@
32
32
  "src"
33
33
  ],
34
34
  "dependencies": {
35
- "@difizen/libro-code-editor": "^0.2.23",
36
- "@difizen/libro-jupyter": "^0.2.23",
37
- "@difizen/libro-rendermime": "^0.2.23",
38
- "@difizen/libro-codemirror": "^0.2.23",
39
- "@difizen/libro-common": "^0.2.23",
40
- "@difizen/libro-core": "^0.2.23",
35
+ "@difizen/libro-code-editor": "^0.2.25",
36
+ "@difizen/libro-jupyter": "^0.2.25",
37
+ "@difizen/libro-rendermime": "^0.2.25",
38
+ "@difizen/libro-codemirror": "^0.2.25",
39
+ "@difizen/libro-common": "^0.2.25",
40
+ "@difizen/libro-core": "^0.2.25",
41
41
  "@ant-design/icons": "^5.1.0",
42
42
  "@difizen/mana-l10n": "latest",
43
43
  "@difizen/mana-app": "latest",
@@ -56,11 +56,13 @@ export const PromptOutputRender: React.FC<{
56
56
  },
57
57
  insertIndex + 1,
58
58
  );
59
- await commandRegistry.executeCommand(
60
- NotebookCommands['RunCell'].id,
61
- libro.model.cells[insertIndex + 1],
62
- libro,
63
- );
59
+ setTimeout(() => {
60
+ commandRegistry.executeCommand(
61
+ NotebookCommands['RunCell'].id,
62
+ libro.model.cells[insertIndex + 1],
63
+ libro,
64
+ );
65
+ });
64
66
  };
65
67
  const insert = async () => {
66
68
  const libro = model.cell.parent;