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 1.3.0 to 2.0.0

5

dist/helphero.d.ts

@@ -35,6 +35,7 @@ declare type EventKind = "tour_started" | "tour_completed" | "tour_advanced" | "tour_cancelled" | "tour_interrupted" | "error";

off: (kind: EventKind, fn: (ev: Event, info: EventInfo) => void) => void;
openLauncher: () => void;
closeLauncher: () => void;
openChecklist: () => void;
closeChecklist: () => void;
startChecklist: (id: string) => void;
};
export default function initHelpHero(appId: string): HelpHero;
export {};

10

dist/helphero.flow.js
/**
* Flowtype definitions for helphero
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.2.3
* Author: [Joar Wilk](http://twitter.com/joarwilk)
* Repo: http://github.com/joarwilk/flowgen
* Flowgen v1.10.0
*/

@@ -52,5 +50,7 @@

off: (kind: EventKind, fn: (ev: Event, info: EventInfo) => void) => void,
openLauncher: () => void,
closeLauncher: () => void
openChecklist: () => void,
closeChecklist: () => void,
startChecklist: (id: string) => void
};
declare export default function initHelpHero(appId: string): HelpHero;
declare export {};
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.helphero = factory());
}(this, (function () { 'use strict';
(global = global || self, global.helphero = factory());
}(this, function () { 'use strict';

@@ -16,4 +16,5 @@ var methods = [

"off",
"openLauncher",
"closeLauncher"
"openChecklist",
"closeChecklist",
"startChecklist"
];

@@ -54,3 +55,2 @@ var initializedAppId;

}
// @ts-ignore
return window.HelpHero.apply(null, [method].concat(args));

@@ -64,2 +64,2 @@ };

})));
}));
{
"name": "helphero",
"version": "1.3.0",
"version": "2.0.0",
"description": "Offical HelpHero SDK for browsers",

@@ -17,6 +17,7 @@ "repository": "git://github.com/HelpHero/helphero-javascript.git",

"build": "rollup -c",
"flowgen": "flowgen dist/helphero.d.ts -o dist/helphero.flow.js",
"tsc": "tsc --noEmit",
"flowgen": "flowgen dist/helphero.d.ts -o dist/helphero.flow.js --no-inexact",
"prettier-fix": "prettier --write 'src/**/*.ts'",
"prettier-check": "prettier-check 'src/**/*.ts'",
"prepare": "yarn prettier-check && yarn clean && yarn build && yarn flowgen"
"prepare": "yarn tsc && yarn prettier-check && yarn clean && yarn build && yarn flowgen"
},

@@ -28,10 +29,10 @@ "files": [

"devDependencies": {
"del-cli": "^1.1.0",
"flowgen": "^1.2.3",
"prettier": "^1.14.2",
"del-cli": "^3.0.0",
"flowgen": "^1.10.0",
"prettier": "^1.18.2",
"prettier-check": "^2.0.0",
"rollup": "^0.65.2",
"rollup-plugin-typescript2": "^0.17.0",
"typescript": "^3.0.3"
"rollup": "^1.21.4",
"rollup-plugin-typescript2": "^0.24.2",
"typescript": "^3.6.3"
}
}
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