@itwin/workspace-editor 4.0.0-dev.80 → 4.0.0-dev.82

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.
@@ -332,7 +332,7 @@ async function purgeWorkspace(args) {
332
332
  /** detach a WorkspaceContainer from the local cache. */
333
333
  async function detachWorkspace(args) {
334
334
  const container = getCloudContainer(args);
335
- container.detach();
335
+ container.disconnect({ detach: true });
336
336
  showMessage(`detached ${sayContainer(args)}.`);
337
337
  }
338
338
  /** Make a copy of a WorkspaceDb with a new name. */
@@ -419,7 +419,7 @@ function runCommand(cmd) {
419
419
  if (true === args.logging) {
420
420
  core_bentley_1.Logger.initializeToConsole();
421
421
  core_bentley_1.Logger.setLevel("CloudSqlite", core_bentley_1.LogLevel.Trace);
422
- core_backend_1.IModelHost.appWorkspace.cloudCache?.setLogMask(core_backend_1.CloudSqlite.LoggingMask.All);
422
+ core_backend_1.IModelHost.appWorkspace.getCloudCache().setLogMask(core_backend_1.CloudSqlite.LoggingMask.All);
423
423
  logTimer = setInterval(() => flushLog(), 250); // logging from other threads is buffered. This causes it to appear every 1/4 second.
424
424
  }
425
425
  await cmd(args);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@itwin/workspace-editor",
3
3
  "license": "MIT",
4
4
  "main": "lib/WorkspaceEditor.js",
5
- "version": "4.0.0-dev.80",
5
+ "version": "4.0.0-dev.82",
6
6
  "bin": {
7
7
  "WorkspaceEditor": "./lib/WorkspaceEditor.js"
8
8
  },
@@ -15,14 +15,14 @@
15
15
  "directory": "utils/workspace-editor"
16
16
  },
17
17
  "dependencies": {
18
- "@itwin/core-bentley": "4.0.0-dev.80",
19
- "@itwin/core-common": "4.0.0-dev.80",
20
- "@itwin/core-backend": "4.0.0-dev.80",
18
+ "@itwin/core-bentley": "4.0.0-dev.82",
19
+ "@itwin/core-common": "4.0.0-dev.82",
20
+ "@itwin/core-backend": "4.0.0-dev.82",
21
21
  "glob": "^7.1.2",
22
22
  "yargs": "^17.4.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@itwin/build-tools": "4.0.0-dev.80",
25
+ "@itwin/build-tools": "4.0.0-dev.82",
26
26
  "@itwin/eslint-plugin": "^4.0.0-dev.33",
27
27
  "@types/chai": "4.3.1",
28
28
  "@types/mocha": "^8.2.2",