Skip to content

Commit

Permalink
address PR comments
Browse files Browse the repository at this point in the history
Signed-off-by: Hasan Ayan <hasanayan@me.com>
  • Loading branch information
hasanayan committed Mar 25, 2024
1 parent 73326f0 commit 59d4860
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
7 changes: 3 additions & 4 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

## [Unreleased]

### Changed
### Added

- Initialize @cerbos/react, A collection of React hooks for interacting with Cerbos policy decision points. ([#876](https://github.com/cerbos/cerbos-sdk-javascript/pull/876))
- A collection of React hooks for interacting with Cerbos policy decision points ([#876](https://github.com/cerbos/cerbos-sdk-javascript/pull/876))

[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/a3dcb572e0eeff4c4d86c9cc66c1d0c7e59c4853...HEAD
[nodejs-eol]: https://github.com/nodejs/release#end-of-life-releases
[unreleased]: https://github.com/cerbos/cerbos-sdk-javascript/compare/68337848cb3f987627da7381653d82c6d4e368a5...HEAD
9 changes: 3 additions & 6 deletions packages/react/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
unreleased:
type: minor

changed:
- summary: Initialize @cerbos/react, A collection of React hooks for interacting with Cerbos policy decision points.
added:
- summary: A collection of React hooks for interacting with Cerbos policy decision points
pull: 876

references:
nodejs-eol: https://github.com/nodejs/release#end-of-life-releases

initialCommit: a3dcb572e0eeff4c4d86c9cc66c1d0c7e59c4853
initialCommit: 68337848cb3f987627da7381653d82c6d4e368a5
5 changes: 3 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cerbos/react",
"version": "0.1.0",
"version": "0.0.1",
"description": "A collection of React hooks for interacting with Cerbos policy decision points",
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,7 +43,8 @@
"ABAC",
"policy decision point",
"PDP",
"React"
"React",
"hooks"
],
"peerDependencies": {
"react": ">=16.13.0"
Expand Down
5 changes: 5 additions & 0 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* A collection of React hooks for interacting with Cerbos policy decision points.
*
* @packageDocumentation
*/
export { type CerbosProviderProps, CerbosProvider } from "./cerbos-provider";
export { useCerbos } from "./use-cerbos";
export {
Expand Down

0 comments on commit 59d4860

Please sign in to comment.