Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.2.0
->^4.0.0
By merging this PR, the issue #31 will be automatically resolved and closed:
Release Notes
pusher/pusher-http-node (pusher)
v4.0.0
Compare Source
[BREAKING CHANGE] Methods that previously took callbacks now return promises.
trigger
,triggerBatch
,get
, andpost
return a promise which resolvesto a
Response
(as provided by node-fetch),or rejects to a
RequestError
. Of particular note:Response
has astatus
where is used to have astatusCode
.RequestError
has astatus
where is used to have astatusCode
tomirror the above.
Response
hasjson
,text
, etc toaccess the body where before it exposed
body
as a string.[BREAKING CHANGE] The
Pusher
constructor no longer acceptsproxy
orkeepAlive
, but instead acceptsagent
.https://www.npmjs.com/package/https-proxy-agent
or similar:[REMOVED] Specific Parse Cloud build. I don't believe it is required any more, but please open an issue if there are any problems using this release on Parse Cloud!
v3.0.1
Compare Source
[UPGRADED] development dependencies
[ADDED] encryptionMasterKeyBase64 constructor parameter to make it easier to use the full range of 32 byte binary values in encryption key
[DEPRECATED] encryptionMasterKey constructor parameter - use encryptionMasterKeyBase64
v3.0.0
Compare Source
[REMOVED] Support for Node versions < 8
[UPGRADED] Upgraded versions of
nock
, andmocha
v2.2.2
Compare Source
[FIXED] an issue where a function that generated signatures behaved differently in different versions of node. Improved the underlying compare function to unify behaviour between versions.
[ADDED] Supported platforms to the Readme and TravisCI config.
v2.2.1
Compare Source
no-op release to fix the description on https://www.npmjs.com/package/pusher