didit-sdk 2.1.2 → 2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75e7989e163c261e1874b2364284742fb3055b87e3cb7a04b9b44b17a4cad721
4
- data.tar.gz: 45ab740c6754aa34b26b52a582a0e0f5c0ae91ac7d042a28df512385980a9339
3
+ metadata.gz: 3c7718e92289382e11454238650820657559cfdfe42035b64bc04851e5c126cb
4
+ data.tar.gz: f4704f4f9b3272cb0e02ed347b0768d4b710fe3194bc613060c47b0c92c72fc3
5
5
  SHA512:
6
- metadata.gz: 83d4c5f5da7a60ee9967a13dd81a2995f2ff11aa8a872d6fb9c9b47f863cd6f9dbff5d1d07e81f1b75a91eeb327e63390e3fb987ba145af7c7ff52997cc28e1b
7
- data.tar.gz: ba47419cad5abce47ef1139c7f77b38db529f49f6126c60142ebdd087c73fd65d4e99af35d14a4f87a1a366946f61243ff7cada0e4bc8923398d8891a44964c2
6
+ metadata.gz: 5e2853cbd7438a2be97c2b082bd08c202a0d425b56b875d12592bde576e2c366767f96bdae1100f95b8e45fc9b10aa476a2f8ff21e7bee9d16b53ec587570ae4
7
+ data.tar.gz: 837cf285c9ff7da4d9ef79addf0ee509895f7b05e847c99acd5b44b4b1ac6c49a43e6e85967927522e26d38e8df98178ffe106009310cc077fe33b10485512bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.2...v2.2.0) (2026-11-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * **spec:** sync API spec 2026-11-09 ([588db3d](https://github.com/didit-protocol/sdk-ruby/commit/588db3d2b4ed0e1ef0e141d1b52ec20fa7feb28b))
9
+
3
10
  ## [2.1.2](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.1...v2.1.2) (2026-11-07)
4
11
 
5
12
 
data/README.md CHANGED
@@ -261,7 +261,14 @@ See [CONTRIBUTING.md](CONTRIBUTING.md): generated versus hand-written code, `bun
261
261
 
262
262
  ## Versioning
263
263
 
264
- [Semantic versioning](https://semver.org). The SDK stays on 0.x until its first public release; while on 0.x, a breaking change bumps the minor version. Releases are cut by release-please and the changelog is generated.
264
+ [Semantic versioning](https://semver.org), with one rule for API changes (DESIGN section 13):
265
+
266
+ - A change that mirrors the Didit API ships in a minor version, even when it can break typed code: a type change, a field that can now be null, or a removed field, operation or enum value. The API already behaves that way for every caller, so an older SDK version is not safer. The release notes list these changes under "API changes that can break typed code"; read that section before you upgrade, because a `~> 2.1` requirement installs new minor versions.
267
+ - A major version is only for a change to the SDK's own design: renaming or removing a method or resource the API still has, changing client configuration, errors, retries, pagination or webhook verification, or dropping a Ruby version.
268
+ - A method whose operation was removed upstream stays one more minor version, marked deprecated.
269
+ - A change limited to the API documentation releases nothing on its own; it ships with the next release.
270
+
271
+ The gem moved to 2.0.0 on 2026-11-05 under an earlier rule and continues from there. Releases are cut by release-please and the changelog is generated.
265
272
 
266
273
  ## Links
267
274
 
@@ -193,8 +193,8 @@ module Didit
193
193
  # @param phone [String] Phone number for phone-verification services.
194
194
  # @param landline [String] Landline number for phone-verification services.
195
195
  # @param email [String] Email address for identity-verification services.
196
- # @param country_of_residence [String] ISO 3166-1 alpha-2 country of residence. Used by global
197
- # identity-enrichment services (e.g. `glb_identity_enrichment`) to focus the lookup.
196
+ # @param country_of_residence [String] ISO 3166-1 alpha-2 country of residence. It was used only by the retired
197
+ # global identity-enrichment service (`glb_identity_enrichment`), which Didit no longer offers.
198
198
  # @param partial_match_action [String] What a `partial_match` does to `database_validation.status`. Defaults to
199
199
  # `NO_ACTION` (status stays `Approved`, with a warning).
200
200
  # @param no_match_action [String] What a `no_match` does to `database_validation.status`. Defaults to `DECLINE`.
@@ -9906,6 +9906,7 @@ module Didit
9906
9906
  class SessionDecisionDocumentVerificationsItemsDocumentMetadataOverlayManipulation < Didit::Model
9907
9907
  field :detected, "detected", :boolean
9908
9908
  field :analyzed, "analyzed", :boolean
9909
+ field :analysis_incomplete, "analysis_incomplete", :boolean
9909
9910
  field :signals, "signals", [:array, :string]
9910
9911
  field :manipulated_regions, "manipulated_regions", [:array, "SessionDecisionDocumentVerificationsItemsDocumentMetadataOverlayManipulationManipulatedRegions"]
9911
9912
  end
@@ -11007,6 +11008,7 @@ module Didit
11007
11008
  class SessionDecisionPoaVerificationsDocumentMetadataOverlayManipulation < Didit::Model
11008
11009
  field :detected, "detected", :boolean
11009
11010
  field :analyzed, "analyzed", :boolean
11011
+ field :analysis_incomplete, "analysis_incomplete", :boolean
11010
11012
  field :signals, "signals", [:array, :string]
11011
11013
  field :manipulated_regions, "manipulated_regions", [:array, "SessionDecisionPoaVerificationsDocumentMetadataOverlayManipulationManipulatedRegions"]
11012
11014
  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.1.2" # x-release-please-version
4
+ VERSION = "2.2.0" # x-release-please-version
5
5
  end
@@ -8676,6 +8676,7 @@ module Didit
8676
8676
  class SessionDecisionDocumentVerificationsItemsDocumentMetadataOverlayManipulation < Didit::Model
8677
8677
  def detected: () -> bool?
8678
8678
  def analyzed: () -> bool?
8679
+ def analysis_incomplete: () -> bool?
8679
8680
  def signals: () -> Array[String]?
8680
8681
  def manipulated_regions: () -> Array[Didit::Types::SessionDecisionDocumentVerificationsItemsDocumentMetadataOverlayManipulationManipulatedRegions]?
8681
8682
  end
@@ -9689,6 +9690,7 @@ module Didit
9689
9690
  class SessionDecisionPoaVerificationsDocumentMetadataOverlayManipulation < Didit::Model
9690
9691
  def detected: () -> bool?
9691
9692
  def analyzed: () -> bool?
9693
+ def analysis_incomplete: () -> bool?
9692
9694
  def signals: () -> Array[String]?
9693
9695
  def manipulated_regions: () -> Array[Didit::Types::SessionDecisionPoaVerificationsDocumentMetadataOverlayManipulationManipulatedRegions]?
9694
9696
  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.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit