* Bump deps

* Fix test expectation

* Mark doc internal
This commit is contained in:
Jaco Greeff
2020-01-26 10:27:44 +01:00
committed by GitHub
parent 215b659a9a
commit 3db15e73a5
15 changed files with 3408 additions and 2933 deletions
@@ -6,6 +6,7 @@ import { RpcMethodOpt, RpcMethod } from '../types';
import { isUndefined } from '@polkadot/util';
/** @internal */
export default function createMethod (section: string, method: string, { description, isDeprecated = false, isHidden = false, isOptional = false, isSigned = false, params, pubsub, type }: RpcMethodOpt): RpcMethod {
return {
description,
@@ -9,6 +9,7 @@ interface RpcParamOptions {
isOptional?: boolean;
}
/** @internal */
export default function createParam (name: string, type: InterfaceTypes, { isOptional = false }: RpcParamOptions = { isOptional: false }): RpcParam {
return {
isOptional,