call-live-sdk1 0.0.22 → 0.0.24
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/call-live-sdk.es.js +16152 -16147
- package/dist/call-live-sdk.umd.js +1 -1
- package/dist/components/RtcJoomRoom/useMessageSender.d.ts +1 -1
- package/dist/components/UploadDocumentFrom/hooks/useLibrary.d.ts +1 -1
- package/dist/components/UploadImageFrom/types.d.ts +1 -1
- package/dist/components/UploadImageFromV1/types.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/stats-prod.html +1 -1
- package/dist/stores/commentSocket.d.ts +1 -1
- package/dist/stores/sdkStore.d.ts +1 -2
- package/package.json +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MessageData, WebSocketMessage
|
|
1
|
+
import { CommentSocketState, MessageData, WebSocketMessage } from '../types/stores/commentSocket';
|
|
2
2
|
declare const useCommentSocketStore: import("zustand").UseBoundStore<import("zustand").StoreApi<CommentSocketState>>;
|
|
3
3
|
export declare function useCommentSocket(): {
|
|
4
4
|
setCallback: (callback: (message: MessageData['data']) => void) => void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { CallSDKConfig } from '../types/sdk';
|
|
2
1
|
import { SdkStore } from '../types/stores/sdkStore';
|
|
3
2
|
/**
|
|
4
3
|
* SDK配置状态存储
|
|
@@ -9,7 +8,7 @@ export declare const useSdkStore: import("zustand").UseBoundStore<import("zustan
|
|
|
9
8
|
* 获取SDK配置的Hook
|
|
10
9
|
* @returns SDK配置对象或null
|
|
11
10
|
*/
|
|
12
|
-
export declare const useSdkConfig: () => CallSDKConfig;
|
|
11
|
+
export declare const useSdkConfig: () => import("..").CallSDKConfig;
|
|
13
12
|
/**
|
|
14
13
|
* 获取直播ID的Hook
|
|
15
14
|
* @returns 直播ID字符串或undefined
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "call-live-sdk1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/call-live-sdk.umd.js",
|
|
6
6
|
"module": "./dist/call-live-sdk.es.js",
|
|
@@ -48,9 +48,11 @@
|
|
|
48
48
|
"@vitejs/plugin-react": "4.2.0",
|
|
49
49
|
"eslint": "8.57.1",
|
|
50
50
|
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
51
52
|
"less": "4.4.2",
|
|
52
53
|
"less-loader": "12.3.0",
|
|
53
54
|
"prettier": "3.7.3",
|
|
55
|
+
"prettier-plugin-organize-imports": "^4.3.0",
|
|
54
56
|
"rollup-plugin-visualizer": "5.12.0",
|
|
55
57
|
"stylelint": "16.26.1",
|
|
56
58
|
"terser": "5.44.1",
|
|
@@ -70,7 +72,7 @@
|
|
|
70
72
|
"build:test": "vite build --mode test && pnpm run build:types",
|
|
71
73
|
"build:types": "tsc --emitDeclarationOnly --outDir dist --noEmitOnError false",
|
|
72
74
|
"lint": "eslint .",
|
|
73
|
-
"lint:fix": "eslint . --fix",
|
|
75
|
+
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
74
76
|
"format": "prettier --check .",
|
|
75
77
|
"format:fix": "prettier --write .",
|
|
76
78
|
"check": "pnpm run lint && pnpm run format",
|