@itwin/rpcinterface-full-stack-tests 3.3.0-dev.20 → 3.3.0-dev.23

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.
@@ -45488,6 +45488,145 @@ class StopWatch {
45488
45488
  }
45489
45489
 
45490
45490
 
45491
+ /***/ }),
45492
+
45493
+ /***/ "../../core/bentley/lib/esm/Tracing.js":
45494
+ /*!*****************************************************!*\
45495
+ !*** D:/vsts_a/9/s/core/bentley/lib/esm/Tracing.js ***!
45496
+ \*****************************************************/
45497
+ /*! exports provided: SpanKind, Tracing */
45498
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
45499
+
45500
+ "use strict";
45501
+ __webpack_require__.r(__webpack_exports__);
45502
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SpanKind", function() { return SpanKind; });
45503
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Tracing", function() { return Tracing; });
45504
+ /* harmony import */ var _Logger__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Logger */ "../../core/bentley/lib/esm/Logger.js");
45505
+
45506
+ // re-export so that consumers can construct full SpanOptions object without external dependencies
45507
+ /**
45508
+ * Mirrors the SpanKind enum from [@opentelemetry/api](https://open-telemetry.github.io/opentelemetry-js-api/enums/spankind)
45509
+ * @alpha
45510
+ */
45511
+ var SpanKind;
45512
+ (function (SpanKind) {
45513
+ SpanKind[SpanKind["INTERNAL"] = 0] = "INTERNAL";
45514
+ SpanKind[SpanKind["SERVER"] = 1] = "SERVER";
45515
+ SpanKind[SpanKind["CLIENT"] = 2] = "CLIENT";
45516
+ SpanKind[SpanKind["PRODUCER"] = 3] = "PRODUCER";
45517
+ SpanKind[SpanKind["CONSUMER"] = 4] = "CONSUMER";
45518
+ })(SpanKind || (SpanKind = {}));
45519
+ function isValidPrimitive(val) {
45520
+ return typeof val === "string" || typeof val === "number" || typeof val === "boolean";
45521
+ }
45522
+ // Only _homogenous_ arrays of strings, numbers, or booleans are supported as OpenTelemetry Attribute values.
45523
+ // Per the spec (https://opentelemetry.io/docs/reference/specification/common/common/#attribute), empty arrays and null values are supported too.
45524
+ function isValidPrimitiveArray(val) {
45525
+ if (!Array.isArray(val))
45526
+ return false;
45527
+ let itemType;
45528
+ for (const x of val) {
45529
+ if (x === undefined || x === null)
45530
+ continue;
45531
+ if (!itemType) {
45532
+ itemType = typeof x;
45533
+ if (!isValidPrimitive(x))
45534
+ return false;
45535
+ }
45536
+ if (typeof x !== itemType)
45537
+ return false;
45538
+ }
45539
+ return true;
45540
+ }
45541
+ function isPlainObject(obj) {
45542
+ return typeof obj === "object" && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
45543
+ }
45544
+ function* getFlatEntries(obj, path = "") {
45545
+ if (isValidPrimitiveArray(obj)) {
45546
+ yield [path, obj];
45547
+ return;
45548
+ }
45549
+ // Prefer JSON serialization over flattening for any non-POJO types.
45550
+ // There's just too many ways trying to flatten those can go wrong (Dates, Buffers, TypedArrays, etc.)
45551
+ if (!isPlainObject(obj) && !Array.isArray(obj)) {
45552
+ yield [path, isValidPrimitive(obj) ? obj : JSON.stringify(obj)];
45553
+ return;
45554
+ }
45555
+ // Always serialize empty objects/arrays as empty array values
45556
+ const entries = Object.entries(obj);
45557
+ if (entries.length === 0)
45558
+ yield [path, []];
45559
+ for (const [key, val] of entries)
45560
+ yield* getFlatEntries(val, (path === "") ? key : `${path}.${key}`);
45561
+ }
45562
+ function flattenObject(obj) {
45563
+ return Object.fromEntries(getFlatEntries(obj));
45564
+ }
45565
+ /**
45566
+ * Enables OpenTelemetry tracing in addition to traditional logging.
45567
+ * @alpha
45568
+ */
45569
+ class Tracing {
45570
+ /**
45571
+ * If OpenTelemetry tracing is enabled, creates a new span and runs the provided function in it.
45572
+ * If OpenTelemetry tracing is _not_ enabled, runs the provided function.
45573
+ * @param name name of the new span
45574
+ * @param fn function to run inside the new span
45575
+ * @param options span options
45576
+ * @param parentContext optional context used to retrieve parent span id
45577
+ */
45578
+ static async withSpan(name, fn, options, parentContext) {
45579
+ if (Tracing._tracer === undefined || Tracing._openTelemetry === undefined)
45580
+ return fn();
45581
+ // this case is for context propagation - parentContext is typically constructed from HTTP headers
45582
+ const parent = parentContext === undefined
45583
+ ? Tracing._openTelemetry.context.active()
45584
+ : Tracing._openTelemetry.trace.setSpanContext(Tracing._openTelemetry.context.active(), parentContext);
45585
+ return Tracing._openTelemetry.context.with(Tracing._openTelemetry.trace.setSpan(parent, Tracing._tracer.startSpan(name, options, Tracing._openTelemetry.context.active())), async () => {
45586
+ var _a, _b, _c, _d;
45587
+ try {
45588
+ return await fn();
45589
+ }
45590
+ catch (err) {
45591
+ if (err instanceof Error) // ignore non-Error throws, such as RpcControlResponse
45592
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttribute("error", true);
45593
+ throw err;
45594
+ }
45595
+ finally {
45596
+ (_d = (_c = Tracing._openTelemetry) === null || _c === void 0 ? void 0 : _c.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _d === void 0 ? void 0 : _d.end();
45597
+ }
45598
+ });
45599
+ }
45600
+ /**
45601
+ * Enable logging to OpenTelemetry. [[Tracing.withSpan]] will be enabled, all log entries will be attached to active span as span events.
45602
+ * [[IModelHost.startup]] will call this automatically if it succeeds in requiring `@opentelemetry/api`.
45603
+ * @note Node.js OpenTelemetry SDK should be initialized by the user.
45604
+ */
45605
+ static enableOpenTelemetry(tracer, api) {
45606
+ Tracing._tracer = tracer;
45607
+ Tracing._openTelemetry = api;
45608
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logTrace = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logTrace);
45609
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logInfo = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logInfo);
45610
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logWarning = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logWarning);
45611
+ _Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError = Tracing.withOpenTelemetry(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError);
45612
+ }
45613
+ static withOpenTelemetry(base, isError = false) {
45614
+ return (category, message, metaData) => {
45615
+ var _a, _b;
45616
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.addEvent(message, { ...flattenObject(_Logger__WEBPACK_IMPORTED_MODULE_0__["Logger"].getMetaData(metaData)), error: isError });
45617
+ base(category, message, metaData);
45618
+ };
45619
+ }
45620
+ /** Set attributes on currently active openTelemetry span. Doesn't do anything if openTelemetry logging is not initialized.
45621
+ * @param attributes The attributes to set
45622
+ */
45623
+ static setAttributes(attributes) {
45624
+ var _a, _b;
45625
+ (_b = (_a = Tracing._openTelemetry) === null || _a === void 0 ? void 0 : _a.trace.getSpan(Tracing._openTelemetry.context.active())) === null || _b === void 0 ? void 0 : _b.setAttributes(attributes);
45626
+ }
45627
+ }
45628
+
45629
+
45491
45630
  /***/ }),
45492
45631
 
45493
45632
  /***/ "../../core/bentley/lib/esm/UnexpectedErrors.js":
@@ -45650,7 +45789,7 @@ class YieldManager {
45650
45789
  /*!**********************************************************!*\
45651
45790
  !*** D:/vsts_a/9/s/core/bentley/lib/esm/core-bentley.js ***!
45652
45791
  \**********************************************************/
45653
- /*! exports provided: assert, AsyncMutex, BeEvent, BeUiEvent, BeEventList, BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, RealityDataStatus, BentleyError, BentleyLoggerCategory, StatusCategory, SuccessCategory, ErrorCategory, OpenMode, DbOpcode, DbResult, ByteStream, isProperSubclassOf, isSubclassOf, compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined, CompressedId64Set, OrderedId64Array, MutableCompressedId64Set, Dictionary, isIDisposable, dispose, disposeArray, using, DisposableList, Id64, TransientIdSequence, Guid, IndexedValue, IndexMap, JsonUtils, LogLevel, Logger, PerfLogger, Entry, LRUCache, LRUMap, LRUDictionary, ObservableSet, AbandonedError, OneAtATimeAction, OrderedId64Iterable, ReadonlyOrderedSet, OrderedSet, partitionArray, PriorityQueue, ProcessDetector, shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray, utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array, BeDuration, BeTimePoint, StopWatch, UnexpectedErrors, isInstanceOf, asInstanceOf, YieldManager */
45792
+ /*! exports provided: assert, AsyncMutex, BeEvent, BeUiEvent, BeEventList, BentleyStatus, IModelStatus, BriefcaseStatus, RpcInterfaceStatus, ChangeSetStatus, RepositoryStatus, HttpStatus, IModelHubStatus, AuthStatus, GeoServiceStatus, RealityDataStatus, BentleyError, BentleyLoggerCategory, StatusCategory, SuccessCategory, ErrorCategory, OpenMode, DbOpcode, DbResult, ByteStream, isProperSubclassOf, isSubclassOf, compareWithTolerance, compareNumbers, compareBooleans, compareStrings, comparePossiblyUndefined, compareStringsOrUndefined, compareNumbersOrUndefined, compareBooleansOrUndefined, areEqualPossiblyUndefined, CompressedId64Set, OrderedId64Array, MutableCompressedId64Set, Dictionary, isIDisposable, dispose, disposeArray, using, DisposableList, Id64, TransientIdSequence, Guid, IndexedValue, IndexMap, JsonUtils, LogLevel, Logger, PerfLogger, Entry, LRUCache, LRUMap, LRUDictionary, ObservableSet, AbandonedError, OneAtATimeAction, OrderedId64Iterable, ReadonlyOrderedSet, OrderedSet, partitionArray, PriorityQueue, ProcessDetector, shallowClone, lowerBound, DuplicatePolicy, ReadonlySortedArray, SortedArray, utf8ToStringPolyfill, utf8ToString, base64StringToUint8Array, BeDuration, BeTimePoint, StopWatch, SpanKind, Tracing, UnexpectedErrors, isInstanceOf, asInstanceOf, YieldManager */
45654
45793
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
45655
45794
 
45656
45795
  "use strict";
@@ -45841,16 +45980,21 @@ __webpack_require__.r(__webpack_exports__);
45841
45980
 
45842
45981
  /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "StopWatch", function() { return _Time__WEBPACK_IMPORTED_MODULE_29__["StopWatch"]; });
45843
45982
 
45844
- /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../core/bentley/lib/esm/UnexpectedErrors.js");
45845
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_30__["UnexpectedErrors"]; });
45983
+ /* harmony import */ var _Tracing__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./Tracing */ "../../core/bentley/lib/esm/Tracing.js");
45984
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SpanKind", function() { return _Tracing__WEBPACK_IMPORTED_MODULE_30__["SpanKind"]; });
45846
45985
 
45847
- /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UtilityTypes */ "../../core/bentley/lib/esm/UtilityTypes.js");
45848
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__["isInstanceOf"]; });
45986
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Tracing", function() { return _Tracing__WEBPACK_IMPORTED_MODULE_30__["Tracing"]; });
45849
45987
 
45850
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_31__["asInstanceOf"]; });
45988
+ /* harmony import */ var _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./UnexpectedErrors */ "../../core/bentley/lib/esm/UnexpectedErrors.js");
45989
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "UnexpectedErrors", function() { return _UnexpectedErrors__WEBPACK_IMPORTED_MODULE_31__["UnexpectedErrors"]; });
45851
45990
 
45852
- /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./YieldManager */ "../../core/bentley/lib/esm/YieldManager.js");
45853
- /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "YieldManager", function() { return _YieldManager__WEBPACK_IMPORTED_MODULE_32__["YieldManager"]; });
45991
+ /* harmony import */ var _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./UtilityTypes */ "../../core/bentley/lib/esm/UtilityTypes.js");
45992
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "isInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__["isInstanceOf"]; });
45993
+
45994
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "asInstanceOf", function() { return _UtilityTypes__WEBPACK_IMPORTED_MODULE_32__["asInstanceOf"]; });
45995
+
45996
+ /* harmony import */ var _YieldManager__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./YieldManager */ "../../core/bentley/lib/esm/YieldManager.js");
45997
+ /* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "YieldManager", function() { return _YieldManager__WEBPACK_IMPORTED_MODULE_33__["YieldManager"]; });
45854
45998
 
45855
45999
  /*---------------------------------------------------------------------------------------------
45856
46000
  * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
@@ -45887,6 +46031,7 @@ __webpack_require__.r(__webpack_exports__);
45887
46031
 
45888
46032
 
45889
46033
 
46034
+
45890
46035
 
45891
46036
 
45892
46037
  /** @docs-package-description
@@ -70864,6 +71009,7 @@ class IModelNotFoundResponse extends _core_RpcControl__WEBPACK_IMPORTED_MODULE_4
70864
71009
  constructor() {
70865
71010
  super(...arguments);
70866
71011
  this.isIModelNotFoundResponse = true;
71012
+ this.message = "iModel not found";
70867
71013
  }
70868
71014
  }
70869
71015
  /** The RPC interface for reading from an iModel.
@@ -71574,6 +71720,9 @@ __webpack_require__.r(__webpack_exports__);
71574
71720
  * @public
71575
71721
  */
71576
71722
  class RpcControlResponse {
71723
+ constructor() {
71724
+ this.message = "RpcControlResponse";
71725
+ }
71577
71726
  }
71578
71727
  /** A pending RPC operation response.
71579
71728
  * @public
@@ -71589,6 +71738,10 @@ class RpcPendingResponse extends RpcControlResponse {
71589
71738
  * @public
71590
71739
  */
71591
71740
  class RpcNotFoundResponse extends RpcControlResponse {
71741
+ constructor() {
71742
+ super(...arguments);
71743
+ this.message = "Not found";
71744
+ }
71592
71745
  }
71593
71746
  /** Manages requests and responses for an RPC configuration.
71594
71747
  * @internal
@@ -71816,10 +71969,17 @@ class RpcInvocation {
71816
71969
  const impl = _RpcRegistry__WEBPACK_IMPORTED_MODULE_10__["RpcRegistry"].instance.getImplForInterface(this.operation.interfaceDefinition);
71817
71970
  impl[_RpcRegistry__WEBPACK_IMPORTED_MODULE_10__["CURRENT_INVOCATION"]] = this;
71818
71971
  const op = this.lookupOperationFunction(impl);
71819
- return await RpcInvocation.runActivity(activity, async () => op.call(impl, ...parameters));
71972
+ return await RpcInvocation.runActivity(activity, async () => op.call(impl, ...parameters)
71973
+ .catch(async (error) => {
71974
+ // this catch block is intentionally placed inside `runActivity` to attach the right logging metadata and use the correct openTelemetry span.
71975
+ if (!(error instanceof _RpcControl__WEBPACK_IMPORTED_MODULE_6__["RpcPendingResponse"])) {
71976
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__["CommonLoggerCategory"].RpcInterfaceBackend, "Error in RPC operation", { error: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BentleyError"].getErrorProps(error) });
71977
+ _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Tracing"].setAttributes({ error: true });
71978
+ }
71979
+ throw error;
71980
+ }));
71820
71981
  }
71821
71982
  catch (error) {
71822
- _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["Logger"].logError(_CommonLoggerCategory__WEBPACK_IMPORTED_MODULE_1__["CommonLoggerCategory"].RpcInterfaceBackend, "Error in RPC operation", { error: _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__["BentleyError"].getErrorProps(error), ...RpcInvocation.sanitizeForLog(activity) });
71823
71983
  return this.reject(error);
71824
71984
  }
71825
71985
  }
@@ -169808,7 +169968,7 @@ SetupWalkCameraTool.iconSpec = "icon-camera-location";
169808
169968
  /*! exports provided: name, version, description, main, module, typings, license, scripts, repository, keywords, author, peerDependencies, //devDependencies, devDependencies, //dependencies, dependencies, nyc, eslintConfig, default */
169809
169969
  /***/ (function(module) {
169810
169970
 
169811
- module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.20\",\"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\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -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\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.20\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.20\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.20\"},\"//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\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.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/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
169971
+ module.exports = JSON.parse("{\"name\":\"@itwin/core-frontend\",\"version\":\"3.3.0-dev.23\",\"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\",\"build:ci\":\"npm run -s build && npm run -s build:esm\",\"build:cjs\":\"tsc 1>&2 --outDir lib/cjs\",\"build:esm\":\"tsc 1>&2 --module ES2020 --outDir lib/esm\",\"clean\":\"rimraf lib .rush/temp/package-deps*.json\",\"copy:public\":\"cpx \\\"./src/public/**/*\\\" ./lib/public\",\"docs\":\"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/primitives,**/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-eslintrc -c \\\"../../tools/eslint-plugin/dist/configs/extension-exports-config.js\\\" \\\"./src/**/*.ts\\\" 1>&2\",\"lint\":\"eslint -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\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/iTwin/itwinjs-core/tree/master/core/frontend\"},\"keywords\":[\"Bentley\",\"BIM\",\"iModel\",\"digital-twin\",\"iTwin\"],\"author\":{\"name\":\"Bentley Systems, Inc.\",\"url\":\"http://www.bentley.com\"},\"peerDependencies\":{\"@itwin/appui-abstract\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-bentley\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-common\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-geometry\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-orbitgt\":\"workspace:^3.3.0-dev.23\",\"@itwin/core-quantity\":\"workspace:^3.3.0-dev.23\",\"@itwin/webgl-compatibility\":\"workspace:^3.3.0-dev.23\"},\"//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\":\"workspace:*\",\"@itwin/webgl-compatibility\":\"workspace:*\",\"@types/chai\":\"^4.1.4\",\"@types/chai-as-promised\":\"^7\",\"@types/deep-assign\":\"^0.1.0\",\"@types/lodash\":\"^4.14.0\",\"@types/mocha\":\"^8.2.2\",\"@types/node\":\"16.11.7\",\"@types/qs\":\"^6.5.0\",\"@types/semver\":\"^5.5.0\",\"@types/superagent\":\"^4.1.14\",\"@types/sinon\":\"^9.0.0\",\"chai\":\"^4.1.2\",\"chai-as-promised\":\"^7\",\"cpx2\":\"^3.0.0\",\"eslint\":\"^7.11.0\",\"glob\":\"^7.1.2\",\"mocha\":\"^10.0.0\",\"nyc\":\"^15.1.0\",\"rimraf\":\"^3.0.2\",\"sinon\":\"^9.0.2\",\"source-map-loader\":\"^1.0.0\",\"typescript\":\"~4.4.0\",\"webpack\":\"4.42.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/core-i18n\":\"workspace:*\",\"@itwin/core-telemetry\":\"workspace:*\",\"@loaders.gl/core\":\"^3.1.6\",\"@loaders.gl/draco\":\"^3.1.6\",\"deep-assign\":\"^2.0.0\",\"fuse.js\":\"^3.3.0\",\"lodash\":\"^4.17.10\",\"qs\":\"^6.5.1\",\"semver\":\"^5.5.0\",\"superagent\":\"^7.0.1\",\"wms-capabilities\":\"0.4.0\",\"xml-js\":\"~1.6.11\"},\"nyc\":{\"extends\":\"./node_modules/@itwin/build-tools/.nycrc\"},\"eslintConfig\":{\"plugins\":[\"@itwin\"],\"extends\":\"plugin:@itwin/itwinjs-recommended\",\"rules\":{\"@itwin/no-internal-barrel-imports\":[\"error\",{\"required-barrel-modules\":[\"./src/tile/internal.ts\"]}],\"@itwin/public-extension-exports\":[\"error\",{\"releaseTags\":[\"public\",\"preview\"],\"outputApiFile\":false}]},\"overrides\":[{\"files\":[\"*.test.ts\",\"*.test.tsx\",\"**/test/**/*.ts\"],\"rules\":{\"@itwin/no-internal-barrel-imports\":\"off\"}}]}}");
169812
169972
 
169813
169973
  /***/ }),
169814
169974
 
@@ -283260,7 +283420,7 @@ class TestContext {
283260
283420
  this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
283261
283421
  const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${(_a = process.env.IMJS_URL_PREFIX) !== null && _a !== void 0 ? _a : ""}api.bentley.com/imodels` } });
283262
283422
  await core_frontend_1.NoRenderApp.startup({
283263
- applicationVersion: "3.3.0-dev.20",
283423
+ applicationVersion: "3.3.0-dev.23",
283264
283424
  applicationId: this.settings.gprid,
283265
283425
  authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
283266
283426
  hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),