didit-sdk 2.2.0 → 2.4.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/CHANGELOG.md +14 -0
- data/lib/didit/resources/account.rb +3 -1
- data/lib/didit/types/account_components.rb +4 -0
- data/lib/didit/version.rb +1 -1
- data/sig/didit/types/account_components.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: efe9df5d9d0ef175d6b9ce0cb94bbcfeebf45376b4c642fa34eae3809264d921
|
|
4
|
+
data.tar.gz: 9157b1aedbb808403cb77319d1d9211c5eeaaf81d285eb4cf0394ec72e786b1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d6c25c53d8e9bae98d4401130cfa9c02b19ee5280542582b666aa6ecf263f1162b63fc81628f9539cc86b194687c7aec4082ce7db6401f1c582308b68fb72cba
|
|
7
|
+
data.tar.gz: 259f3b4cd3dd48b7e06f27c50deb105e089bef4bc19db34ca7c1aaef5bf7b2b4d8e30fe702947f4a3dba0c8d5d46e3269e183f6e38ee83cd83c63ba82acfbc28
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.4.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.3.0...v2.4.0) (2026-11-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **spec:** sync API spec 2026-11-10 ([3d9140b](https://github.com/didit-protocol/sdk-ruby/commit/3d9140b30d257e4a40b96de5fbf36b4b218ae0b6))
|
|
9
|
+
|
|
10
|
+
## [2.3.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.2.0...v2.3.0) (2026-11-09)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **spec:** sync API spec 2026-11-09 ([d585311](https://github.com/didit-protocol/sdk-ruby/commit/d58531172dd529b501fdd2071f4b764dec2ca7b7))
|
|
16
|
+
|
|
3
17
|
## [2.2.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.2...v2.2.0) (2026-11-09)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -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
|
@@ -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
|