Skip to content

Update plugin to work with Hapi v17#3

Open
mringer wants to merge 2 commits into
dsdenes:masterfrom
mringer:master
Open

Update plugin to work with Hapi v17#3
mringer wants to merge 2 commits into
dsdenes:masterfrom
mringer:master

Conversation

@mringer

@mringer mringer commented Dec 23, 2017

Copy link
Copy Markdown

As I'm sure you're aware Hapi v17 contains breaking changes for plugins and auth as well as the depreciation of callbacks and the introduction of async-await support. This PR includes changes that bring hapi-auth-firebase current with Hapi v17.

  • Version bump to 1.1.0 (or whatever you think the next version should be)

  • Update the plugin registration signature to conform to v17 API
    plugins
    server.register()

  • Update Auth scheme to work with new v17 API
    server.auth.scheme()
    h.unauthenticated()

  • Update tests to conform to v17 plugin.register() API
    -- drop callback from register function

@mringer

mringer commented Dec 27, 2017

Copy link
Copy Markdown
Author

@dsdenes bump

@mringer

mringer commented May 3, 2018

Copy link
Copy Markdown
Author

Bump @dsdenes

@imcodingideas

Copy link
Copy Markdown

@dsdenes bump?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants