seam 2.29.0 → 2.30.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 302049312c2c18f70449e90b73687d5e34dde0537999d371f06897e62871c546
4
- data.tar.gz: 1a1033634b5f424689c30aaf716e218951b5e753b75257d088dd53674ca7ce5e
3
+ metadata.gz: 2117fa8c739e7cbbe14ac0ea32329fdf114bc6c467207e224825923789309895
4
+ data.tar.gz: ec927442a13989555c0f788f42bff68ec8081e3ba5e33657310dd1ed7bd7728a
5
5
  SHA512:
6
- metadata.gz: a750f450054b2e5e1181d02d337b9344e38b15b27001099dc36526954a61fcdaa21c3733e2ce9f57fb6892bbf7f1c5927b15c9b23b4c9654be79842296ea477c
7
- data.tar.gz: ee9158cfd8e39bbda270b78ae04109d0edeaa7c020fb23921bb0081d2afe7d56a52d945e6d242ddc5e0baa3bb598923b125231057ddedda18d2fb5bd890ec03b
6
+ metadata.gz: 97b972f6c70b2fe0fcb9f26ed1afc774ab7df9fc096b7f87efefb44f5bf8aef266d940a13e34761551a04304784de7ac9e9a842521760add5df4eca4095457ac
7
+ data.tar.gz: fcc68da597c46ab6604895071656c275215190210377e2387e3176027c7202f233e67b0b363e25d5d2dc32d7654fbd37b10655741ba7f6ea703fdd8817daa246
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- seam (2.29.0)
4
+ seam (2.30.0)
5
5
  faraday (~> 2.7)
6
6
  faraday-retry (~> 2.2)
7
7
  svix (~> 1.30)
@@ -8,8 +8,8 @@ module Seam
8
8
  @defaults = defaults
9
9
  end
10
10
 
11
- def create(connect_webview_ids: nil, connected_account_ids: nil, customer_id: nil, customer_key: nil, expires_at: nil, user_identifier_key: nil, user_identity_ids: nil)
12
- res = @client.post("/client_sessions/create", {connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, customer_id: customer_id, customer_key: customer_key, expires_at: expires_at, user_identifier_key: user_identifier_key, user_identity_ids: user_identity_ids}.compact)
11
+ def create(connect_webview_ids: nil, connected_account_ids: nil, customer_id: nil, customer_key: nil, expires_at: nil, user_identifier_key: nil, user_identity_id: nil, user_identity_ids: nil)
12
+ res = @client.post("/client_sessions/create", {connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, customer_id: customer_id, customer_key: customer_key, expires_at: expires_at, user_identifier_key: user_identifier_key, user_identity_id: user_identity_id, user_identity_ids: user_identity_ids}.compact)
13
13
 
14
14
  Seam::Resources::ClientSession.load_from_response(res.body["client_session"])
15
15
  end
@@ -26,14 +26,14 @@ module Seam
26
26
  Seam::Resources::ClientSession.load_from_response(res.body["client_session"])
27
27
  end
28
28
 
29
- def get_or_create(connect_webview_ids: nil, connected_account_ids: nil, expires_at: nil, user_identifier_key: nil, user_identity_ids: nil)
30
- res = @client.post("/client_sessions/get_or_create", {connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, expires_at: expires_at, user_identifier_key: user_identifier_key, user_identity_ids: user_identity_ids}.compact)
29
+ def get_or_create(connect_webview_ids: nil, connected_account_ids: nil, expires_at: nil, user_identifier_key: nil, user_identity_id: nil, user_identity_ids: nil)
30
+ res = @client.post("/client_sessions/get_or_create", {connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, expires_at: expires_at, user_identifier_key: user_identifier_key, user_identity_id: user_identity_id, user_identity_ids: user_identity_ids}.compact)
31
31
 
32
32
  Seam::Resources::ClientSession.load_from_response(res.body["client_session"])
33
33
  end
34
34
 
35
- def grant_access(client_session_id: nil, connect_webview_ids: nil, connected_account_ids: nil, user_identifier_key: nil, user_identity_ids: nil)
36
- @client.post("/client_sessions/grant_access", {client_session_id: client_session_id, connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, user_identifier_key: user_identifier_key, user_identity_ids: user_identity_ids}.compact)
35
+ def grant_access(client_session_id: nil, connect_webview_ids: nil, connected_account_ids: nil, user_identifier_key: nil, user_identity_id: nil, user_identity_ids: nil)
36
+ @client.post("/client_sessions/grant_access", {client_session_id: client_session_id, connect_webview_ids: connect_webview_ids, connected_account_ids: connected_account_ids, user_identifier_key: user_identifier_key, user_identity_id: user_identity_id, user_identity_ids: user_identity_ids}.compact)
37
37
 
38
38
  nil
39
39
  end
@@ -3,7 +3,7 @@
3
3
  module Seam
4
4
  module Resources
5
5
  class ClientSession < BaseResource
6
- attr_accessor :client_session_id, :connect_webview_ids, :connected_account_ids, :customer_id, :device_count, :token, :user_identifier_key, :user_identity_ids, :workspace_id
6
+ attr_accessor :client_session_id, :connect_webview_ids, :connected_account_ids, :customer_id, :device_count, :token, :user_identifier_key, :user_identity_id, :user_identity_ids, :workspace_id
7
7
 
8
8
  date_accessor :created_at, :expires_at
9
9
  end
data/lib/seam/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Seam
4
- VERSION = "2.29.0"
4
+ VERSION = "2.30.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seam
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.29.0
4
+ version: 2.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seam Labs, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-11 00:00:00.000000000 Z
11
+ date: 2025-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday