Socket
Socket
Sign inDemoInstall

@skyway-sdk/room

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skyway-sdk/room - npm Package Compare versions

Comparing version 0.2.0-beta.24 to 0.2.0-beta.25

dist/skyway_room-0.2.0-beta.25.js

4

dist/room/base.d.ts
import { Event } from '@skyway-sdk/common';
import { ChannelStatus, Publication, SkyWayChannelImpl, Subscription } from '@skyway-sdk/core';
import { ChannelStatus, Publication, SkyWayChannelImpl, SubscriptionImpl } from '@skyway-sdk/core';
import { RemoteRoomMember, RemoteRoomMemberImpl, RoomMember, RoomPublication, RoomPublicationImpl, RoomSubscription, RoomSubscriptionImpl } from '..';

@@ -96,3 +96,3 @@ import { LocalRoomMember } from '../member/local/base';

/**@private */
_addSubscription(s: Subscription): RoomSubscriptionImpl<import("@skyway-sdk/core").RemoteStream>;
_addSubscription(s: SubscriptionImpl): RoomSubscriptionImpl<import("@skyway-sdk/core").RemoteStream>;
private readonly _events;

@@ -99,0 +99,0 @@ readonly onClosed: Event<event.RoomClosedEvent>;

@@ -1,2 +0,2 @@

import { ContentType, Event, RemoteStream, Subscription, SubscriptionStatus } from '@skyway-sdk/core';
import { ContentType, Event, RemoteStream, SubscriptionImpl, SubscriptionStatus } from '@skyway-sdk/core';
import { RemoteRoomMember } from '../member/remote/base';

@@ -10,3 +10,3 @@ import { RoomPublication } from '../publication';

readonly onStreamAttached: Event<void>;
subscriber: RemoteRoomMember;
readonly subscriber: RemoteRoomMember;
/**

@@ -26,13 +26,13 @@ * @description {japanese} subscribeしているStreamの実体。

/**@private */
_subscription: Subscription<T>;
_subscription: SubscriptionImpl<T>;
private _room;
readonly id: string;
readonly contentType: ContentType;
readonly publication: RoomPublication;
readonly subscriber: RemoteRoomMember;
readonly onStreamAttached: Event<void>;
constructor(
/**@private */
_subscription: Subscription<T>, _room: RoomImpl);
_subscription: SubscriptionImpl<T>, _room: RoomImpl);
get stream(): T | undefined;
get publication(): import("../publication").RoomPublicationImpl<import("@skyway-sdk/core").LocalStream>;
get subscriber(): import("../member/remote/base").RemoteRoomMemberImpl;
get status(): SubscriptionStatus;

@@ -39,0 +39,0 @@ cancel(): Promise<void>;

@@ -25,2 +25,4 @@ "use strict";

this.contentType = _subscription.contentType;
this.publication = this._room._getPublication(_subscription.publicationId);
this.subscriber = this._room._getMember(_subscription.subscriberId);
_subscription.onStreamAttached.pipe(this.onStreamAttached);

@@ -31,10 +33,2 @@ }

}
get publication() {
const publicationId = this._subscription.publication.id;
const publication = this._room._getPublication(publicationId);
return publication;
}
get subscriber() {
return this._room._getMember(this._subscription.subscriber.id);
}
get status() {

@@ -41,0 +35,0 @@ return this._subscription.status;

{
"name": "@skyway-sdk/room",
"version": "0.2.0-beta.24",
"version": "0.2.0-beta.25",
"description": "The official Next Generation JavaScript SDK for SkyWay",

@@ -5,0 +5,0 @@ "homepage": "https://beta.skyway.ntt.com/",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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