Skip to content

Commit 738d9e1

Browse files
committed
deps: Upgrade API JSONs
1 parent 2a30b04 commit 738d9e1

23 files changed

Lines changed: 4968 additions & 14761 deletions

data/api/builder.json

Lines changed: 328 additions & 865 deletions
Large diffs are not rendered by default.

data/api/client-connectrpc.json

Lines changed: 168 additions & 168 deletions
Large diffs are not rendered by default.

data/api/client-deno-kv.json

Lines changed: 128 additions & 128 deletions
Large diffs are not rendered by default.

data/api/client-graphql.json

Lines changed: 136 additions & 94 deletions
Large diffs are not rendered by default.

data/api/client-grpc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "client-grpc",
33
"specifier": "@probitas/client-grpc",
4-
"version": "0.2.0",
4+
"version": "0.2.1",
55
"moduleDoc": "gRPC client for [Probitas](https://github.com/jsr-probitas/probitas) scenario testing framework.\n\nThis package provides a gRPC client with Server Reflection support, designed for\nintegration testing of gRPC services. It is a thin wrapper around\n[`@probitas/client-connectrpc`](https://jsr.io/@probitas/client-connectrpc) with\n`protocol: \"grpc\"` pre-configured.\n\n## Features\n\n- **Native gRPC**: Uses gRPC protocol (HTTP/2 with binary protobuf)\n- **Server Reflection**: Auto-discover services and methods at runtime\n- **Fluent Assertions**: Chain assertions like `.ok()`, `.dataContains()`, `.code()`\n- **TLS Support**: Configure secure connections with custom certificates\n- **Duration Tracking**: Built-in timing for performance assertions\n- **Error Handling**: Test error responses without throwing exceptions\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-grpc\n```\n\n## Quick Start\n\n```ts\nimport { createGrpcClient, expectGrpcResponse } from \"@probitas/client-grpc\";\n\n// Create client (uses reflection by default)\nconst client = createGrpcClient({\n url: \"http://localhost:50051\",\n});\n\n// Call a method with fluent assertions\nconst response = await client.call(\n \"echo.EchoService\",\n \"echo\",\n { message: \"Hello!\" }\n);\n\nexpectGrpcResponse(response)\n .ok()\n .dataContains({ message: \"Hello!\" })\n .durationLessThan(1000);\n\nawait client.close();\n```\n\n## Service Discovery\n\n```ts\n// Discover available services\nconst services = await client.reflection.listServices();\nconsole.log(\"Services:\", services);\n\n// Get method information\nconst info = await client.reflection.getServiceInfo(\"echo.EchoService\");\nconsole.log(\"Methods:\", info.methods);\n```\n\n## Using with `using` Statement\n\n```ts\nawait using client = createGrpcClient({ url: \"http://localhost:50051\" });\n\nconst res = await client.call(\"echo.EchoService\", \"echo\", { message: \"test\" });\nexpectGrpcResponse(res).ok();\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-connectrpc`](https://jsr.io/@probitas/client-connectrpc) | ConnectRPC client (supports Connect, gRPC, gRPC-Web) |\n\n## Links\n\n- [GitHub Repository](https://github.com/jsr-probitas/probitas-client)\n- [Probitas Framework](https://github.com/jsr-probitas/probitas)\n- [gRPC](https://grpc.io/)\n",
66
"exports": [
77
{
@@ -4144,7 +4144,7 @@
41444144
"name": "GrpcClientConfig",
41454145
"isDefault": false,
41464146
"location": {
4147-
"filename": "https://jsr.io/@probitas/client-grpc/0.2.0/mod.ts",
4147+
"filename": "https://jsr.io/@probitas/client-grpc/0.2.1/mod.ts",
41484148
"line": 133,
41494149
"col": 0,
41504150
"byteIndex": 4188
@@ -4194,7 +4194,7 @@
41944194
"name": "createGrpcClient",
41954195
"isDefault": false,
41964196
"location": {
4197-
"filename": "https://jsr.io/@probitas/client-grpc/0.2.0/mod.ts",
4197+
"filename": "https://jsr.io/@probitas/client-grpc/0.2.1/mod.ts",
41984198
"line": 204,
41994199
"col": 0,
42004200
"byteIndex": 6010
@@ -4262,5 +4262,5 @@
42624262
}
42634263
}
42644264
],
4265-
"generatedAt": "2025-12-07T13:39:28.394Z"
4266-
}
4265+
"generatedAt": "2025-12-09T00:26:33.813Z"
4266+
}

data/api/client-http.json

Lines changed: 192 additions & 152 deletions
Large diffs are not rendered by default.

data/api/client-mongodb.json

Lines changed: 173 additions & 173 deletions
Large diffs are not rendered by default.

data/api/client-rabbitmq.json

Lines changed: 168 additions & 168 deletions
Large diffs are not rendered by default.

data/api/client-redis.json

Lines changed: 135 additions & 135 deletions
Large diffs are not rendered by default.

data/api/client-sql-duckdb.json

Lines changed: 40 additions & 40 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)