pingerchips-js 1.0.0-c → 1.0.0-d

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Pusher JavaScript Library v1.0.0a
2
+ * Pusher JavaScript Library v1.0.0d
3
3
  * https://pusher.com/
4
4
  *
5
5
  * Copyright 2020, Pusher
@@ -2999,7 +2999,7 @@ var ScriptReceivers = new ScriptReceiverFactory('_pusher_script_', 'Pusher.Scrip
2999
2999
 
3000
3000
  // CONCATENATED MODULE: ./src/core/defaults.ts
3001
3001
  var Defaults = {
3002
- VERSION: "1.0.0a",
3002
+ VERSION: "1.0.0d",
3003
3003
  PROTOCOL: 7,
3004
3004
  wsPort: 6001,
3005
3005
  wssPort: 443,
@@ -3008,18 +3008,18 @@ var Defaults = {
3008
3008
  httpPort: 80,
3009
3009
  httpsPort: 443,
3010
3010
  httpPath: '/pusher',
3011
- stats_host: 'stats.pusher.com',
3012
- authEndpoint: '/pusher/auth',
3011
+ stats_host: 'stats.pingerchips.com',
3012
+ authEndpoint: '/pingerchips/auth',
3013
3013
  authTransport: 'ajax',
3014
3014
  activityTimeout: 120000,
3015
3015
  pongTimeout: 30000,
3016
3016
  unavailableTimeout: 10000,
3017
3017
  userAuthentication: {
3018
- endpoint: '/pusher/user-auth',
3018
+ endpoint: '/pingerchips/user-auth',
3019
3019
  transport: 'ajax'
3020
3020
  },
3021
3021
  channelAuthorization: {
3022
- endpoint: '/pusher/auth',
3022
+ endpoint: '/pingerchips/auth',
3023
3023
  transport: 'ajax'
3024
3024
  },
3025
3025
  cdn_http: "http://js.pusher.com",
@@ -6279,7 +6279,7 @@ function getHttpHost(opts) {
6279
6279
  return opts.httpHost;
6280
6280
  }
6281
6281
  if (opts.cluster) {
6282
- return `sockjs-${opts.cluster}.pusher.com`;
6282
+ return `sockjs.pingerchips.com`;
6283
6283
  }
6284
6284
  return defaults.httpHost;
6285
6285
  }
@@ -6290,7 +6290,7 @@ function getWebsocketHost(opts) {
6290
6290
  return getWebsocketHostFromCluster(opts.cluster);
6291
6291
  }
6292
6292
  function getWebsocketHostFromCluster(cluster) {
6293
- return `ws-${cluster}.pusher.com`;
6293
+ return `ws.pingerchips.com`;
6294
6294
  }
6295
6295
  function shouldUseTLS(opts) {
6296
6296
  if (runtime.getProtocol() === 'https:') {