teckos-client 0.3.0 → 0.3.3
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/package.json +4 -4
- package/src/index.ts +3 -3
- package/types/index.d.ts +3 -3
package/package.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
{
|
2
|
-
"version": "0.3.
|
2
|
+
"version": "0.3.3",
|
3
3
|
"license": "MIT",
|
4
|
-
"main": "lib/
|
5
|
-
"unpkg": "dist/
|
6
|
-
"module": "es/
|
4
|
+
"main": "lib/index.js",
|
5
|
+
"unpkg": "dist/index.js",
|
6
|
+
"module": "es/index.js",
|
7
7
|
"types": "types/index.d.ts",
|
8
8
|
"files": [
|
9
9
|
"dist",
|
package/src/index.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
import { TeckosClientWithJWT } from './TeckosClientWithJWT'
|
2
2
|
import { TeckosClient } from './TeckosClient'
|
3
3
|
import { ITeckosClient } from './ITeckosClient'
|
4
|
+
import { ConnectionState, OptionalOptions, Options, Packet, PacketType, SocketEvent } from './types'
|
4
5
|
|
5
6
|
/**
|
6
7
|
* Expose all types
|
7
8
|
*/
|
8
|
-
export
|
9
|
-
export type { ITeckosClient }
|
9
|
+
export type { Options, OptionalOptions, Packet, SocketEvent, ITeckosClient }
|
10
10
|
|
11
|
-
export { TeckosClient, TeckosClientWithJWT }
|
11
|
+
export { ConnectionState, PacketType, TeckosClient, TeckosClientWithJWT }
|
package/types/index.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { TeckosClientWithJWT } from './TeckosClientWithJWT';
|
2
2
|
import { TeckosClient } from './TeckosClient';
|
3
3
|
import { ITeckosClient } from './ITeckosClient';
|
4
|
+
import { ConnectionState, OptionalOptions, Options, Packet, PacketType, SocketEvent } from './types';
|
4
5
|
/**
|
5
6
|
* Expose all types
|
6
7
|
*/
|
7
|
-
export
|
8
|
-
export
|
9
|
-
export { TeckosClient, TeckosClientWithJWT };
|
8
|
+
export type { Options, OptionalOptions, Packet, SocketEvent, ITeckosClient };
|
9
|
+
export { ConnectionState, PacketType, TeckosClient, TeckosClientWithJWT };
|