Skip to content

Commit

Permalink
breaking: remove account.hasInvalidSession()
Browse files Browse the repository at this point in the history
BREAKING CHANGE:

`account.hasInvalidSession()` has been removed. Use `account.get(session.invalid)` instead.
  • Loading branch information
gr2m committed Mar 9, 2017
1 parent 6a811dd commit 0a998f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function Account (options) {
signIn: require('./lib/sign-in').bind(null, state),
signOut: require('./lib/sign-out').bind(null, state),
destroy: require('./lib/destroy').bind(null, state),
hasInvalidSession: require('./lib/has-invalid-session').bind(null, state),
get: require('./lib/get').bind(null, state),
fetch: require('./lib/fetch').bind(null, state),
update: require('./lib/update').bind(null, state),
Expand Down
11 changes: 0 additions & 11 deletions lib/has-invalid-session.js

This file was deleted.

0 comments on commit 0a998f7

Please sign in to comment.