Skip to content

Commit e745c4e

Browse files
committed
[deps] upgrade client-go to fix phone number validation
1 parent 5aa0ea1 commit e745c4e

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.22.0
44

55
require (
66
firebase.google.com/go/v4 v4.12.1
7-
github.com/android-sms-gateway/client-go v1.5.2
7+
github.com/android-sms-gateway/client-go v1.5.3
88
github.com/ansrivas/fiberprometheus/v2 v2.6.1
99
github.com/capcom6/go-helpers v0.1.1
1010
github.com/capcom6/go-infra-fx v0.2.0

go.sum

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
2626
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
2727
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
2828
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
29-
github.com/android-sms-gateway/client-go v1.2.1-0.20241231042455-ce468dd89fdb h1:c3ll8h375G/oL4Qzexo35XBxHrw9HgGOqmxK6CPX5Bg=
30-
github.com/android-sms-gateway/client-go v1.2.1-0.20241231042455-ce468dd89fdb/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
31-
github.com/android-sms-gateway/client-go v1.5.0 h1:CDREtWU2Z85dW7JcsW3a+vKZkj9g2Buq8vlrnEdGaoE=
32-
github.com/android-sms-gateway/client-go v1.5.0/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
33-
github.com/android-sms-gateway/client-go v1.5.1 h1:+bgRoDHcoUe+VvnA7roW+BjNQQC/ZXKd5Rds5rXG4wM=
34-
github.com/android-sms-gateway/client-go v1.5.1/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
35-
github.com/android-sms-gateway/client-go v1.5.2 h1:Vk9KZqFiecOjLTac8NWEViK0/Q1FNlfI28DqFlGD6Bk=
36-
github.com/android-sms-gateway/client-go v1.5.2/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
29+
github.com/android-sms-gateway/client-go v1.5.3 h1:h+eq/Os+K5IRjKpHAj52zFAg59PLrJCu5/STTnVgu+M=
30+
github.com/android-sms-gateway/client-go v1.5.3/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
3731
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
3832
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
3933
github.com/ansrivas/fiberprometheus/v2 v2.6.1 h1:wac3pXaE6BYYTF04AC6K0ktk6vCD+MnDOJZ3SK66kXM=
@@ -43,10 +37,6 @@ github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT
4337
github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
4438
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
4539
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
46-
github.com/capcom6/go-helpers v0.0.0-20240521035631-865ee2879fa3 h1:mq9rmBMCCzqGnZtbQqFSd+Ua3fahqUOYaTf26YFhWJc=
47-
github.com/capcom6/go-helpers v0.0.0-20240521035631-865ee2879fa3/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
48-
github.com/capcom6/go-helpers v0.1.0 h1:eootTmUSCzlu8xOHJfDlT1AasVWsgzZ9grhDxovMtwY=
49-
github.com/capcom6/go-helpers v0.1.0/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
5040
github.com/capcom6/go-helpers v0.1.1 h1:kcpK1+VUwo94MZlZX+0Gab4gf78egHTPzW9sOQXLfFE=
5141
github.com/capcom6/go-helpers v0.1.1/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
5242
github.com/capcom6/go-infra-fx v0.2.0 h1:FrWtdFiG58unIK7xN7kMJn3LfOFecp20W/ZVgvN3bsM=

pkg/swagger/docs/swagger.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,12 +1287,12 @@
12871287
"example": "QslD_GefqiYV6RQXdkM6V"
12881288
},
12891289
"login": {
1290-
"description": "User login, empty if registration in existing user",
1290+
"description": "User login",
12911291
"type": "string",
12921292
"example": "VQ4GII"
12931293
},
12941294
"password": {
1295-
"description": "User password, empty if registration in existing user",
1295+
"description": "User password, empty for existing user",
12961296
"type": "string",
12971297
"example": "cp2pydvxd2zwpx"
12981298
},
@@ -1407,7 +1407,7 @@
14071407
"description": "Phone number or first 16 symbols of SHA256 hash",
14081408
"type": "string",
14091409
"maxLength": 128,
1410-
"minLength": 10,
1410+
"minLength": 1,
14111411
"example": "79990001234"
14121412
},
14131413
"state": {

pkg/swagger/docs/swagger.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,11 @@ definitions:
277277
example: QslD_GefqiYV6RQXdkM6V
278278
type: string
279279
login:
280-
description: User login, empty if registration in existing user
280+
description: User login
281281
example: VQ4GII
282282
type: string
283283
password:
284-
description: User password, empty if registration in existing user
284+
description: User password, empty for existing user
285285
example: cp2pydvxd2zwpx
286286
type: string
287287
token:
@@ -365,7 +365,7 @@ definitions:
365365
description: Phone number or first 16 symbols of SHA256 hash
366366
example: "79990001234"
367367
maxLength: 128
368-
minLength: 10
368+
minLength: 1
369369
type: string
370370
state:
371371
allOf:

0 commit comments

Comments
 (0)