@arcblock/forge-proto
Advanced tools
Comparing version 0.8.6 to 0.8.7
@@ -161,2 +161,13 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_forge_abi_RequestGetNodeInfo(arg) { | ||
if (!(arg instanceof rpc_pb.RequestGetNodeInfo)) { | ||
throw new Error('Expected argument of type forge_abi.RequestGetNodeInfo'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_RequestGetNodeInfo(buffer_arg) { | ||
return rpc_pb.RequestGetNodeInfo.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_RequestGetStakeState(arg) { | ||
@@ -536,2 +547,13 @@ if (!(arg instanceof rpc_pb.RequestGetStakeState)) { | ||
function serialize_forge_abi_ResponseGetNodeInfo(arg) { | ||
if (!(arg instanceof rpc_pb.ResponseGetNodeInfo)) { | ||
throw new Error('Expected argument of type forge_abi.ResponseGetNodeInfo'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_ResponseGetNodeInfo(buffer_arg) { | ||
return rpc_pb.ResponseGetNodeInfo.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_ResponseGetStakeState(arg) { | ||
@@ -855,2 +877,13 @@ if (!(arg instanceof rpc_pb.ResponseGetStakeState)) { | ||
}, | ||
get_node_info: { | ||
path: '/forge_abi.ChainRpc/get_node_info', | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: rpc_pb.RequestGetNodeInfo, | ||
responseType: rpc_pb.ResponseGetNodeInfo, | ||
requestSerialize: serialize_forge_abi_RequestGetNodeInfo, | ||
requestDeserialize: deserialize_forge_abi_RequestGetNodeInfo, | ||
responseSerialize: serialize_forge_abi_ResponseGetNodeInfo, | ||
responseDeserialize: deserialize_forge_abi_ResponseGetNodeInfo, | ||
}, | ||
search: { | ||
@@ -857,0 +890,0 @@ path: '/forge_abi.ChainRpc/search', |
@@ -15,4 +15,4 @@ /** | ||
var rpc_pb = require('./rpc_pb.js'); | ||
goog.object.extend(exports, proto.forge_abi); | ||
goog.object.extend(proto, rpc_pb); | ||
module.exports = proto.forge_abi; |
{ | ||
"name": "@arcblock/forge-proto", | ||
"description": "Static modules generated from forge-sdk protobuf files", | ||
"version": "0.8.6", | ||
"version": "0.8.7", | ||
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)", | ||
@@ -58,3 +58,3 @@ "engines": { | ||
}, | ||
"gitHead": "d0b8b24bd8189bfb0964ee52fc08d62f10f6a060" | ||
"gitHead": "2922c1ac44158dbe226c2499415d6360da744a45" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1509434
23
43021