Skip to content

Commit

Permalink
Add deprecation info [#35175] (#65)
Browse files Browse the repository at this point in the history
* Add deprecation info

* Run npm install & eslint
  • Loading branch information
sbrych authored Nov 9, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5a67f64 commit eb95ad6
Showing 4 changed files with 219 additions and 117 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -35,6 +35,8 @@ npm install --save chartmogul-node
```

## Configuration
[Deprecation] - `account_token`/`secret_key` combo is deprecated. Please use API key for both fields.
Version 2.x will introduce a breaking change in authentication configuration. For more details, please visit: https://dev.chartmogul.com/docs/authentication

First create a `Config` object by passing your account token and secret key, available from the administration section of your ChartMogul account.

2 changes: 1 addition & 1 deletion lib/chartmogul/resource.js
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ class Resource {
method,
auth: {
user: config.getAccountToken(),
pass: config.getSecretKey(),
pass: '',
sendImmediately: true
},
baseUrl: config.API_BASE,
Loading

0 comments on commit eb95ad6

Please sign in to comment.