Skip to content

Commit

Permalink
v12.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Oct 2, 2023
1 parent 1941fc9 commit 0f2d6e8
Show file tree
Hide file tree
Showing 6 changed files with 12 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 @@ -41,6 +41,7 @@ export namespace Gleap {
function setApiUrl(apiUrl: string): void;
function setWSApiUrl(wsApiUrl: string): void;
function setFrameUrl(frameUrl: string): void;
function closeBanner(): void;
function setBannerUrl(bannerUrl: string): void;
function setMaxNetworkRequests(maxRequests: number): void;
function registerCustomAction(
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": "12.0.1",
"version": "12.0.2",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
1 change: 1 addition & 0 deletions published/12.0.2/index.js

Large diffs are not rendered by default.

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 @@ -231,6 +231,13 @@ class Gleap {
GleapBannerManager.getInstance().removeBannerUI();
}

/**
* Close any open banner.
*/
static closeBanner() {
GleapBannerManager.getInstance().removeBannerUI();
}

/**
* Enable or disable Gleap session tracking through cookies.
* @param {*} useCookies
Expand Down

0 comments on commit 0f2d6e8

Please sign in to comment.