modern-monaco 0.1.2 → 0.1.3

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/workspace.js CHANGED
@@ -19,9 +19,9 @@ var Workspace = class {
19
19
  _viewState;
20
20
  _entryFile;
21
21
  constructor(options = {}) {
22
- const { name = "default", browserHistory, initialFiles, entryFile, customFs } = options;
22
+ const { name = "default", browserHistory, initialFiles, entryFile, customFS } = options;
23
23
  this._monaco = promiseWithResolvers();
24
- this._fs = customFs ?? new FS("modern-monaco-workspace(" + name + ")");
24
+ this._fs = customFS ?? new FS("modern-monaco-workspace(" + name + ")");
25
25
  this._viewState = new WorkspaceStateStorage("modern-monaco-state(" + name + ")");
26
26
  this._entryFile = entryFile;
27
27
  if (initialFiles) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "modern-monaco",
3
3
  "description": "A modern version of Monaco Editor",
4
- "version": "0.1.2",
4
+ "version": "0.1.3",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -10,12 +10,8 @@ export interface WorkspaceInit {
10
10
  entryFile?: string;
11
11
  /** whether to use browser history for navigation. */
12
12
  browserHistory?: boolean | { basePath: string };
13
- /** whether to use a server for the workspace. */
14
- server?: {
15
- url: string | URL;
16
- };
17
13
  /** custom filesystem implementation to override the default IndexedDB filesystem */
18
- customFs?: FileSystem;
14
+ customFS?: FileSystem;
19
15
  }
20
16
 
21
17
  export class Workspace {