
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@jitsu/angular
Advanced tools
Jitsu JavaScript SDK for Angular (more at http://jitsu.com/docs/js-sdk)
This package is a wrapper around @jitsu/sdk-js
, with added functionality related to Angular.
To use Jitsu SDK, install npm package
npm install @jitsu/angular
and import Jitsu SDK module to your Angular application.
import { NgxJitsuModule } from '@jitsu/angular';
@NgModule({
// ...
imports: [
NgxJitsuModule.forRoot({
tracking_host: "__JITSU_HOST__",
key: "__API_KET__",
// See Jitsu SDK parameters section for more options
}),
],
// ...
})
export class AppModule {}
List of all parameters available in the SDK Reference
@Component({
selector: 'app-root',
template: '<button (click)="onBtnClick(\'test_btn\')">Test button</button>',
})
export class AppComponent implements OnInit {
constructor(private jitsuTracker: NgxJitsuService, private someUserService: SomeUserService) {
// subscribe on router navigation end event and track page view
router.events
.filter(event => event instanceof NavigationEnd)
.subscribe((event: NavigationEnd) => {
this.jitsuTracker.trackPageView()
});
}
onBtnClick(btnName:string) {
// send btn_click_event with button name payload on button click
this.jitsuTracker.track('btn_click_event', {btn: btnName})
}
ngOnInit() {
// identify current user for all track events
this.someUserService.currentUser.subscribe((user: User) => {
this.jitsuTracker.id({id: user.ID, email: user.EMAIL})
});
}
}
NgxJitsuService
tooYou can find example app here.
FAQs
Jitsu JavaScript SDK for Angular (more at http://jitsu.com/docs/js-sdk)
We found that @jitsu/angular demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.