@pixotope/socket.io-client 0.4.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 +5 -5
- package/.turbo/turbo-check-types.log +1 -1
- package/CHANGELOG.md +6 -0
- package/README.md +24 -0
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/typedoc.json +4 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @pixotope/socket.io-client@0.
|
|
2
|
+
> @pixotope/socket.io-client@0.5.0 build /home/circleci/project/packages/socket.io-client
|
|
3
3
|
> tsup src/index.ts --format cjs,esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[34mCLI[39m Target: esnext
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m1.07 KB[39m
|
|
12
|
-
[32mCJS[39m ⚡️ Build success in 64ms
|
|
13
11
|
[32mESM[39m [1mdist/index.js [22m[32m50.00 B[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in
|
|
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
15
|
[34mDTS[39m Build start
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 3425ms
|
|
17
17
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m34.00 B[39m
|
|
18
18
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m34.00 B[39m
|
package/CHANGELOG.md
CHANGED
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.
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/typedoc.json
ADDED