From d946baa88dcbb977c39cec249b454ea57017d9b3 Mon Sep 17 00:00:00 2001 From: Felipe Martinez Date: Thu, 9 Nov 2023 21:35:37 +0000 Subject: [PATCH] Release WebService-Async-Onfido 0.007 Check PDF download --- Changes | 4 ++++ Makefile.PL | 4 +++- README.md | 10 ++++++++++ lib/WebService/Async/Onfido.pm | 2 +- 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 4466c5a..5053276 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,10 @@ Revision history for {{$dist->name}} {{$NEXT}} +0.007 2023-11-09 21:34:34+00:00 UTC + + Check PDF download + 0.006 2023-07-02 15:36:03+00:00 UTC Add hook diff --git a/Makefile.PL b/Makefile.PL index 0692c9f..3647819 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -47,6 +47,7 @@ my %WriteMakefileArgs = ( "List::UtilsBy" => 0, "Log::Any" => 0, "Log::Any::Adapter" => 0, + "MIME::Base64" => 0, "Net::Async::HTTP" => 0, "Net::Async::HTTP::Server" => 0, "Path::Tiny" => 0, @@ -85,7 +86,7 @@ my %WriteMakefileArgs = ( "Test::NoWarnings" => 0, "URI" => 0 }, - "VERSION" => "0.007", + "VERSION" => "0.008", "test" => { "TESTS" => "t/*.t" } @@ -117,6 +118,7 @@ my %FallbackPrereqs = ( "List::UtilsBy" => 0, "Log::Any" => 0, "Log::Any::Adapter" => 0, + "MIME::Base64" => 0, "Net::Async::HTTP" => 0, "Net::Async::HTTP::Server" => 0, "Path::Tiny" => 0, diff --git a/README.md b/README.md index 3dec993..16b6650 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,16 @@ service account Returns a [Future](https://metacpan.org/pod/Future) which will resolve with the result. +## download\_check + +Gets the PDF report for a given [WebService::Async::Onfido::Check](https://metacpan.org/pod/WebService%3A%3AAsync%3A%3AOnfido%3A%3ACheck). + +Takes the following named parameters: + +- `check_id` - the ["id" in WebService::Async::Onfido::Check](https://metacpan.org/pod/WebService%3A%3AAsync%3A%3AOnfido%3A%3ACheck#id) for the check to query + +Returns a PDF file blob + ## download\_photo Gets a live\_photo in a form of binary data for a given [WebService::Async::Onfido::Photo](https://metacpan.org/pod/WebService%3A%3AAsync%3A%3AOnfido%3A%3APhoto). diff --git a/lib/WebService/Async/Onfido.pm b/lib/WebService/Async/Onfido.pm index 0bfd324..b6a0aad 100644 --- a/lib/WebService/Async/Onfido.pm +++ b/lib/WebService/Async/Onfido.pm @@ -5,7 +5,7 @@ package WebService::Async::Onfido; use strict; use warnings; -our $VERSION = '0.007'; +our $VERSION = '0.008'; use parent qw(IO::Async::Notifier);