cdp-client-tool 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/readme.md +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdp-client-tool",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "一个客户端程序,设计了一套socket.io与http接口的通信协议,可以用于控制浏览器,抓取数据等",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
package/readme.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  一个客户端程序,通过 Socket.IO 与 HTTP 接口与网关通信,用于控制浏览器、抓取数据等。适用于在安卓机 / Linux 上运行的数据抓取 Client。
4
4
 
5
- - **包名**:`@bomon/cdp-client-tool`
5
+ - **包名**:`cdp-client-tool`
6
6
  - **入口**:`Client`、`EVENTS`、类型 `ClientOptions` / `GatewayConfig` / `excuteFn`
7
7
 
8
8
  ## 快速开始
@@ -16,7 +16,7 @@ pnpm run build
16
16
  **作为客户端连接网关:**
17
17
 
18
18
  ```ts
19
- import { Client } from "@bomon/cdp-client-tool";
19
+ import { Client } from "cdp-client-tool";
20
20
 
21
21
  const client = new Client({
22
22
  deviceName: "my-device", // 网关侧展示的设备名