pusher-js 8.4.0-rc2 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +0 -5
- package/CHANGELOG.md +2 -7
- package/README.md +2 -0
- package/dist/node/pusher.js +123 -140
- package/dist/node/pusher.js.map +1 -1
- package/dist/react-native/pusher.js +2 -2
- package/dist/react-native/pusher.js.map +1 -1
- package/dist/web/pusher-with-encryption.js +131 -148
- package/dist/web/pusher-with-encryption.js.map +1 -1
- package/dist/web/pusher-with-encryption.min.js +2 -2
- package/dist/web/pusher-with-encryption.min.js.map +1 -1
- package/dist/web/pusher.js +131 -148
- package/dist/web/pusher.js.map +1 -1
- package/dist/web/pusher.min.js +2 -2
- package/dist/web/pusher.min.js.map +1 -1
- package/dist/worker/pusher-with-encryption.worker.js +129 -146
- package/dist/worker/pusher-with-encryption.worker.js.map +1 -1
- package/dist/worker/pusher-with-encryption.worker.min.js +2 -2
- package/dist/worker/pusher-with-encryption.worker.min.js.map +1 -1
- package/dist/worker/pusher.worker.js +129 -146
- package/dist/worker/pusher.worker.js.map +1 -1
- package/dist/worker/pusher.worker.min.js +2 -2
- package/dist/worker/pusher.worker.min.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/react-native/index.d.ts +1 -1
- package/spec/javascripts/helpers/mocks.js +0 -1
- package/spec/javascripts/integration/index.web.js +0 -14
- package/spec/javascripts/unit/core/connection/connection_manager_spec.js +0 -43
- package/spec/javascripts/unit/core/pusher_spec.js +0 -58
- package/src/core/auth/auth_transports.ts +1 -1
- package/src/core/auth/channel_authorizer.ts +5 -5
- package/src/core/auth/deprecated_channel_authorizer.ts +8 -10
- package/src/core/auth/options.ts +19 -19
- package/src/core/auth/user_authenticator.ts +5 -5
- package/src/core/base64.ts +9 -9
- package/src/core/channels/channel.ts +10 -10
- package/src/core/channels/channels.ts +2 -2
- package/src/core/channels/encrypted_channel.ts +12 -12
- package/src/core/channels/members.ts +1 -1
- package/src/core/channels/presence_channel.ts +1 -1
- package/src/core/channels/private_channel.ts +2 -2
- package/src/core/config.ts +19 -28
- package/src/core/connection/connection.ts +5 -5
- package/src/core/connection/connection_manager.ts +14 -23
- package/src/core/connection/handshake/index.ts +5 -5
- package/src/core/connection/protocol/protocol.ts +11 -11
- package/src/core/defaults.ts +4 -4
- package/src/core/events/callback_registry.ts +7 -7
- package/src/core/events/dispatcher.ts +1 -1
- package/src/core/http/ajax.ts +1 -1
- package/src/core/http/http_polling_socket.ts +5 -5
- package/src/core/http/http_socket.ts +6 -6
- package/src/core/http/http_streaming_socket.ts +5 -5
- package/src/core/http/state.ts +1 -1
- package/src/core/options.ts +3 -8
- package/src/core/pusher.ts +14 -25
- package/src/core/strategies/best_connected_ever_strategy.ts +10 -10
- package/src/core/strategies/delayed_strategy.ts +4 -4
- package/src/core/strategies/first_connected_strategy.ts +9 -6
- package/src/core/strategies/if_strategy.ts +1 -1
- package/src/core/strategies/sequential_strategy.ts +11 -11
- package/src/core/strategies/strategy_builder.ts +10 -10
- package/src/core/strategies/transport_strategy.ts +14 -14
- package/src/core/strategies/websocket_prioritized_cached_strategy.ts +10 -10
- package/src/core/timeline/level.ts +1 -1
- package/src/core/timeline/timeline.ts +3 -3
- package/src/core/timeline/timeline_sender.ts +1 -1
- package/src/core/timeline/timeline_transport.ts +1 -1
- package/src/core/transports/assistant_to_the_transport_manager.ts +6 -6
- package/src/core/transports/transport.ts +1 -1
- package/src/core/transports/transport_connection.ts +8 -8
- package/src/core/transports/transport_manager.ts +1 -1
- package/src/core/transports/url_schemes.ts +8 -8
- package/src/core/user.ts +10 -10
- package/src/core/util.ts +2 -2
- package/src/core/utils/collections.ts +10 -10
- package/src/core/utils/factory.ts +6 -6
- package/src/core/utils/timers/abstract_timer.ts +1 -1
- package/src/core/utils/timers/index.ts +2 -2
- package/src/core/utils/url_store.ts +8 -8
- package/src/core/watchlist.ts +3 -3
- package/src/d.ts/module/module.d.ts +1 -1
- package/src/runtimes/interface.ts +1 -1
- package/src/runtimes/isomorphic/auth/xhr_auth.ts +9 -9
- package/src/runtimes/isomorphic/default_strategy.ts +26 -26
- package/src/runtimes/isomorphic/http/http.ts +1 -1
- package/src/runtimes/isomorphic/http/http_xhr_request.ts +4 -4
- package/src/runtimes/isomorphic/runtime.ts +3 -3
- package/src/runtimes/isomorphic/timeline/xhr_timeline.ts +5 -5
- package/src/runtimes/isomorphic/transports/transport_connection_initializer.ts +3 -3
- package/src/runtimes/isomorphic/transports/transports.ts +19 -17
- package/src/runtimes/node/runtime.ts +2 -2
- package/src/runtimes/react-native/net_info.ts +2 -2
- package/src/runtimes/react-native/runtime.ts +2 -2
- package/src/runtimes/web/auth/jsonp_auth.ts +5 -5
- package/src/runtimes/web/default_strategy.ts +36 -36
- package/src/runtimes/web/dom/dependencies.ts +2 -2
- package/src/runtimes/web/dom/dependency_loader.ts +3 -3
- package/src/runtimes/web/dom/script_receiver_factory.ts +2 -2
- package/src/runtimes/web/dom/script_request.ts +3 -3
- package/src/runtimes/web/dom/sockjs/COPYING +11 -0
- package/src/runtimes/web/dom/sockjs/Changelog +147 -0
- package/src/runtimes/web/dom/sockjs/LICENSE-MIT-SockJS +19 -0
- package/src/runtimes/web/dom/sockjs/Makefile +109 -0
- package/src/runtimes/web/dom/sockjs/README.md +388 -0
- package/src/runtimes/web/dom/sockjs/VERSION-GEN +17 -0
- package/src/runtimes/web/dom/sockjs/bin/render.coffee +111 -0
- package/src/runtimes/web/dom/sockjs/bin/run_testling.sh +135 -0
- package/src/runtimes/web/dom/sockjs/package.json +18 -0
- package/src/runtimes/web/dom/sockjs/version +1 -0
- package/src/runtimes/web/http/http.ts +1 -1
- package/src/runtimes/web/http/http_xdomain_request.ts +7 -7
- package/src/runtimes/web/net_info.ts +4 -4
- package/src/runtimes/web/runtime.ts +2 -2
- package/src/runtimes/web/timeline/jsonp_timeline.ts +4 -4
- package/src/runtimes/web/transports/transport_connection_initializer.ts +5 -5
- package/src/runtimes/web/transports/transports.ts +16 -14
- package/src/runtimes/worker/auth/fetch_auth.ts +9 -9
- package/src/runtimes/worker/runtime.ts +3 -3
- package/src/runtimes/worker/timeline/fetch_timeline.ts +5 -5
- package/types/src/core/auth/options.d.ts +10 -5
- package/types/src/core/connection/connection_manager.d.ts +0 -1
- package/types/src/core/options.d.ts +0 -4
- package/types/src/core/pusher.d.ts +1 -3
- package/webpack/config.node.js +6 -6
- package/webpack/config.react-native.js +10 -10
- package/webpack/config.shared.js +10 -10
- package/webpack/config.web.js +6 -6
- package/webpack/config.worker.js +8 -8
- package/webpack/dev.server.js +2 -2
- package/webpack/hosting_config.js +1 -1
- package/with-encryption/index.d.ts +1 -1
- package/worker/index.d.ts +1 -1
- package/worker/with-encryption/index.d.ts +1 -1
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
on:
|
|
2
2
|
push:
|
|
3
3
|
branches: [ master ]
|
|
4
|
-
pull_request:
|
|
5
|
-
types: [ labeled ]
|
|
6
|
-
branches:
|
|
7
|
-
- master
|
|
8
4
|
|
|
9
5
|
jobs:
|
|
10
6
|
check-release-tag:
|
|
11
|
-
if: ${{ github.head_ref == 'master' || github.event.label.name == 'deploy-release' }}
|
|
12
7
|
runs-on: ubuntu-latest
|
|
13
8
|
steps:
|
|
14
9
|
- name: Checkout code
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 8.4.0
|
|
3
|
+
## 8.4.0
|
|
4
4
|
|
|
5
|
-
- [
|
|
6
|
-
- [FIXED] Authorization Custom Handler typing https://github.com/pusher/pusher-js/issues/715
|
|
7
|
-
|
|
8
|
-
## 8.4.0-rc1
|
|
9
|
-
|
|
10
|
-
- [Added] Introduce a new method to switch the Pusher client to a different cluster and re-establish all existing subscriptions and channel bindings.
|
|
5
|
+
- [CHANGED] Dependencies minor versions updated to latest versions
|
|
11
6
|
|
|
12
7
|
## 8.3.0
|
|
13
8
|
|
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ If you're looking for the Pusher Channels server library for Node.js, use
|
|
|
10
10
|
For tutorials and more in-depth information about Pusher Channels, visit
|
|
11
11
|
our [official docs](https://pusher.com/docs/javascript_quick_start).
|
|
12
12
|
|
|
13
|
+
For reporting issues, bugs, and feature requests, please feel free to open a pull request or open an issue. If you do not receive a timely response, feel free to check our [support portal](https://docs.bird.com/pusher).
|
|
14
|
+
|
|
13
15
|
## Usage Overview
|
|
14
16
|
|
|
15
17
|
The following topics are covered:
|