didit-sdk 2.2.0 → 2.3.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: 3c7718e92289382e11454238650820657559cfdfe42035b64bc04851e5c126cb
4
- data.tar.gz: f4704f4f9b3272cb0e02ed347b0768d4b710fe3194bc613060c47b0c92c72fc3
3
+ metadata.gz: a1178d902a09b4b616fa12bb0f26a856300cf314eeb020ae0fb3a1fe017079f7
4
+ data.tar.gz: 4fea877f4b531eb6c5e33e313b92996875b2169050f853dd719b67e12cd70521
5
5
  SHA512:
6
- metadata.gz: 5e2853cbd7438a2be97c2b082bd08c202a0d425b56b875d12592bde576e2c366767f96bdae1100f95b8e45fc9b10aa476a2f8ff21e7bee9d16b53ec587570ae4
7
- data.tar.gz: 837cf285c9ff7da4d9ef79addf0ee509895f7b05e847c99acd5b44b4b1ac6c49a43e6e85967927522e26d38e8df98178ffe106009310cc077fe33b10485512bf
6
+ metadata.gz: 6a2e5cb3caba98ff8fc2f9980f27a40a307bc9b0f87db280247f4ba0e1804614e91301777be1006c2f0429bcf29661d41f989ec2db252fad1ea5ae66ab0b15a5
7
+ data.tar.gz: e6b965cea8063123e4a0f403c211137f4d0d3b5e625a5ad5edd60c7543806c1cc15e2aded6cdf11b3d662bece5b34bfcd4edfccb87f213f727279312fc40f177
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.3.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.2.0...v2.3.0) (2026-11-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-09 ([d585311](https://github.com/didit-protocol/sdk-ruby/commit/d58531172dd529b501fdd2071f4b764dec2ca7b7))
9
+
3
10
  ## [2.2.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.2...v2.2.0) (2026-11-09)
4
11
 
5
12
 
@@ -105,7 +105,9 @@ module Didit
105
105
  # Verify Email and Issue Credentials
106
106
  #
107
107
  # Step 2 of onboarding. Exchanges the 6-char code for a verified account, a default org+app, and a JWT pair.
108
- # Persist the returned `api_key`.
108
+ # Persist the returned `api_key`. An account that already has an authenticator app or a passkey gets the same
109
+ # second-factor step as the login instead: `2fa_required: true` and a `temp_token`, with no tokens and no
110
+ # application keys.
109
111
  #
110
112
  # +POST /programmatic/verify-email/+
111
113
  #
@@ -116,6 +116,10 @@ module Didit
116
116
  field :expires_in, "expires_in", :integer
117
117
  field :organization, "organization", "OrganizationSummary"
118
118
  field :application, "application", "ApplicationCredentialsSummary"
119
+ field :v_2fa_required, "2fa_required", :boolean
120
+ field :temp_token, "temp_token", :string
121
+ field :has_authenticator, "has_authenticator", :boolean
122
+ field :has_passkeys, "has_passkeys", :boolean
119
123
  end
120
124
  end
121
125
  end
data/lib/didit/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Didit
4
- VERSION = "2.2.0" # x-release-please-version
4
+ VERSION = "2.3.0" # x-release-please-version
5
5
  end
@@ -99,6 +99,10 @@ module Didit
99
99
  def expires_in: () -> Integer?
100
100
  def organization: () -> Didit::Types::OrganizationSummary?
101
101
  def application: () -> Didit::Types::ApplicationCredentialsSummary?
102
+ def v_2fa_required: () -> bool?
103
+ def temp_token: () -> String?
104
+ def has_authenticator: () -> bool?
105
+ def has_passkeys: () -> bool?
102
106
  end
103
107
  end
104
108
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: didit-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit