New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ray-streaming

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ray-streaming - npm Package Compare versions

Comparing version 2.19.5 to 2.19.6

2

package.json
{
"name": "ray-streaming",
"license": "MIT",
"version": "2.19.5",
"version": "2.19.6",
"author": "Kitsch <xc648593557@gmail.com>",

@@ -6,0 +6,0 @@ "description": "RayStreaming WebRTC implement",

@@ -77,3 +77,6 @@ import 'webrtc-adapter';

}>;
receivedFile: TypedEvent<ArrayBuffer>;
receivedFile: TypedEvent<{
data: ArrayBuffer;
name?: string | undefined;
}>;
fileTransferApply: TypedEvent<FileRequest>;

@@ -85,2 +88,3 @@ bandwidthDetect: TypedEvent<void>;

private fileUploadHandlerMap;
private fileReceivedMap;
private tan;

@@ -87,0 +91,0 @@ private ready;

@@ -262,2 +262,4 @@ /// <reference types="dom-webcodecs" />

KeycodeBack = 4,
KeycodeVoiceUp = 24,
KeycodeVoiceDown = 25,
KeycodeAppSwitch = 187

@@ -355,3 +357,6 @@ }

dumps(): Promise<ArrayBuffer[]>;
static parse(payload: ArrayBuffer[]): ArrayBuffer;
static parse(payload: ArrayBuffer[]): {
data: ArrayBuffer;
fileUnique: bigint;
};
static isLastPart(data: ArrayBuffer): boolean;

@@ -358,0 +363,0 @@ splitting(source: ArrayBufferLike): ArrayBuffer[];

@@ -15,3 +15,2 @@ export { Connection } from './core/connection';

export { Magnifier } from './core/widgets/magnifier';
export { ClipboardSyncManager } from './utils/clipboard-sync-manager';
export { Dashboard } from './utils/dashboard';

@@ -23,1 +22,2 @@ export { DataBuffer } from './utils/data-buffer';

export { FlexibleKeyboard } from './core/widgets/flexible-keyboard';
export { ClipboardSyncManager } from './utils/clipboard-sync-manager';

@@ -0,5 +1,27 @@

import { TypedEvent } from './typed-event';
type MIMEType = 'text/html' | 'text/plain' | 'image/png' | 'image/jpeg';
type CopiedContent = Array<{
type: MIMEType;
data: string | Blob;
}>;
export declare class ClipboardSyncManager {
static dataToClipboard: string | Blob | undefined;
static syncToClipboard(data: string | Blob): Promise<boolean>;
static syncFromClipboard(target: HTMLElement, autoDealWithUserGestureErrorOnce?: boolean): Promise<Blob | string>;
remoteClipboardData: string | Blob;
copied: TypedEvent<CopiedContent>;
private targets;
/**
* @description
* @param elements 需要监听有效交互的元素
* @param listenOnGlobal 默认全局监听document.body
*/
constructor(elements?: HTMLElement[], listenOnGlobal?: boolean);
destroy(): void;
syncToClipboard(data: string | Blob): Promise<boolean>;
private detectLegalUserGesture;
private handleFocusSyncData;
private clearLegaluserGestureEvent;
private detectionBootstrap;
private clearEventsOnTargets;
private getDataFromClipboard;
private syncFromClipboard;
}
export {};

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc