@appwrite.io/console 0.6.0-rc.15 → 0.6.0-rc.16

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@0.6.0-rc.15"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@0.6.0-rc.16"></script>
37
37
  ```
38
38
 
39
39
 
package/dist/cjs/sdk.js CHANGED
@@ -117,7 +117,7 @@ class Client {
117
117
  'x-sdk-name': 'Console',
118
118
  'x-sdk-platform': 'console',
119
119
  'x-sdk-language': 'web',
120
- 'x-sdk-version': '0.6.0-rc.15',
120
+ 'x-sdk-version': '0.6.0-rc.16',
121
121
  'X-Appwrite-Response-Format': '1.5.0',
122
122
  };
123
123
  this.realtime = {
@@ -700,7 +700,7 @@ class Account extends Service {
700
700
  * authenticator](/docs/references/cloud/client-web/account#verifyAuthenticator)
701
701
  * method.
702
702
  *
703
- * @param {Type} type
703
+ * @param {AuthenticatorType} type
704
704
  * @throws {AppwriteException}
705
705
  * @returns {Promise}
706
706
  */
@@ -724,7 +724,7 @@ class Account extends Service {
724
724
  * authenticator](/docs/references/cloud/client-web/account#addAuthenticator)
725
725
  * method.
726
726
  *
727
- * @param {Type} type
727
+ * @param {AuthenticatorType} type
728
728
  * @param {string} otp
729
729
  * @throws {AppwriteException}
730
730
  * @returns {Promise}
@@ -753,7 +753,7 @@ class Account extends Service {
753
753
  *
754
754
  * Delete an authenticator for a user by ID.
755
755
  *
756
- * @param {Type} type
756
+ * @param {AuthenticatorType} type
757
757
  * @param {string} otp
758
758
  * @throws {AppwriteException}
759
759
  * @returns {Promise}
@@ -784,7 +784,7 @@ class Account extends Service {
784
784
  * [updateMfaChallenge](/docs/references/cloud/client-web/account#updateMfaChallenge)
785
785
  * method.
786
786
  *
787
- * @param {Factor} factor
787
+ * @param {AuthenticationFactor} factor
788
788
  * @throws {AppwriteException}
789
789
  * @returns {Promise}
790
790
  */
@@ -1425,10 +1425,11 @@ class Account extends Service {
1425
1425
  });
1426
1426
  }
1427
1427
  /**
1428
- * Update (or renew) session
1428
+ * Update session
1429
1429
  *
1430
- * Extend session's expiry to increase it's lifespan. Extending a session is
1431
- * useful when session length is short such as 5 minutes.
1430
+ * Use this endpoint to extend a session's length. Extending a session is
1431
+ * useful when session expiry is short. If the session was created using an
1432
+ * OAuth provider, this endpoint refreshes the access token from the provider.
1432
1433
  *
1433
1434
  * @param {string} sessionId
1434
1435
  * @throws {AppwriteException}
@@ -12764,18 +12765,18 @@ class ID {
12764
12765
  }
12765
12766
  }
12766
12767
 
12767
- exports.Type = void 0;
12768
- (function (Type) {
12769
- Type["Totp"] = "totp";
12770
- })(exports.Type || (exports.Type = {}));
12768
+ exports.AuthenticatorType = void 0;
12769
+ (function (AuthenticatorType) {
12770
+ AuthenticatorType["Totp"] = "totp";
12771
+ })(exports.AuthenticatorType || (exports.AuthenticatorType = {}));
12771
12772
 
12772
- exports.Factor = void 0;
12773
- (function (Factor) {
12774
- Factor["Email"] = "email";
12775
- Factor["Phone"] = "phone";
12776
- Factor["Totp"] = "totp";
12777
- Factor["Recoverycode"] = "recoverycode";
12778
- })(exports.Factor || (exports.Factor = {}));
12773
+ exports.AuthenticationFactor = void 0;
12774
+ (function (AuthenticationFactor) {
12775
+ AuthenticationFactor["Email"] = "email";
12776
+ AuthenticationFactor["Phone"] = "phone";
12777
+ AuthenticationFactor["Totp"] = "totp";
12778
+ AuthenticationFactor["Recoverycode"] = "recoverycode";
12779
+ })(exports.AuthenticationFactor || (exports.AuthenticationFactor = {}));
12779
12780
 
12780
12781
  exports.OAuthProvider = void 0;
12781
12782
  (function (OAuthProvider) {
@@ -13576,6 +13577,11 @@ exports.UserUsageRange = void 0;
13576
13577
  UserUsageRange["NinetyDays"] = "90d";
13577
13578
  })(exports.UserUsageRange || (exports.UserUsageRange = {}));
13578
13579
 
13580
+ exports.Type = void 0;
13581
+ (function (Type) {
13582
+ Type["Totp"] = "totp";
13583
+ })(exports.Type || (exports.Type = {}));
13584
+
13579
13585
  exports.MessagingProviderType = void 0;
13580
13586
  (function (MessagingProviderType) {
13581
13587
  MessagingProviderType["Email"] = "email";