stytch 3.7.0 → 3.8.0
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/lib/stytch/passwords.rb +4 -4
- data/lib/stytch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95b360d5a8279e14e7f5f296a1f87cf8a228f71199b8f7ad819c5738ffabed5c
|
|
4
|
+
data.tar.gz: d039db12c094d0108053986133159641fb70f6ea78774fc8fb6c3d4bbd9cba08
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49525be08d53de93aadce97f254d0e3526e9334119b11508b89a8234133ef23a27a880666b176b03ef57fb938c17c90adeb9804ce159e9832f60a7a7f9821972
|
|
7
|
+
data.tar.gz: 4212ed7c21195091055bbfe24abe613c1f670216808fd51e15c39b565ab49b2252f941398fc82fd3480d2a5af8999056051a0696f7edd157390cb11bcbe0a16c
|
data/lib/stytch/passwords.rb
CHANGED
|
@@ -71,8 +71,8 @@ module Stytch
|
|
|
71
71
|
email:,
|
|
72
72
|
hash:,
|
|
73
73
|
hash_type:,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
md_5_config: {},
|
|
75
|
+
argon_2_config: {}
|
|
76
76
|
)
|
|
77
77
|
request = {
|
|
78
78
|
email: email,
|
|
@@ -80,8 +80,8 @@ module Stytch
|
|
|
80
80
|
hash_type: hash_type
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
request[:
|
|
84
|
-
request[:
|
|
83
|
+
request[:md_5_config] = md_5_config unless md_5_config != {}
|
|
84
|
+
request[:argon_2_config] = argon_2_config unless argon_2_config != {}
|
|
85
85
|
|
|
86
86
|
post_request("#{PATH}/migrate", request)
|
|
87
87
|
end
|
data/lib/stytch/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stytch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- stytch
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-07-
|
|
11
|
+
date: 2022-07-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|