telnyx 5.8.1 → 5.8.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +1 -7
- data/lib/telnyx/internal/oauth2.rb +3 -2
- data/lib/telnyx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5c6abe3f36e6d4ecaec26f367084d4beeb440430a544f3c27bbb9ac34bbfb964
|
|
4
|
+
data.tar.gz: 510322b5b0759d267b1882c3036777bb3d4a2fa048c8bb0c7dffd0bd6e2ebb78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49cb112e59ac86257e19c08734f19732456923c7656024b4a1d2a586db92468270227a75945b39f78d7ee5c8bb79b07d3277cd076d3811f26660f4dfe891ef5a
|
|
7
|
+
data.tar.gz: 726dfbf641336474e52fdb03d908a66964c99399fb1a28042d14a2a9b3efdf7f584078377fd4ab7c48c937542da69c0e2b4c7d2e3981ba32bd6601d8c6b89326
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.8.2 (2026-02-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v5.8.1...v5.8.2](https://github.com/team-telnyx/telnyx-ruby/compare/v5.8.1...v5.8.2)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* **client/oauth:** send grant_type in the right location ([9c80812](https://github.com/team-telnyx/telnyx-ruby/commit/9c80812de3e8cb0a1e0c22edf105e42a824669e6))
|
|
10
|
+
|
|
3
11
|
## 5.8.1 (2026-02-02)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v5.8.0...v5.8.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.8.0...v5.8.1)
|
data/README.md
CHANGED
data/lib/telnyx/client.rb
CHANGED
|
@@ -509,13 +509,7 @@ module Telnyx
|
|
|
509
509
|
return {} unless @client_id && @client_secret
|
|
510
510
|
|
|
511
511
|
path = Telnyx::Internal::Util.interpolate_path("https://api.telnyx.com/v2/oauth/token")
|
|
512
|
-
token_url = Telnyx::Internal::Util.join_parsed_uri(
|
|
513
|
-
@base_url_components,
|
|
514
|
-
{
|
|
515
|
-
path: path,
|
|
516
|
-
query: {grant_type: "client_credentials"}
|
|
517
|
-
}
|
|
518
|
-
)
|
|
512
|
+
token_url = Telnyx::Internal::Util.join_parsed_uri(@base_url_components, {path: path})
|
|
519
513
|
|
|
520
514
|
@oauth_client_auth_state = Telnyx::Internal::OAuth2ClientCredentials.new(
|
|
521
515
|
token_url: token_url.to_s,
|
|
@@ -61,9 +61,10 @@ module Telnyx
|
|
|
61
61
|
method: :post,
|
|
62
62
|
url: URI(@token_url),
|
|
63
63
|
headers: {
|
|
64
|
-
"Authorization" => "Basic #{Base64.strict_encode64("#{@client_id}:#{@client_secret}")}"
|
|
64
|
+
"Authorization" => "Basic #{Base64.strict_encode64("#{@client_id}:#{@client_secret}")}",
|
|
65
|
+
"Content-Type" => "application/x-www-form-urlencoded"
|
|
65
66
|
},
|
|
66
|
-
body:
|
|
67
|
+
body: "grant_type=client_credentials",
|
|
67
68
|
max_retries: @client.max_retries,
|
|
68
69
|
timeout: @timeout
|
|
69
70
|
}
|
data/lib/telnyx/version.rb
CHANGED