googlearchive / web-push-encryption

[Deprecated] Encryption Utilities for Web Push protocol
Apache License 2.0
84 stars 23 forks source link

Please update docs as you change the API #43

Closed RyanEwen closed 8 years ago

RyanEwen commented 8 years ago

Hey guys,

I'd just like to request that you update the docs as you change the API. I've had it break on me a couple of times now. The latest change seems to require that we call webpush.setGCMAPIKey(apiKey) instead of passing the key in with webpush.sendWebPush().

Cheers, Ryan

wibblymat commented 8 years ago

@RyanEwen you're absolutely right, that was an error on our part.

Hopefully the docs will be kept up to date in the future.