stytch 3.7.0 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c12f49bd7571d1d7069b19a86c6c8375cd7aee95e8477a86b9a8a811decfae3
4
- data.tar.gz: 5daf47770391642bb0e526745314ac507300ffc900cfcb3f5954812d8c10ad4f
3
+ metadata.gz: 95b360d5a8279e14e7f5f296a1f87cf8a228f71199b8f7ad819c5738ffabed5c
4
+ data.tar.gz: d039db12c094d0108053986133159641fb70f6ea78774fc8fb6c3d4bbd9cba08
5
5
  SHA512:
6
- metadata.gz: db55a2dc0cf8119ea731c15102282054f1d6f3523ff72b169c9603c882a33e4ace9139c445e97cc499b8048e6546284ab6272fe9eb7b27b3a34bd690c90f1c71
7
- data.tar.gz: d6a7fb4e31097ea41f9047e661a3ba284c1d298585f9ab692231858cebfd2b92ff7113abc20cfd6a2461fc3cd26d43d781f8951603968d190c4bad5efb01eb84
6
+ metadata.gz: 49525be08d53de93aadce97f254d0e3526e9334119b11508b89a8234133ef23a27a880666b176b03ef57fb938c17c90adeb9804ce159e9832f60a7a7f9821972
7
+ data.tar.gz: 4212ed7c21195091055bbfe24abe613c1f670216808fd51e15c39b565ab49b2252f941398fc82fd3480d2a5af8999056051a0696f7edd157390cb11bcbe0a16c
@@ -71,8 +71,8 @@ module Stytch
71
71
  email:,
72
72
  hash:,
73
73
  hash_type:,
74
- prepend_salt: nil,
75
- append_salt: nil
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[:prepend_salt] = prepend_salt unless prepend_salt.nil?
84
- request[:append_salt] = append_salt unless append_salt.nil?
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '3.7.0'
4
+ VERSION = '3.8.0'
5
5
  end
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.7.0
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-12 00:00:00.000000000 Z
11
+ date: 2022-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday