Skip to content

Commit

Permalink
NCFX: Make clear which credentials are used for Crypto (#3117)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgard authored Dec 4, 2023
1 parent 5ae3801 commit 7ab888d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/poor-nails-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/ncfx-adapter': patch
---

Update README - make clear which credentials are used for Crypto
4 changes: 2 additions & 2 deletions packages/sources/ncfx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ This document was generated automatically. Please see [README Generator](../../s

| Required? | Name | Description | Type | Options | Default |
| :-------: | :-------------------: | :------------------------------------------------: | :----: | :-----: | :---------------------------------------------: |
| | API_USERNAME | Username for the NCFX API | string | | |
| | API_PASSWORD | Password for the NCFX API | string | | |
| | API_USERNAME | Username for the NCFX Crypto API | string | | |
| | API_PASSWORD | Password for the NCFX Crypto API | string | | |
| | FOREX_WS_API_KEY | API key for Forex websocket endpoint | string | | |
| | WS_API_ENDPOINT | The WS API endpoint to use for the crypto endpoint | string | | `wss://cryptofeed.ws.newchangefx.com` |
| | FOREX_WS_API_ENDPOINT | The WS API endpoint to use for the forex endpoint | string | | `wss://fiat.ws.newchangefx.com/sub/fiat/ws/ref` |
Expand Down
4 changes: 2 additions & 2 deletions packages/sources/ncfx/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { AdapterConfig } from '@chainlink/external-adapter-framework/config'

export const config = new AdapterConfig({
API_USERNAME: {
description: 'Username for the NCFX API',
description: 'Username for the NCFX Crypto API',
type: 'string',
},
API_PASSWORD: {
description: 'Password for the NCFX API',
description: 'Password for the NCFX Crypto API',
type: 'string',
sensitive: true,
},
Expand Down

0 comments on commit 7ab888d

Please sign in to comment.