@itwin/rpcinterface-full-stack-tests 4.8.0-dev.10 → 4.8.0-dev.11
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/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +16 -13
- 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_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\
|
|
1
|
+
{"version":3,"file":"_bea9.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_a\\6\\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":""}
|
|
@@ -63374,7 +63374,7 @@ class RpcRequest {
|
|
|
63374
63374
|
for (const param of this.parameters) {
|
|
63375
63375
|
if (typeof (param) === "object" && param !== null) {
|
|
63376
63376
|
for (const prop of Object.getOwnPropertyNames(requiredProperties)) {
|
|
63377
|
-
if (
|
|
63377
|
+
if (prop in param && typeof (param[prop]) === requiredProperties[prop]) {
|
|
63378
63378
|
return param;
|
|
63379
63379
|
}
|
|
63380
63380
|
}
|
|
@@ -64087,7 +64087,6 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
|
|
|
64087
64087
|
*/
|
|
64088
64088
|
inflateToken(tokenFromBody, request) {
|
|
64089
64089
|
const urlPathComponents = request.path.split("/");
|
|
64090
|
-
const iModelKey = tokenFromBody.key;
|
|
64091
64090
|
let iModelId = tokenFromBody.iModelId;
|
|
64092
64091
|
let iTwinId = tokenFromBody.iTwinId;
|
|
64093
64092
|
const changeset = { id: tokenFromBody.changeset?.id ?? "0", index: tokenFromBody.changeset?.index };
|
|
@@ -64110,7 +64109,9 @@ class BentleyCloudRpcProtocol extends _WebAppRpcProtocol__WEBPACK_IMPORTED_MODUL
|
|
|
64110
64109
|
++i;
|
|
64111
64110
|
}
|
|
64112
64111
|
}
|
|
64113
|
-
|
|
64112
|
+
// Overwrite the key if it includes a : because its most likely a guid. We know what it should be based off of the url.
|
|
64113
|
+
// Leave it alone if its a non guid key.
|
|
64114
|
+
return { key: tokenFromBody.key === undefined || tokenFromBody.key.includes(":") ? `${iModelId}:${changeset.id}` : tokenFromBody.key, iTwinId, iModelId, changeset };
|
|
64114
64115
|
}
|
|
64115
64116
|
/** Returns the OpenAPI-compatible URI path parameters for an RPC operation.
|
|
64116
64117
|
* @internal
|
|
@@ -203574,11 +203575,12 @@ class CurveCurveCloseApproachXY extends _geometry3d_GeometryHandler__WEBPACK_IMP
|
|
|
203574
203575
|
}
|
|
203575
203576
|
/** Solve Newton for 2 arcs and the given newtonEvaluator. */
|
|
203576
203577
|
solveArcArcNewton(curveP, curveQ, reversed, newtonEvaluator) {
|
|
203577
|
-
|
|
203578
|
-
const
|
|
203578
|
+
// HEURISTIC: 2 ellipses have up to 8 perpendiculars and up to 4 intersections
|
|
203579
|
+
const seedDelta = 1 / 10; // denominator 9 fails the unit test
|
|
203580
|
+
const seedStart = seedDelta / 2;
|
|
203579
203581
|
const newtonSearcher = new _numerics_Newton__WEBPACK_IMPORTED_MODULE_6__.Newton2dUnboundedWithDerivative(newtonEvaluator);
|
|
203580
|
-
for (
|
|
203581
|
-
for (
|
|
203582
|
+
for (let seedU = seedStart; seedU < 1; seedU += seedDelta) {
|
|
203583
|
+
for (let seedV = seedStart; seedV < 1; seedV += seedDelta) {
|
|
203582
203584
|
newtonSearcher.setUV(seedU, seedV);
|
|
203583
203585
|
if (newtonSearcher.runIterations()) {
|
|
203584
203586
|
const curvePFraction = newtonSearcher.getU();
|
|
@@ -237230,10 +237232,10 @@ class SmallSystem {
|
|
|
237230
237232
|
return false;
|
|
237231
237233
|
}
|
|
237232
237234
|
/**
|
|
237233
|
-
* Solve a linear system
|
|
237234
|
-
* * x equation: `
|
|
237235
|
-
* * y equation: `
|
|
237236
|
-
* * z equation: `
|
|
237235
|
+
* Solve a linear system:
|
|
237236
|
+
* * x equation: `axx * u + axy * v + axz * w = cx`
|
|
237237
|
+
* * y equation: `ayx * u + ayy * v + ayz * w = cy`
|
|
237238
|
+
* * z equation: `azx * u + azy * v + azz * w = cz`
|
|
237237
237239
|
* @param axx row 0, column 0 coefficient
|
|
237238
237240
|
* @param axy row 0, column 1 coefficient
|
|
237239
237241
|
* @param axz row 0, column 1 coefficient
|
|
@@ -237247,6 +237249,7 @@ class SmallSystem {
|
|
|
237247
237249
|
* @param cy right hand side row 1 coefficient
|
|
237248
237250
|
* @param cz right hand side row 2 coefficient
|
|
237249
237251
|
* @param result optional result.
|
|
237252
|
+
* @returns solution vector (u,v,w) or `undefined` if system is singular.
|
|
237250
237253
|
*/
|
|
237251
237254
|
static linearSystem3d(axx, axy, axz, // first row of matrix
|
|
237252
237255
|
ayx, ayy, ayz, // second row of matrix
|
|
@@ -290684,7 +290687,7 @@ class TestContext {
|
|
|
290684
290687
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
290685
290688
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
290686
290689
|
await core_frontend_1.NoRenderApp.startup({
|
|
290687
|
-
applicationVersion: "4.8.0-dev.
|
|
290690
|
+
applicationVersion: "4.8.0-dev.11",
|
|
290688
290691
|
applicationId: this.settings.gprid,
|
|
290689
290692
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
290690
290693
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -314677,7 +314680,7 @@ function __disposeResources(env) {
|
|
|
314677
314680
|
/***/ ((module) => {
|
|
314678
314681
|
|
|
314679
314682
|
"use strict";
|
|
314680
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.8.0-dev.
|
|
314683
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.8.0-dev.11","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 --no-inline-config -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.8.0-dev.11","@itwin/core-bentley":"workspace:^4.8.0-dev.11","@itwin/core-common":"workspace:^4.8.0-dev.11","@itwin/core-geometry":"workspace:^4.8.0-dev.11","@itwin/core-orbitgt":"workspace:^4.8.0-dev.11","@itwin/core-quantity":"workspace:^4.8.0-dev.11"},"//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.2","@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.56.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.3.3","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","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
314681
314684
|
|
|
314682
314685
|
/***/ }),
|
|
314683
314686
|
|