@eleven-am/pondsocket-client 0.0.28 → 0.0.29

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.
Files changed (3) hide show
  1. package/index.d.ts +1 -2
  2. package/index.js +3 -2
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { PondClient } from './dist';
2
2
  import { ChannelState } from '@eleven-am/pondsocket-common';
3
3
 
4
- export default PondClient;
5
- export { ChannelState };
4
+ export { ChannelState, PondClient };
package/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChannelState = void 0;
3
+ exports.PondClient = exports.ChannelState = void 0;
4
4
  const pondsocket_common_1 = require("@eleven-am/pondsocket-common");
5
5
  Object.defineProperty(exports, "ChannelState", { enumerable: true, get: function () { return pondsocket_common_1.ChannelState; } });
6
6
  const client_1 = require("./browser/client");
7
7
  const node_1 = require("./node/node");
8
- exports.default = typeof window === 'undefined' ? node_1.PondClient : client_1.PondClient;
8
+ const PondClient = typeof window === 'undefined' ? node_1.PondClient : client_1.PondClient;
9
+ exports.PondClient = PondClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket-client",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",