stytch 6.1.0 → 6.2.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.
data/lib/stytch/users.rb CHANGED
@@ -77,8 +77,7 @@ module Stytch
77
77
  trusted_metadata: nil,
78
78
  untrusted_metadata: nil
79
79
  )
80
- request = {
81
- }
80
+ request = {}
82
81
  request[:email] = email unless email.nil?
83
82
  request[:name] = name unless name.nil?
84
83
  request[:attributes] = attributes unless attributes.nil?
@@ -150,8 +149,7 @@ module Stytch
150
149
  def get(
151
150
  user_id:
152
151
  )
153
- query_params = {
154
- }
152
+ query_params = {}
155
153
  request = request_with_query_params("/v1/users/#{user_id}", query_params)
156
154
  get_request(request)
157
155
  end
@@ -188,8 +186,7 @@ module Stytch
188
186
  limit: nil,
189
187
  query: nil
190
188
  )
191
- request = {
192
- }
189
+ request = {}
193
190
  request[:cursor] = cursor unless cursor.nil?
194
191
  request[:limit] = limit unless limit.nil?
195
192
  request[:query] = query unless query.nil?
@@ -248,8 +245,7 @@ module Stytch
248
245
  trusted_metadata: nil,
249
246
  untrusted_metadata: nil
250
247
  )
251
- request = {
252
- }
248
+ request = {}
253
249
  request[:name] = name unless name.nil?
254
250
  request[:attributes] = attributes unless attributes.nil?
255
251
  request[:trusted_metadata] = trusted_metadata unless trusted_metadata.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '6.1.0'
4
+ VERSION = '6.2.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: 6.1.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -80,6 +80,7 @@ extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
82
  - ".github/workflows/auto-publish.yml"
83
+ - ".github/workflows/check-links.yml"
83
84
  - ".github/workflows/ruby.yml"
84
85
  - ".gitignore"
85
86
  - ".rspec"
@@ -106,6 +107,7 @@ files:
106
107
  - lib/stytch/client.rb
107
108
  - lib/stytch/crypto_wallets.rb
108
109
  - lib/stytch/errors.rb
110
+ - lib/stytch/m2m.rb
109
111
  - lib/stytch/magic_links.rb
110
112
  - lib/stytch/middleware.rb
111
113
  - lib/stytch/oauth.rb