Commit graph

1 commit

Author SHA1 Message Date
Antoni Spaanderman
a8658b8b4a
grpc -> grpcjs + generated ts types from proto files
notes:
 * grpcjs doesnt like ByteBuffer, it has been replaced with the nodejs
   native Buffer
 * grpcjs doesnt like calls without an argument, add {} instead
   see src/grpc/subscribe.ts:24
 * grpcjs converts uint64 in a map key (map<uint64, ...>) to some hash,
   this is fixed with protobuf_long.patch which is automatically applied
   after running `npm install`
   this pr would fix the bug upstream https://github.com/protobufjs/protobuf.js/pull/1669
2023-02-17 21:37:59 +01:00