diff --git a/README.md b/README.md index f321ab4..831447a 100644 --- a/README.md +++ b/README.md @@ -160,12 +160,18 @@ curl --location --request POST '127.0.0.1:9503/api/downloadToResponse' \ "access_hash": -6754208767885394084, "file_reference": { "_": "bytes", - "bytes": "AkKdqJkAACnyXiaBgp3M3DfBh8C0+mGKXwSsGUY=" + "bytes": "AkKdqJkAACnyXshwzMhdzeC5RkdVZeh58sAB/UU=" }, "date": 1551713685, "mime_type": "video/mp4", "size": 400967, - "dc_id": 2 + "dc_id": 2, + "attributes": [ + { + "_": "documentAttributeFilename", + "file_name": "одолдол.mp4" + } + ] } } }' diff --git a/composer.lock b/composer.lock index 25b71d0..7511395 100644 --- a/composer.lock +++ b/composer.lock @@ -454,16 +454,16 @@ }, { "name": "amphp/http-client", - "version": "v4.3.0", + "version": "v4.3.1", "source": { "type": "git", "url": "https://github.com/amphp/http-client.git", - "reference": "3a1857b00531da18382b2f4165eb0e3d0eb90171" + "reference": "5df8c18a77806d9e4d04080cb5ec8aa16380773f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/http-client/zipball/3a1857b00531da18382b2f4165eb0e3d0eb90171", - "reference": "3a1857b00531da18382b2f4165eb0e3d0eb90171", + "url": "https://api.github.com/repos/amphp/http-client/zipball/5df8c18a77806d9e4d04080cb5ec8aa16380773f", + "reference": "5df8c18a77806d9e4d04080cb5ec8aa16380773f", "shasum": "" }, "require": { @@ -478,18 +478,19 @@ "psr/http-message": "^1" }, "conflict": { - "amphp/file": "<0.2 || >=2" + "amphp/file": "<0.2" }, "require-dev": { "amphp/file": "^1 || ^0.3 || ^0.2", - "amphp/http-server": "^2-rc4", + "amphp/http-server": "^2", "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1.1", "amphp/react-adapter": "^2.1", "clue/socks-react": "^1.0", "ext-json": "*", "kelunik/link-header-rfc5988": "^1.0", - "phpunit/phpunit": "^7 || ^8", + "laminas/laminas-diactoros": "^2.3", + "phpunit/phpunit": "^7 || ^8 || ^9", "vimeo/psalm": "^3.9@dev" }, "suggest": { @@ -506,7 +507,10 @@ "autoload": { "psr-4": { "Amp\\Http\\Client\\": "src" - } + }, + "files": [ + "src/Internal/functions.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -536,7 +540,7 @@ "non-blocking", "rest" ], - "time": "2020-05-03T13:04:46+00:00" + "time": "2020-05-10T19:05:03+00:00" }, { "name": "amphp/http-client-cookies", @@ -1676,12 +1680,12 @@ "source": { "type": "git", "url": "https://github.com/danog/MadelineProto.git", - "reference": "83802fe944ab972c6a14506ea4fd5313974d47c8" + "reference": "d5b2cbefd30f9103a885f7aa843f0035b30da3a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/danog/MadelineProto/zipball/83802fe944ab972c6a14506ea4fd5313974d47c8", - "reference": "83802fe944ab972c6a14506ea4fd5313974d47c8", + "url": "https://api.github.com/repos/danog/MadelineProto/zipball/d5b2cbefd30f9103a885f7aa843f0035b30da3a0", + "reference": "d5b2cbefd30f9103a885f7aa843f0035b30da3a0", "shasum": "" }, "require": { @@ -1771,7 +1775,7 @@ "telegram", "video" ], - "time": "2020-05-10T17:17:15+00:00" + "time": "2020-05-22T10:30:14+00:00" }, { "name": "danog/magicalserializer", @@ -2654,16 +2658,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.16.0", + "version": "v1.17.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "1aab00e39cebaef4d8652497f46c15c1b7e45294" + "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1aab00e39cebaef4d8652497f46c15c1b7e45294", - "reference": "1aab00e39cebaef4d8652497f46c15c1b7e45294", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e94c8b1bbe2bc77507a1056cdb06451c75b427f9", + "reference": "e94c8b1bbe2bc77507a1056cdb06451c75b427f9", "shasum": "" }, "require": { @@ -2675,7 +2679,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.16-dev" + "dev-master": "1.17-dev" } }, "autoload": { @@ -2722,7 +2726,7 @@ "type": "tidelift" } ], - "time": "2020-05-08T16:50:20+00:00" + "time": "2020-05-12T16:14:59+00:00" }, { "name": "tivie/htaccess-parser", @@ -2851,12 +2855,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "ec1a75b10126327b351fdea7c2b9bfb94e2f6f35" + "reference": "e38de1df609b39d97144514d28b0804ad4daaddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/ec1a75b10126327b351fdea7c2b9bfb94e2f6f35", - "reference": "ec1a75b10126327b351fdea7c2b9bfb94e2f6f35", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/e38de1df609b39d97144514d28b0804ad4daaddb", + "reference": "e38de1df609b39d97144514d28b0804ad4daaddb", "shasum": "" }, "conflict": { @@ -2869,7 +2873,8 @@ "asymmetricrypt/asymmetricrypt": ">=0,<9.9.99", "aws/aws-sdk-php": ">=3,<3.2.1", "bagisto/bagisto": "<0.1.5", - "barrelstrength/sprout-base-email": "<3.9", + "barrelstrength/sprout-base-email": "<1.2.7", + "barrelstrength/sprout-forms": "<3.9", "bolt/bolt": "<3.6.10", "brightlocal/phpwhois": "<=4.2.5", "buddypress/buddypress": "<5.1.2", @@ -2896,10 +2901,10 @@ "doctrine/mongodb-odm": ">=1,<1.0.2", "doctrine/mongodb-odm-bundle": ">=2,<3.0.1", "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", - "dolibarr/dolibarr": "<=10.0.6", + "dolibarr/dolibarr": "<11.0.4", "dompdf/dompdf": ">=0.6,<0.6.2", - "drupal/core": ">=7,<7.69|>=8,<8.7.12|>=8.8,<8.8.4", - "drupal/drupal": ">=7,<7.69|>=8,<8.7.12|>=8.8,<8.8.4", + "drupal/core": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", + "drupal/drupal": ">=7,<7.70|>=8,<8.7.14|>=8.8,<8.8.6", "endroid/qr-code-bundle": "<3.4.2", "enshrined/svg-sanitize": "<0.13.1", "erusev/parsedown": "<1.7.2", @@ -3040,6 +3045,7 @@ "symfony/var-exporter": ">=4.2,<4.2.12|>=4.3,<4.3.8", "symfony/web-profiler-bundle": ">=2,<2.3.19|>=2.4,<2.4.9|>=2.5,<2.5.4", "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", + "t3g/svg-sanitizer": "<1.0.3", "tecnickcom/tcpdf": "<6.2.22", "thelia/backoffice-default-template": ">=2.1,<2.1.2", "thelia/thelia": ">=2.1-beta.1,<2.1.3", @@ -3047,8 +3053,8 @@ "titon/framework": ">=0,<9.9.99", "truckersmp/phpwhois": "<=4.3.1", "twig/twig": "<1.38|>=2,<2.7", - "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.30|>=9,<9.5.12|>=10,<10.2.1", - "typo3/cms-core": ">=8,<8.7.30|>=9,<9.5.12|>=10,<10.2.1", + "typo3/cms": ">=6.2,<6.2.30|>=7,<7.6.32|>=8,<8.7.30|>=9,<9.5.17|>=10,<10.4.2", + "typo3/cms-core": ">=8,<8.7.30|>=9,<9.5.17|>=10,<10.4.2", "typo3/flow": ">=1,<1.0.4|>=1.1,<1.1.1|>=2,<2.0.1|>=2.3,<2.3.16|>=3,<3.0.10|>=3.1,<3.1.7|>=3.2,<3.2.7|>=3.3,<3.3.5", "typo3/neos": ">=1.1,<1.1.3|>=1.2,<1.2.13|>=2,<2.0.4", "typo3/phar-stream-wrapper": ">=1,<2.1.1|>=3,<3.1.1", @@ -3121,7 +3127,7 @@ "type": "tidelift" } ], - "time": "2020-05-09T00:00:21+00:00" + "time": "2020-05-22T06:49:22+00:00" } ], "aliases": [],