Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@itwin/unified-selection

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@itwin/unified-selection - npm Package Compare versions

Comparing version 0.4.5 to 0.4.6

7

CHANGELOG.md
# @itwin/unified-selection
## 0.4.6
### Patch Changes
- Updated dependencies:
- @itwin/presentation-shared@0.4.0
## 0.4.5

@@ -4,0 +11,0 @@

3

lib/cjs/unified-selection/CachingHiliteSetProvider.js

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createCachingHiliteSetProvider = void 0;
exports.createCachingHiliteSetProvider = createCachingHiliteSetProvider;
const rxjs_1 = require("rxjs");

@@ -21,3 +21,2 @@ const rxjs_for_await_1 = require("rxjs-for-await");

}
exports.createCachingHiliteSetProvider = createCachingHiliteSetProvider;
class CachingHiliteSetProviderImpl {

@@ -24,0 +23,0 @@ _selectionStorage;

@@ -7,3 +7,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.IModelSelectionHandler = exports.enableUnifiedSelectionSyncWithIModel = void 0;
exports.IModelSelectionHandler = void 0;
exports.enableUnifiedSelectionSyncWithIModel = enableUnifiedSelectionSyncWithIModel;
const rxjs_1 = require("rxjs");

@@ -24,3 +25,2 @@ const core_bentley_1 = require("@itwin/core-bentley");

}
exports.enableUnifiedSelectionSyncWithIModel = enableUnifiedSelectionSyncWithIModel;
/**

@@ -27,0 +27,0 @@ * A handler that syncs selection between unified selection storage

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createHiliteSetProvider = void 0;
exports.createHiliteSetProvider = createHiliteSetProvider;
const rxjs_1 = require("rxjs");

@@ -20,3 +20,2 @@ const rxjs_for_await_1 = require("rxjs-for-await");

}
exports.createHiliteSetProvider = createHiliteSetProvider;
class HiliteSetProviderImpl {

@@ -23,0 +22,0 @@ _imodelAccess;

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.computeSelection = void 0;
exports.computeSelection = computeSelection;
const core_bentley_1 = require("@itwin/core-bentley");

@@ -37,3 +37,2 @@ const Utils_1 = require("./Utils");

}
exports.computeSelection = computeSelection;
async function* computeElementSelection(queryExecutor, elementIds, ancestorLevel) {

@@ -40,0 +39,0 @@ const bindings = [];

@@ -7,3 +7,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.IMODEL_CLOSE_SELECTION_CLEAR_SOURCE = exports.createStorage = void 0;
exports.IMODEL_CLOSE_SELECTION_CLEAR_SOURCE = void 0;
exports.createStorage = createStorage;
const Selectable_1 = require("./Selectable");

@@ -27,3 +28,2 @@ const SelectionChangeEvent_1 = require("./SelectionChangeEvent");

}
exports.createStorage = createStorage;
/** @internal */

@@ -30,0 +30,0 @@ exports.IMODEL_CLOSE_SELECTION_CLEAR_SOURCE = "Unified selection storage: clear";

@@ -7,3 +7,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.releaseMainThreadOnItemsCount = exports.genericExecuteQuery = exports.formIdBindings = void 0;
exports.formIdBindings = formIdBindings;
exports.genericExecuteQuery = genericExecuteQuery;
exports.releaseMainThreadOnItemsCount = releaseMainThreadOnItemsCount;
const rxjs_1 = require("rxjs");

@@ -26,3 +28,2 @@ const presentation_shared_1 = require("@itwin/presentation-shared");

}
exports.formIdBindings = formIdBindings;
/**

@@ -40,3 +41,2 @@ * Executes given ECSql query and extracts data from rows. Additionally handles main thread releasing.

}
exports.genericExecuteQuery = genericExecuteQuery;
/**

@@ -57,3 +57,2 @@ * Emits a certain amount of values, then releases the main thread for other timers to use.

}
exports.releaseMainThreadOnItemsCount = releaseMainThreadOnItemsCount;
//# sourceMappingURL=Utils.js.map
{
"name": "@itwin/unified-selection",
"version": "0.4.5",
"version": "0.4.6",
"description": "Package for managing unified selection in iTwin.js applications.",

@@ -34,10 +34,10 @@ "license": "MIT",

"rxjs-for-await": "^1.0.0",
"@itwin/presentation-shared": "^0.3.2"
"@itwin/presentation-shared": "^0.4.0"
},
"devDependencies": {
"@itwin/build-tools": "^4.7.1",
"@itwin/eslint-plugin": "^4.0.0",
"@types/chai": "^4.3.14",
"@itwin/eslint-plugin": "^4.1.1",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/mocha": "^10.0.7",
"@types/node": "^20.12.12",

@@ -47,11 +47,11 @@ "@types/sinon": "^17.0.3",

"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"chai-as-promised": "^7.1.2",
"cpx2": "^7.0.1",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"mocha": "^10.6.0",
"nyc": "^17.0.0",
"rimraf": "^6.0.1",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
"typescript": "~5.4.5",
"typescript": "~5.5.3",
"presentation-build-tools": "^0.0.0",

@@ -58,0 +58,0 @@ "presentation-test-utilities": "^0.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc