@itwin/ecschema-rpcinterface-tests 5.5.0-dev.14 → 5.5.0-dev.16
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/dist/bundled-tests.js +10 -5
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_cross-fetch_4_0_0_node_modules_cross-fetch_dist_browser-24291b.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_4_3_4_node_modules_loaders_gl_draco_di-40e622.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -61789,9 +61789,10 @@ class SchemaCache {
|
|
|
61789
61789
|
// This promise is cached and will be awaited when the user requests the full schema.
|
|
61790
61790
|
// If the promise competes successfully before the user requests the schema it will be removed from the cache
|
|
61791
61791
|
// If it fails it will remain in the cache until the user awaits it and handles the error
|
|
61792
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
|
61793
61792
|
schemaPromise.then(() => {
|
|
61794
61793
|
this.removeSchemaPromise(schemaInfo.schemaKey);
|
|
61794
|
+
}).catch(() => {
|
|
61795
|
+
// Leave the promise in the cache so that when the user requests the schema they get the rejection
|
|
61795
61796
|
});
|
|
61796
61797
|
}
|
|
61797
61798
|
/**
|
|
@@ -76203,9 +76204,13 @@ class SchemaLoadingController {
|
|
|
76203
76204
|
*/
|
|
76204
76205
|
start(promise) {
|
|
76205
76206
|
this._inProgress = true;
|
|
76206
|
-
|
|
76207
|
+
promise.then(() => {
|
|
76207
76208
|
this._complete = true;
|
|
76208
76209
|
this._inProgress = false;
|
|
76210
|
+
}).catch(() => {
|
|
76211
|
+
// Errors are handled when wait() is called. This catch prevents unhandled rejection warnings.
|
|
76212
|
+
this._complete = false;
|
|
76213
|
+
this._inProgress = false;
|
|
76209
76214
|
});
|
|
76210
76215
|
this._promise = promise;
|
|
76211
76216
|
}
|
|
@@ -80528,9 +80533,9 @@ class AccuSnap {
|
|
|
80528
80533
|
const geom = (hit.isElementHit ? _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.viewManager.overrideElementGeometry(hit) : _IModelApp__WEBPACK_IMPORTED_MODULE_4__.IModelApp.viewManager.getDecorationGeometry(hit));
|
|
80529
80534
|
if (undefined !== geom) {
|
|
80530
80535
|
if (undefined === requestProps.decorationGeometry)
|
|
80531
|
-
requestProps.decorationGeometry = [{ id:
|
|
80536
|
+
requestProps.decorationGeometry = [{ id: hit.sourceId, geometryStream: geom }];
|
|
80532
80537
|
else
|
|
80533
|
-
requestProps.decorationGeometry.push({ id:
|
|
80538
|
+
requestProps.decorationGeometry.push({ id: hit.sourceId, geometryStream: geom });
|
|
80534
80539
|
}
|
|
80535
80540
|
else if (!hit.isElementHit) {
|
|
80536
80541
|
continue;
|
|
@@ -320639,7 +320644,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
320639
320644
|
/***/ ((module) => {
|
|
320640
320645
|
|
|
320641
320646
|
"use strict";
|
|
320642
|
-
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.5.0-dev.
|
|
320647
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"@itwin/core-frontend","version":"5.5.0-dev.16","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers && npm run -s copy:draco","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2022 --outDir lib/esm","clean":"rimraf -g lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","copy:draco":"cpx \\"./node_modules/@loaders.gl/draco/dist/libs/*\\" ./lib/public/scripts","docs":"betools docs --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint --no-inline-config -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-deprecation":"eslint --fix -f visualstudio --no-inline-config -c ../../common/config/eslint/eslint.config.deprecation-policy.js \\"./src/**/*.ts\\"","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run webpackTestWorker && vitest --run","cover":"npm run webpackTestWorker && vitest --run","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/ecschema-metadata":"workspace:*","@itwin/ecschema-rpcinterface-common":"workspace:*","@itwin/object-storage-core":"^3.0.4","@itwin/eslint-plugin":"5.2.2-dev.2","@types/chai-as-promised":"^7","@types/draco3d":"^1.4.10","@types/sinon":"^17.0.2","@vitest/browser":"^3.0.6","@vitest/coverage-v8":"^3.0.6","cpx2":"^8.0.0","eslint":"^9.31.0","glob":"^10.5.0","playwright":"~1.56.1","rimraf":"^6.0.1","sinon":"^17.0.2","source-map-loader":"^5.0.0","typescript":"~5.6.2","typemoq":"^2.1.0","vitest":"^3.0.6","vite-multiple-assets":"^1.3.1","vite-plugin-static-copy":"2.2.0","webpack":"^5.97.1"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/core-i18n":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/draco":"^4.3.4","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"}}');
|
|
320643
320648
|
|
|
320644
320649
|
/***/ })
|
|
320645
320650
|
|