jupyterlab-pioneer 1.1.0 → 1.3.0

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -30,7 +30,6 @@ class JupyterLabPioneer {
30
30
  // When the global activeEvents configuration is null, exporters that do not have corresponding activeEvents will be ignored.
31
31
  console.log(processedExporters);
32
32
  this.exporters = processedExporters;
33
- sendInfoNotification(processedExporters, true);
34
33
  }
35
34
  async publishEvent(notebookPanel, eventDetail, exporter, logWholeNotebook) {
36
35
  var _a, _b;
@@ -63,6 +62,7 @@ const plugin = {
63
62
  activate: async (app, notebookTracker, mainMenu) => {
64
63
  const version = await requestAPI('version');
65
64
  console.log(`${PLUGIN_ID}: ${version}`);
65
+ const config = (await requestAPI('config'));
66
66
  const pioneer = new JupyterLabPioneer();
67
67
  addInfoToHelpMenu(app, mainMenu, version);
68
68
  notebookTracker.widgetAdded.connect(async (_, notebookPanel) => {
@@ -73,6 +73,7 @@ const plugin = {
73
73
  new producer().listen(notebookPanel, pioneer);
74
74
  });
75
75
  });
76
+ sendInfoNotification(config.exporters, true);
76
77
  return pioneer;
77
78
  }
78
79
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jupyterlab-pioneer",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "A JupyterLab extension.",
5
5
  "keywords": [
6
6
  "jupyter",