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

@qiwi/substrate-types

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/substrate-types - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

lib/es5/ILogger.d.ts

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [@qiwi/substrate-types-v1.3.0](https://github.com/qiwi/substrate/compare/v1.2.0...v1.3.0) (2019-02-13)
### Features
* add ILogger ([2e5373e](https://github.com/qiwi/substrate/commit/2e5373e)), closes [#2](https://github.com/qiwi/substrate/issues/2)
# [@qiwi/substrate-types-v1.2.0](https://github.com/qiwi/substrate/compare/v1.1.1...v1.2.0) (2019-02-11)

@@ -2,0 +9,0 @@

3

lib/es5/index.d.ts
import { IStringMap } from './IStringMap';
import { IEventEmitter } from './IEventEmitter';
export { IStringMap, IEventEmitter };
import { ILogger, TLogLevel, ILoggerMethod } from './ILogger';
export { IStringMap, IEventEmitter, ILogger, ILoggerMethod, TLogLevel };
import { IStringMap } from './IStringMap';
import { IEventEmitter } from './IEventEmitter';
export { IStringMap, IEventEmitter };
import { ILogger, TLogLevel, ILoggerMethod } from './ILogger';
export { IStringMap, IEventEmitter, ILogger, ILoggerMethod, TLogLevel };
import { IStringMap } from './IStringMap'
import { IEventEmitter } from './IEventEmitter';
import { ILogger, TLogLevel, ILoggerMethod } from './ILogger';
export {
IStringMap,
IEventEmitter
IEventEmitter,
ILogger,
ILoggerMethod,
TLogLevel
}
{
"name": "@qiwi/substrate-types",
"version": "1.2.0",
"version": "1.3.0",
"main": "lib/es5/index.js",

@@ -5,0 +5,0 @@ "types": "typings/index.d.ts",

@@ -11,2 +11,17 @@ declare module '@qiwi/substrate-types/lib/es5/IEventEmitter' {

}
declare module '@qiwi/substrate-types/lib/es5/ILogger' {
type ILoggerMethod = (...args: any[]) => undefined | null; type TLogLevel = number;
interface ILogger {
trace: ILoggerMethod;
debug: ILoggerMethod;
info: ILoggerMethod;
log: ILoggerMethod;
warn: ILoggerMethod;
error: ILoggerMethod;
fatal?: ILoggerMethod;
[key: string]: any;
[key: number]: any;
}
export { ILoggerMethod, TLogLevel, ILogger };
}
declare module '@qiwi/substrate-types/lib/es5/IStringMap' {

@@ -21,3 +36,4 @@ type IStringMap = {

import { IEventEmitter } from '@qiwi/substrate-types/lib/es5/IEventEmitter';
export { IStringMap, IEventEmitter };
import { ILogger, TLogLevel, ILoggerMethod } from '@qiwi/substrate-types/lib/es5/ILogger';
export { IStringMap, IEventEmitter, ILogger, ILoggerMethod, TLogLevel };
}

@@ -24,0 +40,0 @@ declare module '@qiwi/substrate-types' {

@@ -22,2 +22,17 @@ /**

}
declare module "@qiwi/substrate-types/lib/es5/ILogger" {
declare type ILoggerMethod = (...args: any[]) => void | null;
declare type TLogLevel = number;
declare interface ILogger {
trace: ILoggerMethod;
debug: ILoggerMethod;
info: ILoggerMethod;
log: ILoggerMethod;
warn: ILoggerMethod;
error: ILoggerMethod;
fatal?: ILoggerMethod;
[key: string]: any;
[key: number]: any;
}
}
declare module "@qiwi/substrate-types/lib/es5/IStringMap" {

@@ -29,2 +44,4 @@ declare type IStringMap = {

declare module "@qiwi/substrate-types/lib/es5/index" {
import type { ILogger, TLogLevel, ILoggerMethod } from "@qiwi/substrate-types/lib/es5/ILogger"
import type { IEventEmitter } from "@qiwi/substrate-types/lib/es5/IEventEmitter"

@@ -31,0 +48,0 @@

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