@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.
@@ -1,14 +1,18 @@
1
1
 
2
- > @pixotope/socket.io-client@0.3.0 build /home/circleci/project/packages/socket.io-client
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
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.0
8
- CLI Target: es6
8
+ CLI Target: esnext
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.cjs 256.09 KB
12
- CJS ⚡️ Build success in 825ms
13
- ESM dist/index.js 255.92 KB
14
- ESM ⚡️ Build success in 837ms
11
+ ESM dist/index.js 50.00 B
12
+ ESM ⚡️ Build success in 388ms
13
+ CJS dist/index.cjs 1.07 KB
14
+ CJS ⚡️ Build success in 390ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 3425ms
17
+ DTS dist/index.d.cts 34.00 B
18
+ DTS dist/index.d.ts 34.00 B
@@ -1,4 +1,4 @@
1
1
 
2
- > @pixotope/socket.io-client@0.3.0 check-types /home/circleci/project/packages/socket.io-client
2
+ > @pixotope/socket.io-client@0.5.0 check-types /home/circleci/project/packages/socket.io-client
3
3
  > tsc --noEmit
4
4
 
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.