New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ng-intercom

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-intercom - npm Package Compare versions

Comparing version 1.0.0-alpha.2 to 1.0.0-alpha.3

2

package.json
{
"name": "ng-intercom",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "An Intercom wrapper for Angular",

@@ -5,0 +5,0 @@ "main": "./dist/index",

@@ -11,3 +11,8 @@ import { CommonModule } from '@angular/common';

import { IntercomConfig } from './types/intercom-config';
import { loadIntercom } from './util/load-intercom';
export function getIntercomService(config: IntercomConfig) {
loadIntercom(config.app_id);
return new Intercom(config);
}

@@ -39,3 +44,7 @@ @NgModule({

providers: [
{ provide: Intercom, useValue: config }
{
provide: Intercom,
useFactory: getIntercomService,
deps: [config]
}
]

@@ -42,0 +51,0 @@ }

import { Injectable } from '@angular/core';
import { IntercomConfig } from '../types/intercom-config';
import { loadIntercom } from '../util/load-intercom';

@@ -15,3 +14,2 @@ /**

) {
loadIntercom(config.app_id);
}

@@ -18,0 +16,0 @@

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