*Keep data inside query
This commit is contained in:
parent
f5c7daabbb
commit
80eb7151a9
|
@ -40,12 +40,10 @@ export class RpcNetwork extends Client {
|
||||||
public simpleQuery({
|
public simpleQuery({
|
||||||
relay,
|
relay,
|
||||||
query,
|
query,
|
||||||
data = {},
|
|
||||||
options = {},
|
options = {},
|
||||||
}: {
|
}: {
|
||||||
relay?: Buffer | string;
|
relay?: Buffer | string;
|
||||||
query: ClientRPCRequest;
|
query: ClientRPCRequest;
|
||||||
data: object | any[];
|
|
||||||
options?: RpcQueryOptions;
|
options?: RpcQueryOptions;
|
||||||
}): SimpleRpcQuery {
|
}): SimpleRpcQuery {
|
||||||
return new SimpleRpcQuery({
|
return new SimpleRpcQuery({
|
||||||
|
|
Loading…
Reference in New Issue