Skip to content

Commit 4496edb

Browse files
committed
v10.1.0
1 parent fdcd0c9 commit 4496edb

File tree

13 files changed

+2601
-864
lines changed

13 files changed

+2601
-864
lines changed

.DS_Store

2 KB
Binary file not shown.

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const Gleap = window.Gleap;
22

3-
Gleap.setFrameUrl("http://0.0.0.0:3001");
4-
Gleap.setApiUrl("http://0.0.0.0:9000");
5-
Gleap.initialize("hmRxmSJet1AIaVPG8JwXYcjO78gAEFMk");
3+
//Gleap.setFrameUrl("http://0.0.0.0:3001");
4+
//Gleap.setApiUrl("http://0.0.0.0:9000");
5+
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
66
//Gleap.setEnvironment("dev");
77

88
/*Gleap.setUrlHandler((url, newTab) => {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "10.0.6",
3+
"version": "10.1.0",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",
@@ -11,7 +11,7 @@
1111
},
1212
"repository": {
1313
"type": "git",
14-
"url": "https://github.com/Gleap/JavaScript-SDK"
14+
"url": "https://github.com/GleapSDK/JavaScript-SDK"
1515
},
1616
"types": "index.d.ts",
1717
"author": "Gleap <hello@gleap.io>",
@@ -61,4 +61,4 @@
6161
"\\.(css|less)$": "<rootDir>/scripts/testMock.js"
6262
}
6363
}
64-
}
64+
}

published/10.1.0/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Gleap.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -945,14 +945,8 @@ class Gleap {
945945
* Takes the current replay and assigns it to the global data array.
946946
*/
947947
takeCurrentReplay() {
948-
GleapReplayRecorder.getInstance()
949-
.getReplayData()
950-
.then((replayData) => {
951-
if (replayData) {
952-
this.setGlobalDataItem("webReplay", replayData);
953-
}
954-
})
955-
.catch((exp) => { });
948+
const replayData = GleapReplayRecorder.getInstance();
949+
this.setGlobalDataItem("webReplay", replayData);
956950
}
957951
}
958952

src/GleapConfigManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default class GleapConfigManager {
124124
GleapFeedbackButtonManager.getInstance().updateFeedbackButtonState();
125125
GleapNotificationManager.getInstance().updateContainerStyle();
126126

127-
if (flowConfig.enableReplays) {
127+
if (flowConfig.enableWebReplays) {
128128
GleapReplayRecorder.getInstance().start();
129129
} else {
130130
GleapReplayRecorder.getInstance().stop();

src/GleapReplayConstants.js

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/GleapReplayRecFrame.js

Lines changed: 0 additions & 240 deletions
This file was deleted.

0 commit comments

Comments
 (0)