Skip to content

Commit

Permalink
Release 0.4.0 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoman4eg authored Nov 26, 2022
1 parent 7c3572e commit 630c31b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
All notable changes to this project will be documented in this file.
<!--- END HEADER -->

## [0.3.1](https://github.com/shoman4eg/moy-nalog/compare/v0.3.1...v0.4.0) (2022-11-27)
## [0.4.0](https://github.com/shoman4eg/moy-nalog/compare/v0.3.1...v0.4.0) (2022-11-27)
### Features
* Добавлена аутентификация по номеру телефона и СМС

Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "shoman4eg/moy-nalog",
"type": "library",
"description": "An unofficial wrapper client for lknpd.nalog.ru API",
"license": "MIT",
"type": "library",
"keywords": [
"api",
"nalog.ru"
Expand All @@ -22,7 +22,6 @@
"require": {
"php": ">=7.4",
"ext-json": "*",
"ext-random": "*",
"ext-mbstring": "*",
"brick/math": "^0.9",
"php-http/client-common": "^2.0",
Expand All @@ -32,7 +31,7 @@
"webmozart/assert": "^1.4"
},
"require-dev": {
"guzzlehttp/guzzle": "^7.4.3",
"guzzlehttp/guzzle": "^7.4.5",
"nyholm/nsa": "^1.3",
"php-http/curl-client": "^2.0",
"php-http/message": "^1.0",
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ public function createAccessTokenByPhone(string $phone, string $challengeToken,
}

/**
* @return array{challengeToken: string, expireDate: string, expireIn: int}
* @throws DomainException
* @throws \JsonException
*
* @throws ClientExceptionInterface
*
* @return array{challengeToken: string, expireDate: string, expireIn: int}
*/
public function createPhoneChallenge(string $phone): array
{
Expand Down

0 comments on commit 630c31b

Please sign in to comment.