Skip to content

Commit

Permalink
Merge branch 'rdkcentral:next' into fix/metrics-event-cap-type
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinshahfws authored Sep 26, 2023
2 parents 20f69a6 + 72fc757 commit 2d3c6a0
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [0.18.0-next.1](https://github.com/rdkcentral/firebolt-apis/compare/v0.17.1...v0.18.0-next.1) (2023-09-26)


### Features

* Added optional parameter 'force' in usergrants.request ([#186](https://github.com/rdkcentral/firebolt-apis/issues/186)) ([31801ca](https://github.com/rdkcentral/firebolt-apis/commit/31801caec6bea0e8b295ea6a9ec54ca1d8e08d16))

## [0.17.1](https://github.com/rdkcentral/firebolt-apis/compare/v0.17.0...v0.17.1) (2023-09-15)


Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebolt-js/sdks",
"version": "0.17.1",
"version": "0.18.0-next.1",
"description": "The Firebolt JS SDK",
"type": "module",
"bin": {
Expand Down
59 changes: 58 additions & 1 deletion src/openrpc/user_grants.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,14 @@
"minItems": 1
},
"required": true
},
{
"name": "options",
"summary": "Request options",
"schema": {
"$ref": "#/components/schemas/RequestOptions"
},
"required": false
}
],
"result": {
Expand All @@ -405,7 +413,7 @@
},
"examples": [
{
"name": "Default result",
"name": "Default result #1",
"params": [
{
"name": "appId",
Expand Down Expand Up @@ -436,6 +444,45 @@
}
]
}
},
{
"name": "Default result #2",
"params": [
{
"name": "appId",
"value": "certapp"
},
{
"name": "permissions",
"value": [
{
"role": "use",
"capability": "xrn:firebolt:capability:localization:postal-code"
}
]
},
{
"name": "options",
"value": {
"force": true
}
}
],
"result": {
"name": "defaultResult",
"value": [
{
"app": {
"id": "certapp",
"title": "Certification App"
},
"state": "granted",
"capability": "xrn:firebolt:capability:localization:postal-code",
"role": "use",
"lifespan": "powerActive"
}
]
}
}
]
}
Expand Down Expand Up @@ -528,6 +575,16 @@
},
"additionalProperties": false,
"required": []
},
"RequestOptions": {
"title": "RequestOptions",
"type": "object",
"properties": {
"force": {
"type": "boolean",
"description": "Whether to force for user grant even if the previous decision stored"
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/sdks/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebolt-js/sdk",
"version": "0.17.1",
"version": "0.18.0-next.1",
"description": "The Firebolt JS SDK",
"main": "./dist/lib/firebolt.mjs",
"types": "./dist/lib/firebolt.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/sdks/manage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebolt-js/manage-sdk",
"version": "0.17.1",
"version": "0.18.0-next.1",
"description": "The Firebolt Manage JS SDK",
"main": "./dist/lib/firebolt-manage.mjs",
"types": "./dist/lib/firebolt-manage.d.ts",
Expand Down

0 comments on commit 2d3c6a0

Please sign in to comment.