Bump deps (#1745)
* Bump deps * Fix test expectation * Mark doc internal
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user