react-fullstory-updated
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -62,3 +62,4 @@ 'use strict'; | ||
host = props.host, | ||
namespace = props.namespace; | ||
namespace = props.namespace, | ||
setSessionURL = props.setSessionURL; | ||
@@ -124,2 +125,6 @@ | ||
})(window, document, window['_fs_namespace'], 'script', 'user'); | ||
window['_fs_ready'] = function () { | ||
var sessionUrl = FS.getCurrentSessionURL(); | ||
if (setSessionURL) setSessionURL(sessionUrl); | ||
}; | ||
} | ||
@@ -126,0 +131,0 @@ return _this; |
{ | ||
"name": "react-fullstory-updated", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A component to initialize Fullstory in your application", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -33,3 +33,3 @@ import { Component } from 'react'; | ||
const { org, debug, host, namespace } = props; | ||
const { org, debug, host, namespace, setSessionURL } = props; | ||
@@ -94,2 +94,6 @@ if (!org || !canUseDOM) { | ||
})(window, document, window['_fs_namespace'], 'script', 'user'); | ||
window['_fs_ready'] = function() { | ||
let sessionUrl = FS.getCurrentSessionURL(); | ||
if (setSessionURL) setSessionURL(sessionUrl) | ||
}; | ||
} | ||
@@ -96,0 +100,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154078
865