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.1.1 to 1.2.0

lib/es5/IEventEmitter.d.ts

7

CHANGELOG.md

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

# [@qiwi/substrate-types-v1.2.0](https://github.com/qiwi/substrate/compare/v1.1.1...v1.2.0) (2019-02-11)
### Features
* add IEventEmitter ([35eb58f](https://github.com/qiwi/substrate/commit/35eb58f)), closes [#7](https://github.com/qiwi/substrate/issues/7)
# [@qiwi/substrate-types-v1.1.1](https://github.com/qiwi/substrate/compare/v1.1.0...v1.1.1) (2019-01-30)

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

3

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

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

@@ -0,1 +1,11 @@

declare module '@qiwi/substrate-types/lib/es5/IEventEmitter' {
type IEventListener = (...args: any[]) => void; type IEmitterMethod = (type: string, listener: IEventListener) => void;
interface IEventEmitter {
emit(type: string, ...args: any[]): void;
off: IEmitterMethod;
on: IEmitterMethod;
once: IEmitterMethod;
}
export { IEmitterMethod, IEventEmitter, IEventListener };
}
declare module '@qiwi/substrate-types/lib/es5/IStringMap' {

@@ -9,3 +19,4 @@ type IStringMap = {

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

@@ -12,0 +23,0 @@ declare module '@qiwi/substrate-types' {

@@ -9,2 +9,15 @@ /**

declare module "@qiwi/substrate-types/lib/es5/IEventEmitter" {
declare type IEventListener = (...args: any[]) => void;
declare type IEmitterMethod = (
type: string,
listener: IEventListener
) => void;
declare interface IEventEmitter {
emit(type: string, ...args: any[]): void;
off: IEmitterMethod;
on: IEmitterMethod;
once: IEmitterMethod;
}
}
declare module "@qiwi/substrate-types/lib/es5/IStringMap" {

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

declare module "@qiwi/substrate-types/lib/es5/index" {
import type { IEventEmitter } from "@qiwi/substrate-types/lib/es5/IEventEmitter"
import type { IStringMap } from "@qiwi/substrate-types/lib/es5/IStringMap"

@@ -18,0 +33,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