@polkadot-api/metadata-builders
Advanced tools
Comparing version 0.1.0 to 0.2.0
import * as scale from '@polkadot-api/substrate-bindings'; | ||
import { StringRecord, V15, Codec } from '@polkadot-api/substrate-bindings'; | ||
import { StringRecord, V14, V15, Codec } from '@polkadot-api/substrate-bindings'; | ||
@@ -172,3 +172,3 @@ type MetadataPrimitives = "bool" | "char" | "str" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "i8" | "i16" | "i32" | "i64" | "i128" | "i256"; | ||
declare const getDynamicBuilder: (metadata: V15) => { | ||
declare const getDynamicBuilder: (metadata: V14 | V15) => { | ||
buildDefinition: (id: number) => Codec<any>; | ||
@@ -211,3 +211,3 @@ buildStorage: (pallet: string, entry: string) => { | ||
declare const getChecksumBuilder: (metadata: V15) => { | ||
declare const getChecksumBuilder: (metadata: V14 | V15) => { | ||
buildDefinition: (id: number) => string | null; | ||
@@ -214,0 +214,0 @@ buildRuntimeCall: (api: string, method: string) => string | null; |
import * as scale from '@polkadot-api/substrate-bindings'; | ||
import { StringRecord, V15, Codec } from '@polkadot-api/substrate-bindings'; | ||
import { StringRecord, V14, V15, Codec } from '@polkadot-api/substrate-bindings'; | ||
@@ -172,3 +172,3 @@ type MetadataPrimitives = "bool" | "char" | "str" | "u8" | "u16" | "u32" | "u64" | "u128" | "u256" | "i8" | "i16" | "i32" | "i64" | "i128" | "i256"; | ||
declare const getDynamicBuilder: (metadata: V15) => { | ||
declare const getDynamicBuilder: (metadata: V14 | V15) => { | ||
buildDefinition: (id: number) => Codec<any>; | ||
@@ -211,3 +211,3 @@ buildStorage: (pallet: string, entry: string) => { | ||
declare const getChecksumBuilder: (metadata: V15) => { | ||
declare const getChecksumBuilder: (metadata: V14 | V15) => { | ||
buildDefinition: (id: number) => string | null; | ||
@@ -214,0 +214,0 @@ buildRuntimeCall: (api: string, method: string) => string | null; |
{ | ||
"name": "@polkadot-api/metadata-builders", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"author": "Josep M Sobrepere (https://github.com/josepot)", | ||
@@ -43,4 +43,4 @@ "repository": { | ||
"dependencies": { | ||
"@polkadot-api/utils": "0.0.1", | ||
"@polkadot-api/substrate-bindings": "0.1.0" | ||
"@polkadot-api/substrate-bindings": "0.2.0", | ||
"@polkadot-api/utils": "0.0.1" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
252335
0
+ Added@polkadot-api/substrate-bindings@0.2.0(transitive)
- Removed@polkadot-api/substrate-bindings@0.1.0(transitive)