@itwin/workspace-editor 3.4.0-dev.32 → 3.4.0-dev.35
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/lib/WorkspaceEditor.js +2 -2
- package/package.json +6 -6
package/lib/WorkspaceEditor.js
CHANGED
|
@@ -322,7 +322,7 @@ async function initializeWorkspace(args) {
|
|
|
322
322
|
if (yesNo[0].toUpperCase() !== "Y")
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
325
|
-
const container = core_backend_1.
|
|
325
|
+
const container = core_backend_1.CloudSqlite.createCloudContainer(args);
|
|
326
326
|
container.initializeContainer({ checksumBlockNames: true });
|
|
327
327
|
showMessage(`container "${args.containerId} initialized`);
|
|
328
328
|
}
|
|
@@ -362,7 +362,7 @@ async function preFetchWorkspaceDb(args) {
|
|
|
362
362
|
fixVersionArg(args);
|
|
363
363
|
const container = getCloudContainer(args);
|
|
364
364
|
const timer = new core_bentley_1.StopWatch("prefetch", true);
|
|
365
|
-
const prefetch = core_backend_1.
|
|
365
|
+
const prefetch = core_backend_1.CloudSqlite.startCloudPrefetch(container, args.dbFileName);
|
|
366
366
|
await prefetch.promise;
|
|
367
367
|
showMessage(`preFetched WorkspaceDb [${args.dbFileName}] in ${sayContainer(args)}, time=${timer.elapsedSeconds.toString()}`);
|
|
368
368
|
}
|
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": "3.4.0-dev.
|
|
5
|
+
"version": "3.4.0-dev.35",
|
|
6
6
|
"bin": {
|
|
7
7
|
"WorkspaceEditor": "./lib/WorkspaceEditor.js"
|
|
8
8
|
},
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"url": "https://github.com/iTwin/itwinjs-core/tree/master/utils/workspace-editor"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@itwin/core-bentley": "3.4.0-dev.
|
|
18
|
-
"@itwin/core-common": "3.4.0-dev.
|
|
19
|
-
"@itwin/core-backend": "3.4.0-dev.
|
|
17
|
+
"@itwin/core-bentley": "3.4.0-dev.35",
|
|
18
|
+
"@itwin/core-common": "3.4.0-dev.35",
|
|
19
|
+
"@itwin/core-backend": "3.4.0-dev.35",
|
|
20
20
|
"glob": "^7.1.2",
|
|
21
21
|
"yargs": "^17.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@itwin/build-tools": "3.4.0-dev.
|
|
25
|
-
"@itwin/eslint-plugin": "3.4.0-dev.
|
|
24
|
+
"@itwin/build-tools": "3.4.0-dev.35",
|
|
25
|
+
"@itwin/eslint-plugin": "3.4.0-dev.35",
|
|
26
26
|
"@types/chai": "4.3.1",
|
|
27
27
|
"@types/mocha": "^8.2.2",
|
|
28
28
|
"@types/yargs": "^17.0.10",
|