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
@@ -7502,7 +7502,7 @@ function safeJSONStringify(source) {
7502
7502
 
7503
7503
  // CONCATENATED MODULE: ./src/core/defaults.ts
7504
7504
  var Defaults = {
7505
- VERSION: "1.0.0a",
7505
+ VERSION: "1.0.0d",
7506
7506
  PROTOCOL: 7,
7507
7507
  wsPort: 6001,
7508
7508
  wssPort: 443,
@@ -7511,18 +7511,18 @@ var Defaults = {
7511
7511
  httpPort: 80,
7512
7512
  httpsPort: 443,
7513
7513
  httpPath: '/pusher',
7514
- stats_host: 'stats.pusher.com',
7515
- authEndpoint: '/pusher/auth',
7514
+ stats_host: 'stats.pingerchips.com',
7515
+ authEndpoint: '/pingerchips/auth',
7516
7516
  authTransport: 'ajax',
7517
7517
  activityTimeout: 120000,
7518
7518
  pongTimeout: 30000,
7519
7519
  unavailableTimeout: 10000,
7520
7520
  userAuthentication: {
7521
- endpoint: '/pusher/user-auth',
7521
+ endpoint: '/pingerchips/user-auth',
7522
7522
  transport: 'ajax'
7523
7523
  },
7524
7524
  channelAuthorization: {
7525
- endpoint: '/pusher/auth',
7525
+ endpoint: '/pingerchips/auth',
7526
7526
  transport: 'ajax'
7527
7527
  },
7528
7528
  cdn_http: "http://js.pusher.com",
@@ -10141,7 +10141,7 @@ function getHttpHost(opts) {
10141
10141
  return opts.httpHost;
10142
10142
  }
10143
10143
  if (opts.cluster) {
10144
- return `sockjs-${opts.cluster}.pusher.com`;
10144
+ return `sockjs.pingerchips.com`;
10145
10145
  }
10146
10146
  return defaults.httpHost;
10147
10147
  }
@@ -10152,7 +10152,7 @@ function getWebsocketHost(opts) {
10152
10152
  return getWebsocketHostFromCluster(opts.cluster);
10153
10153
  }
10154
10154
  function getWebsocketHostFromCluster(cluster) {
10155
- return `ws-${cluster}.pusher.com`;
10155
+ return `ws.pingerchips.com`;
10156
10156
  }
10157
10157
  function shouldUseTLS(opts) {
10158
10158
  if (node_runtime.getProtocol() === 'https:') {