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 3.5.3 to 3.6.0

1

dist/helphero.d.ts

@@ -53,2 +53,3 @@ declare type TourEventKind = "tour_started" | "tour_completed" | "tour_advanced" | "tour_cancelled" | "tour_interrupted" | "error";

showBeacon?: boolean;
navigate?: (url: string) => void;
};

@@ -55,0 +56,0 @@ export declare type HelpHero = {

81

dist/helphero.flow.js
/**
* Flowtype definitions for helphero
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.10.0
* Flowgen v1.14.1
*/

@@ -14,57 +14,58 @@

| "error";
export type TourEvent = {
export type TourEvent = {|
kind: TourEventKind,
details?: string,
tourId?: string,
stepId?: string
};
export type Step = {
stepId?: string,
|};
export type Step = {|
id: string,
name: string
};
export type Tour = {
name: string,
|};
export type Tour = {|
id: string,
name: string
};
export type TourEventInfo = {
name: string,
|};
export type TourEventInfo = {|
tour?: Tour,
step?: Step
};
step?: Step,
|};
declare type ChecklistEventKind =
| "checklist_completed"
| "checklist_item_completed";
export type ChecklistEvent = {
export type ChecklistEvent = {|
kind: ChecklistEventKind,
checklistId: string,
itemId?: string
};
export type ChecklistItem = {
itemId?: string,
|};
export type ChecklistItem = {|
id: string,
name: string
};
export type Checklist = {
name: string,
|};
export type Checklist = {|
id: string,
name: string,
items: ChecklistItem[]
};
export type ChecklistEventInfo = {
items: ChecklistItem[],
|};
export type ChecklistEventInfo = {|
checklist: Checklist,
item?: ChecklistItem
};
declare type Data = {
[key: string]: boolean | number | string | void | null
};
export type StartOptions = {
item?: ChecklistItem,
|};
declare type Data = {|
[key: string]: boolean | number | string | void | null,
|};
export type StartOptions = {|
skipIfAlreadySeen?: boolean,
redirectIfNeeded?: boolean,
stepId?: string
};
export type AdvanceOptions = {
stepId?: string | number
};
export type Options = {
stepId?: string,
|};
export type AdvanceOptions = {|
stepId?: string | number,
|};
export type Options = {|
show?: boolean,
showBeacon?: boolean
};
export type HelpHero = {
showBeacon?: boolean,
navigate?: (url: string) => void,
|};
export type HelpHero = {|
startTour: (id: string, options?: StartOptions) => void,

@@ -113,5 +114,5 @@ advanceTour: (options?: AdvanceOptions) => void,

startChecklist: (id: string) => void,
setOptions: (options: Options) => void
};
setOptions: (options: Options) => void,
|};
declare function init(appId: string): HelpHero;
declare export default typeof init;
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.helphero = factory());
}(this, function () { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.helphero = factory());
}(this, (function () { 'use strict';

@@ -21,3 +21,3 @@ var methods = [

"showBeacon",
"hideBeacon"
"hideBeacon",
];

@@ -62,2 +62,2 @@ var initializedAppId;

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

@@ -28,11 +28,11 @@ "repository": "git://github.com/HelpHero/helphero-javascript.git",

"devDependencies": {
"del-cli": "^3.0.0",
"flowgen": "^1.10.0",
"prettier": "^1.18.2",
"del-cli": "^4.0.0",
"flowgen": "^1.14.1",
"prettier": "^2.3.2",
"prettier-check": "^2.0.0",
"rollup": "^1.21.4",
"rollup-plugin-cleanup": "^3.1.1",
"rollup-plugin-typescript2": "^0.24.2",
"typescript": "^3.6.3"
"rollup": "^2.52.8",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-typescript2": "^0.30.0",
"typescript": "^4.3.5"
}
}
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