@nice2dev/ui-communication 1.0.28 → 1.1.5

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,5 +1,4 @@
1
1
  import { EncryptionAlgorithm, EncryptionConfig, EncryptionScope } from '../types/communicationTypes';
2
-
3
2
  declare function generateAesKey(bits: 128 | 256): Promise<CryptoKey>;
4
3
  declare function generateEcdhKeyPair(): Promise<CryptoKeyPair>;
5
4
  declare function importAesKey(base64Key: string, bits: 128 | 256): Promise<CryptoKey>;
@@ -1,5 +1,4 @@
1
1
  import { RecordingSession, RecordingState, TranscriptSegment } from '../types/communicationTypes';
2
-
3
2
  export interface RecordingServiceCallbacks {
4
3
  onStateChange?: (state: RecordingState) => void;
5
4
  onDataAvailable?: (blob: Blob) => void;
@@ -1,6 +1,5 @@
1
1
  import { StorageConfig, RetentionRule, ChatMessage, WhiteboardSession, RecordingSession } from '../types/communicationTypes';
2
2
  import { EncryptionService } from './encryptionService';
3
-
4
3
  export declare class StorageService {
5
4
  private adapter;
6
5
  private config;
@@ -1,5 +1,4 @@
1
1
  import { CallSession, CallType, RTCTransportConfig, TransportType } from '../types/communicationTypes';
2
-
3
2
  export interface ICommunicationTransport {
4
3
  readonly type: TransportType;
5
4
  connect(signalingUrl: string, userId: string): Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
-
3
2
  export type NiceAccessMode = 'read' | 'write' | 'none';
4
3
  export interface NiceCommunicationBaseProps {
5
4
  className?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/ui-communication",
3
- "version": "1.0.28",
3
+ "version": "1.1.5",
4
4
  "description": "NiceCommunication — full-spectrum communication suite: chat bubble, messenger, voice/video calls, multi-party conference, and Teams-style workspace. Provider-agnostic RTC transport.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -36,17 +36,19 @@
36
36
  "react-dom": ">=17.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@testing-library/jest-dom": "^6.9.1",
40
- "@testing-library/react": "^14.0.0",
41
- "@types/react": "^18.2.0",
42
- "@types/react-dom": "^18.2.0",
43
- "@vitejs/plugin-react": "^4.2.0",
44
- "react": "^18.2.0",
45
- "react-dom": "^18.2.0",
46
- "typescript": "^5.3.0",
47
- "vite": "^5.0.0",
48
- "vite-plugin-dts": "^3.7.0",
49
- "vitest": "^4.1.0"
39
+ "@nice2dev/ui": "^1.1.5",
40
+ "@testing-library/jest-dom": "^7.0.1",
41
+ "@testing-library/react": "^16.3.3",
42
+ "@types/react": "^19.2.18",
43
+ "@types/react-dom": "^19.2.7",
44
+ "@vitejs/plugin-react": "^4.7.0",
45
+ "jsdom": "^29.0.0",
46
+ "react": "^19.2.8",
47
+ "react-dom": "^19.2.8",
48
+ "typescript": "^5.9.3",
49
+ "vite": "^6.4.1",
50
+ "vite-plugin-dts": "^4.5.4",
51
+ "vitest": "^4.1.11"
50
52
  },
51
53
  "keywords": [
52
54
  "react",