Skip to content

Commit

Permalink
prepare release 6.0.1 (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
James Lees committed Apr 30, 2020
1 parent 1e578a3 commit 1fdcf7b
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 29 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.1 (2020-04-30)

[CHANGED] Moved tweetnacl from `devDependencies` to `dependencies`. No
additional code is included in the bundle, but this gives the typescript
compiler access to the tweetnacl types

[FIXED] Typescript declarations for react-native. These were supposed to be
included in 6.0.0 but the commit was missed

## 6.0.0 (2020-04-27)

[CHANGED] The default builds for web and worker no longer support encrypted
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,17 +600,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.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 6.0.1 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.0/pusher.js
http://example.com/pusher-js/6.0.0/json2.js
http://example.com/pusher-js/6.0.0/sockjs.js
http://example.com/pusher-js/6.0.1/pusher.js
http://example.com/pusher-js/6.0.1/json2.js
http://example.com/pusher-js/6.0.1/sockjs.js

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

http://example.com/pusher-js/6.0.0/pusher.min.js
http://example.com/pusher-js/6.0.0/json2.min.js
http://example.com/pusher-js/6.0.0/sockjs.min.js
http://example.com/pusher-js/6.0.1/pusher.min.js
http://example.com/pusher-js/6.0.1/json2.min.js
http://example.com/pusher-js/6.0.1/sockjs.min.js

## SockJS compatibility

Expand Down
4 changes: 2 additions & 2 deletions dist/node/pusher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v6.0.0
* Pusher JavaScript Library v6.0.1
* https://pusher.com/
*
* Copyright 2017, Pusher
Expand Down Expand Up @@ -7447,7 +7447,7 @@ function safeJSONStringify(source) {

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher-with-encryption.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v6.0.0
* Pusher JavaScript Library v6.0.1
* https://pusher.com/
*
* Copyright 2017, Pusher
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.0",
VERSION: "6.0.1",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
4 changes: 2 additions & 2 deletions dist/web/pusher-with-encryption.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/web/pusher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v6.0.0
* Pusher JavaScript Library v6.0.1
* https://pusher.com/
*
* Copyright 2017, Pusher
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.0",
VERSION: "6.0.1",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
4 changes: 2 additions & 2 deletions dist/web/pusher.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher-with-encryption.worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v6.0.0
* Pusher JavaScript Library v6.0.1
* https://pusher.com/
*
* Copyright 2017, Pusher
Expand Down Expand Up @@ -3289,7 +3289,7 @@ function safeJSONStringify(source) {

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/worker/pusher.worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Pusher JavaScript Library v6.0.0
* Pusher JavaScript Library v6.0.1
* https://pusher.com/
*
* Copyright 2017, Pusher
Expand Down Expand Up @@ -887,7 +887,7 @@ function safeJSONStringify(source) {

// CONCATENATED MODULE: ./src/core/defaults.ts
var Defaults = {
VERSION: "6.0.0",
VERSION: "6.0.1",
PROTOCOL: 7,
wsPort: 80,
wssPort: 443,
Expand Down
4 changes: 2 additions & 2 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.0",
"version": "6.0.1",
"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 1fdcf7b

Please sign in to comment.