Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudgaming/paas-web

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudgaming/paas-web - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

11

dist/machine/context.d.ts

@@ -18,3 +18,10 @@ import { Client } from '@cloudgaming/rpc';

useWebVideoAndMicrophone?: boolean;
useRelay?: 'always' | 'never' | 'auto';
/**
* 是否使用 relay 连接
* * `always-if-available` - 如果 TURN 服务器可用,则使用 relay 连接,否则交给浏览器处理
* * `always` - 强制使用 relay 连接
* * `auto` - 永远交给浏览器处理
* 交给浏览器处理时,通常来说,如果能通过打洞/直连连上的话,就直连,否则使用 relay 连接
*/
useRelay?: 'always-if-available' | 'always' | 'auto';
}

@@ -64,4 +71,4 @@ export declare function getInitialContext(optionsOrEndpoint?: string | InitialContextOptions, channelId?: string, bsUrl?: string, glaWebOnly?: boolean): {

useWebVideoAndMicrophone: boolean | undefined;
useRelay: "always" | "never" | "auto" | undefined;
useRelay: "always-if-available" | "always" | "auto" | undefined;
};
export declare type PlayerMachineContext = ReturnType<typeof getInitialContext>;

6

dist/machine/playerMachine.d.ts

@@ -46,3 +46,3 @@ import { InitialContextOptions } from './context';

useWebVideoAndMicrophone: boolean | undefined;
useRelay: "always" | "never" | "auto" | undefined;
useRelay: "always-if-available" | "always" | "auto" | undefined;
}, any, PlayerMachineEvents, {

@@ -93,3 +93,3 @@ value: any;

useWebVideoAndMicrophone: boolean | undefined;
useRelay: "always" | "never" | "auto" | undefined;
useRelay: "always-if-available" | "always" | "auto" | undefined;
};

@@ -139,4 +139,4 @@ }, import("xstate").ActionObject<{

useWebVideoAndMicrophone: boolean | undefined;
useRelay: "always" | "never" | "auto" | undefined;
useRelay: "always-if-available" | "always" | "auto" | undefined;
}, PlayerMachineEvents>>;
export declare type PlayerMachine = ReturnType<typeof createPlayerMachine>;
{
"name": "@cloudgaming/paas-web",
"license": "BSD-3-Clause",
"version": "2.1.1",
"version": "2.1.2",
"files": [

@@ -6,0 +6,0 @@ "dist"

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