@itwin/one-click-lca-react 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -13,7 +13,8 @@ This package provides a viewer _widget_. Documentation on how to add a widget to
13
13
 
14
14
  ## Permissions and Scopes
15
15
 
16
- The SPA client used by your iTwin viewer application must have allowed scopes `insights:read` and `insights:write`, found under the Reporting & Insights category.
16
+ The SPA client used by your iTwin viewer must have the `itwin-platform` scope.
17
+
17
18
  Users must have the `imodels_read` and `insights_view` [permissions](https://developer.bentley.com/apis/carbon-calculation/operations/create-oneclicklca-job/#authorization) assigned at either the Project or iModel level. Additional instruction on how to create roles and assign permissions can be found in the [iTwin Platform Projects API documentation](https://developer.bentley.com/apis/projects/tutorials/).
18
19
 
19
20
  ## Sample usage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/one-click-lca-react",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "An iTwin.js 3D Viewer Widget that interfaces with the iTwin Carbon Calculation.",
5
5
  "keywords": [
6
6
  "Bentley",
@@ -38,7 +38,7 @@
38
38
  "cover": "nyc npm test"
39
39
  },
40
40
  "dependencies": {
41
- "@itwin/insights-client": "^0.10.2",
41
+ "@itwin/insights-client": "^0.13.0",
42
42
  "@itwin/itwinui-icons-react": "^2.2.0",
43
43
  "@itwin/itwinui-react": "^2.11.2"
44
44
  },