From f2c04a1cd49dca9d2d453d165b5f211c4efca5af Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Thu, 28 Jan 2021 15:47:33 +0200 Subject: [PATCH] Added a note to Node & Deno SDKs --- app/tasks/sdks.php | 4 ++ composer.json | 2 +- composer.lock | 169 ++++++++++++++++++++++----------------------- docker-compose.yml | 2 +- 4 files changed, 90 insertions(+), 87 deletions(-) diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 50d260115..cc064a156 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -100,6 +100,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND $config = new Node(); $config->setNPMPackage('node-appwrite'); $config->setBowerPackage('appwrite'); + $warning = $warning."\n\n > This is the Node.js SDK for integrating with Appwrite from your Node.js server-side code. + If you're looking to integrate from the browser, you should check [appwrite/sdk-for-web](https://github.com/appwrite/sdk-for-web)"; break; case 'deno': $config = new Deno(); @@ -124,6 +126,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND case 'dart': $config = new Dart(); $config->setPackageName('dart_appwrite'); + $warning = $warning."\n\n > This is the Dart SDK for integrating with Appwrite from your Dart server-side code. + If you're looking for the Flutter SDK you should check [appwrite/sdk-for-flutter](https://github.com/appwrite/sdk-for-flutter)"; break; case 'go': $config = new Go(); diff --git a/composer.json b/composer.json index 973592f48..741ec072a 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ }, "require-dev": { "swoole/ide-helper": "4.5.5", - "appwrite/sdk-generator": "0.4.4", + "appwrite/sdk-generator": "0.4.5", "phpunit/phpunit": "9.4.2", "vimeo/psalm": "4.1.1" }, diff --git a/composer.lock b/composer.lock index 7f0af1fc7..839456c57 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3c94b5ea6b60232905b6831bec020b69", + "content-hash": "dfdd9cb73ec7817c0d94d126b9a2173b", "packages": [ { "name": "adhocore/jwt", @@ -1975,11 +1975,11 @@ }, { "name": "appwrite/sdk-generator", - "version": "0.4.4", + "version": "0.4.5", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator", - "reference": "ebb51e404a4e5b89f74428296b81ea347362dd33" + "reference": "9c04ed7ff34a723c3c226941b9f9a844738c595e" }, "require": { "ext-curl": "*", @@ -2009,7 +2009,7 @@ } ], "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", - "time": "2021-01-11T09:34:56+00:00" + "time": "2021-01-28T08:03:13+00:00" }, { "name": "composer/package-versions-deprecated", @@ -3211,12 +3211,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "d66b11be20460c55f9655b50d06c0070d6de0ab8" + "reference": "42c07f0e3553df5bf56a079957a52e9353625058" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/d66b11be20460c55f9655b50d06c0070d6de0ab8", - "reference": "d66b11be20460c55f9655b50d06c0070d6de0ab8", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/42c07f0e3553df5bf56a079957a52e9353625058", + "reference": "42c07f0e3553df5bf56a079957a52e9353625058", "shasum": "" }, "require": { @@ -3264,7 +3264,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:26+00:00" + "time": "2021-01-27T12:51:34+00:00" }, { "name": "phpunit/php-invoker", @@ -3272,12 +3272,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "24d9117c920e229e4dd4e65ed966951dc8d6c0ee" + "reference": "3a913dc74b32a7646a5fb3cfb72f6ace01fabd01" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/24d9117c920e229e4dd4e65ed966951dc8d6c0ee", - "reference": "24d9117c920e229e4dd4e65ed966951dc8d6c0ee", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/3a913dc74b32a7646a5fb3cfb72f6ace01fabd01", + "reference": "3a913dc74b32a7646a5fb3cfb72f6ace01fabd01", "shasum": "" }, "require": { @@ -3328,7 +3328,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:34+00:00" + "time": "2021-01-27T12:51:43+00:00" }, { "name": "phpunit/php-text-template", @@ -3336,12 +3336,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "3ace7e098d9ae64fdf2ee12e69ec1ed3eb16d6ec" + "reference": "f2e1a43551a53861fd0d000518f8db3818b82655" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/3ace7e098d9ae64fdf2ee12e69ec1ed3eb16d6ec", - "reference": "3ace7e098d9ae64fdf2ee12e69ec1ed3eb16d6ec", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/f2e1a43551a53861fd0d000518f8db3818b82655", + "reference": "f2e1a43551a53861fd0d000518f8db3818b82655", "shasum": "" }, "require": { @@ -3388,7 +3388,7 @@ "type": "github" } ], - "time": "2021-01-23T09:15:08+00:00" + "time": "2021-01-27T12:52:18+00:00" }, { "name": "phpunit/php-timer", @@ -3396,12 +3396,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "7fe4501c193086a375125ff31e7b8bb6122f00bd" + "reference": "ca89d7aa771d3c7a095ec2bac5b70489a6d15638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/7fe4501c193086a375125ff31e7b8bb6122f00bd", - "reference": "7fe4501c193086a375125ff31e7b8bb6122f00bd", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/ca89d7aa771d3c7a095ec2bac5b70489a6d15638", + "reference": "ca89d7aa771d3c7a095ec2bac5b70489a6d15638", "shasum": "" }, "require": { @@ -3448,7 +3448,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:43+00:00" + "time": "2021-01-27T12:51:51+00:00" }, { "name": "phpunit/phpunit", @@ -3613,12 +3613,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "72cbe9a5d3ac979d81dbe177c8bd6d103699c502" + "reference": "66398c0b5074897805514249878d592f9ada37c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/72cbe9a5d3ac979d81dbe177c8bd6d103699c502", - "reference": "72cbe9a5d3ac979d81dbe177c8bd6d103699c502", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/66398c0b5074897805514249878d592f9ada37c5", + "reference": "66398c0b5074897805514249878d592f9ada37c5", "shasum": "" }, "require": { @@ -3662,7 +3662,7 @@ "type": "github" } ], - "time": "2021-01-23T09:15:35+00:00" + "time": "2021-01-27T12:52:48+00:00" }, { "name": "sebastian/code-unit", @@ -3726,12 +3726,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "e49b92c16b780c4d526c118d49d904c4626b8c63" + "reference": "8be6fadd1eb9f4bcee0e823a0f392d641e00e3d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/e49b92c16b780c4d526c118d49d904c4626b8c63", - "reference": "e49b92c16b780c4d526c118d49d904c4626b8c63", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/8be6fadd1eb9f4bcee0e823a0f392d641e00e3d9", + "reference": "8be6fadd1eb9f4bcee0e823a0f392d641e00e3d9", "shasum": "" }, "require": { @@ -3774,7 +3774,7 @@ "type": "github" } ], - "time": "2021-01-23T09:13:19+00:00" + "time": "2021-01-27T12:50:24+00:00" }, { "name": "sebastian/comparator", @@ -3782,12 +3782,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "33c94310f57ca21d5ea6018c4e799be699e85650" + "reference": "5a39e6c8994048403e326298f0b1bda7eb1ea127" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/33c94310f57ca21d5ea6018c4e799be699e85650", - "reference": "33c94310f57ca21d5ea6018c4e799be699e85650", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5a39e6c8994048403e326298f0b1bda7eb1ea127", + "reference": "5a39e6c8994048403e326298f0b1bda7eb1ea127", "shasum": "" }, "require": { @@ -3849,7 +3849,7 @@ "type": "github" } ], - "time": "2021-01-23T09:13:27+00:00" + "time": "2021-01-27T14:14:42+00:00" }, { "name": "sebastian/complexity", @@ -3857,12 +3857,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "b251b4b76965b9a24a847ac5641ed7419723e7e3" + "reference": "653277be0c4044b0a32ee3e799b3b0c6945aa7f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/b251b4b76965b9a24a847ac5641ed7419723e7e3", - "reference": "b251b4b76965b9a24a847ac5641ed7419723e7e3", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/653277be0c4044b0a32ee3e799b3b0c6945aa7f8", + "reference": "653277be0c4044b0a32ee3e799b3b0c6945aa7f8", "shasum": "" }, "require": { @@ -3907,7 +3907,7 @@ "type": "github" } ], - "time": "2021-01-23T09:15:17+00:00" + "time": "2021-01-27T12:52:27+00:00" }, { "name": "sebastian/diff", @@ -3915,12 +3915,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "1c3726f5fc6ecdf41a7d7a992c18db936d79345e" + "reference": "9d7fb8ba123928945b9727a3e02501645955f61f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/1c3726f5fc6ecdf41a7d7a992c18db936d79345e", - "reference": "1c3726f5fc6ecdf41a7d7a992c18db936d79345e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/9d7fb8ba123928945b9727a3e02501645955f61f", + "reference": "9d7fb8ba123928945b9727a3e02501645955f61f", "shasum": "" }, "require": { @@ -3974,7 +3974,7 @@ "type": "github" } ], - "time": "2021-01-23T09:13:35+00:00" + "time": "2021-01-27T12:50:42+00:00" }, { "name": "sebastian/environment", @@ -3982,12 +3982,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "71408304f2a06879d9306d6126ff19c26b77ab8f" + "reference": "27e27e02ab122412b7ff9c847445e21ecfcc5c68" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/71408304f2a06879d9306d6126ff19c26b77ab8f", - "reference": "71408304f2a06879d9306d6126ff19c26b77ab8f", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/27e27e02ab122412b7ff9c847445e21ecfcc5c68", + "reference": "27e27e02ab122412b7ff9c847445e21ecfcc5c68", "shasum": "" }, "require": { @@ -4038,7 +4038,7 @@ "type": "github" } ], - "time": "2021-01-23T09:13:44+00:00" + "time": "2021-01-27T12:50:50+00:00" }, { "name": "sebastian/exporter", @@ -4046,12 +4046,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "9fdb8e271acb70c94fc378d0cd32de380e1a6f9d" + "reference": "4b97f87ebe0e759d27a96e5cfcb15193fdcc1000" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/9fdb8e271acb70c94fc378d0cd32de380e1a6f9d", - "reference": "9fdb8e271acb70c94fc378d0cd32de380e1a6f9d", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/4b97f87ebe0e759d27a96e5cfcb15193fdcc1000", + "reference": "4b97f87ebe0e759d27a96e5cfcb15193fdcc1000", "shasum": "" }, "require": { @@ -4116,7 +4116,7 @@ "type": "github" } ], - "time": "2021-01-23T09:13:52+00:00" + "time": "2021-01-27T12:50:59+00:00" }, { "name": "sebastian/global-state", @@ -4124,12 +4124,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "483fae6c9f89aee344c35547df17b130827a0981" + "reference": "ae53ac14d8df978ebc06a0382997257a2268dc2c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/483fae6c9f89aee344c35547df17b130827a0981", - "reference": "483fae6c9f89aee344c35547df17b130827a0981", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/ae53ac14d8df978ebc06a0382997257a2268dc2c", + "reference": "ae53ac14d8df978ebc06a0382997257a2268dc2c", "shasum": "" }, "require": { @@ -4181,7 +4181,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:00+00:00" + "time": "2021-01-27T12:51:08+00:00" }, { "name": "sebastian/lines-of-code", @@ -4189,12 +4189,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "815e6e5f9021de94a4f896835e9a7b0fd9557e2d" + "reference": "3b537e8cf7d5d40c5937cb238dd86e9849058978" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/815e6e5f9021de94a4f896835e9a7b0fd9557e2d", - "reference": "815e6e5f9021de94a4f896835e9a7b0fd9557e2d", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/3b537e8cf7d5d40c5937cb238dd86e9849058978", + "reference": "3b537e8cf7d5d40c5937cb238dd86e9849058978", "shasum": "" }, "require": { @@ -4239,7 +4239,7 @@ "type": "github" } ], - "time": "2021-01-23T09:15:26+00:00" + "time": "2021-01-27T12:52:38+00:00" }, { "name": "sebastian/object-enumerator", @@ -4247,12 +4247,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "5f8c843a728ed5433bbd6f4426923f9d750be40b" + "reference": "f8f7c1ff5e66b5c9145df7329b3bc54844138e21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5f8c843a728ed5433bbd6f4426923f9d750be40b", - "reference": "5f8c843a728ed5433bbd6f4426923f9d750be40b", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f8f7c1ff5e66b5c9145df7329b3bc54844138e21", + "reference": "f8f7c1ff5e66b5c9145df7329b3bc54844138e21", "shasum": "" }, "require": { @@ -4297,7 +4297,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:09+00:00" + "time": "2021-01-27T12:51:16+00:00" }, { "name": "sebastian/object-reflector", @@ -4305,12 +4305,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "d41ef59df68d6f470c8084fae471b56fd2812bb2" + "reference": "dbea5f76fb03ccf212b0fc88fb8f2ad256f4f000" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/d41ef59df68d6f470c8084fae471b56fd2812bb2", - "reference": "d41ef59df68d6f470c8084fae471b56fd2812bb2", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/dbea5f76fb03ccf212b0fc88fb8f2ad256f4f000", + "reference": "dbea5f76fb03ccf212b0fc88fb8f2ad256f4f000", "shasum": "" }, "require": { @@ -4353,7 +4353,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:18+00:00" + "time": "2021-01-27T12:51:25+00:00" }, { "name": "sebastian/recursion-context", @@ -4361,12 +4361,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "f78f35f8c348f59a47e7973ec0533ae7be54254d" + "reference": "4181599c8f7b66401bf827a3e7e6da85a2303524" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/f78f35f8c348f59a47e7973ec0533ae7be54254d", - "reference": "f78f35f8c348f59a47e7973ec0533ae7be54254d", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/4181599c8f7b66401bf827a3e7e6da85a2303524", + "reference": "4181599c8f7b66401bf827a3e7e6da85a2303524", "shasum": "" }, "require": { @@ -4417,7 +4417,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:51+00:00" + "time": "2021-01-27T12:52:00+00:00" }, { "name": "sebastian/resource-operations", @@ -4481,12 +4481,12 @@ "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "55fa25ad7fc6fb7caf2f7cfada5e5e20adf731aa" + "reference": "1c469702730295ddaf484d6fddb3b42a1354cd5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/55fa25ad7fc6fb7caf2f7cfada5e5e20adf731aa", - "reference": "55fa25ad7fc6fb7caf2f7cfada5e5e20adf731aa", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/1c469702730295ddaf484d6fddb3b42a1354cd5c", + "reference": "1c469702730295ddaf484d6fddb3b42a1354cd5c", "shasum": "" }, "require": { @@ -4530,7 +4530,7 @@ "type": "github" } ], - "time": "2021-01-23T09:14:59+00:00" + "time": "2021-01-27T12:52:09+00:00" }, { "name": "sebastian/version", @@ -4630,12 +4630,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5d9e349571fa1fed2ed89fe1f5ffd58331468e87" + "reference": "a056a527ed72d089185d505882b66f3676e22439" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5d9e349571fa1fed2ed89fe1f5ffd58331468e87", - "reference": "5d9e349571fa1fed2ed89fe1f5ffd58331468e87", + "url": "https://api.github.com/repos/symfony/console/zipball/a056a527ed72d089185d505882b66f3676e22439", + "reference": "a056a527ed72d089185d505882b66f3676e22439", "shasum": "" }, "require": { @@ -4720,7 +4720,7 @@ "type": "tidelift" } ], - "time": "2021-01-23T09:52:46+00:00" + "time": "2021-01-27T09:05:46+00:00" }, { "name": "symfony/polyfill-ctype", @@ -5220,12 +5220,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "cea83947622b432b60b809d14c7b42df9f0f5823" + "reference": "bf99754c6182a126968b1c2709d18548489f27eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/cea83947622b432b60b809d14c7b42df9f0f5823", - "reference": "cea83947622b432b60b809d14c7b42df9f0f5823", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bf99754c6182a126968b1c2709d18548489f27eb", + "reference": "bf99754c6182a126968b1c2709d18548489f27eb", "shasum": "" }, "require": { @@ -5238,7 +5238,6 @@ "default-branch": true, "type": "library", "extra": { - "branch-version": "2.3", "branch-alias": { "dev-main": "2.3-dev" }, @@ -5293,7 +5292,7 @@ "type": "tidelift" } ], - "time": "2021-01-11T09:51:46+00:00" + "time": "2021-01-27T16:27:53+00:00" }, { "name": "symfony/string", @@ -5301,12 +5300,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "2f833cf54d5fe9646638c50778016a06b6fe1603" + "reference": "13c9099cdb470223b5863f7d11d17554b2dc6404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/2f833cf54d5fe9646638c50778016a06b6fe1603", - "reference": "2f833cf54d5fe9646638c50778016a06b6fe1603", + "url": "https://api.github.com/repos/symfony/string/zipball/13c9099cdb470223b5863f7d11d17554b2dc6404", + "reference": "13c9099cdb470223b5863f7d11d17554b2dc6404", "shasum": "" }, "require": { @@ -5377,7 +5376,7 @@ "type": "tidelift" } ], - "time": "2021-01-12T14:28:55+00:00" + "time": "2021-01-26T09:33:05+00:00" }, { "name": "theseer/tokenizer", diff --git a/docker-compose.yml b/docker-compose.yml index e601ae708..c9a9f7f72 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -509,5 +509,5 @@ volumes: appwrite-certificates: appwrite-functions: appwrite-influxdb: - appwrite-chronograf: appwrite-config: + # appwrite-chronograf: