@arcblock/forge-proto
Advanced tools
Comparing version 0.15.1 to 0.16.0
@@ -196,3 +196,4 @@ const fs = require('fs'); | ||
function getMessageType(type) { | ||
const { fields, oneofs } = get(spec, type) || get(extraSpec, type) || {}; | ||
const { fields, oneofs } = | ||
get(spec, type) || get(extraSpec, type) || get(spec, `abci_vendor.${type}`) || {}; | ||
return { | ||
@@ -199,0 +200,0 @@ fn: get(types, type) || get(vendorTypes, type) || get(extraTypes, type), |
@@ -150,2 +150,13 @@ // GENERATED CODE -- DO NOT EDIT! | ||
function serialize_forge_abi_RequestGetHealthStatus(arg) { | ||
if (!(arg instanceof rpc_pb.RequestGetHealthStatus)) { | ||
throw new Error('Expected argument of type forge_abi.RequestGetHealthStatus'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_RequestGetHealthStatus(buffer_arg) { | ||
return rpc_pb.RequestGetHealthStatus.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_RequestGetNetInfo(arg) { | ||
@@ -569,2 +580,13 @@ if (!(arg instanceof rpc_pb.RequestGetNetInfo)) { | ||
function serialize_forge_abi_ResponseGetHealthStatus(arg) { | ||
if (!(arg instanceof rpc_pb.ResponseGetHealthStatus)) { | ||
throw new Error('Expected argument of type forge_abi.ResponseGetHealthStatus'); | ||
} | ||
return Buffer.from(arg.serializeBinary()); | ||
} | ||
function deserialize_forge_abi_ResponseGetHealthStatus(buffer_arg) { | ||
return rpc_pb.ResponseGetHealthStatus.deserializeBinary(new Uint8Array(buffer_arg)); | ||
} | ||
function serialize_forge_abi_ResponseGetNetInfo(arg) { | ||
@@ -1296,4 +1318,15 @@ if (!(arg instanceof rpc_pb.ResponseGetNetInfo)) { | ||
}, | ||
get_health_status: { | ||
path: '/forge_abi.StatisticRpc/get_health_status', | ||
requestStream: false, | ||
responseStream: false, | ||
requestType: rpc_pb.RequestGetHealthStatus, | ||
responseType: rpc_pb.ResponseGetHealthStatus, | ||
requestSerialize: serialize_forge_abi_RequestGetHealthStatus, | ||
requestDeserialize: deserialize_forge_abi_RequestGetHealthStatus, | ||
responseSerialize: serialize_forge_abi_ResponseGetHealthStatus, | ||
responseDeserialize: deserialize_forge_abi_ResponseGetHealthStatus, | ||
}, | ||
}); | ||
exports.StatisticRpcClient = grpc.makeGenericClientConstructor(StatisticRpcService); |
{ | ||
"name": "@arcblock/forge-proto", | ||
"description": "Static modules generated from forge-sdk protobuf files", | ||
"version": "0.15.1", | ||
"version": "0.16.0", | ||
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)", | ||
@@ -57,3 +57,3 @@ "engines": { | ||
}, | ||
"gitHead": "d5527d87709d29ca624450e50128519cbb62a98d" | ||
"gitHead": "4632036771800e630e00b2a4ae3610f742eeff71" | ||
} |
# [**@arcblock/forge-proto**](https://github.com/arcblock/forge-js/packages/forge-proto) | ||
[![build status](https://img.shields.io/travis/ArcBlock/forge-js.svg)](https://travis-ci.org/ArcBlock/forge-js) | ||
[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo) | ||
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) | ||
[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org) | ||
[![license](https://img.shields.io/github/license/ArcBlock/forge-js.svg)](LICENSE) | ||
@@ -17,4 +13,2 @@ > Javascript modules generated using protoc from ForgeSDK protobuf | ||
- [Usage](#usage) | ||
- [Contributors](#contributors) | ||
- [License](#license) | ||
@@ -42,13 +36,1 @@ ## Install | ||
``` | ||
## Contributors | ||
| Name | Website | | ||
| -------------- | ------------------------- | | ||
| **wangshijun** | <https://www.arcblock.io> | | ||
- wangshijun | ||
## License | ||
[MIT](LICENSE) © [ArcBlock](https://www.arcblock.io) |
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
1790352
51072
35