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

opsgenie-sdk

Package Overview
Dependencies
Maintainers
6
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opsgenie-sdk - npm Package Compare versions

Comparing version 0.4.5 to 0.4.10

.idea/inspectionProfiles/Project_Default.xml

2

lib/api.js

@@ -88,6 +88,6 @@ "use strict";

if (response.statusCode < 200 || response.statusCode >= 300) {
err = JSON.parse(body);
if (process.env.NODE_ENV === 'development') {
err.response_stringified = JSON.stringify(response);
}
err = JSON.parse(body);
err.httpStatusCode = response.statusCode;

@@ -94,0 +94,0 @@ response = null;

@@ -19,3 +19,4 @@ "use strict";

'Accept': 'application/json',
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'User-Agent' : 'opsgenie-node-sdk:' + exports.sdkVersion
}

@@ -22,0 +23,0 @@ };

@@ -23,4 +23,7 @@ "use strict";

group: require('./resources/Group')(),
team: require('./resources/Team')()
team: require('./resources/Team')(),
incident: require('./incident/Incident')(),
heartbeat: require('./heartbeat/Heartbeat')(),
userV2: require('./userV2/UserV2')()
};
};

@@ -123,6 +123,6 @@ "use strict";

if (response.statusCode < 200 || response.statusCode >= 300) {
err = JSON.parse(JSON.stringify(body));
if (process.env.NODE_ENV === 'development') {
err.response_stringified = JSON.stringify(response);
}
err = JSON.parse(JSON.stringify(body));
err.httpStatusCode = response.statusCode;

@@ -129,0 +129,0 @@ response = null;

{
"name": "opsgenie-sdk",
"version": "0.4.5",
"version": "0.4.10",
"description": "OpsGenie Node.js SDK",

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

@@ -16,4 +16,7 @@ # OpsGenie Node.js SDK

- User API
- User API v2
- Group API
- Team API
- Heartbeat API
- Incident API
- Escalation API (TODO: will be available soon)

@@ -23,3 +26,2 @@ - Schedule API (TODO: will be available soon)

- Forwarding Rule API (TODO: will be available soon)
- Heartbeat API (TODO: will be available soon)
- Integration API (TODO: will be available soon)

@@ -26,0 +28,0 @@ - Policy API (TODO: will be available soon)

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