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.3.1 to 1.4.0

lib/es5/IUtilGet.d.ts

7

CHANGELOG.md

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

# [@qiwi/substrate-types-v1.4.0](https://github.com/qiwi/substrate/compare/v1.3.1...v1.4.0) (2019-03-07)
### Features
* **types:** add TUtilGet ([#19](https://github.com/qiwi/substrate/issues/19)) ([c81b311](https://github.com/qiwi/substrate/commit/c81b311))
# [@qiwi/substrate-types-v1.3.1](https://github.com/qiwi/substrate/compare/v1.3.0...v1.3.1) (2019-02-14)

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

1

lib/es5/index.d.ts
export { IStringMap } from './IStringMap';
export { IEventEmitter } from './IEventEmitter';
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger';
export { TUtilGet } from './IUtilGet';
export { IStringMap } from './IStringMap';
export { IEventEmitter } from './IEventEmitter';
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger';
export { TUtilGet } from './IUtilGet';
export { IStringMap } from './IStringMap'
export { IEventEmitter } from './IEventEmitter'
export { ILogger, TLogLevel, ILoggerMethod } from './ILogger'
export { TUtilGet } from './IUtilGet'

8

package.json
{
"name": "@qiwi/substrate-types",
"version": "1.3.1",
"version": "1.4.0",
"main": "lib/es5/index.js",

@@ -37,4 +37,4 @@ "types": "typings/index.d.ts",

"devDependencies": {
"@types/jest": "^24.0.4",
"@types/node": "^11.9.3",
"@types/jest": "^24.0.6",
"@types/node": "^11.9.4",
"@types/lodash": "^4.14.121",

@@ -49,4 +49,4 @@ "@types/parsimmon": "^1.10.0",

"typescript": "3.3.3",
"dtslint": "^0.4.2"
"dtslint": "^0.4.4"
}
}

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

}
declare module '@qiwi/substrate-types/lib/es5/IUtilGet' {
type TUtilGetPath = Array<string | number> | string;
type TUtilGetObject = object;
type TUtilGetDefaultValue = any;
type TUtilGetResponse = any;
type TUtilGet = (obj: TUtilGetObject, path: TUtilGetPath, defaultValue?: TUtilGetDefaultValue) => TUtilGetResponse;
}
declare module '@qiwi/substrate-types/lib/es5/index' {

@@ -36,2 +43,3 @@ export { IStringMap } from '@qiwi/substrate-types/lib/es5/IStringMap';

export { ILogger, TLogLevel, ILoggerMethod } from '@qiwi/substrate-types/lib/es5/ILogger';
export { TUtilGet } from '@qiwi/substrate-types/lib/es5/IUtilGet';
}

@@ -38,0 +46,0 @@ declare module '@qiwi/substrate-types' {

@@ -42,2 +42,13 @@ /**

}
declare module "@qiwi/substrate-types/lib/es5/IUtilGet" {
declare export type TUtilGetPath = Array<string | number> | string;
declare export type TUtilGetObject = { [key: string]: any };
declare export type TUtilGetDefaultValue = any;
declare export type TUtilGetResponse = any;
declare export type TUtilGet = (
obj: TUtilGetObject,
path: TUtilGetPath,
defaultValue?: TUtilGetDefaultValue
) => TUtilGetResponse;
}
declare module "@qiwi/substrate-types/lib/es5/index" {

@@ -55,2 +66,4 @@ declare export { IStringMap } from "@qiwi/substrate-types/lib/es5/IStringMap";

} from "@qiwi/substrate-types/lib/es5/ILogger";
declare export { TUtilGet } from "@qiwi/substrate-types/lib/es5/IUtilGet";
}

@@ -57,0 +70,0 @@ declare module "@qiwi/substrate-types" {

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