highlight.run
Advanced tools
Comparing version 1.0.30 to 1.0.31
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.$=t():e.$=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"H",(function(){return o}));var r,i=document.createElement("script"),o={init:function(e,t){void 0===t&&(t=!1),i.addEventListener("load",(function(){(r=new window.Highlight(t)).initialize(e)}))},identify:function(e,t){o.onHighlightReady((function(){return r.identify(e,t)}))},getSessionURL:function(){return new Promise((function(e,t){o.onHighlightReady((function(){var n=r.organizationID,i=r.sessionID;n&&i?e("app.highlight.run/"+n+"/sessions/"+i):t(new Error("org ID or session ID is empty"))}))}))},onHighlightReady:function(e){r&&r.ready&&e();var t=setInterval((function(){r&&r.ready&&(clearInterval(t),e())}),200)}};window.H=o;i.setAttribute("src","https://static.highlight.run/index.js?"+(new Date).getMilliseconds()),i.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(i)}])})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.$=t():e.$=t()}(this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"H",(function(){return o}));var r,i=document.createElement("script"),o={init:function(e,t){void 0===t&&(t=!1),i.addEventListener("load",(function(){(r=new window.Highlight(t)).initialize(e)}))},identify:function(e,t){o.onHighlightReady((function(){return r.identify(e,t)}))},getSessionURL:function(){return new Promise((function(e,t){o.onHighlightReady((function(){var n=r.organizationID,i=r.sessionID;n&&i?e("app.highlight.run/"+n+"/sessions/"+i):t(new Error("org ID or session ID is empty"))}))}))},onHighlightReady:function(e){r&&r.ready&&e();var t=setInterval((function(){r&&r.ready&&(clearInterval(t),e())}),200)}};window.H=o;i.setAttribute("src","https://static.highlight.run/index.js?"+(new Date).getMilliseconds()),i.setAttribute("type","text/javascript"),document.getElementsByTagName("head")[0].appendChild(i)}])})); |
{ | ||
"name": "highlight.run", | ||
"version": "1.0.30", | ||
"version": "1.0.31", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "webpack", |
@@ -13,2 +13,3 @@ const path = require('path'); | ||
libraryTarget: 'umd', | ||
globalObject: 'this', | ||
}, | ||
@@ -15,0 +16,0 @@ devServer: { |
221641
5920