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

@betit/orion-node-sdk

Package Overview
Dependencies
Maintainers
43
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betit/orion-node-sdk - npm Package Compare versions

Comparing version 1.0.0-beta.36 to 1.0.0-beta.37

15

lib/service/index.js

@@ -30,2 +30,13 @@ "use strict";

/**
* Checks if a environment variable is true or 1.
* @param envName The name of the environment variable.
*/
function trueEnv(envName) {
return envName in process.env &&
process.env[envName] in {
'true': 0,
'1': 0,
};
}
/**
* Provides an interface to create your service and register request handlers.

@@ -49,4 +60,4 @@ */

this.logger = this.options.logger || new logger_1.Logger(name);
this.enableStatusEndpoints = ('enableStatusEndpoints' in options) ? options.enableStatusEndpoints : process.argv.indexOf('--watchdog') !== -1;
this.registerToWatchdog = ('registerToWatchdog' in options) ? options.registerToWatchdog : process.argv.indexOf('--watchdog') !== -1;
this.enableStatusEndpoints = ('enableStatusEndpoints' in options) ? options.enableStatusEndpoints : trueEnv('WATCHDOG');
this.registerToWatchdog = ('registerToWatchdog' in options) ? options.registerToWatchdog : trueEnv('WATCHDOG');
this.healthChecks = {};

@@ -53,0 +64,0 @@ this.watchdogServiceName = health_1.DefaultWatchdogServiceName();

2

package.json
{
"name": "@betit/orion-node-sdk",
"version": "1.0.0-beta.36",
"version": "1.0.0-beta.37",
"description": "SDK for orion",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -99,3 +99,3 @@ [![NPM version][npm-image]][npm-url]

Auto-generated documentation is located [here](https://betit.github.io/orion-node-sdk/).
Auto-generated documentation is located [here](https://gig.github.io/orion-node-sdk/).

@@ -113,3 +113,3 @@ ## Tests

[MIT](https://github.com/betit/orion-node-sdk/blob/master/LICENSE)
[MIT](https://github.com/GiG/orion-node-sdk/blob/master/LICENSE)

@@ -116,0 +116,0 @@ [npm-image]: https://badge.fury.io/js/%40betit%2Forion-node-sdk.svg

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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