Skip to content

Commit 15203a1

Browse files
committed
v14.6.2
1 parent 8c6fd41 commit 15203a1

File tree

6 files changed

+11
-5
lines changed

6 files changed

+11
-5
lines changed

build/cjs/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.

build/esm/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

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": "14.6.1",
3+
"version": "14.6.2",
44
"main": "build/cjs/index.js",
55
"module": "build/esm/index.mjs",
66
"exports": {

published/14.6.2/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/GleapSession.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,11 @@ export default class GleapSession {
529529
if (http.status === 200 || http.status === 201) {
530530
try {
531531
const tourData = JSON.parse(http.responseText);
532-
if (tourData && tourData.status === "live") {
532+
if (
533+
tourData &&
534+
tourData.status === "live" &&
535+
tourData.passedPageFilter
536+
) {
533537
resolve(tourData.config);
534538
} else {
535539
reject();
@@ -545,6 +549,7 @@ export default class GleapSession {
545549
http.send(
546550
JSON.stringify({
547551
outboundId: tourId,
552+
currentUrl: window?.location?.href,
548553
})
549554
);
550555
});

0 commit comments

Comments
 (0)