Skip to content

Commit 685ef18

Browse files
authored
Support HTTP.jl 1.0 and fix #24. (#34)
1 parent 423e0c1 commit 685ef18

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ MbedTLS = "739be429-bea8-5141-9913-cc70e7f3736d"
99
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1010

1111
[compat]
12-
HTTP = "~0.9.0"
13-
julia = "1.0"
12+
HTTP = "0.9, 1"
13+
julia = "1.6"
1414
MbedTLS = "0.6.0, 0.7.0, 1.0.0"
1515

1616
[extras]

src/OAuth.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__precompile__()
2-
31
module OAuth
42

53
using HTTP, MbedTLS, Base64, Random
@@ -46,7 +44,7 @@ julia> oauth_nonce(10)
4644
```
4745
"""
4846
function oauth_nonce(length::Int)
49-
randstring(length)
47+
randstring(Random.RandomDevice(), length)
5048
end
5149

5250
"""

0 commit comments

Comments
 (0)