didit-sdk 2.1.0 → 2.1.1

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: 1fa451d45da8ebb9f7175d6a30ab643f3fb301afc67b1c7dfb820ceff65e9ede
4
- data.tar.gz: e5bb12c7c01fd0703e167b009ab48d77191f48f80ee1ab3f8138aa0a2ac97380
3
+ metadata.gz: 55381fda18ead3533b11ea0645f1ab3b3c352f3ff74da601839b4c7be36c54f3
4
+ data.tar.gz: 630352560dfd78761e832592a92529d94c2c22799f3fc13151e35c224c4831ab
5
5
  SHA512:
6
- metadata.gz: 94e2d08d505c8d899af221bd6a57c73b17423037a2974d5d41d7cb8a9d8cc54301b25d9d98b3d90c24c8b2db37e43e49d0c2507febe3c788cc34982f884c9b09
7
- data.tar.gz: 7ba084aacf9fa7180ac50d2e3b33c9013a37e6c097ba991b81709086c0e743cb46ffed007265c72b46853b9df2635b09f36b41495a678950d4f58014dfdba3f7
6
+ metadata.gz: 23b22adf0334c272e73b1a5c99d5f5b25ef585fdef2aa7abe6bdb054ff36b9ddc03b97cb357e2af5c894d75d84e6811c2cbec7e329814f0e16aacccb7824f1e2
7
+ data.tar.gz: e57e6d87a953d3122e8ce4b31bff610112bdb7cb05316663c71b6fc5c16ed6a31a8fec22ec0b5a4c49c8aced109d355e1427ffc57f07b162ef33de9b1b80f51d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.1.1](https://github.com/didit-protocol/sdk-ruby/compare/v2.1.0...v2.1.1) (2026-11-06)
4
+
5
+
6
+ ### API Spec Updates
7
+
8
+ * **spec:** sync API spec 2026-11-06 ([f8f754d](https://github.com/didit-protocol/sdk-ruby/commit/f8f754de2ebf64b106e4d4936243e2f72d39f0f1))
9
+ * **spec:** sync API spec 2026-11-06 ([92a13b6](https://github.com/didit-protocol/sdk-ruby/commit/92a13b6bce036a7100e46cc51d3c6fa95d9ca729))
10
+
3
11
  ## [2.1.0](https://github.com/didit-protocol/sdk-ruby/compare/v2.0.0...v2.1.0) (2026-11-05)
4
12
 
5
13
 
@@ -19,9 +19,11 @@ module Didit
19
19
  # holder name, and address are extracted with LLM-based extraction. The address is parsed and geocoded into
20
20
  # `poa_parsed_address`. PDF/EXIF forensics screen for tampering - modification after digital signing, known PDF
21
21
  # editors, overlay-text manipulation, suspicious re-exports - surfacing `SUSPECTED_DOCUMENT_MANIPULATION` or
22
- # `DOCUMENT_METADATA_MISMATCH`. Document age is validated against `poa_document_age_months`, and the language
23
- # against `poa_languages_allowed`. If you pass `expected_address`, `expected_country`, or
24
- # `expected_first_name`/`expected_last_name`, the extracted values are cross-checked and mismatches are flagged.
22
+ # `DOCUMENT_METADATA_MISMATCH`. A text field that was blanked and re-typed in another font, where the file
23
+ # itself holds no proof of whether its content changed, surfaces `POA_DOCUMENT_UNPROVEN_TEXT_REPLACEMENT`.
24
+ # Document age is validated against `poa_document_age_months`, and the language against `poa_languages_allowed`.
25
+ # If you pass `expected_address`, `expected_country`, or `expected_first_name`/`expected_last_name`, the
26
+ # extracted values are cross-checked and mismatches are flagged.
25
27
  #
26
28
  # **Decision logic.** `status` is `Approved` unless at least one warning resolves to a decline. Hard failures
27
29
  # always decline: `MISSING_ADDRESS_INFORMATION`, `POA_DOCUMENT_EXPIRED`, `INVALID_DOCUMENT_TYPE`,
@@ -94,7 +96,9 @@ module Didit
94
96
  # `DOCUMENT_METADATA_MISMATCH` is produced by this endpoint.
95
97
  # @param poa_document_authenticity_action [String] What to do when document manipulation is suspected
96
98
  # (`SUSPECTED_DOCUMENT_MANIPULATION`) - e.g. the PDF was modified after digital signing, processed by a known
97
- # PDF editor, shows overlay-text manipulation, or has inconsistent EXIF dates.
99
+ # PDF editor, shows overlay-text manipulation, or has inconsistent EXIF dates. Also governs
100
+ # `POA_DOCUMENT_UNPROVEN_TEXT_REPLACEMENT` (a re-typed text field the file cannot prove changed or unchanged):
101
+ # `DECLINE` declines it too, `NO_ACTION` ke...
98
102
  # @param poa_unsupported_language_action [String] What to do when the document language is outside
99
103
  # `poa_languages_allowed` (`UNSUPPORTED_DOCUMENT_LANGUAGE`).
100
104
  # @param poa_address_mismatch_action [String] What to do when the extracted details disagree with the
@@ -14,7 +14,8 @@ module Didit
14
14
 
15
15
  # What to do when document manipulation is suspected (`SUSPECTED_DOCUMENT_MANIPULATION`) - e.g. the PDF was
16
16
  # modified after digital signing, processed by a known PDF editor, shows overlay-text manipulation, or has
17
- # inconsistent EXIF dates.
17
+ # inconsistent EXIF dates. Also governs `POA_DOCUMENT_UNPROVEN_TEXT_REPLACEMENT` (a re-typed text field the file
18
+ # cannot prove changed or unchanged): `DECLINE` declines it too, `NO_ACTION` keeps it as a warning.
18
19
  module ProofOfAddressVerifyParamsPoaDocumentAuthenticityAction
19
20
  DECLINE = "DECLINE"
20
21
  NO_ACTION = "NO_ACTION"
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.0" # x-release-please-version
4
+ VERSION = "2.1.1" # x-release-please-version
5
5
  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.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didit