@tsed/socketio-testing 7.79.4 → 7.80.1

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.
@@ -0,0 +1 @@
1
+ export * from "./services/SocketClientService.js";
@@ -0,0 +1,9 @@
1
+ import { OnDestroy } from "@tsed/common";
2
+ import { Socket } from "socket.io-client";
3
+ export declare class SocketClientService implements OnDestroy {
4
+ private settings;
5
+ private logger;
6
+ private clients;
7
+ get(namespace?: string, path?: string): Promise<Socket>;
8
+ $onDestroy(): void;
9
+ }
package/package.json CHANGED
@@ -1,38 +1,41 @@
1
1
  {
2
2
  "name": "@tsed/socketio-testing",
3
- "version": "7.79.4",
4
3
  "description": "Socket.io testing package for Ts.ED framework",
4
+ "type": "commonjs",
5
+ "version": "7.80.1",
5
6
  "source": "./src/index.ts",
6
7
  "main": "./lib/cjs/index.js",
7
8
  "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
- "types": "./lib/types/index.d.ts",
11
- "import": "./lib/esm/index.js",
12
- "require": "./lib/cjs/index.js",
13
- "default": "./lib/esm/index.js"
11
+ ".": {
12
+ "types": "./lib/types/index.d.ts",
13
+ "import": "./lib/esm/index.js",
14
+ "default": "./lib/cjs/index.js"
15
+ }
14
16
  },
15
17
  "scripts": {
16
18
  "build": "yarn build:ts",
17
19
  "start": "ts-node test/app/index.ts",
18
- "build:ts": "tsc --build tsconfig.json && tsc --build tsconfig.esm.json"
20
+ "build:ts": "tsc --build tsconfig.json"
19
21
  },
20
22
  "dependencies": {
21
23
  "tslib": "2.6.1"
22
24
  },
23
25
  "devDependencies": {
24
- "@tsed/barrels": "7.79.4",
25
- "@tsed/common": "7.79.4",
26
- "@tsed/di": "7.79.4",
27
- "@tsed/typescript": "7.79.4",
26
+ "@tsed/barrels": "7.80.1",
27
+ "@tsed/common": "7.80.1",
28
+ "@tsed/di": "7.80.1",
29
+ "@tsed/typescript": "7.80.1",
28
30
  "eslint": "^8.57.0",
29
31
  "jest": "^29.7.0",
30
- "socket.io-client": "^4.7.5"
32
+ "socket.io-client": "^4.7.5",
33
+ "typescript": "4.9.5"
31
34
  },
32
35
  "peerDependencies": {
33
- "@tsed/common": "7.79.4",
34
- "@tsed/core": "7.79.4",
35
- "@tsed/di": "7.79.4",
36
+ "@tsed/common": "7.80.1",
37
+ "@tsed/core": "7.80.1",
38
+ "@tsed/di": "7.80.1",
36
39
  "socket.io-client": "^4.0.1"
37
40
  },
38
41
  "repository": "https://github.com/tsedio/tsed",
@@ -1,3 +0,0 @@
1
- {
2
- "type": "commonjs"
3
- }
@@ -1,3 +0,0 @@
1
- {
2
- "type": "module"
3
- }
package/tsconfig.esm.json DELETED
@@ -1,39 +0,0 @@
1
- {
2
- "extends": "@tsed/typescript/tsconfig.node.json",
3
- "compilerOptions": {
4
- "baseUrl": ".",
5
- "module": "ES2020",
6
- "rootDir": "src",
7
- "outDir": "./lib/esm",
8
- "declaration": true,
9
- "declarationDir": "./lib/types",
10
- "composite": true,
11
- "noEmit": false
12
- },
13
- "include": ["src", "src/**/*.json"],
14
- "exclude": [
15
- "node_modules",
16
- "test",
17
- "lib",
18
- "benchmark",
19
- "coverage",
20
- "spec",
21
- "**/*.benchmark.ts",
22
- "**/*.spec.ts",
23
- "keys",
24
- "jest.config.js",
25
- "**/__mock__/**",
26
- "webpack.config.js"
27
- ],
28
- "references": [
29
- {
30
- "path": "../../platform/common"
31
- },
32
- {
33
- "path": "../../core"
34
- },
35
- {
36
- "path": "../../di"
37
- }
38
- ]
39
- }