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

@livekit/protocol

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@livekit/protocol - npm Package Compare versions

Comparing version 1.29.4 to 1.30.0

2

package.json
{
"name": "@livekit/protocol",
"version": "1.29.4",
"version": "1.30.0",
"description": "",

@@ -5,0 +5,0 @@ "type": "module",

@@ -215,2 +215,17 @@ // Copyright 2023 LiveKit, Inc.

/**
* @generated from enum livekit.EgressSourceType
*/
export declare enum EgressSourceType {
/**
* @generated from enum value: EGRESS_SOURCE_TYPE_WEB = 0;
*/
WEB = 0,
/**
* @generated from enum value: EGRESS_SOURCE_TYPE_SDK = 1;
*/
SDK = 1,
}
/**
* composite using a web browser

@@ -1556,2 +1571,7 @@ *

/**
* @generated from field: livekit.EgressSourceType source_type = 26;
*/
sourceType: EgressSourceType;
/**
* @generated from field: livekit.EgressStatus status = 3;

@@ -1680,3 +1700,3 @@ */

/**
* next ID: 26
* next ID: 27
*

@@ -1683,0 +1703,0 @@ * @generated from field: bool backup_storage_used = 25;

@@ -114,2 +114,13 @@ // Copyright 2023 LiveKit, Inc.

/**
* @generated from enum livekit.EgressSourceType
*/
export const EgressSourceType = /*@__PURE__*/ proto3.makeEnum(
"livekit.EgressSourceType",
[
{no: 0, name: "EGRESS_SOURCE_TYPE_WEB", localName: "WEB"},
{no: 1, name: "EGRESS_SOURCE_TYPE_SDK", localName: "SDK"},
],
);
/**
* composite using a web browser

@@ -460,2 +471,3 @@ *

{ no: 13, name: "room_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 26, name: "source_type", kind: "enum", T: proto3.getEnumType(EgressSourceType) },
{ no: 3, name: "status", kind: "enum", T: proto3.getEnumType(EgressStatus) },

@@ -462,0 +474,0 @@ { no: 10, name: "started_at", kind: "scalar", T: 3 /* ScalarType.INT64 */ },

@@ -889,3 +889,2 @@ // Copyright 2023 LiveKit, Inc.

{ no: 5, name: "total_length", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
{ no: 6, name: "total_chunks", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
{ no: 7, name: "encryption_type", kind: "enum", T: proto3.getEnumType(Encryption_Type) },

@@ -892,0 +891,0 @@ { no: 8, name: "extensions", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },

@@ -22,2 +22,3 @@ // Copyright 2023 LiveKit, Inc.

import { Message, proto3 } from "@bufbuild/protobuf";
import type { RoomConfiguration } from "./livekit_room_pb.js";
import type { DisconnectReason } from "./livekit_models_pb.js";

@@ -51,2 +52,28 @@

/**
* @generated from enum livekit.SIPHeaderOptions
*/
export declare enum SIPHeaderOptions {
/**
* do not map any headers, except ones mapped explicitly
*
* @generated from enum value: SIP_NO_HEADERS = 0;
*/
SIP_NO_HEADERS = 0,
/**
* map all X-* headers to sip.h.x-* attributes
*
* @generated from enum value: SIP_X_HEADERS = 1;
*/
SIP_X_HEADERS = 1,
/**
* map all headers to sip.h.* attributes
*
* @generated from enum value: SIP_ALL_HEADERS = 2;
*/
SIP_ALL_HEADERS = 2,
}
/**
* @generated from enum livekit.SIPCallStatus

@@ -440,2 +467,14 @@ */

/**
* Map SIP headers from INVITE to sip.h.* participant attributes automatically.
*
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
*
* When mapping INVITE headers to response headers with attributes_to_headers map,
* lowercase header names should be used, for example: sip.h.x-custom-header.
*
* @generated from field: livekit.SIPHeaderOptions include_headers = 15;
*/
includeHeaders: SIPHeaderOptions;
/**
* Max time for the caller to wait for track subscription.

@@ -582,2 +621,14 @@ *

/**
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
*
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
*
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
* lowercase header names should be used, for example: sip.h.x-custom-header.
*
* @generated from field: livekit.SIPHeaderOptions include_headers = 12;
*/
includeHeaders: SIPHeaderOptions;
constructor(data?: PartialMessage<SIPOutboundTrunkInfo>);

@@ -740,5 +791,22 @@

/**
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
*
* @generated from message livekit.ListSIPInboundTrunkRequest
*/
export declare class ListSIPInboundTrunkRequest extends Message<ListSIPInboundTrunkRequest> {
/**
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
* If any of the trunks is missing, a nil item in that position will be sent in the response.
*
* @generated from field: repeated string trunk_ids = 1;
*/
trunkIds: string[];
/**
* Only list trunks that contain one of the numbers, including wildcard trunks.
*
* @generated from field: repeated string numbers = 2;
*/
numbers: string[];
constructor(data?: PartialMessage<ListSIPInboundTrunkRequest>);

@@ -784,5 +852,22 @@

/**
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
*
* @generated from message livekit.ListSIPOutboundTrunkRequest
*/
export declare class ListSIPOutboundTrunkRequest extends Message<ListSIPOutboundTrunkRequest> {
/**
* Trunk IDs to list. If this option is set, the response will contains trunks in the same order.
* If any of the trunks is missing, a nil item in that position will be sent in the response.
*
* @generated from field: repeated string trunk_ids = 1;
*/
trunkIds: string[];
/**
* Only list trunks that contain one of the numbers, including wildcard trunks.
*
* @generated from field: repeated string numbers = 2;
*/
numbers: string[];
constructor(data?: PartialMessage<ListSIPOutboundTrunkRequest>);

@@ -1062,2 +1147,16 @@

/**
* Cloud-only, config preset to use
*
* @generated from field: string room_preset = 8;
*/
roomPreset: string;
/**
* RoomConfiguration to use if the participant initiates the room
*
* @generated from field: livekit.RoomConfiguration room_config = 9;
*/
roomConfig?: RoomConfiguration;
constructor(data?: PartialMessage<CreateSIPDispatchRuleRequest>);

@@ -1132,2 +1231,18 @@

/**
* Cloud-only, config preset to use
*
* @generated from field: string room_preset = 9;
*/
roomPreset: string;
/**
* RoomConfiguration to use if the participant initiates the room
*
* NEXT ID: 11
*
* @generated from field: livekit.RoomConfiguration room_config = 10;
*/
roomConfig?: RoomConfiguration;
constructor(data?: PartialMessage<SIPDispatchRuleInfo>);

@@ -1149,5 +1264,22 @@

/**
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
*
* @generated from message livekit.ListSIPDispatchRuleRequest
*/
export declare class ListSIPDispatchRuleRequest extends Message<ListSIPDispatchRuleRequest> {
/**
* Rule IDs to list. If this option is set, the response will contains rules in the same order.
* If any of the rules is missing, a nil item in that position will be sent in the response.
*
* @generated from field: repeated string dispatch_rule_ids = 1;
*/
dispatchRuleIds: string[];
/**
* Only list rules that contain one of the Trunk IDs, including wildcard rules.
*
* @generated from field: repeated string trunk_ids = 2;
*/
trunkIds: string[];
constructor(data?: PartialMessage<ListSIPDispatchRuleRequest>);

@@ -1309,2 +1441,21 @@

/**
* These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint.
*
* @generated from field: map<string, string> headers = 16;
*/
headers: { [key: string]: string };
/**
* Map SIP headers from 200 OK to sip.h.* participant attributes automatically.
*
* When the names of required headers is known, using headers_to_attributes is strongly recommended.
*
* When mapping 200 OK headers to follow-up request headers with attributes_to_headers map,
* lowercase header names should be used, for example: sip.h.x-custom-header.
*
* @generated from field: livekit.SIPHeaderOptions include_headers = 17;
*/
includeHeaders: SIPHeaderOptions;
/**
* Max time for the callee to answer the call.

@@ -1326,3 +1477,3 @@ *

*
* NEXT ID: 16
* NEXT ID: 18
*

@@ -1413,2 +1564,9 @@ * @generated from field: bool enable_krisp = 14;

/**
* Add the following headers to the REFER SIP request.
*
* @generated from field: map<string, string> headers = 5;
*/
headers: { [key: string]: string };
constructor(data?: PartialMessage<TransferSIPParticipantRequest>);

@@ -1415,0 +1573,0 @@

@@ -21,2 +21,3 @@ // Copyright 2023 LiveKit, Inc.

import { Duration, proto3 } from "@bufbuild/protobuf";
import { RoomConfiguration } from "./livekit_room_pb.js";
import { DisconnectReason } from "./livekit_models_pb.js";

@@ -38,2 +39,14 @@

/**
* @generated from enum livekit.SIPHeaderOptions
*/
export const SIPHeaderOptions = /*@__PURE__*/ proto3.makeEnum(
"livekit.SIPHeaderOptions",
[
{no: 0, name: "SIP_NO_HEADERS"},
{no: 1, name: "SIP_X_HEADERS"},
{no: 2, name: "SIP_ALL_HEADERS"},
],
);
/**
* @generated from enum livekit.SIPCallStatus

@@ -147,2 +160,3 @@ */

{ no: 14, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 15, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },

@@ -181,2 +195,3 @@ { no: 12, name: "max_call_duration", kind: "message", T: Duration },

{ no: 11, name: "attributes_to_headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 12, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
],

@@ -246,2 +261,4 @@ );

/**
* ListSIPInboundTrunkRequest lists inbound trunks for given filters. If no filters are set, all trunks are listed.
*
* @generated from message livekit.ListSIPInboundTrunkRequest

@@ -251,3 +268,6 @@ */

"livekit.ListSIPInboundTrunkRequest",
[],
() => [
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
],
);

@@ -266,2 +286,4 @@

/**
* ListSIPOutboundTrunkRequest lists outbound trunks for given filters. If no filters are set, all trunks are listed.
*
* @generated from message livekit.ListSIPOutboundTrunkRequest

@@ -271,3 +293,6 @@ */

"livekit.ListSIPOutboundTrunkRequest",
[],
() => [
{ no: 1, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 2, name: "numbers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
],
);

@@ -354,2 +379,4 @@

{ no: 7, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 8, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 9, name: "room_config", kind: "message", T: RoomConfiguration },
],

@@ -372,2 +399,4 @@ );

{ no: 8, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 9, name: "room_preset", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 10, name: "room_config", kind: "message", T: RoomConfiguration },
],

@@ -377,2 +406,4 @@ );

/**
* ListSIPDispatchRuleRequest lists dispatch rules for given filters. If no filters are set, all rules are listed.
*
* @generated from message livekit.ListSIPDispatchRuleRequest

@@ -382,3 +413,6 @@ */

"livekit.ListSIPDispatchRuleRequest",
[],
() => [
{ no: 1, name: "dispatch_rule_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
{ no: 2, name: "trunk_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
],
);

@@ -427,2 +461,4 @@

{ no: 10, name: "hide_phone_number", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 16, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
{ no: 17, name: "include_headers", kind: "enum", T: proto3.getEnumType(SIPHeaderOptions) },
{ no: 11, name: "ringing_timeout", kind: "message", T: Duration },

@@ -457,2 +493,3 @@ { no: 12, name: "max_call_duration", kind: "message", T: Duration },

{ no: 4, name: "play_dialtone", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 5, name: "headers", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
],

@@ -459,0 +496,0 @@ );

// Generated by genversion.
export const version = '1.29.4';
export const version = '1.30.0';

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

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