Giter Club home page Giter Club logo

celsius-js-sdk's People

Contributors

bogdanhabic avatar ctebah avatar ctebah-celsius avatar dependabot[bot] avatar g4ndr4 avatar g4ndr4-celsius avatar gagimvp avatar jovanovicjovan avatar lazartravica avatar milansegovic avatar orhirschhorn avatar rguarascia avatar sanjam-cel avatar vigan-abd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

celsius-js-sdk's Issues

Cryptic error message when Celsius Server is down

Describe the bug
When the Celsius server is down, we receive the error The "signature" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined -- because JSON parsing failed.

Stack Trace

The "signature" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined

To Reproduce
Steps to reproduce the behavior:

  1. Your nginx shows an error html instead of JSON
  2. Connect with JS client SDK
  3. Get cryptic error

Expected behavior
An error message mentioning that the remote server is unavailable. Maybe a 500 type error.

Additional context
A good error message helps to find and debug errors a lot easier and increases therefore adoption of the software.

Repository not in NPM

Hey guys,

The presented way of installing the package is returning not found:

npm install celsius-api --save
➜  ~ npm install celsius-api
^R░░░░░░░░░░░░░░░░░░⸩ ⠇ rollbackFailedOptional: verb npm-session 2a75370cf3d1ac
npm ERR! code E404
npm ERR! 404 Not Found: celsius-api@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jmbrito/.npm/_logs/2018-12-17T18_39_57_545Z-debug.log

`npm t` fails with no instruction / pathway to success

Describe the bug
hi there, not sure if bug or intentional, but basically there is not enough information to get started developing the api.

To Reproduce
Steps to reproduce the behavior:

  1. run npm i then npm t on a fresh clone

Expected behavior
not to err, or instructions on how to get to succeed

the earn %

Hi,

Is there a way to have the % annualized for each crypto (2 diff %age for each with and without CEL)
This annualized %age change almost every week...it would be good to have this data...
ty

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.