Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

helphero

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helphero - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

dist/helphero.js

@@ -1,2 +0,2 @@

var e,r,n=["startTour","advanceTour","cancelTour","identify","anonymous","on","off","openLauncher","closeLauncher"];module.exports=function(o){if("string"!=typeof o||""===o)throw new Error("Expected HelpHero App ID recieved: "+o);if(null!=e&&e!==o)throw new Error('HelpHero does not support initializing multiple Apps on the same page. Trying to initialize with App ID "'+e+'" which is different from previously used App ID "'+o+'"');if(null!=r)return r;var t=window,i=[],p=function(){i.push(arguments)};p.q=i,t.HelpHero=p;var c=document.createElement("script");return c.src="//app.helphero.co/embed/"+o,c.async=!0,document.body.appendChild(c),e=o,r=Object.create(null),n.forEach(function(e){r[e]=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.HelpHero.apply(null,[e].concat(r))}}),r};
var e,n,r=["startTour","advanceTour","cancelTour","identify","anonymous","on","off","openLauncher","closeLauncher"];module.exports=function(o){if("string"!=typeof o||""===o)throw new Error("Invalid HelpHero App ID: "+o);if(null!=e&&e!==o)throw new Error('HelpHero does not support initializing multiple Apps on the same page. Trying to initialize with App ID "'+e+'" which is different from previously used App ID "'+o+'"');if(null!=n)return n;var t=window,i=[],p=function(){i.push(arguments)};p.q=i,t.HelpHero=p;var l=document.createElement("script");return l.src="//app.helphero.co/embed/"+o,l.async=!0,document.body.appendChild(l),e=o,n=Object.create(null),r.forEach(function(e){n[e]=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.HelpHero.apply(null,[e].concat(n))}}),n};
//# sourceMappingURL=helphero.js.map

@@ -1,2 +0,2 @@

!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.helphero=n()}(this,function(){var e,n,o=["startTour","advanceTour","cancelTour","identify","anonymous","on","off","openLauncher","closeLauncher"];return function(r){if("string"!=typeof r||""===r)throw new Error("Expected HelpHero App ID recieved: "+r);if(null!=e&&e!==r)throw new Error('HelpHero does not support initializing multiple Apps on the same page. Trying to initialize with App ID "'+e+'" which is different from previously used App ID "'+r+'"');if(null!=n)return n;var t=window,i=[],p=function(){i.push(arguments)};p.q=i,t.HelpHero=p;var u=document.createElement("script");return u.src="//app.helphero.co/embed/"+r,u.async=!0,document.body.appendChild(u),e=r,n=Object.create(null),o.forEach(function(e){n[e]=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t.HelpHero.apply(null,[e].concat(n))}}),n}});
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):e.helphero=n()}(this,function(){var e,n,o=["startTour","advanceTour","cancelTour","identify","anonymous","on","off","openLauncher","closeLauncher"];return function(r){if("string"!=typeof r||""===r)throw new Error("Invalid HelpHero App ID: "+r);if(null!=e&&e!==r)throw new Error('HelpHero does not support initializing multiple Apps on the same page. Trying to initialize with App ID "'+e+'" which is different from previously used App ID "'+r+'"');if(null!=n)return n;var t=window,i=[],p=function(){i.push(arguments)};p.q=i,t.HelpHero=p;var u=document.createElement("script");return u.src="//app.helphero.co/embed/"+r,u.async=!0,document.body.appendChild(u),e=r,n=Object.create(null),o.forEach(function(e){n[e]=function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t.HelpHero.apply(null,[e].concat(n))}}),n}});
//# sourceMappingURL=helphero.umd.js.map
{
"name": "helphero",
"version": "0.2.0",
"version": "0.3.0",
"description": "Offical HelpHero SDK for browsers",

@@ -21,3 +21,3 @@ "repository": "git://github.com/HelpHero/helphero-javascript.git",

"dev": "yarn build watch",
"prepublish": "yarn prettier-check && yarn build"
"prepare": "yarn prettier-check && yarn build"
},

@@ -24,0 +24,0 @@ "files": [

@@ -8,3 +8,3 @@ <p align="center">

# Official Sentry SDK for Browsers
# Official HelpHero SDK for Browsers

@@ -19,4 +19,4 @@ ## Usage

const helphero = initHelpHero('<YOUR_HELPHERO_APP_ID>')
helphero.anonymous()
const helphero = initHelpHero('<YOUR_HELPHERO_APP_ID>');
helphero.anonymous();
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc