Skip to content

Commit a78eee7

Browse files
committed
v13.2.6
1 parent 98593b4 commit a78eee7

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

demo/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ Gleap.setFrameUrl("http://0.0.0.0:3001");
44
Gleap.setApiUrl("http://0.0.0.0:9000");
55
Gleap.setWSApiUrl("ws://0.0.0.0:8080");
66

7-
Gleap.initialize("vcxExo94dQQv7KIXd1BnMgN2bzpwZnoj");
7+
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
88

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

13+
Gleap.setNetworkLogPropsToIgnore(["password", "token"]);
14+
1315
Gleap.registerCustomAction((customAction) => {
1416
console.log("Custom action: ", customAction);
1517
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "13.2.5",
3+
"version": "13.2.6",
44
"main": "build/index.js",
55
"scripts": {
66
"start": "webpack serve",

src/GleapNetworkIntercepter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class GleapNetworkIntercepter {
5252
if (this.externalRequests && this.externalRequests.length > 0) {
5353
requests = requests.concat(this.externalRequests);
5454
}
55-
55+
5656
if (this.filters && this.filters.length > 0) {
5757
// Perform network log filtering.
5858
for (var i = 0; i < requests.length; i++) {
@@ -141,7 +141,7 @@ class GleapNetworkIntercepter {
141141
}
142142

143143
setFilters(filters) {
144-
this.filters = filters ? filters : [];
144+
this.filters = this.filters.concat(filters ? filters : []);
145145
}
146146

147147
setBlacklist(blacklist) {

0 commit comments

Comments
 (0)