Skip to content

Commit

Permalink
v11.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Aug 28, 2023
1 parent 9a8215e commit 6271dd9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions demo/main.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
const Gleap = window.Gleap;

//Gleap.setFrameUrl("http://0.0.0.0:3001");
//Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.setFrameUrl("http://0.0.0.0:3001");
Gleap.setApiUrl("http://0.0.0.0:9000");

Gleap.setDisablePageTracking(true);

Gleap.setLanguage("de");
Gleap.setLanguage("en");

Gleap.initialize("hciNpT8z64tsHATINYZjWBvbirVWCKWt");

/*Gleap.setUrlHandler((url, newTab) => {
alert("URL: " + url + " newTab: " + newTab);
});*/

Gleap.identify("613b5dc530aed737108f87a8", {
name: "Lukas",
email: "[email protected]"
});
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": "11.1.2",
"version": "11.1.3",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
1 change: 1 addition & 0 deletions published/11.1.3/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.

3 changes: 1 addition & 2 deletions src/GleapSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default class GleapSession {
apiUrl = "https://api.gleap.io";
sdkKey = null;
updatingSession = false;
useCookies = true;
useCookies = false;
session = {
gleapId: null,
gleapHash: null,
Expand Down Expand Up @@ -166,7 +166,6 @@ export default class GleapSession {
const sessionCookie = getGleapCookie(`session-${this.sdkKey}`);
if (sessionCookie) {
const sessionData = JSON.parse(decodeURIComponent(sessionCookie));

this.validateSession(sessionData);
}
}
Expand Down

0 comments on commit 6271dd9

Please sign in to comment.