better-grpc 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -24436,14 +24436,11 @@ var GrpcClient = class {
24436
24436
 
24437
24437
  // src/runtime/grpc-client.ts
24438
24438
  var DEFAULT_OPTIONS = {
24439
- "grpc.max_receive_message_length": 10 * 1024 * 1024,
24440
- "grpc.max_send_message_length": 10 * 1024 * 1024,
24439
+ "grpc.max_receive_message_length": 1e4,
24440
+ "grpc.max_send_message_length": 5e3,
24441
24441
  "grpc.keepalive_time_ms": 3e4,
24442
24442
  "grpc.keepalive_timeout_ms": 1e4,
24443
- "grpc.keepalive_permit_without_calls": 1,
24444
- "grpc.http2.max_pings_without_data": 0,
24445
- "grpc.http2.min_time_between_pings_ms": 1e4,
24446
- "grpc.http2.min_ping_interval_without_data_ms": 1e4
24443
+ "grpc.keepalive_permit_without_calls": 1
24447
24444
  };
24448
24445
  async function createGrpcClient(address, grpcOptionsOrServiceImpls, ...serviceImpls) {
24449
24446
  const isServiceImpl = grpcOptionsOrServiceImpls instanceof Object && "type" in grpcOptionsOrServiceImpls && "serviceClass" in grpcOptionsOrServiceImpls;