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

opsgenie-sdk

Package Overview
Dependencies
Maintainers
1
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.3.1 to 0.3.2

localhost

2

lib/api.js

@@ -30,3 +30,3 @@ "use strict";

function getHost() {
return utils.getDefaultApiEndpoint(configuration.default_options.mode);
return configuration.default_options.host;
}

@@ -33,0 +33,0 @@

@@ -6,11 +6,2 @@ "use strict";

var getDefaultEndpoint = exports.getDefaultEndpoint = function getDefaultEndpoint(mode) {
return (typeof mode === "string" && mode === "live") ? "opsgenie.com" : "opsgeni.us";
};
var getDefaultApiEndpoint = exports.getDefaultApiEndpoint = function getDefaultApiEndpoint(mode) {
var api = (typeof mode === "string" && mode === "live") ? "https://api." : "https://api."; // prefix is api in lab, too
return api + getDefaultEndpoint(mode);
};
/**

@@ -17,0 +8,0 @@ * Recursively copies given object into a new object. Helper method for merge

{
"name": "opsgenie-sdk",
"version": "0.3.1",
"version": "0.3.2",
"description": "OpsGenie Node.js SDK",

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

Sorry, the diff of this file is not supported yet

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