diff --git a/CHANGELOG.md b/CHANGELOG.md index 50b5746..fefe8ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package-lock.json b/package-lock.json index 9520c04..b2c8fda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "fsm-shell", - "version": "1.18.0", + "version": "1.19.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 18d2578..bc6485c 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/ShellEvents.ts b/src/ShellEvents.ts index 0328d7e..a760542 100644 --- a/src/ShellEvents.ts +++ b/src/ShellEvents.ts @@ -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' @@ -65,6 +66,7 @@ export const SHELL_EVENTS = { MODAL: { OPEN: 'V2.MODAL.OPEN', }, + REQUIRE_PERMISSIONS: 'V2.REQUIRE_PERMISSIONS', }, Version3: { GET_PERMISSIONS: 'V3.GET_PERMISSIONS',