@itwin/ecschema-rpcinterface-tests 4.7.0-dev.3 → 4.7.0-dev.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.
@@ -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_a\\16\\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":""}
@@ -44173,7 +44173,7 @@ class TextAnnotation {
44173
44173
  * The anchor point is computed as specified by this annotation's [[anchor]] setting. For example, if the text block is anchored
44174
44174
  * at the bottom left, then the transform will be relative to the bottom-left corner of `textBlockExtents`.
44175
44175
  * The text block will be rotated around the fixed anchor point according to [[orientation]], then the anchor point will be translated by [[offset]].
44176
- * @param textBlockDimensions The width and height of the bounding box containing the text block. You can compute this using [computeTextBlockExtents]($common).
44176
+ * @param textBlockDimensions The width and height of the bounding box containing the text block. You can compute this using [computeTextBlockExtents]($backend).
44177
44177
  * @see [[computeAnchorPoint]] to compute the transform's anchor point.
44178
44178
  */
44179
44179
  computeTransform(textBlockDimensions) {
@@ -44184,7 +44184,7 @@ class TextAnnotation {
44184
44184
  return translation.multiplyTransformTransform(rotation, rotation);
44185
44185
  }
44186
44186
  /** Compute the anchor point of this annotation as specified by [[anchor]].
44187
- * @param textBlockDimensions The width and height of the bounding box containing the [[textBlock]]. You can compute this using [computeTextBlockExtents]($common).
44187
+ * @param textBlockDimensions The width and height of the bounding box containing the [[textBlock]]. You can compute this using [computeTextBlockExtents]($backend).
44188
44188
  * @see [[computeTransform]] to compute the transform relative to the anchor point.
44189
44189
  */
44190
44190
  computeAnchorPoint(textBlockDimensions) {
@@ -55726,7 +55726,7 @@ class RpcInvocation {
55726
55726
  status: this.protocol.getCode(this.status),
55727
55727
  id: this.request.id,
55728
55728
  interfaceName: (typeof (this.operation) === "undefined") ? "" : this.operation.interfaceDefinition.interfaceName,
55729
- allowCompression: this.operation?.policy.allowResponseCompression || false,
55729
+ allowCompression: this.operation ? this.operation.policy.allowResponseCompression : true,
55730
55730
  };
55731
55731
  this.transformResponseStatus(fulfillment, rawResult);
55732
55732
  try {
@@ -55827,9 +55827,8 @@ class RpcMarshaling {
55827
55827
  /** Serializes a value. */
55828
55828
  static serialize(protocol, value) {
55829
55829
  const serialized = RpcSerializedValue.create();
55830
- if (typeof (value) === "undefined") {
55830
+ if (value === undefined)
55831
55831
  return serialized;
55832
- }
55833
55832
  marshalingTarget = serialized;
55834
55833
  chunkThreshold = protocol ? protocol.transferChunkThreshold : 0;
55835
55834
  serialized.objects = JSON.stringify(value, (_key, _value) => WireFormat.marshal(_key, _value));
@@ -55997,7 +55996,7 @@ class RpcOperationPolicy {
55997
55996
  /** Whether the IModelRpcProps in the operation parameter list is allowed to differ from the token in the request URL. */
55998
55997
  this.allowTokenMismatch = false;
55999
55998
  /** Whether to compress the operation response with one of the client's supported encodings. */
56000
- this.allowResponseCompression = false;
55999
+ this.allowResponseCompression = true;
56001
56000
  }
56002
56001
  }
56003
56002
  /** An RPC operation descriptor.
@@ -69950,16 +69949,10 @@ exports.SchemaGraph = SchemaGraph;
69950
69949
  /*!**********************************************************************!*\
69951
69950
  !*** ../../core/ecschema-rpc/common/lib/cjs/ECSchemaRpcInterface.js ***!
69952
69951
  \**********************************************************************/
69953
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
69952
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
69954
69953
 
69955
69954
  "use strict";
69956
69955
 
69957
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
69958
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
69959
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
69960
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
69961
- return c > 3 && r && Object.defineProperty(target, key, r), r;
69962
- };
69963
69956
  Object.defineProperty(exports, "__esModule", ({ value: true }));
69964
69957
  exports.ECSchemaRpcInterface = void 0;
69965
69958
  /*---------------------------------------------------------------------------------------------
@@ -70006,9 +69999,6 @@ exports.ECSchemaRpcInterface = ECSchemaRpcInterface;
70006
69999
  ECSchemaRpcInterface.version = "2.0.0";
70007
70000
  ECSchemaRpcInterface.interfaceName = "ECSchemaRpcInterface";
70008
70001
  ECSchemaRpcInterface.interfaceVersion = ECSchemaRpcInterface.version;
70009
- __decorate([
70010
- core_common_1.RpcOperation.setPolicy({ allowResponseCompression: true })
70011
- ], ECSchemaRpcInterface.prototype, "getSchemaJSON", null);
70012
70002
 
70013
70003
 
70014
70004
  /***/ }),
@@ -297179,7 +297169,7 @@ var loadLanguages = instance.loadLanguages;
297179
297169
  /***/ ((module) => {
297180
297170
 
297181
297171
  "use strict";
297182
- module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.3","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.7.0-dev.3","@itwin/core-bentley":"workspace:^4.7.0-dev.3","@itwin/core-common":"workspace:^4.7.0-dev.3","@itwin/core-geometry":"workspace:^4.7.0-dev.3","@itwin/core-orbitgt":"workspace:^4.7.0-dev.3","@itwin/core-quantity":"workspace:^4.7.0-dev.3"},"//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.44.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"}}');
297172
+ module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.7.0-dev.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 && 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.7.0-dev.5","@itwin/core-bentley":"workspace:^4.7.0-dev.5","@itwin/core-common":"workspace:^4.7.0-dev.5","@itwin/core-geometry":"workspace:^4.7.0-dev.5","@itwin/core-orbitgt":"workspace:^4.7.0-dev.5","@itwin/core-quantity":"workspace:^4.7.0-dev.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":"^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.44.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"}}');
297183
297173
 
297184
297174
  /***/ })
297185
297175