@cloudpss/ubrpc 0.5.33 → 0.5.34

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/dist/client.d.ts CHANGED
@@ -5,7 +5,7 @@ import type { RpcObject } from './types/utils.js';
5
5
  export declare class RpcClientSocket<TRemote extends object, TLocal extends object> extends RpcSocket<TRemote, TLocal> {
6
6
  /** 建立连接使用的 WebSocket 实现 */
7
7
  static WebSocket: {
8
- new (url: string | URL, protocols?: string | string[] | undefined): WebSocket;
8
+ new (url: string | URL, protocols?: string | string[]): WebSocket;
9
9
  prototype: WebSocket;
10
10
  readonly CONNECTING: 0;
11
11
  readonly OPEN: 1;
package/dist/logger.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import { type DebugLoggerFunction } from 'node:util';
3
2
  export declare let logger: DebugLoggerFunction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudpss/ubrpc",
3
- "version": "0.5.33",
3
+ "version": "0.5.34",
4
4
  "author": "CloudPSS",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -18,14 +18,14 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "rxjs": "^7.8.1",
21
- "uuid": "^9.0.1",
22
- "@cloudpss/fetch": "~0.5.33",
23
- "@cloudpss/ubjson": "~0.5.33"
21
+ "uuid": "^10.0.0",
22
+ "@cloudpss/fetch": "~0.5.34",
23
+ "@cloudpss/ubjson": "~0.5.34"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/uuid": "^9.0.8",
27
27
  "@types/ws": "^8.5.10",
28
- "ws": "^8.17.0"
28
+ "ws": "^8.17.1"
29
29
  },
30
30
  "scripts": {
31
31
  "start": "pnpm clean && tsc --watch",
package/tsconfig.json CHANGED
@@ -1,8 +1,6 @@
1
1
  {
2
2
  "extends": "../../tsconfig",
3
- "include": ["./src/"],
4
3
  "compilerOptions": {
5
- "outDir": "./dist",
6
4
  "allowJs": true
7
5
  }
8
6
  }