Skip to content

Commit

Permalink
Property and typo changes (#61)
Browse files Browse the repository at this point in the history
Corrected to proper environment that is required for staging, fixed typo on function call for getTransactionSummary , replaced links from kovan testnet to ropsten testnet/faucet.
  • Loading branch information
GagiMVP authored Mar 22, 2021
1 parent 1d65b65 commit 435bc15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions docs/integration-partner.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const apiKey = process.env.API_KEY // Should be kept secret, can be regenerated
Celsius({
authMethod: AUTH_METHODS.API_KEY, // We are telling the SDK that we are authenticating using a combination of an API key and a Partner token
partnerKey: partnerKey,
environment: ENVIRONMENT.staging // If not present, default is production.
environment: ENVIRONMENT.STAGING // If not present, default is production.
}).then((celsius) => {
// your code
})
Expand Down Expand Up @@ -91,7 +91,7 @@ const pagination = {
perPage: 20
}

celsius.getTransctionSummary(pagination, apiKey).then((transactions) => {
celsius.getTransactionSummary(pagination, apiKey).then((transactions) => {
console.log(transactions)
})
.catch((error) => {
Expand Down Expand Up @@ -180,5 +180,5 @@ celsius.getStatistics(apiKey, '1552388292').then((statistics) => {
| Bitcoin | TBTC | [https://bitcoinfaucet.uo1.net/](https://bitcoinfaucet.uo1.net/) |
| Bitcoin Cash | TBCH | [https://developer.bitcoin.com/faucets/bch/](https://developer.bitcoin.com/faucets/bch/) |
| Bitcoin Gold | TBTG | [https://test-faucet.bitcoingold.org/](https://test-faucet.bitcoingold.org/) |
| Ethereum | TETH | [https://faucet.kovan.network/](https://faucet.kovan.network/) |
| Ethereum | TETH | [https://faucet.ropsten.be/](https://faucet.ropsten.be/) |
| Litecoin | TLTC | [http://testnet.litecointools.com/](http://testnet.litecointools.com/) |
6 changes: 3 additions & 3 deletions docs/omnibus-treasury.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const partnerKey = process.env.PARTNER_TOKEN // Should be kept secret
Celsius({
authMethod: AUTH_METHODS.API_KEY, // We are telling the SDK that we are authenticating using a combination of different user API keys and a Partner token
partnerKey: partnerKey,
environment: ENVIRONMENT.staging // If not present, default is production.
environment: ENVIRONMENT.STAGING // If not present, default is production.
}).then((celsius) => {
// your code
})
Expand Down Expand Up @@ -107,7 +107,7 @@ const pagination = {
perPage: 20
}

celsius.getTransctionSummary(pagination, user.celsiusApiKey).then((transactions) => {
celsius.getTransactionSummary(pagination, user.celsiusApiKey).then((transactions) => {
console.log(transactions)
})
.catch((error) => {
Expand Down Expand Up @@ -195,5 +195,5 @@ celsius.getStatistics(user.celsiusApiKey, '1552388292').then((statistics) => {
| Bitcoin | TBTC | [https://bitcoinfaucet.uo1.net/](https://bitcoinfaucet.uo1.net/) |
| Bitcoin Cash | TBCH | [https://developer.bitcoin.com/faucets/bch/](https://developer.bitcoin.com/faucets/bch/) |
| Bitcoin Gold | TBTG | [https://test-faucet.bitcoingold.org/](https://test-faucet.bitcoingold.org/) |
| Ethereum | TETH | [https://faucet.kovan.network/](https://faucet.kovan.network/) |
| Ethereum | TETH | [https://faucet.ropsten.be/](https://faucet.ropsten.be/) |
| Litecoin | TLTC | [http://testnet.litecointools.com/](http://testnet.litecointools.com/) |
6 changes: 3 additions & 3 deletions docs/segment-partner.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const partnerKey = process.env.PARTNER_TOKEN // Should be kept secret
Celsius({
authMethod: AUTH_METHODS.USER_TOKEN, // We are telling the SDK that we are authenticating different users using user tokens.
partnerKey: partnerKey,
environment: ENVIRONMENT.staging // If not present, default is production.
environment: ENVIRONMENT.STAGING // If not present, default is production.
}).then((celsius) => {
// your code
})
Expand Down Expand Up @@ -153,7 +153,7 @@ const pagination = {
perPage: 20
}

celsius.getTransctionSummary(pagination, userToken).then((transactions) => {
celsius.getTransactionSummary(pagination, userToken).then((transactions) => {
console.log(transactions)
})
.catch((error) => {
Expand Down Expand Up @@ -242,5 +242,5 @@ celsius.getStatistics(userToken, '1552388292').then((statistics) => {
| Bitcoin | TBTC | [https://bitcoinfaucet.uo1.net/](https://bitcoinfaucet.uo1.net/) |
| Bitcoin Cash | TBCH | [https://developer.bitcoin.com/faucets/bch/](https://developer.bitcoin.com/faucets/bch/) |
| Bitcoin Gold | TBTG | [https://test-faucet.bitcoingold.org/](https://test-faucet.bitcoingold.org/) |
| Ethereum | TETH | [https://faucet.kovan.network/](https://faucet.kovan.network/) |
| Ethereum | TETH | [https://faucet.ropsten.be/](https://faucet.ropsten.be/) |
| Litecoin | TLTC | [http://testnet.litecointools.com/](http://testnet.litecointools.com/) |

0 comments on commit 435bc15

Please sign in to comment.