@itwin/rpcinterface-full-stack-tests 4.4.0-dev.31 → 4.4.0-dev.33

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.
@@ -1 +1 @@
1
- {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\7\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\150\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.1.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
@@ -30890,15 +30890,12 @@ class Logger {
30890
30890
  const stack = Logger.logExceptionCallstacks ? `\n${_BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorStack(err)}` : "";
30891
30891
  return _BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMessage(err) + stack;
30892
30892
  }
30893
- /** Log the specified exception. The special "ExceptionType" property will be added as metadata,
30894
- * in addition to any other metadata that may be supplied by the caller, unless the
30895
- * metadata supplied by the caller already includes this property.
30893
+ /** Log the specified exception. The special "ExceptionType" property will be added as metadata.
30896
30894
  * @param category The category of the message.
30897
30895
  * @param err The exception object.
30898
30896
  * @param log The logger output function to use - defaults to Logger.logError
30899
- * @param metaData Optional data for the message
30900
30897
  */
30901
- static logException(category, err, log = (_category, message) => Logger.logError(_category, message)) {
30898
+ static logException(category, err, log = (_category, message, metaData) => Logger.logError(_category, message, metaData)) {
30902
30899
  log(category, Logger.getExceptionMessage(err), () => {
30903
30900
  return { ..._BentleyError__WEBPACK_IMPORTED_MODULE_0__.BentleyError.getErrorMetadata(err), exceptionType: err.constructor.name };
30904
30901
  });
@@ -61076,7 +61073,7 @@ var RpcResponseCacheControl;
61076
61073
  })(RpcResponseCacheControl || (RpcResponseCacheControl = {}));
61077
61074
  /** RPC protocol event types.
61078
61075
  * @public
61079
- * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0.
61076
+ * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
61080
61077
  */
61081
61078
  var RpcProtocolEvent;
61082
61079
  (function (RpcProtocolEvent) {
@@ -61096,7 +61093,7 @@ var RpcProtocolEvent;
61096
61093
  })(RpcProtocolEvent || (RpcProtocolEvent = {}));
61097
61094
  /** The status of an RPC operation request.
61098
61095
  * @public
61099
- * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0.
61096
+ * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
61100
61097
  */
61101
61098
  var RpcRequestStatus;
61102
61099
  (function (RpcRequestStatus) {
@@ -61116,7 +61113,7 @@ var RpcRequestStatus;
61116
61113
  RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
61117
61114
  RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
61118
61115
  })(RpcRequestStatus || (RpcRequestStatus = {}));
61119
- /** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0. */
61116
+ /** @public @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future. */
61120
61117
  (function (RpcRequestStatus) {
61121
61118
  function isTransientError(status) {
61122
61119
  return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
@@ -61126,7 +61123,7 @@ var RpcRequestStatus;
61126
61123
  })(RpcRequestStatus || (RpcRequestStatus = {}));
61127
61124
  /** RPC request event types.
61128
61125
  * @public
61129
- * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0.
61126
+ * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
61130
61127
  */
61131
61128
  var RpcRequestEvent;
61132
61129
  (function (RpcRequestEvent) {
@@ -61136,7 +61133,7 @@ var RpcRequestEvent;
61136
61133
  })(RpcRequestEvent || (RpcRequestEvent = {}));
61137
61134
  /** RPC content types.
61138
61135
  * @public
61139
- * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0.
61136
+ * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
61140
61137
  */
61141
61138
  var RpcContentType;
61142
61139
  (function (RpcContentType) {
@@ -61148,7 +61145,7 @@ var RpcContentType;
61148
61145
  })(RpcContentType || (RpcContentType = {}));
61149
61146
  /** Endpoints for RPC protocols.
61150
61147
  * @public
61151
- * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in version 5.0.
61148
+ * @deprecated in 3.6. The RPC system will be significantly refactored (or replaced) in the future.
61152
61149
  */
61153
61150
  var RpcEndpoint;
61154
61151
  (function (RpcEndpoint) {
@@ -123876,6 +123873,12 @@ class RealityMeshGeometry extends _CachedGeometry__WEBPACK_IMPORTED_MODULE_7__.I
123876
123873
  }
123877
123874
  collectStatistics(stats) {
123878
123875
  this._isTerrain ? stats.addTerrain(this._realityMeshParams.bytesUsed) : stats.addRealityMesh(this._realityMeshParams.bytesUsed);
123876
+ if (this.textureParams?.params) {
123877
+ for (const param of this.textureParams.params) {
123878
+ if (param.texture?.bytesUsed)
123879
+ stats.addTexture(param.texture.bytesUsed);
123880
+ }
123881
+ }
123879
123882
  }
123880
123883
  get techniqueId() { return 7 /* TechniqueId.RealityMesh */; }
123881
123884
  getPass(target) {
@@ -144565,9 +144568,17 @@ class GltfReader {
144565
144568
  renderGraphic = renderGraphicList[0];
144566
144569
  else
144567
144570
  renderGraphic = this._system.createGraphicList(renderGraphicList);
144568
- if (featureTable)
144569
- renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), contentRange);
144570
144571
  const transform = this.getTileTransform(transformToRoot, pseudoRtcBias);
144572
+ // Compute range in tileset/world space.
144573
+ let range = contentRange;
144574
+ const invTransform = transform?.inverse();
144575
+ if (invTransform)
144576
+ range = invTransform.multiplyRange(contentRange);
144577
+ // The batch range needs to be in tile coordinate space.
144578
+ // If we computed the content range ourselves, it's already in tile space.
144579
+ // If the content range was supplied by the caller, it's in tileset space and needs to be transformed to tile space.
144580
+ if (featureTable)
144581
+ renderGraphic = this._system.createBatch(renderGraphic, _itwin_core_common__WEBPACK_IMPORTED_MODULE_2__.PackedFeatureTable.pack(featureTable), this._computedContentRange ? contentRange : range);
144571
144582
  const viewFlagOverrides = this.viewFlagOverrides;
144572
144583
  if (transform || viewFlagOverrides) {
144573
144584
  const branch = new _render_GraphicBranch__WEBPACK_IMPORTED_MODULE_4__.GraphicBranch(true);
@@ -144576,8 +144587,6 @@ class GltfReader {
144576
144587
  branch.add(renderGraphic);
144577
144588
  renderGraphic = this._system.createBranch(branch, transform ?? _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_1__.Transform.createIdentity());
144578
144589
  }
144579
- const invTransform = transform?.inverse();
144580
- const range = invTransform ? invTransform.multiplyRange(contentRange) : contentRange;
144581
144590
  return {
144582
144591
  readStatus,
144583
144592
  isLeaf,
@@ -288587,7 +288596,7 @@ class TestContext {
288587
288596
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
288588
288597
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
288589
288598
  await core_frontend_1.NoRenderApp.startup({
288590
- applicationVersion: "4.4.0-dev.31",
288599
+ applicationVersion: "4.4.0-dev.33",
288591
288600
  applicationId: this.settings.gprid,
288592
288601
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
288593
288602
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
@@ -307420,7 +307429,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
307420
307429
  /***/ ((module) => {
307421
307430
 
307422
307431
  "use strict";
307423
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.0-dev.31","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","docs":"betools docs --includes=../../generated-docs/extract --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 -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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:^4.4.0-dev.31","@itwin/core-bentley":"workspace:^4.4.0-dev.31","@itwin/core-common":"workspace:^4.4.0-dev.31","@itwin/core-geometry":"workspace:^4.4.0-dev.31","@itwin/core-orbitgt":"workspace:^4.4.0-dev.31","@itwin/core-quantity":"workspace:^4.4.0-dev.31"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","typemoq":"^2.1.0","webpack":"^5.76.0"},"//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/cloud-agnostic-core":"^2.1.0","@itwin/object-storage-core":"^2.2.2","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
307432
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.4.0-dev.33","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","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 ES2020 --outDir lib/esm","clean":"rimraf 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","docs":"betools docs --includes=../../generated-docs/extract --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 -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","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:^4.4.0-dev.33","@itwin/core-bentley":"workspace:^4.4.0-dev.33","@itwin/core-common":"workspace:^4.4.0-dev.33","@itwin/core-geometry":"workspace:^4.4.0-dev.33","@itwin/core-orbitgt":"workspace:^4.4.0-dev.33","@itwin/core-quantity":"workspace:^4.4.0-dev.33"},"//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/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^7.1.2","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","typemoq":"^2.1.0","webpack":"^5.76.0"},"//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/cloud-agnostic-core":"^2.1.0","@itwin/object-storage-core":"^2.2.2","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
307424
307433
 
307425
307434
  /***/ }),
307426
307435