@poolse/sdk 2.10.0 → 2.10.1
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1485,9 +1485,30 @@ interface LiveKitRoomHandle {
|
|
|
1485
1485
|
* The `livekit-client` namespace, as imported by your app:
|
|
1486
1486
|
*
|
|
1487
1487
|
* import * as livekit from 'livekit-client';
|
|
1488
|
+
*
|
|
1489
|
+
* Deliberately loose, for the same reason `NativeWebRtcModule` is.
|
|
1490
|
+
* Spelling the real signatures out here does NOT work: `Room`'s
|
|
1491
|
+
* constructor takes `RoomOptions`, and a constructor accepting
|
|
1492
|
+
* `RoomOptions` is not assignable to one accepting `unknown` —
|
|
1493
|
+
* parameters are contravariant. Declaring it precisely means no consumer
|
|
1494
|
+
* can pass `import * as livekit` in at all.
|
|
1495
|
+
*
|
|
1496
|
+
* {@link CheckedLiveKitModule} is the precise shape, narrowed once
|
|
1497
|
+
* inside `CallRoom` rather than at every call site.
|
|
1488
1498
|
*/
|
|
1489
1499
|
interface LiveKitModule {
|
|
1490
|
-
Room: new (
|
|
1500
|
+
Room: new (...args: never[]) => unknown;
|
|
1501
|
+
RoomEvent: Record<string, string>;
|
|
1502
|
+
Track: {
|
|
1503
|
+
Source: Record<string, string>;
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
/** The precise shape, used internally once the module has been checked. */
|
|
1507
|
+
interface CheckedLiveKitModule {
|
|
1508
|
+
Room: new (options?: {
|
|
1509
|
+
adaptiveStream?: boolean;
|
|
1510
|
+
dynacast?: boolean;
|
|
1511
|
+
}) => LiveKitRoomHandle;
|
|
1491
1512
|
RoomEvent: Record<string, string>;
|
|
1492
1513
|
Track: {
|
|
1493
1514
|
Source: Record<string, string>;
|
|
@@ -1816,8 +1837,8 @@ declare class AuthError extends ApiError {
|
|
|
1816
1837
|
declare function isWebRtcAvailable(): boolean;
|
|
1817
1838
|
declare function createBrowserWebRtcAdapter(): WebRtcAdapter;
|
|
1818
1839
|
|
|
1819
|
-
declare const version = "2.10.
|
|
1840
|
+
declare const version = "2.10.1";
|
|
1820
1841
|
|
|
1821
1842
|
declare function safeUuid(): string;
|
|
1822
1843
|
|
|
1823
|
-
export { type AddMemberOptions, ApiError, type Attachment, type AttachmentDownloadResponse, AttachmentHandle, type AttachmentOptions, type AttachmentProgressEvent, type AttachmentStatus, type AttachmentUploadInput, type AttachmentUploadRequest, type AttachmentUploadResponse, AttachmentsResource, AuthError, type CallAccepted, type CallBusy, type CallCancelled, type CallConnection, type CallDeclined, type CallEnded, type CallMedia, type CallParticipant, CallRoom, type CallRoomOptions, type CallRoomStatus, CallTokensResource, CallsResource, type Conversation, ConversationChannel, type ConversationCreateRequest, type ConversationCreatedEvent, ConversationHandle, type ConversationList, ConversationMessages, type ConversationType, type ConversationUpdateRequest, type ConversationUpdatedEvent, ConversationsResource, type Device, type DeviceEnvironment, type DevicePlatform, DevicesResource, type ErrorEnvelope, type IceServerResponse, IceServersResource, type IncomingCall, type IsoDateTime, type LiveKitModule, type LiveKitParticipant, type LiveKitPublication, type LiveKitRoomHandle, type LiveKitTrack, type LiveKitTrackReference, type Me, MeResource, type MemberReadEvent, type MemberRole, type Membership, type MembershipCreateRequest, type MembershipList, type MentionEvent, type Message, type MessageCreateRequest, type MessageDeletedEvent, MessageHandle, type MessageList, type MessageNewEvent, type MessageType, type MessageUpdateRequest, type MessageUpdatedEvent, MessagesResource, NetworkError, type OutgoingCall, POOLSE_API_URL, Poolse, type PoolseConfig, PoolseError, PoolseRealtime, type PoolseUserProfile, type PresenceSnapshot, type QuotedMessagePreview, RateLimitedError, type ReactionEvent, type ReactionRequest, type ReadRequest, type RealtimeStatus, type RegisterDeviceRequest, type TypingEvent, type Unsubscribe$1 as Unsubscribe, UserChannel, UsersResource, type Uuid, type VoiceCandidate, type VoiceDescription, type VoiceIceServer, type VoiceParticipant, type VoicePeerConnection, VoiceRoom, type VoiceRoomOptions, type VoiceStatus, type VoiceStream, type VoiceTrack, type WebRtcAdapter, createBrowserWebRtcAdapter, isWebRtcAvailable, safeUuid, version };
|
|
1844
|
+
export { type AddMemberOptions, ApiError, type Attachment, type AttachmentDownloadResponse, AttachmentHandle, type AttachmentOptions, type AttachmentProgressEvent, type AttachmentStatus, type AttachmentUploadInput, type AttachmentUploadRequest, type AttachmentUploadResponse, AttachmentsResource, AuthError, type CallAccepted, type CallBusy, type CallCancelled, type CallConnection, type CallDeclined, type CallEnded, type CallMedia, type CallParticipant, CallRoom, type CallRoomOptions, type CallRoomStatus, CallTokensResource, CallsResource, type CheckedLiveKitModule, type Conversation, ConversationChannel, type ConversationCreateRequest, type ConversationCreatedEvent, ConversationHandle, type ConversationList, ConversationMessages, type ConversationType, type ConversationUpdateRequest, type ConversationUpdatedEvent, ConversationsResource, type Device, type DeviceEnvironment, type DevicePlatform, DevicesResource, type ErrorEnvelope, type IceServerResponse, IceServersResource, type IncomingCall, type IsoDateTime, type LiveKitModule, type LiveKitParticipant, type LiveKitPublication, type LiveKitRoomHandle, type LiveKitTrack, type LiveKitTrackReference, type Me, MeResource, type MemberReadEvent, type MemberRole, type Membership, type MembershipCreateRequest, type MembershipList, type MentionEvent, type Message, type MessageCreateRequest, type MessageDeletedEvent, MessageHandle, type MessageList, type MessageNewEvent, type MessageType, type MessageUpdateRequest, type MessageUpdatedEvent, MessagesResource, NetworkError, type OutgoingCall, POOLSE_API_URL, Poolse, type PoolseConfig, PoolseError, PoolseRealtime, type PoolseUserProfile, type PresenceSnapshot, type QuotedMessagePreview, RateLimitedError, type ReactionEvent, type ReactionRequest, type ReadRequest, type RealtimeStatus, type RegisterDeviceRequest, type TypingEvent, type Unsubscribe$1 as Unsubscribe, UserChannel, UsersResource, type Uuid, type VoiceCandidate, type VoiceDescription, type VoiceIceServer, type VoiceParticipant, type VoicePeerConnection, VoiceRoom, type VoiceRoomOptions, type VoiceStatus, type VoiceStream, type VoiceTrack, type WebRtcAdapter, createBrowserWebRtcAdapter, isWebRtcAvailable, safeUuid, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1485,9 +1485,30 @@ interface LiveKitRoomHandle {
|
|
|
1485
1485
|
* The `livekit-client` namespace, as imported by your app:
|
|
1486
1486
|
*
|
|
1487
1487
|
* import * as livekit from 'livekit-client';
|
|
1488
|
+
*
|
|
1489
|
+
* Deliberately loose, for the same reason `NativeWebRtcModule` is.
|
|
1490
|
+
* Spelling the real signatures out here does NOT work: `Room`'s
|
|
1491
|
+
* constructor takes `RoomOptions`, and a constructor accepting
|
|
1492
|
+
* `RoomOptions` is not assignable to one accepting `unknown` —
|
|
1493
|
+
* parameters are contravariant. Declaring it precisely means no consumer
|
|
1494
|
+
* can pass `import * as livekit` in at all.
|
|
1495
|
+
*
|
|
1496
|
+
* {@link CheckedLiveKitModule} is the precise shape, narrowed once
|
|
1497
|
+
* inside `CallRoom` rather than at every call site.
|
|
1488
1498
|
*/
|
|
1489
1499
|
interface LiveKitModule {
|
|
1490
|
-
Room: new (
|
|
1500
|
+
Room: new (...args: never[]) => unknown;
|
|
1501
|
+
RoomEvent: Record<string, string>;
|
|
1502
|
+
Track: {
|
|
1503
|
+
Source: Record<string, string>;
|
|
1504
|
+
};
|
|
1505
|
+
}
|
|
1506
|
+
/** The precise shape, used internally once the module has been checked. */
|
|
1507
|
+
interface CheckedLiveKitModule {
|
|
1508
|
+
Room: new (options?: {
|
|
1509
|
+
adaptiveStream?: boolean;
|
|
1510
|
+
dynacast?: boolean;
|
|
1511
|
+
}) => LiveKitRoomHandle;
|
|
1491
1512
|
RoomEvent: Record<string, string>;
|
|
1492
1513
|
Track: {
|
|
1493
1514
|
Source: Record<string, string>;
|
|
@@ -1816,8 +1837,8 @@ declare class AuthError extends ApiError {
|
|
|
1816
1837
|
declare function isWebRtcAvailable(): boolean;
|
|
1817
1838
|
declare function createBrowserWebRtcAdapter(): WebRtcAdapter;
|
|
1818
1839
|
|
|
1819
|
-
declare const version = "2.10.
|
|
1840
|
+
declare const version = "2.10.1";
|
|
1820
1841
|
|
|
1821
1842
|
declare function safeUuid(): string;
|
|
1822
1843
|
|
|
1823
|
-
export { type AddMemberOptions, ApiError, type Attachment, type AttachmentDownloadResponse, AttachmentHandle, type AttachmentOptions, type AttachmentProgressEvent, type AttachmentStatus, type AttachmentUploadInput, type AttachmentUploadRequest, type AttachmentUploadResponse, AttachmentsResource, AuthError, type CallAccepted, type CallBusy, type CallCancelled, type CallConnection, type CallDeclined, type CallEnded, type CallMedia, type CallParticipant, CallRoom, type CallRoomOptions, type CallRoomStatus, CallTokensResource, CallsResource, type Conversation, ConversationChannel, type ConversationCreateRequest, type ConversationCreatedEvent, ConversationHandle, type ConversationList, ConversationMessages, type ConversationType, type ConversationUpdateRequest, type ConversationUpdatedEvent, ConversationsResource, type Device, type DeviceEnvironment, type DevicePlatform, DevicesResource, type ErrorEnvelope, type IceServerResponse, IceServersResource, type IncomingCall, type IsoDateTime, type LiveKitModule, type LiveKitParticipant, type LiveKitPublication, type LiveKitRoomHandle, type LiveKitTrack, type LiveKitTrackReference, type Me, MeResource, type MemberReadEvent, type MemberRole, type Membership, type MembershipCreateRequest, type MembershipList, type MentionEvent, type Message, type MessageCreateRequest, type MessageDeletedEvent, MessageHandle, type MessageList, type MessageNewEvent, type MessageType, type MessageUpdateRequest, type MessageUpdatedEvent, MessagesResource, NetworkError, type OutgoingCall, POOLSE_API_URL, Poolse, type PoolseConfig, PoolseError, PoolseRealtime, type PoolseUserProfile, type PresenceSnapshot, type QuotedMessagePreview, RateLimitedError, type ReactionEvent, type ReactionRequest, type ReadRequest, type RealtimeStatus, type RegisterDeviceRequest, type TypingEvent, type Unsubscribe$1 as Unsubscribe, UserChannel, UsersResource, type Uuid, type VoiceCandidate, type VoiceDescription, type VoiceIceServer, type VoiceParticipant, type VoicePeerConnection, VoiceRoom, type VoiceRoomOptions, type VoiceStatus, type VoiceStream, type VoiceTrack, type WebRtcAdapter, createBrowserWebRtcAdapter, isWebRtcAvailable, safeUuid, version };
|
|
1844
|
+
export { type AddMemberOptions, ApiError, type Attachment, type AttachmentDownloadResponse, AttachmentHandle, type AttachmentOptions, type AttachmentProgressEvent, type AttachmentStatus, type AttachmentUploadInput, type AttachmentUploadRequest, type AttachmentUploadResponse, AttachmentsResource, AuthError, type CallAccepted, type CallBusy, type CallCancelled, type CallConnection, type CallDeclined, type CallEnded, type CallMedia, type CallParticipant, CallRoom, type CallRoomOptions, type CallRoomStatus, CallTokensResource, CallsResource, type CheckedLiveKitModule, type Conversation, ConversationChannel, type ConversationCreateRequest, type ConversationCreatedEvent, ConversationHandle, type ConversationList, ConversationMessages, type ConversationType, type ConversationUpdateRequest, type ConversationUpdatedEvent, ConversationsResource, type Device, type DeviceEnvironment, type DevicePlatform, DevicesResource, type ErrorEnvelope, type IceServerResponse, IceServersResource, type IncomingCall, type IsoDateTime, type LiveKitModule, type LiveKitParticipant, type LiveKitPublication, type LiveKitRoomHandle, type LiveKitTrack, type LiveKitTrackReference, type Me, MeResource, type MemberReadEvent, type MemberRole, type Membership, type MembershipCreateRequest, type MembershipList, type MentionEvent, type Message, type MessageCreateRequest, type MessageDeletedEvent, MessageHandle, type MessageList, type MessageNewEvent, type MessageType, type MessageUpdateRequest, type MessageUpdatedEvent, MessagesResource, NetworkError, type OutgoingCall, POOLSE_API_URL, Poolse, type PoolseConfig, PoolseError, PoolseRealtime, type PoolseUserProfile, type PresenceSnapshot, type QuotedMessagePreview, RateLimitedError, type ReactionEvent, type ReactionRequest, type ReadRequest, type RealtimeStatus, type RegisterDeviceRequest, type TypingEvent, type Unsubscribe$1 as Unsubscribe, UserChannel, UsersResource, type Uuid, type VoiceCandidate, type VoiceDescription, type VoiceIceServer, type VoiceParticipant, type VoicePeerConnection, VoiceRoom, type VoiceRoomOptions, type VoiceStatus, type VoiceStream, type VoiceTrack, type WebRtcAdapter, createBrowserWebRtcAdapter, isWebRtcAvailable, safeUuid, version };
|
package/dist/index.js
CHANGED
|
@@ -2201,7 +2201,7 @@ var Poolse = class {
|
|
|
2201
2201
|
};
|
|
2202
2202
|
|
|
2203
2203
|
// src/version.ts
|
|
2204
|
-
var version = "2.10.
|
|
2204
|
+
var version = "2.10.1";
|
|
2205
2205
|
|
|
2206
2206
|
export { ApiError, AttachmentHandle, AttachmentsResource, AuthError, CallRoom, CallTokensResource, CallsResource, ConversationChannel, ConversationHandle, ConversationMessages, ConversationsResource, DevicesResource, IceServersResource, MeResource, MessageHandle, MessagesResource, NetworkError, POOLSE_API_URL, Poolse, PoolseError, PoolseRealtime, RateLimitedError, UserChannel, UsersResource, VoiceRoom, createBrowserWebRtcAdapter, isWebRtcAvailable, safeUuid, version };
|
|
2207
2207
|
//# sourceMappingURL=index.js.map
|