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

intercom-client

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intercom-client - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

12

dist/client.js

@@ -66,3 +66,3 @@ 'use strict';

value: function ping(f) {
unirest.get('https://api.intercom.io/admins').auth(this.appId, this.appApiKey).type('json').header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest.get('https://api.intercom.io/admins').auth(this.appId, this.appApiKey).type('json').header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return f(r.status);

@@ -76,3 +76,3 @@ });

unirest.put('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').send(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest.put('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').send(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return _this.callback(f, r);

@@ -86,3 +86,3 @@ });

unirest.post('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').send(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest.post('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').send(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return _this2.callback(f, r);

@@ -96,3 +96,3 @@ });

unirest.get('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').query(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest.get('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').query(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return _this3.callback(f, r);

@@ -106,3 +106,3 @@ });

unirest.get(paginationObject.next).auth(this.appId, this.appApiKey).type('json').header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest.get(paginationObject.next).auth(this.appId, this.appApiKey).type('json').header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return _this4.callback(f, r);

@@ -116,3 +116,3 @@ });

unirest['delete']('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').query(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.0').end(function (r) {
unirest['delete']('https://api.intercom.io' + endpoint).auth(this.appId, this.appApiKey).type('json').query(data).header('Accept', 'application/json').header('User-Agent', 'intercom-node-client/0.5.1').end(function (r) {
return _this5.callback(f, r);

@@ -119,0 +119,0 @@ });

{
"name": "intercom-client",
"version": "0.5.0",
"version": "0.5.1",
"description": "Official Node bindings to the Intercom API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/intercom/intercom-node",

@@ -289,8 +289,8 @@ # intercom-node

from: {
"type": "admin",
"id": "21599"
type: "admin",
id: "21599"
},
to: {
"type": "user",
"id": "55c1ce1def857c31f80001af"
type: "user",
id: "55c1ce1def857c31f80001af"
}

@@ -305,7 +305,7 @@ }

var message = {
"from": {
"type": "user",
"id": "55c1ce1def857c31f80001af"
from: {
type: "user",
id: "55c1ce1def857c31f80001af"
},
"body": "Howdy"
body: "Howdy"
}

@@ -316,2 +316,4 @@

## Conversations
Listing conversations ([documentation](https://doc.intercom.io/api/#list-conversations)):

@@ -318,0 +320,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