@skbkontur/node-core
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
// @flow | ||
/* :: | ||
import type { Options, Config, Process, Logger } from './types'; | ||
import type { Options, UserOptions, Config, Process, Logger } from './types'; | ||
import type { IStrategy, IRequestSender, HttpRequest, HttpResponse } from '@skbkontur/cluster-client' | ||
export type { Options, Config, Logger, HttpRequest, HttpResponse }; | ||
export type { Options, UserOptions, Config, Logger, HttpRequest, HttpResponse }; | ||
*/ | ||
@@ -51,3 +51,3 @@ | ||
async function runApp(process /* : Process */, config /* : Config */, options /* : Options */) { | ||
async function runApp(process /* : Process */, config /* : Config */, options /* : UserOptions */) { | ||
checkConfig(config) | ||
@@ -54,0 +54,0 @@ const opts = Object.assign({}, defaultOptions, options) |
@@ -19,2 +19,13 @@ // @flow | ||
export type UserOptions = { | ||
monitoring?: bool, | ||
processMonitoring?: bool, | ||
requestLogger?: bool, | ||
tracing?: bool, | ||
errorHandling?: bool, | ||
prefixSpanAggrHostname?: string, | ||
prefixSpanAggrProtocol?: string, | ||
prefixGraphiteTopology?: string | ||
} | ||
export type Options = { | ||
@@ -21,0 +32,0 @@ monitoring: bool, |
{ | ||
"name": "@skbkontur/node-core", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "", | ||
@@ -16,3 +16,3 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@skbkontur/cluster-client": "^1.0.0-rc.5", | ||
"@skbkontur/cluster-client": "^1.0.0-rc.6", | ||
"@skbkontur/cluster-config-client": "^0.0.3", | ||
@@ -19,0 +19,0 @@ "@skbkontur/monitoring-client": "^1.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36684
726