@itwin/ecschema-rpcinterface-tests 3.4.0-dev.8 → 3.4.0-dev.9
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/_b43d.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +29 -15
- 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_6_node_modules_loaders_gl_draco_di-b6a763.bundled-tests.js.map +1 -1
- package/package.json +16 -16
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_b43d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\
|
|
1
|
+
{"version":3,"file":"_b43d.bundled-tests.js","mappings":";;;;;;;;AAAA","sources":["file:///ignored|D:\\vsts_b\\15\\s\\common\\temp\\node_modules\\.pnpm\\@loaders.gl+worker-utils@3.2.6\\node_modules\\@loaders.gl\\worker-utils\\dist\\esm\\lib\\library-utils|../node/require-utils.node"],"names":[],"sourceRoot":""}
|
|
@@ -86454,6 +86454,7 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86454
86454
|
constructor() {
|
|
86455
86455
|
super();
|
|
86456
86456
|
this._handlers = new Map();
|
|
86457
|
+
this._processingQueue = [];
|
|
86457
86458
|
IpcWebSocket.receivers.add(async (e, m) => this.dispatch(e, m));
|
|
86458
86459
|
}
|
|
86459
86460
|
send(channel, ...data) {
|
|
@@ -86467,22 +86468,35 @@ class IpcWebSocketBackend extends IpcWebSocket {
|
|
|
86467
86468
|
};
|
|
86468
86469
|
}
|
|
86469
86470
|
async dispatch(_evt, message) {
|
|
86470
|
-
if (message.type !== IpcWebSocketMessageType.Invoke
|
|
86471
|
+
if (message.type !== IpcWebSocketMessageType.Invoke)
|
|
86471
86472
|
return;
|
|
86472
|
-
|
|
86473
|
-
|
|
86473
|
+
this._processingQueue.push(message);
|
|
86474
|
+
await this.processMessages();
|
|
86475
|
+
}
|
|
86476
|
+
async processMessages() {
|
|
86477
|
+
if (this._processing || !this._processingQueue.length) {
|
|
86474
86478
|
return;
|
|
86475
|
-
|
|
86476
|
-
|
|
86477
|
-
|
|
86478
|
-
|
|
86479
|
-
|
|
86480
|
-
|
|
86481
|
-
|
|
86482
|
-
|
|
86483
|
-
|
|
86484
|
-
|
|
86485
|
-
|
|
86479
|
+
}
|
|
86480
|
+
const message = this._processingQueue.shift();
|
|
86481
|
+
if (message && message.method) {
|
|
86482
|
+
const handler = this._handlers.get(message.channel);
|
|
86483
|
+
if (handler) {
|
|
86484
|
+
this._processing = message;
|
|
86485
|
+
let args = message.data;
|
|
86486
|
+
if (typeof (args) === "undefined")
|
|
86487
|
+
args = [];
|
|
86488
|
+
const response = await handler({}, message.method, ...args);
|
|
86489
|
+
IpcWebSocket.transport.send({
|
|
86490
|
+
type: IpcWebSocketMessageType.Response,
|
|
86491
|
+
channel: message.channel,
|
|
86492
|
+
response: message.request,
|
|
86493
|
+
data: response,
|
|
86494
|
+
sequence: -1,
|
|
86495
|
+
});
|
|
86496
|
+
this._processing = undefined;
|
|
86497
|
+
}
|
|
86498
|
+
}
|
|
86499
|
+
await this.processMessages();
|
|
86486
86500
|
}
|
|
86487
86501
|
}
|
|
86488
86502
|
|
|
@@ -305249,7 +305263,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
|
|
|
305249
305263
|
/***/ ((module) => {
|
|
305250
305264
|
|
|
305251
305265
|
"use strict";
|
|
305252
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.
|
|
305266
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"3.4.0-dev.9","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.4.0-dev.9","@itwin/core-bentley":"workspace:^3.4.0-dev.9","@itwin/core-common":"workspace:^3.4.0-dev.9","@itwin/core-geometry":"workspace:^3.4.0-dev.9","@itwin/core-orbitgt":"workspace:^3.4.0-dev.9","@itwin/core-quantity":"workspace:^3.4.0-dev.9","@itwin/webgl-compatibility":"workspace:^3.4.0-dev.9"},"//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.10","@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"}}]}}');
|
|
305253
305267
|
|
|
305254
305268
|
/***/ })
|
|
305255
305269
|
|