call-live-sdk1 0.0.21 → 0.0.23

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,4 +1,4 @@
1
- import { MessageType, MessagePriority, MessageSendResult, MessageSendOptions } from './types';
1
+ import { MessagePriority, MessageSendOptions, MessageSendResult, MessageType } from './types';
2
2
  /**
3
3
  * 消息发送Hook - 统一管理RTC消息发送
4
4
  * 支持房间广播和点对点两种消息发送模式
@@ -37,6 +37,6 @@ declare const useLibrary: ({ defaultPageSize, initialCurrent }?: UseLibraryParam
37
37
  setCurrentPage: import("react").Dispatch<import("react").SetStateAction<number>>;
38
38
  setPageSize: import("react").Dispatch<import("react").SetStateAction<number>>;
39
39
  };
40
- export type { Item };
41
40
  export { useLibrary };
41
+ export type { Item };
42
42
  export default useLibrary;
@@ -1,6 +1,6 @@
1
1
  import type { RcFile } from 'antd/es/upload/interface';
2
2
  import type { Dispatch, ForwardedRef, MutableRefObject, SetStateAction } from 'react';
3
- import type { CropperProps, default as Cropper, Area } from 'react-easy-crop';
3
+ import type { Area, default as Cropper, CropperProps } from 'react-easy-crop';
4
4
  export type ImgCropProps = {
5
5
  aspect?: number;
6
6
  shape?: 'rect' | 'round';
@@ -1,6 +1,6 @@
1
1
  import type { RcFile } from 'antd/es/upload/interface';
2
2
  import type { Dispatch, ForwardedRef, MutableRefObject, SetStateAction } from 'react';
3
- import type { CropperProps, default as Cropper, Area } from 'react-easy-crop';
3
+ import type { Area, default as Cropper, CropperProps } from 'react-easy-crop';
4
4
  export type ImgCropProps = {
5
5
  aspect?: number;
6
6
  shape?: 'rect' | 'round';
package/dist/index.d.ts CHANGED
@@ -2,6 +2,6 @@
2
2
  import '@unocss/reset/normalize.css';
3
3
  import 'uno.css';
4
4
  import './index.css';
5
- import { GuestCallSdk, CallLiveSdk } from './sdk';
6
- export { GuestCallSdk, CallLiveSdk };
7
- export type { GuestSDKConfig, CallSDKConfig } from './types/sdk';
5
+ import { CallLiveSdk, GuestCallSdk } from './sdk';
6
+ export type { CallSDKConfig, GuestSDKConfig } from './types/sdk';
7
+ export { CallLiveSdk, GuestCallSdk };