@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 +1 -3
- package/package.json +3 -3
- package/types.d.ts +1 -1
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eleven-am/pondsocket",
|
|
3
|
-
"version": "0.1.
|
|
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/
|
|
24
|
-
"copy": "cp src/
|
|
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
|
/**
|