Skip to content

Commit

Permalink
Release WebService-Async-Onfido 0.007
Browse files Browse the repository at this point in the history
    Check PDF download
  • Loading branch information
felipe-deriv committed Nov 9, 2023
1 parent 1f49641 commit d946baa
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -85,7 +86,7 @@ my %WriteMakefileArgs = (
"Test::NoWarnings" => 0,
"URI" => 0
},
"VERSION" => "0.007",
"VERSION" => "0.008",
"test" => {
"TESTS" => "t/*.t"
}
Expand Down Expand Up @@ -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,
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion lib/WebService/Async/Onfido.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d946baa

Please sign in to comment.