@connectrpc/connect
Advanced tools
@@ -43,3 +43,3 @@ "use strict"; | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| result.set(headers_js_1.headerUserAgent, "connect-es/2.0.0"); | ||
| result.set(headers_js_1.headerUserAgent, "connect-es/2.0.1"); | ||
| } | ||
@@ -46,0 +46,0 @@ return result; |
@@ -34,3 +34,3 @@ "use strict"; | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| let userAgent = "connect-es/2.0.0"; | ||
| let userAgent = "connect-es/2.0.1"; | ||
| userAgent = result.has(headers_js_1.headerUserAgent) | ||
@@ -37,0 +37,0 @@ ? result.get(headers_js_1.headerUserAgent) |
@@ -32,3 +32,3 @@ "use strict"; | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| result.set(headers_js_1.headerUserAgent, "connect-es/2.0.0"); | ||
| result.set(headers_js_1.headerUserAgent, "connect-es/2.0.1"); | ||
| } | ||
@@ -35,0 +35,0 @@ if (timeoutMs !== undefined) { |
@@ -39,3 +39,3 @@ // Copyright 2021-2024 The Connect Authors | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| result.set(headerUserAgent, "connect-es/2.0.0"); | ||
| result.set(headerUserAgent, "connect-es/2.0.1"); | ||
| } | ||
@@ -42,0 +42,0 @@ return result; |
@@ -30,3 +30,3 @@ // Copyright 2021-2024 The Connect Authors | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| let userAgent = "connect-es/2.0.0"; | ||
| let userAgent = "connect-es/2.0.1"; | ||
| userAgent = result.has(headerUserAgent) | ||
@@ -33,0 +33,0 @@ ? result.get(headerUserAgent) |
@@ -28,3 +28,3 @@ // Copyright 2021-2024 The Connect Authors | ||
| // See https://github.com/grpc/grpc/blob/c462bb8d485fc1434ecfae438823ca8d14cf3154/doc/PROTOCOL-HTTP2.md#user-agents | ||
| result.set(headerUserAgent, "connect-es/2.0.0"); | ||
| result.set(headerUserAgent, "connect-es/2.0.1"); | ||
| } | ||
@@ -31,0 +31,0 @@ if (timeoutMs !== undefined) { |
+7
-7
| { | ||
| "name": "@connectrpc/connect", | ||
| "version": "2.0.0", | ||
| "version": "2.0.1", | ||
| "description": "Type-safe APIs with Protobuf and TypeScript.", | ||
@@ -16,4 +16,4 @@ "license": "Apache-2.0", | ||
| "build": "npm run build:cjs && npm run build:esm", | ||
| "build:cjs": "tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
| "build:esm": "tsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm", | ||
| "build:cjs": "tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", | ||
| "build:esm": "tsc --project tsconfig.json --outDir ./dist/esm", | ||
| "postbuild": "node scripts/update-user-agent.mjs", | ||
@@ -71,7 +71,7 @@ "test": "jasmine --config=jasmine.json", | ||
| "devDependencies": { | ||
| "@bufbuild/buf": "^1.46.0", | ||
| "@bufbuild/protoc-gen-es": "^2.2.2", | ||
| "@types/jasmine": "^5.0.0", | ||
| "jasmine": "^5.2.0" | ||
| "@bufbuild/buf": "^1.48.0", | ||
| "@bufbuild/protoc-gen-es": "^2.2.3", | ||
| "@types/jasmine": "^5.1.5", | ||
| "jasmine": "^5.5.0" | ||
| } | ||
| } |
856435
-0.01%