Giter Club home page Giter Club logo

jwt-autorefresh's Introduction

A CLI to automate the noderaider packages for development.

install options

  • npm install --global noderaider
  • yarn global add noderaider

cli

bootstrap

# update and reinstall latest dependencies
noderaider update

# start noderaider repos in development mode (watch / HMR)
noderaider start

# build noderaider repos for production
noderaider build

# test all the packages
noderaider test

# publish a new version of everything
noderaider release [--next]

All commands automatically clone, install dependencies, and link packages if its the first run!

jwt-autorefresh's People

Contributors

cchamberlain 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  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

jwt-autorefresh's Issues

This package is compatible for Angular 4

Hi,

I am trying to use these package in angular 4 web application.

I got the error message like below,

Uncaught TypeError: Object(...) is not a function
    at Object.../../../../../src/app/app.config.ts (app.config.ts:39)
    at __webpack_require__ (bootstrap 271169117e7f18058034:54)
    at Object.../../../../../src/app/app.service.ts (app.service.ts:7)
    at __webpack_require__ (bootstrap 271169117e7f18058034:54)
    at Object.../../../../../src/app/app.service.ts (country.ts:22)
    at __webpack_require__ (bootstrap 271169117e7f18058034:54)
    at Object.../../../../../src/app/app.service.ts (app.service.ts:7)
    at __webpack_require__ (bootstrap 271169117e7f18058034:54)
    at Object.../../../../../src/app/app.service.ts (app.service.ts:49)
    at __webpack_require__

When I am trying to add the module in app.module.ts, there is no module available in these package.

Thanks for your help.

Regards,
Sudhakar.

Cannot properly handle errors in refresh()

Hello, First of all thank you for creating this package, I'm finding it very useful. I'm having an issue with gracefully handling the error when refresh() fails to produce a valid token. Returning a resolved promise from refresh() with no token causes _schedule() to throw internally. A rejected promise from referesh() is re-thrown in execute(). In both cases the resulting rejected promise cannot be handled in user code resulting in an unhandled rejection error.

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.