Skip to content

Commit 4ef948e

Browse files
authored
Update dependencies and remove SIP.CreateSIPTrunk (#451)
1 parent 4f69117 commit 4ef948e

File tree

3 files changed

+8
-28
lines changed

3 files changed

+8
-28
lines changed

cmd/lk/sip.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -148,17 +148,6 @@ var (
148148
},
149149

150150
// Deprecated commands kept for compatibility
151-
{
152-
Hidden: true, // deprecated: use `sip trunk create`
153-
Name: "create-sip-trunk",
154-
Usage: "Create a SIP Trunk",
155-
Action: createSIPTrunkLegacy,
156-
Category: sipCategory,
157-
Flags: []cli.Flag{
158-
//lint:ignore SA1019 we still support it
159-
RequestFlag[livekit.CreateSIPTrunkRequest](),
160-
},
161-
},
162151
{
163152
Hidden: true, // deprecated: use `sip trunk list`
164153
Name: "list-sip-trunk",
@@ -232,15 +221,6 @@ func createSIPClient(cmd *cli.Command) (*lksdk.SIPClient, error) {
232221
return lksdk.NewSIPClient(pc.URL, pc.APIKey, pc.APISecret, withDefaultClientOpts(pc)...), nil
233222
}
234223

235-
func createSIPTrunkLegacy(ctx context.Context, cmd *cli.Command) error {
236-
cli, err := createSIPClient(cmd)
237-
if err != nil {
238-
return err
239-
}
240-
//lint:ignore SA1019 we still support it
241-
return createAndPrintLegacy(ctx, cmd, cli.CreateSIPTrunk, printSIPTrunkID)
242-
}
243-
244224
func createSIPInboundTrunk(ctx context.Context, cmd *cli.Command) error {
245225
cli, err := createSIPClient(cmd)
246226
if err != nil {

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/livekit/livekit-cli
22

3-
go 1.22.0
3+
go 1.22.7
44

5-
toolchain go1.23.1
5+
toolchain go1.23.2
66

77
require (
88
github.com/charmbracelet/huh v0.6.0
@@ -12,8 +12,8 @@ require (
1212
github.com/go-logr/logr v1.4.2
1313
github.com/go-task/task/v3 v3.39.2
1414
github.com/joho/godotenv v1.5.1
15-
github.com/livekit/protocol v1.24.0
16-
github.com/livekit/server-sdk-go/v2 v2.2.2-0.20241007155002-76007e61480f
15+
github.com/livekit/protocol v1.26.0
16+
github.com/livekit/server-sdk-go/v2 v2.3.0
1717
github.com/pion/rtcp v1.2.14
1818
github.com/pion/rtp v1.8.9
1919
github.com/pion/webrtc/v3 v3.3.4

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1 h1:jm09419p0lqTkD
125125
github.com/livekit/mageutil v0.0.0-20230125210925-54e8a70427c1/go.mod h1:Rs3MhFwutWhGwmY1VQsygw28z5bWcnEYmS1OG9OxjOQ=
126126
github.com/livekit/mediatransportutil v0.0.0-20240730083616-559fa5ece598 h1:yLlkHk2feSLHstD9n4VKg7YEBR4rLODTI4WE8gNBEnQ=
127127
github.com/livekit/mediatransportutil v0.0.0-20240730083616-559fa5ece598/go.mod h1:jwKUCmObuiEDH0iiuJHaGMXwRs3RjrB4G6qqgkr/5oE=
128-
github.com/livekit/protocol v1.24.0 h1:GyRCWsqsmgGXbWGou1uv2A2xKmHJWSDXwz0yIpZQzRo=
129-
github.com/livekit/protocol v1.24.0/go.mod h1:nxRzmQBKSYK64gqr7ABWwt78hvrgiO2wYuCojRYb7Gs=
128+
github.com/livekit/protocol v1.26.0 h1:BAA2mKOHsJEEQCfgkllNyKpNpC0136A0pDiCvr7JYV4=
129+
github.com/livekit/protocol v1.26.0/go.mod h1:nxRzmQBKSYK64gqr7ABWwt78hvrgiO2wYuCojRYb7Gs=
130130
github.com/livekit/psrpc v0.6.1-0.20240924010758-9f0a4268a3b9 h1:33oBjGpVD9tYkDXQU42tnHl8eCX9G6PVUToBVuCUyOs=
131131
github.com/livekit/psrpc v0.6.1-0.20240924010758-9f0a4268a3b9/go.mod h1:CQUBSPfYYAaevg1TNCc6/aYsa8DJH4jSRFdCeSZk5u0=
132-
github.com/livekit/server-sdk-go/v2 v2.2.2-0.20241007155002-76007e61480f h1:7Vb/gkzVnnNdsV3K47LsWOCQpMfqM927V3XogwUM3jI=
133-
github.com/livekit/server-sdk-go/v2 v2.2.2-0.20241007155002-76007e61480f/go.mod h1:AERqUiaZiAZjMxB5bxZn+M8PJlDD3TAOZn0PieQjnXk=
132+
github.com/livekit/server-sdk-go/v2 v2.3.0 h1:k6kpBwJNZYUypv9567hfmLpxQumL463dNGUBfoF0bzQ=
133+
github.com/livekit/server-sdk-go/v2 v2.3.0/go.mod h1:m2IukIyPCvJCdx04mdWIud9FoCBUAWc3526x3KgT8qY=
134134
github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY=
135135
github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
136136
github.com/magefile/mage v1.15.0 h1:BvGheCMAsG3bWUDbZ8AyXXpCNwU9u5CB6sM+HNb9HYg=

0 commit comments

Comments
 (0)