@pixotope/socket.io-client 0.3.0 → 0.5.0
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/.turbo/turbo-build.log +11 -7
- package/.turbo/turbo-check-types.log +1 -1
- package/CHANGELOG.md +12 -0
- package/README.md +24 -0
- package/dist/index.cjs +3 -8296
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -8303
- package/package.json +6 -4
- package/src/index.ts +1 -0
- package/tsconfig.json +4 -4
- package/typedoc.json +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @pixotope/socket.io-client@0.
|
|
3
|
-
> tsup src/index.ts --format cjs,esm
|
|
2
|
+
> @pixotope/socket.io-client@0.5.0 build /home/circleci/project/packages/socket.io-client
|
|
3
|
+
> tsup src/index.ts --format cjs,esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.5.0
|
|
8
|
-
[34mCLI[39m Target:
|
|
8
|
+
[34mCLI[39m Target: esnext
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
11
|
+
[32mESM[39m [1mdist/index.js [22m[32m50.00 B[39m
|
|
12
|
+
[32mESM[39m ⚡️ Build success in 388ms
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m1.07 KB[39m
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 390ms
|
|
15
|
+
[34mDTS[39m Build start
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3425ms
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m34.00 B[39m
|
|
18
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m34.00 B[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @pixotope/socket.io-client
|
|
2
2
|
|
|
3
|
+
## 0.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8a28444: Include detailed documentation for every package and setup `typedoc`
|
|
8
|
+
|
|
9
|
+
## 0.4.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 5fcf657: - `@pixotope/socket.io-client` fix resolution error
|
|
14
|
+
|
|
3
15
|
## 0.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @pixotope/socket.io-client
|
|
2
|
+
|
|
3
|
+
Pinned re-export of `socket.io-client` for Pixotope Foundation.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
pnpm add @pixotope/socket.io-client
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
This package is a thin re-export of the [`socket.io-client`](https://www.npmjs.com/package/socket.io-client) npm package, pinned to a specific version for consistency across Pixotope Foundation packages. Usage is identical to using `socket.io-client` directly - just import from `@pixotope/socket.io-client` instead:
|
|
14
|
+
|
|
15
|
+
```ts
|
|
16
|
+
// Instead of:
|
|
17
|
+
// import { io } from "socket.io-client";
|
|
18
|
+
|
|
19
|
+
import { io } from "@pixotope/socket.io-client";
|
|
20
|
+
|
|
21
|
+
const socket = io("https://example.com");
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
See the upstream [socket.io client API docs](https://socket.io/docs/v4/client-api/) for full usage.
|