@eleven-am/pondsocket 0.1.136 → 0.1.137

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/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts-expect-error
3
- import type { PondSocket } from './types';
1
+ import { PondSocket } from './types';
4
2
 
5
3
  export default PondSocket;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket",
3
- "version": "0.1.136",
3
+ "version": "0.1.137",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",
@@ -20,8 +20,8 @@
20
20
  "build": "rimraf dist && tsc && npm run remove",
21
21
  "lint": "eslint --ext .ts src",
22
22
  "lint:fix": "eslint --fix --ext .ts src",
23
- "remove": "rm dist/dist.js dist/distIndex.js",
24
- "copy": "cp src/dist.ts dist/types.d.ts && cp src/distIndex.ts dist/index.d.ts && cp package.json dist && cp README.md dist && cp LICENSE dist",
23
+ "remove": "rm dist/types.js dist/distIndex.js",
24
+ "copy": "cp src/types.ts dist/types.d.ts && cp src/distIndex.ts dist/index.d.ts && cp package.json dist && cp README.md dist && cp LICENSE dist",
25
25
  "push": "npm version patch && npm run copy && cd dist && npm publish && cd ..",
26
26
  "pipeline": "npm run lint && npm run test && npm run build && npm run push"
27
27
  },
package/types.d.ts CHANGED
@@ -372,7 +372,7 @@ export declare class PondChannel <EventType extends PondEventMap = PondEventMap,
372
372
  public getChannel (channelName: string): Channel<EventType, PresenceType, AssignType>;
373
373
  }
374
374
 
375
- declare class PondSocket {
375
+ export declare class PondSocket {
376
376
  constructor (server?: HTTPServer, socketServer?: WebSocketServer);
377
377
 
378
378
  /**