Skip to content

Commit

Permalink
Merge pull request #61 from onfido/release-upgrade
Browse files Browse the repository at this point in the history
Refresh onfido-php after onfido-openapi-spec update (a33e3b2)
  • Loading branch information
dvacca-onfido authored Sep 6, 2024
2 parents 407ddad + cede739 commit 30575f0
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "f5555a0",
"long_sha": "f5555a0a68778432f3b4854885b496116ac3730c",
"version": "v3.3.1"
"short_sha": "a33e3b2",
"long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65",
"version": "v3.4.0"
},
"release": "v7.3.1"
"release": "v7.4.0"
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onfido/onfido-php",
"version": "7.3.1",
"version": "7.4.0",
"description": "The Onfido API (v3.6)",
"keywords": [
"openapitools",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'onfido-php/7.3.1';
protected $userAgent = 'onfido-php/7.4.0';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -404,7 +404,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: v3.6' . PHP_EOL;
$report .= ' SDK Package Version: 7.3.1' . PHP_EOL;
$report .= ' SDK Package Version: 7.4.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
2 changes: 1 addition & 1 deletion lib/Model/SdkTokenBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class SdkTokenBuilder implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPIFormats = [
'applicant_id' => 'uuid',
'referrer' => null,
'application_id' => 'uuid',
'application_id' => null,
'cross_device_url' => null
];

Expand Down
2 changes: 1 addition & 1 deletion lib/Model/SdkTokenRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class SdkTokenRequest implements ModelInterface, ArrayAccess, \JsonSerializable
protected static $openAPIFormats = [
'applicant_id' => 'uuid',
'referrer' => null,
'application_id' => 'uuid',
'application_id' => null,
'cross_device_url' => null
];

Expand Down

0 comments on commit 30575f0

Please sign in to comment.