@appwrite.io/console 5.0.0 → 7.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 +20 -0
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +517 -286
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +517 -287
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +518 -287
  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 +2 -2
  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 +4 -3
  25. package/src/models.ts +60 -18
  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 +4 -3
  36. package/types/models.d.ts +59 -18
  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,25 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.0.0
4
+
5
+ * Breaking: Updated `$sequence` type from `number` to `string` for rows and documents.
6
+ * Updated: Compatibility note now refers to Appwrite server `1.9.x`.
7
+ * Updated: README badge shows API version `1.9.0`.
8
+ * Updated: Set header `X-Appwrite-Response-Format` to `1.9.0`.
9
+
10
+ ## 6.0.0
11
+
12
+ * Breaking: Renamed `domains.confirmPurchase()` to `domains.updatePurchase()`
13
+ * Breaking: Renamed `domains.confirmTransferIn()` to `domains.updateTransferIn()`
14
+ * Breaking: Replaced `Projects` API with `Webhooks` for webhook usage
15
+ * Breaking: Renamed `updateWebhook()` to `update()` on `Webhooks`
16
+ * Breaking: Renamed `listWebhooks()` to `list()` on `Webhooks`
17
+ * Breaking: Replaced `DomainPurchasePaymentStatus` with `DomainPurchaseStatus`
18
+ * Breaking: Renamed `DomainTransferStatusStatus` to `DomainTransferStatus`
19
+ * Breaking: Removed `Deno121`, `Deno124`, `Deno135` from `BuildRuntime`/`Runtime` enums
20
+ * Updated README badge to API version `1.8.2`
21
+ * Added `queries` option to `webhooks.list()`
22
+
3
23
  ## 5.0.0
4
24
 
5
25
  * 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.9.0-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@7.0.0"></script>
37
37
  ```
38
38
 
39
39