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.32.0 to 1.33.0

7

CHANGELOG.md

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

# @qiwi/substrate-types [1.33.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.32.0...@qiwi/substrate-types@1.33.0) (2020-04-02)
### Features
* **types:** add getOwnMetadata method to IMetadataProvider ([ab0fce8](https://github.com/qiwi/substrate/commit/ab0fce849569ded420b10317b0f123d25cb3bb8b))
# @qiwi/substrate-types [1.32.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.31.1...@qiwi/substrate-types@1.32.0) (2020-03-31)

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

6

package.json
{
"name": "@qiwi/substrate-types",
"version": "1.32.0",
"version": "1.33.0",
"main": "target/es5/index.js",

@@ -45,5 +45,5 @@ "source": "target/ts/index.ts",

"@types/config": "^0.0.36",
"@types/jest": "^25.1.4",
"@types/jest": "^25.1.5",
"@types/lodash": "^4.14.149",
"@types/node": "^13.9.8",
"@types/node": "^13.11.0",
"@types/parsimmon": "^1.10.1",

@@ -50,0 +50,0 @@ "@types/underscore": "^1.9.4",

export interface IMetadataProvider {
defineMetadata(metadataKey: any, metadataValue: any, target: any, propertyKey?: string | symbol): void;
hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean;
getMetadata(metadataKey: any, target: any): any;
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
}
export interface IMetadataProvider {
defineMetadata(metadataKey: any, metadataValue: any, target: any, propertyKey?: string | symbol): void;
hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean;
getMetadata(metadataKey: any, target: any): any;
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
}
export interface IMetadataProvider {
defineMetadata(metadataKey: any, metadataValue: any, target: any, propertyKey?: string | symbol): void
hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean
getMetadata(metadataKey: any, target: any): any
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any
}

@@ -233,3 +233,4 @@ declare module '@qiwi/substrate-types/target/es5/IAnyMap' {

hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean;
getMetadata(metadataKey: any, target: any): any;
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any;
}

@@ -236,0 +237,0 @@ }

@@ -334,3 +334,12 @@ /**

): boolean;
getMetadata(metadataKey: any, target: any): any;
getMetadata(
metadataKey: any,
target: any,
propertyKey?: string | Symbol
): any;
getOwnMetadata(
metadataKey: any,
target: any,
propertyKey?: string | Symbol
): any;
}

@@ -337,0 +346,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