Socket
Socket
Sign inDemoInstall

@bentley/context-registry-client

Package Overview
Dependencies
Maintainers
4
Versions
503
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bentley/context-registry-client - npm Package Compare versions

Comparing version 3.0.0-dev.62 to 3.0.0-dev.63

9

lib/ContextRegistryClient.js

@@ -165,3 +165,2 @@ "use strict";

async getProjects(requestContext, queryOptions) {
requestContext.enter();
return this.getInstances(requestContext, Project, "/Repositories/BentleyCONNECT--Main/ConnectedContext/Project", queryOptions);

@@ -175,5 +174,3 @@ }

async getProject(requestContext, queryOptions) {
requestContext.enter();
const projects = await this.getProjects(requestContext, queryOptions);
requestContext.enter();
if (projects.length === 0)

@@ -191,3 +188,2 @@ throw new Error("Could not find a project with the specified criteria that the user has access to");

async getInvitedProjects(requestContext, queryOptions) {
requestContext.enter();
return this.getInstances(requestContext, Project, "/Repositories/BentleyCONNECT--Main/ConnectedContext/Project?rbaconly=true", queryOptions);

@@ -201,5 +197,3 @@ }

async getAsset(requestContext, queryOptions) {
requestContext.enter();
const assets = await this.getAssets(requestContext, queryOptions);
requestContext.enter();
if (assets.length === 0)

@@ -217,3 +211,2 @@ throw new Error("Could not find an asset with the specified criteria that the user has access to");

async getAssets(requestContext, queryOptions) {
requestContext.enter();
return this.getInstances(requestContext, Asset, "/Repositories/BentleyCONNECT--Main/ConnectedContext/Asset", queryOptions);

@@ -226,5 +219,3 @@ }

async getTeam(requestContext) {
requestContext.enter();
const teams = await this.getInstances(requestContext, Team, "/Repositories/BentleyCONNECT--Main/ConnectedContext/Team?isDefault=true");
requestContext.enter();
if (teams.length === 0)

@@ -231,0 +222,0 @@ throw new Error("Could not find a team for the current user");

0

LICENSE.md

@@ -0,0 +0,0 @@ # MIT License

18

package.json
{
"name": "@bentley/context-registry-client",
"version": "3.0.0-dev.62",
"version": "3.0.0-dev.63",
"description": "iModel.js Context Registry Client",

@@ -27,12 +27,12 @@ "main": "lib/context-registry-client.js",

"peerDependencies": {
"@bentley/bentleyjs-core": "^3.0.0-dev.62",
"@bentley/itwin-client": "^3.0.0-dev.62"
"@bentley/bentleyjs-core": "^3.0.0-dev.63",
"@bentley/itwin-client": "^3.0.0-dev.63"
},
"devDependencies": {
"@bentley/bentleyjs-core": "3.0.0-dev.62",
"@bentley/build-tools": "3.0.0-dev.62",
"@bentley/certa": "3.0.0-dev.62",
"@bentley/eslint-plugin": "3.0.0-dev.62",
"@bentley/itwin-client": "3.0.0-dev.62",
"@bentley/oidc-signin-tool": "3.0.0-dev.62",
"@bentley/bentleyjs-core": "3.0.0-dev.63",
"@bentley/build-tools": "3.0.0-dev.63",
"@bentley/certa": "3.0.0-dev.63",
"@bentley/eslint-plugin": "3.0.0-dev.63",
"@bentley/itwin-client": "3.0.0-dev.63",
"@bentley/oidc-signin-tool": "3.0.0-dev.63",
"@types/chai": "^4.1.4",

@@ -39,0 +39,0 @@ "@types/deep-assign": "^0.1.0",

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