@appwrite.io/console 5.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +516 -285
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +516 -286
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +517 -286
  8. package/docs/examples/domains/{confirm-purchase.md → update-purchase.md} +1 -1
  9. package/docs/examples/domains/{confirm-transfer-in.md → update-transfer-in.md} +1 -1
  10. package/docs/examples/{projects/update-webhook.md → webhooks/create.md} +5 -6
  11. package/docs/examples/{projects/get-webhook.md → webhooks/delete.md} +3 -4
  12. package/docs/examples/{projects/delete-webhook.md → webhooks/get.md} +3 -4
  13. package/docs/examples/{projects/list-webhooks.md → webhooks/list.md} +4 -4
  14. package/docs/examples/{projects/update-webhook-signature.md → webhooks/update-signature.md} +3 -4
  15. package/docs/examples/{projects/create-webhook.md → webhooks/update.md} +6 -6
  16. package/package.json +1 -1
  17. package/src/client.ts +1 -1
  18. package/src/enums/build-runtime.ts +86 -3
  19. package/src/enums/domain-purchase-status.ts +6 -0
  20. package/src/enums/{domain-transfer-status-status.ts → domain-transfer-status-enum.ts} +1 -1
  21. package/src/enums/runtime.ts +86 -3
  22. package/src/enums/runtimes.ts +86 -3
  23. package/src/enums/scopes.ts +2 -0
  24. package/src/index.ts +3 -2
  25. package/src/models.ts +58 -16
  26. package/src/services/domains.ts +30 -30
  27. package/src/services/projects.ts +0 -473
  28. package/src/services/webhooks.ts +451 -0
  29. package/types/enums/build-runtime.d.ts +87 -4
  30. package/types/enums/domain-purchase-status.d.ts +6 -0
  31. package/types/enums/{domain-transfer-status-status.d.ts → domain-transfer-status-enum.d.ts} +1 -1
  32. package/types/enums/runtime.d.ts +87 -4
  33. package/types/enums/runtimes.d.ts +87 -4
  34. package/types/enums/scopes.d.ts +2 -0
  35. package/types/index.d.ts +3 -2
  36. package/types/models.d.ts +57 -16
  37. package/types/services/domains.d.ts +22 -22
  38. package/types/services/projects.d.ts +0 -171
  39. package/types/services/webhooks.d.ts +165 -0
  40. package/src/enums/domain-purchase-payment-status.ts +0 -10
  41. package/types/enums/domain-purchase-payment-status.d.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.0.0
4
+
5
+ * Breaking: Renamed `domains.confirmPurchase()` to `domains.updatePurchase()`
6
+ * Breaking: Renamed `domains.confirmTransferIn()` to `domains.updateTransferIn()`
7
+ * Breaking: Replaced `Projects` API with `Webhooks` for webhook usage
8
+ * Breaking: Renamed `updateWebhook()` to `update()` on `Webhooks`
9
+ * Breaking: Renamed `listWebhooks()` to `list()` on `Webhooks`
10
+ * Breaking: Replaced `DomainPurchasePaymentStatus` with `DomainPurchaseStatus`
11
+ * Breaking: Renamed `DomainTransferStatusStatus` to `DomainTransferStatus`
12
+ * Breaking: Removed `Deno121`, `Deno124`, `Deno135` from `BuildRuntime`/`Runtime` enums
13
+ * Updated README badge to API version `1.8.2`
14
+ * Added `queries` option to `webhooks.list()`
15
+
3
16
  ## 5.0.0
4
17
 
5
18
  * Breaking: Functions and Sites now require `specification` parameter and support `deploymentRetention`
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Appwrite Console SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-console.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-1.8.1-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-1.8.2-blue.svg?style=flat-square)
5
5
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -33,7 +33,7 @@ import { Client, Account } from "@appwrite.io/console";
33
33
  To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
34
34
 
35
35
  ```html
36
- <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@5.0.0"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@6.0.0"></script>
37
37
  ```
38
38
 
39
39