Skip to content

Commit

Permalink
Add Version2.REQUIRE_PERMISSIONS (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
kistll authored Sep 4, 2023
1 parent 876c86c commit 0a7f8dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.19.0] - 2023-09-04

### Added

- Implement internal V2.REQUIRE_PERMISSIONS

## [1.18.0] - 2023-08-29

### Added
Expand Down
2 changes: 1 addition & 1 deletion 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": "fsm-shell",
"version": "1.18.0",
"version": "1.19.0",
"description": "client library for FSM shell",
"main": "release/fsm-shell-client.js",
"module": "release/fsm-shell-client.es.js",
Expand Down
2 changes: 2 additions & 0 deletions src/ShellEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export type EventType =
| 'V1.REQUIRE_AUTHENTICATION'
| 'V1.CLOSE'
| 'V1.REQUIRE_PERMISSIONS'
| 'V2.REQUIRE_PERMISSIONS'
| 'V1.GET_PERMISSIONS'
| 'V2.GET_PERMISSIONS'
| 'V3.GET_PERMISSIONS'
Expand Down Expand Up @@ -65,6 +66,7 @@ export const SHELL_EVENTS = {
MODAL: {
OPEN: 'V2.MODAL.OPEN',
},
REQUIRE_PERMISSIONS: 'V2.REQUIRE_PERMISSIONS',
},
Version3: {
GET_PERMISSIONS: 'V3.GET_PERMISSIONS',
Expand Down

0 comments on commit 0a7f8dd

Please sign in to comment.