@bonniernews/b0rker
Advanced tools
Comparing version 10.1.0 to 10.1.1
@@ -8,2 +8,4 @@ import GoogleAuth from "google-auth-library"; | ||
import parseUrl from "./utils/parse-url.js"; | ||
const auth = new GoogleAuth.GoogleAuth(); | ||
@@ -59,7 +61,7 @@ | ||
function baseOpts(params) { | ||
if (params.baseUrl) return { url: `${params.baseUrl}${params.path}`, audience: params.audience }; | ||
if (params.baseUrl) return { url: parseUrl(params.baseUrl, params.path), audience: params.audience }; | ||
assert(config.gcpProxy, "gcpProxy config is missing"); | ||
return { url: `${config.gcpProxy.url}${params.path}`, audience: config.gcpProxy.audience }; | ||
return { url: parseUrl(config.gcpProxy.url, params.path), audience: config.gcpProxy.audience }; | ||
} | ||
@@ -66,0 +68,0 @@ |
{ | ||
"name": "@bonniernews/b0rker", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=18" |
Sorry, the diff of this file is not supported yet
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
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
178723
64
4532