diff --git a/.changeset/heavy-bobcats-approve.md b/.changeset/heavy-bobcats-approve.md new file mode 100644 index 0000000000..0dc5fd77e4 --- /dev/null +++ b/.changeset/heavy-bobcats-approve.md @@ -0,0 +1,5 @@ +--- +'@chainlink/bx-digital-adapter': patch +--- + +Remove user agent diff --git a/packages/sources/bx-digital/src/config/index.ts b/packages/sources/bx-digital/src/config/index.ts index 36b044a0b2..ed1ebbed26 100644 --- a/packages/sources/bx-digital/src/config/index.ts +++ b/packages/sources/bx-digital/src/config/index.ts @@ -12,10 +12,4 @@ export const config = new AdapterConfig({ type: 'string', default: 'https://dev-cdf-stage-k8s.bxdigital.ch/securities', }, - API_USER_AGENT: { - description: 'User agent used to query API', - type: 'string', - default: - 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36', - }, }) diff --git a/packages/sources/bx-digital/src/transport/price.ts b/packages/sources/bx-digital/src/transport/price.ts index d8b265bb75..24e5723bdd 100644 --- a/packages/sources/bx-digital/src/transport/price.ts +++ b/packages/sources/bx-digital/src/transport/price.ts @@ -22,7 +22,6 @@ export const httpTransport = new HttpTransport({ baseURL: config.API_ENDPOINT, headers: { 'API-key': config.API_KEY, - 'User-Agent': config.API_USER_AGENT, }, }, }