Skip to content

Commit

Permalink
v7.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Jun 7, 2022
1 parent 052768f commit dc42863
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export namespace Gleap {
userHash?: string
): void;
function open(): void;
function close(): void;
function hide(): void;
function startFeedbackFlow(feedbackFlow: string, showBackButton?: boolean): void;
function on(event: string, callback: (data?: any) => void): void;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gleap",
"version": "7.0.14",
"version": "7.0.15",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
2 changes: 1 addition & 1 deletion published/latest/index.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/Gleap.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ class Gleap {
GleapFrameManager.getInstance().hideWidget();
}

/**
* Closes any open Gleap dialogs.
*/
static close() {
GleapFrameManager.getInstance().hideWidget();
}

/**
* Starts the Gleap flow.
*/
Expand Down

0 comments on commit dc42863

Please sign in to comment.