Skip to content

Commit

Permalink
prepare release 6.0.3 (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Lees committed May 14, 2020
1 parent 9daa2ee commit 8827097
Show file tree
Hide file tree
Showing 14 changed files with 48 additions and 39 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 6.0.3 (2020-05-14)

[FIXED] Added typescript declarations for the pusher-js/with-encryption build

[REMOVED] Unnecessary dummy tweetnacl types for react-native (thanks to
@dmitrybirin)

[UPDATED] Copyright years (thanks to @annzenkina)

## 6.0.2 (2020-04-30)

[FIXED] React-native import broken in release 6.0.1
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,17 +598,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 6.0.2 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 6.0.3 under `http://example.com/pusher-js` (and https for SSL), files should be accessible under following URL's:

http://example.com/pusher-js/6.0.2/pusher.js
http://example.com/pusher-js/6.0.2/json2.js
http://example.com/pusher-js/6.0.2/sockjs.js
http://example.com/pusher-js/6.0.3/pusher.js
http://example.com/pusher-js/6.0.3/json2.js
http://example.com/pusher-js/6.0.3/sockjs.js

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

http://example.com/pusher-js/6.0.2/pusher.min.js
http://example.com/pusher-js/6.0.2/json2.min.js
http://example.com/pusher-js/6.0.2/sockjs.min.js
http://example.com/pusher-js/6.0.3/pusher.min.js
http://example.com/pusher-js/6.0.3/json2.min.js
http://example.com/pusher-js/6.0.3/sockjs.min.js

## SockJS compatibility

Expand Down
6 changes: 3 additions & 3 deletions dist/node/pusher.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Pusher JavaScript Library v6.0.2
* Pusher JavaScript Library v6.0.3
* https://pusher.com/
*
* Copyright 2017, Pusher
* Copyright 2020, Pusher
* Released under the MIT licence.
*/

Expand Down Expand Up @@ -7447,7 +7447,7 @@ function safeJSONStringify(source) {

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.2",
VERSION: "6.0.3",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
6 changes: 3 additions & 3 deletions dist/react-native/pusher.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/web/pusher-with-encryption.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Pusher JavaScript Library v6.0.2
* Pusher JavaScript Library v6.0.3
* https://pusher.com/
*
* Copyright 2017, Pusher
* Copyright 2020, Pusher
* Released under the MIT licence.
*/

Expand Down Expand Up @@ -2994,7 +2994,7 @@ var ScriptReceivers = new ScriptReceiverFactory('_pusher_script_', 'Pusher.Scrip

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.2",
VERSION: "6.0.3",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
6 changes: 3 additions & 3 deletions dist/web/pusher-with-encryption.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/web/pusher.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Pusher JavaScript Library v6.0.2
* Pusher JavaScript Library v6.0.3
* https://pusher.com/
*
* Copyright 2017, Pusher
* Copyright 2020, Pusher
* Released under the MIT licence.
*/

Expand Down Expand Up @@ -592,7 +592,7 @@ var ScriptReceivers = new ScriptReceiverFactory('_pusher_script_', 'Pusher.Scrip

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.2",
VERSION: "6.0.3",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
6 changes: 3 additions & 3 deletions dist/web/pusher.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/worker/pusher-with-encryption.worker.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Pusher JavaScript Library v6.0.2
* Pusher JavaScript Library v6.0.3
* https://pusher.com/
*
* Copyright 2017, Pusher
* Copyright 2020, Pusher
* Released under the MIT licence.
*/

Expand Down Expand Up @@ -3289,7 +3289,7 @@ function safeJSONStringify(source) {

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.2",
VERSION: "6.0.3",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
6 changes: 3 additions & 3 deletions dist/worker/pusher-with-encryption.worker.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/worker/pusher.worker.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*!
* Pusher JavaScript Library v6.0.2
* Pusher JavaScript Library v6.0.3
* https://pusher.com/
*
* Copyright 2017, Pusher
* Copyright 2020, Pusher
* Released under the MIT licence.
*/

Expand Down Expand Up @@ -887,7 +887,7 @@ function safeJSONStringify(source) {

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.2",
VERSION: "6.0.3",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
6 changes: 3 additions & 3 deletions dist/worker/pusher.worker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pusher-js",
"version": "6.0.2",
"version": "6.0.3",
"description": "Pusher Channels JavaScript library for browsers, React Native, NodeJS and web workers",
"main": "dist/node/pusher.js",
"browser": "dist/web/pusher.js",
Expand Down

0 comments on commit 8827097

Please sign in to comment.