@itwin/rpcinterface-full-stack-tests 3.3.3 → 3.3.5
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/_c41d.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +11 -4
- 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_loaders_gl_draco_3_2_5_node_modules_loaders_gl_draco_di-e0b0bc.bundled-tests.js.map +1 -1
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_c41d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_c41d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\539\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.5\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -87519,7 +87519,7 @@ class RpcConfiguration {
|
|
|
87519
87519
|
/** The target interval (in milliseconds) between connection attempts for pending RPC operation requests. */
|
|
87520
87520
|
this.pendingOperationRetryInterval = 10000;
|
|
87521
87521
|
/** The maximum number of transient faults permitted before request failure. */
|
|
87522
|
-
this.transientFaultLimit =
|
|
87522
|
+
this.transientFaultLimit = 4;
|
|
87523
87523
|
/** @internal */
|
|
87524
87524
|
this.routing = _RpcRoutingToken__WEBPACK_IMPORTED_MODULE_5__.RpcRoutingToken["default"];
|
|
87525
87525
|
/** The control channel for the configuration.
|
|
@@ -87748,11 +87748,14 @@ var RpcRequestStatus;
|
|
|
87748
87748
|
RpcRequestStatus[RpcRequestStatus["BadGateway"] = 10] = "BadGateway";
|
|
87749
87749
|
RpcRequestStatus[RpcRequestStatus["ServiceUnavailable"] = 11] = "ServiceUnavailable";
|
|
87750
87750
|
RpcRequestStatus[RpcRequestStatus["GatewayTimeout"] = 12] = "GatewayTimeout";
|
|
87751
|
+
RpcRequestStatus[RpcRequestStatus["RequestTimeout"] = 13] = "RequestTimeout";
|
|
87752
|
+
RpcRequestStatus[RpcRequestStatus["TooManyRequests"] = 14] = "TooManyRequests";
|
|
87751
87753
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
87752
87754
|
/** @public */
|
|
87753
87755
|
(function (RpcRequestStatus) {
|
|
87754
87756
|
function isTransientError(status) {
|
|
87755
|
-
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
87757
|
+
return status === RpcRequestStatus.BadGateway || status === RpcRequestStatus.ServiceUnavailable || status === RpcRequestStatus.GatewayTimeout
|
|
87758
|
+
|| status === RpcRequestStatus.RequestTimeout || status === RpcRequestStatus.TooManyRequests;
|
|
87756
87759
|
}
|
|
87757
87760
|
RpcRequestStatus.isTransientError = isTransientError;
|
|
87758
87761
|
})(RpcRequestStatus || (RpcRequestStatus = {}));
|
|
@@ -90425,6 +90428,8 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.R
|
|
|
90425
90428
|
case 502: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway;
|
|
90426
90429
|
case 503: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable;
|
|
90427
90430
|
case 504: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout;
|
|
90431
|
+
case 408: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.RequestTimeout;
|
|
90432
|
+
case 429: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.TooManyRequests;
|
|
90428
90433
|
default: return _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.Unknown;
|
|
90429
90434
|
}
|
|
90430
90435
|
}
|
|
@@ -90439,6 +90444,8 @@ class WebAppRpcProtocol extends _core_RpcProtocol__WEBPACK_IMPORTED_MODULE_3__.R
|
|
|
90439
90444
|
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.BadGateway: return 502;
|
|
90440
90445
|
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.ServiceUnavailable: return 503;
|
|
90441
90446
|
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.GatewayTimeout: return 504;
|
|
90447
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.RequestTimeout: return 408;
|
|
90448
|
+
case _core_RpcConstants__WEBPACK_IMPORTED_MODULE_2__.RpcRequestStatus.TooManyRequests: return 429;
|
|
90442
90449
|
default: return 501;
|
|
90443
90450
|
}
|
|
90444
90451
|
}
|
|
@@ -287112,7 +287119,7 @@ class TestContext {
|
|
|
287112
287119
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
287113
287120
|
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` } });
|
|
287114
287121
|
await core_frontend_1.NoRenderApp.startup({
|
|
287115
|
-
applicationVersion: "3.3.
|
|
287122
|
+
applicationVersion: "3.3.5",
|
|
287116
287123
|
applicationId: this.settings.gprid,
|
|
287117
287124
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
287118
287125
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -305569,7 +305576,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305569
305576
|
/***/ ((module) => {
|
|
305570
305577
|
|
|
305571
305578
|
"use strict";
|
|
305572
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.3.
|
|
305579
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.3.5","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.5","@itwin/core-bentley":"workspace:^3.3.5","@itwin/core-common":"workspace:^3.3.5","@itwin/core-geometry":"workspace:^3.3.5","@itwin/core-orbitgt":"workspace:^3.3.5","@itwin/core-quantity":"workspace:^3.3.5","@itwin/webgl-compatibility":"workspace:^3.3.5"},"//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.3.1","@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":"^7.3.9","@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":"^4.0.0","typescript":"~4.4.0","webpack":"^5.64.4"},"//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":"^7.3.5","superagent":"7.1.3","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"}}]}}');
|
|
305573
305580
|
|
|
305574
305581
|
/***/ }),
|
|
305575
305582
|
|