[w3c/push-api] Allow passing a base64url-encoded value to `applicationServerKey` (#227)

We give developers a base64url-encoded value when they JSON serialize
the PushSubscription object, and also use the base64url-encoded
representation of public keys when using VAPID for application server to
push service communication. This PR aligns the JavaScript API with that.

Fixes #226
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/push-api/pull/227

-- Commit Summary --

  * Allow passing a base64url-encoded value to `applicationServerKey`

-- File Changes --

    M index.html (34)

-- Patch Links --

https://github.com/w3c/push-api/pull/227.patch
https://github.com/w3c/push-api/pull/227.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/227

Received on Friday, 25 November 2016 16:09:54 UTC