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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/didit/resources/proof_of_address.rb +8 -4
- data/lib/didit/types/proof_of_address.rb +2 -1
- data/lib/didit/version.rb +1 -1
- 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: 55381fda18ead3533b11ea0645f1ab3b3c352f3ff74da601839b4c7be36c54f3
|
|
4
|
+
data.tar.gz: 630352560dfd78761e832592a92529d94c2c22799f3fc13151e35c224c4831ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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`.
|
|
23
|
-
#
|
|
24
|
-
#
|
|
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