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

@jupiterone/jupiterone-client-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/jupiterone-client-nodejs - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

11

dist/index.d.ts

@@ -44,11 +44,2 @@ import { ApolloClient, QueryOptions } from 'apollo-client';

}
export interface CommitRange {
account_uuid: string;
repo_uuid: string;
source: string;
destination: string;
}
export interface IngestionResults {
entities: object[];
}
export interface QueryResult {

@@ -179,4 +170,2 @@ id: string;

queryGraphQL(query: any): Promise<import("apollo-client").ApolloQueryResult<any>>;
ingestEntities(integrationInstanceId: string, entities: any[]): Promise<IngestionResults>;
ingestCommitRange(integrationInstanceId: string, commitRange: CommitRange): Promise<IngestionResults>;
mutateAlertRule(rule: any, update: any): Promise<any>;

@@ -183,0 +172,0 @@ createEntity(key: string, type: string, classLabels: string[], properties: any): Promise<object>;

@@ -384,26 +384,2 @@ "use strict";

}
async ingestEntities(integrationInstanceId, entities) {
return node_fetch_1.default(this.apiUrl + '/integrations/ingest', {
method: 'POST',
body: JSON.stringify({ integrationInstanceId, entities }),
headers: {
'Content-Type': 'application/json',
...this.headers,
},
}).then((res) => res.json());
}
async ingestCommitRange(integrationInstanceId, commitRange) {
return node_fetch_1.default(this.apiUrl + '/integrations/action', {
method: 'POST',
body: JSON.stringify({
integrationInstanceId,
action: { name: 'INGEST', commitRange },
}),
headers: {
'Content-Type': 'application/json',
...this.headers,
},
timeout: 10000,
}).then((res) => res.json());
}
async mutateAlertRule(rule, update) {

@@ -410,0 +386,0 @@ var _a;

2

package.json
{
"name": "@jupiterone/jupiterone-client-nodejs",
"version": "1.1.0",
"version": "2.0.0",
"description": "A node.js client wrapper for JupiterOne public API",

@@ -5,0 +5,0 @@ "repository": {

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