Skip to content

Commit

Permalink
Merge pull request #388 from pusher/r5.0.2
Browse files Browse the repository at this point in the history
R5.0.2
  • Loading branch information
James Lees authored Sep 25, 2019
2 parents b38d4eb + db1ae98 commit 830463c
Show file tree
Hide file tree
Showing 10 changed files with 17,617 additions and 18,831 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 5.0.2 (2019-09-25)

[FIXED] Utilise new API for @react-native-community/netinfo suppressing
deprecation warnings

[CHANGED] output an ES6 module from typescript to allow webpack to optimise the
bundle more effectively (thanks to @stof for this change)

[CHANGED] Use prettier to format source

## 5.0.1 (2019-09-02)

[FIXED] We no longer include an unnecessary Buffer polyfill in bundles
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,17 +536,17 @@ First, clone this repository and run `npm install && git submodule init && git s

In the `dist/web` folder, you should see the files you need: `pusher.js`, `pusher.min.js`, `json2.js`, `json.min.js`, `sockjs.js` and `sockjs.min.js`. `pusher.js` should be built referencing your URLs as the dependency hosts.

First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 5.0.0 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's:
First, make sure you expose all files from the `dist` directory. They need to be in a directory with named after the version number. For example, if you're hosting version 5.0.2 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's:

http://example.com/pusher-js/5.0.0/pusher.js
http://example.com/pusher-js/5.0.0/json2.js
http://example.com/pusher-js/5.0.0/sockjs.js
http://example.com/pusher-js/5.0.2/pusher.js
http://example.com/pusher-js/5.0.2/json2.js
http://example.com/pusher-js/5.0.2/sockjs.js

Minified files should have `.min` in their names, as in the `dist/web` directory:

http://example.com/pusher-js/5.0.0/pusher.min.js
http://example.com/pusher-js/5.0.0/json2.min.js
http://example.com/pusher-js/5.0.0/sockjs.min.js
http://example.com/pusher-js/5.0.2/pusher.min.js
http://example.com/pusher-js/5.0.2/json2.min.js
http://example.com/pusher-js/5.0.2/sockjs.min.js

## SockJS compatibility

Expand Down
Loading

0 comments on commit 830463c

Please sign in to comment.