@appwrite.io/console 1.3.1 → 1.3.2

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.
package/README.md CHANGED
@@ -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@1.3.1"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@1.3.2"></script>
37
37
  ```
38
38
 
39
39
 
package/dist/cjs/sdk.js CHANGED
@@ -280,7 +280,7 @@ class Client {
280
280
  'x-sdk-name': 'Console',
281
281
  'x-sdk-platform': 'console',
282
282
  'x-sdk-language': 'web',
283
- 'x-sdk-version': '1.3.1',
283
+ 'x-sdk-version': '1.3.2',
284
284
  'X-Appwrite-Response-Format': '1.6.0',
285
285
  };
286
286
  this.realtime = {
@@ -625,6 +625,11 @@ class Client {
625
625
  return response;
626
626
  });
627
627
  }
628
+ ping() {
629
+ return __awaiter(this, void 0, void 0, function* () {
630
+ return this.call('GET', new URL(this.config.endpoint + '/ping'));
631
+ });
632
+ }
628
633
  call(method, url, headers = {}, params = {}, responseType = 'json') {
629
634
  var _a;
630
635
  return __awaiter(this, void 0, void 0, function* () {