Skip to content

Commit

Permalink
Merge branch 'v8' of https://github.com/GleapSDK/JavaScript-SDK into v8
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Jan 4, 2023
2 parents 3df835e + 659ef4b commit 38751e0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Gleap = window.Gleap;

Gleap.setFrameUrl("http://0.0.0.0:3001");
Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.initialize("DUPaIr7s689BBblcFI4pc5aBgYJTm7Sc");
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
//Gleap.setEnvironment("dev");

Gleap.attachCustomData({
Expand Down Expand Up @@ -31,9 +31,9 @@ Gleap.log("Test log err", "ERROR");

Gleap.trackEvent("Master Event");

Gleap.identify("123456789", {
Gleap.identify("9292929292", {
name: "John Doe",
email: "john@doe.com",
email: "johaaan@doe.com",
customData: {
yyy: "xxx",
penis: true
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": "8.5.1",
"version": "8.5.2",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
1 change: 1 addition & 0 deletions published/8.5.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.

4 changes: 1 addition & 3 deletions src/GleapNotificationBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default class GleapNotificationBadge {
title = title.substring(title.indexOf(") ") + 2, title.length);
}
} catch (e) { }

console.log("title", title);


return title;
}

Expand Down

0 comments on commit 38751e0

Please sign in to comment.