Skip to content

Commit

Permalink
[deps] upgrade client-go to fix phone number validation
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Feb 19, 2025
1 parent 5aa0ea1 commit e745c4e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.0

require (
firebase.google.com/go/v4 v4.12.1
github.com/android-sms-gateway/client-go v1.5.2
github.com/android-sms-gateway/client-go v1.5.3
github.com/ansrivas/fiberprometheus/v2 v2.6.1
github.com/capcom6/go-helpers v0.1.1
github.com/capcom6/go-infra-fx v0.2.0
Expand Down
14 changes: 2 additions & 12 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@ github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migc
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
github.com/android-sms-gateway/client-go v1.2.1-0.20241231042455-ce468dd89fdb h1:c3ll8h375G/oL4Qzexo35XBxHrw9HgGOqmxK6CPX5Bg=
github.com/android-sms-gateway/client-go v1.2.1-0.20241231042455-ce468dd89fdb/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.0 h1:CDREtWU2Z85dW7JcsW3a+vKZkj9g2Buq8vlrnEdGaoE=
github.com/android-sms-gateway/client-go v1.5.0/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.1 h1:+bgRoDHcoUe+VvnA7roW+BjNQQC/ZXKd5Rds5rXG4wM=
github.com/android-sms-gateway/client-go v1.5.1/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.2 h1:Vk9KZqFiecOjLTac8NWEViK0/Q1FNlfI28DqFlGD6Bk=
github.com/android-sms-gateway/client-go v1.5.2/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/android-sms-gateway/client-go v1.5.3 h1:h+eq/Os+K5IRjKpHAj52zFAg59PLrJCu5/STTnVgu+M=
github.com/android-sms-gateway/client-go v1.5.3/go.mod h1:DQsReciU1xcaVW3T5Z2bqslNdsAwCFCtghawmA6g6L4=
github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M=
github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY=
github.com/ansrivas/fiberprometheus/v2 v2.6.1 h1:wac3pXaE6BYYTF04AC6K0ktk6vCD+MnDOJZ3SK66kXM=
Expand All @@ -43,10 +37,6 @@ github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT
github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/capcom6/go-helpers v0.0.0-20240521035631-865ee2879fa3 h1:mq9rmBMCCzqGnZtbQqFSd+Ua3fahqUOYaTf26YFhWJc=
github.com/capcom6/go-helpers v0.0.0-20240521035631-865ee2879fa3/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-helpers v0.1.0 h1:eootTmUSCzlu8xOHJfDlT1AasVWsgzZ9grhDxovMtwY=
github.com/capcom6/go-helpers v0.1.0/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-helpers v0.1.1 h1:kcpK1+VUwo94MZlZX+0Gab4gf78egHTPzW9sOQXLfFE=
github.com/capcom6/go-helpers v0.1.1/go.mod h1:WDqc7HZNqHxUTisArkYIBZtqUfJBVyPWeQI+FMwEzAw=
github.com/capcom6/go-infra-fx v0.2.0 h1:FrWtdFiG58unIK7xN7kMJn3LfOFecp20W/ZVgvN3bsM=
Expand Down
6 changes: 3 additions & 3 deletions pkg/swagger/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,12 +1287,12 @@
"example": "QslD_GefqiYV6RQXdkM6V"
},
"login": {
"description": "User login, empty if registration in existing user",
"description": "User login",
"type": "string",
"example": "VQ4GII"
},
"password": {
"description": "User password, empty if registration in existing user",
"description": "User password, empty for existing user",
"type": "string",
"example": "cp2pydvxd2zwpx"
},
Expand Down Expand Up @@ -1407,7 +1407,7 @@
"description": "Phone number or first 16 symbols of SHA256 hash",
"type": "string",
"maxLength": 128,
"minLength": 10,
"minLength": 1,
"example": "79990001234"
},
"state": {
Expand Down
6 changes: 3 additions & 3 deletions pkg/swagger/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ definitions:
example: QslD_GefqiYV6RQXdkM6V
type: string
login:
description: User login, empty if registration in existing user
description: User login
example: VQ4GII
type: string
password:
description: User password, empty if registration in existing user
description: User password, empty for existing user
example: cp2pydvxd2zwpx
type: string
token:
Expand Down Expand Up @@ -365,7 +365,7 @@ definitions:
description: Phone number or first 16 symbols of SHA256 hash
example: "79990001234"
maxLength: 128
minLength: 10
minLength: 1
type: string
state:
allOf:
Expand Down

0 comments on commit e745c4e

Please sign in to comment.