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

@nodeart/session-flow

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeart/session-flow - npm Package Compare versions

Comparing version 2.1.9 to 2.1.10

2

package.json

@@ -14,3 +14,3 @@ {

"license": "ISC",
"version": "2.1.9"
"version": "2.1.10"
}

@@ -16,2 +16,24 @@ import {Injectable, Inject} from "@angular/core";

* 6. Saves user clicks
*
* To enable `Session Flow` for tracking inject `DAL` and `Session Flow` into root `AppComponent`. If you want to track user click also add HostListener on click:
* ```
* export class AppComponent {
*
* \@HostListener('click', ['$event']) onClick(e){
* this.sessionFlow.addUserClick(e);
* }
*
*
* constructor(
* private dal: DbAbstractionLayer,
* private sessionFlow: SessionFlow
* ) {
* }
*
* ngOnInit() {
* this.dal.checkOldSessionFlow(this.sessionFlow.deviceId);
* this.dal.connectSessionFlowToDB(this.sessionFlow, this.sessionFlow.deviceId, this.sessionFlow.sessionId);
* }
* ```
*
*/

@@ -18,0 +40,0 @@ @Injectable()

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