@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@polkadot/api",
|
||||
"version": "1.13.0-beta.19",
|
||||
"version": "1.13.0",
|
||||
"description": "Promise and RxJS wrappers around the Polkadot JS RPC",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
@@ -27,13 +27,13 @@
|
||||
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.6",
|
||||
"@polkadot/api-derive": "1.13.0-beta.19",
|
||||
"@polkadot/api-derive": "1.13.0",
|
||||
"@polkadot/keyring": "^2.9.1",
|
||||
"@polkadot/metadata": "1.13.0-beta.19",
|
||||
"@polkadot/rpc-core": "1.13.0-beta.19",
|
||||
"@polkadot/rpc-provider": "1.13.0-beta.19",
|
||||
"@polkadot/types": "1.13.0-beta.19",
|
||||
"@polkadot/types-known": "1.13.0-beta.19",
|
||||
"@polkadot/metadata": "1.13.0",
|
||||
"@polkadot/rpc-core": "1.13.0",
|
||||
"@polkadot/rpc-provider": "1.13.0",
|
||||
"@polkadot/types": "1.13.0",
|
||||
"@polkadot/types-known": "1.13.0",
|
||||
"@polkadot/util": "^2.9.1",
|
||||
"@polkadot/util-crypto": "^2.9.1",
|
||||
"bn.js": "^5.1.1",
|
||||
|
||||
@@ -13,6 +13,7 @@ import { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
||||
import { ContractCallRequest, ContractExecResult } from '@polkadot/types/interfaces/contracts';
|
||||
import { CreatedBlock } from '@polkadot/types/interfaces/engine';
|
||||
import { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
||||
import { ReportedRoundStates } from '@polkadot/types/interfaces/grandpa';
|
||||
import { StorageKind } from '@polkadot/types/interfaces/offchain';
|
||||
import { RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment';
|
||||
import { RpcMethods } from '@polkadot/types/interfaces/rpc';
|
||||
@@ -140,6 +141,12 @@ declare module '@polkadot/rpc-core/types.jsonrpc' {
|
||||
**/
|
||||
finalizeBlock: AugmentedRpc<(hash: BlockHash | string | Uint8Array, justification?: Justification | string | Uint8Array) => Observable<bool>>;
|
||||
};
|
||||
grandpa: {
|
||||
/**
|
||||
* Returns the state of the current best round state as well as the ongoing background rounds
|
||||
**/
|
||||
roundState: AugmentedRpc<() => Observable<ReportedRoundStates>>;
|
||||
};
|
||||
offchain: {
|
||||
/**
|
||||
* Get offchain local storage under given key and prefix
|
||||
|
||||
Reference in New Issue
Block a user