@bufbuild/connect-web
Advanced tools
Comparing version 0.5.0 to 0.6.0
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -189,2 +189,3 @@ // Licensed under the Apache License, Version 2.0 (the "License"); | ||
function createConnectRequestHeaders(headers, timeoutMs, methodKind, useBinaryFormat) { | ||
const protocolVersion = "1"; | ||
const result = new Headers(headers !== null && headers !== void 0 ? headers : {}); | ||
@@ -200,2 +201,3 @@ let type = "application/"; | ||
} | ||
result.set("Connect-Protocol-Version", protocolVersion); | ||
return result; | ||
@@ -202,0 +204,0 @@ } |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
"use strict"; | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -185,2 +185,3 @@ // Licensed under the Apache License, Version 2.0 (the "License"); | ||
function createConnectRequestHeaders(headers, timeoutMs, methodKind, useBinaryFormat) { | ||
const protocolVersion = "1"; | ||
const result = new Headers(headers !== null && headers !== void 0 ? headers : {}); | ||
@@ -196,2 +197,3 @@ let type = "application/"; | ||
} | ||
result.set("Connect-Protocol-Version", protocolVersion); | ||
return result; | ||
@@ -198,0 +200,0 @@ } |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
@@ -1,2 +0,2 @@ | ||
// Copyright 2021-2022 Buf Technologies, Inc. | ||
// Copyright 2021-2023 Buf Technologies, Inc. | ||
// | ||
@@ -3,0 +3,0 @@ // Licensed under the Apache License, Version 2.0 (the "License"); |
{ | ||
"name": "@bufbuild/connect-web", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
157494
3604
9