@appwrite.io/console 0.6.0-rc.10 → 0.6.0-rc.11

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.10"></script>
36
+ <script src="https://cdn.jsdelivr.net/npm/@appwrite.io/console@0.6.0-rc.11"></script>
37
37
  ```
38
38
 
39
39
 
package/dist/cjs/sdk.js CHANGED
@@ -120,8 +120,8 @@ class Client {
120
120
  'x-sdk-name': 'Console',
121
121
  'x-sdk-platform': 'console',
122
122
  'x-sdk-language': 'web',
123
- 'x-sdk-version': '0.6.0-rc.10',
124
- 'X-Appwrite-Response-Format': '1.4.0',
123
+ 'x-sdk-version': '0.6.0-rc.11',
124
+ 'X-Appwrite-Response-Format': '1.5.0',
125
125
  };
126
126
  this.realtime = {
127
127
  socket: undefined,
@@ -698,7 +698,7 @@ class Account extends Service {
698
698
  * Create 2FA Challenge
699
699
  *
700
700
  *
701
- * @param {Factor} factor
701
+ * @param {AuthenticationFactor} factor
702
702
  * @throws {AppwriteException}
703
703
  * @returns {Promise}
704
704
  */
@@ -770,7 +770,7 @@ class Account extends Service {
770
770
  * Add Authenticator
771
771
  *
772
772
  *
773
- * @param {Type} type
773
+ * @param {AuthenticatorType} type
774
774
  * @throws {AppwriteException}
775
775
  * @returns {Promise}
776
776
  */
@@ -791,7 +791,7 @@ class Account extends Service {
791
791
  * Verify Authenticator
792
792
  *
793
793
  *
794
- * @param {Type} type
794
+ * @param {AuthenticatorType} type
795
795
  * @param {string} otp
796
796
  * @throws {AppwriteException}
797
797
  * @returns {Promise}
@@ -819,7 +819,7 @@ class Account extends Service {
819
819
  * Delete Authenticator
820
820
  *
821
821
  *
822
- * @param {Type} type
822
+ * @param {AuthenticatorType} type
823
823
  * @param {string} otp
824
824
  * @throws {AppwriteException}
825
825
  * @returns {Promise}
@@ -11516,7 +11516,7 @@ class Users extends Service {
11516
11516
  *
11517
11517
  *
11518
11518
  * @param {string} userId
11519
- * @param {Type} type
11519
+ * @param {AuthenticatorType} type
11520
11520
  * @param {string} otp
11521
11521
  * @throws {AppwriteException}
11522
11522
  * @returns {Promise}
@@ -12431,17 +12431,17 @@ class ID {
12431
12431
  }
12432
12432
  }
12433
12433
 
12434
- exports.Factor = void 0;
12435
- (function (Factor) {
12436
- Factor["Totp"] = "totp";
12437
- Factor["Phone"] = "phone";
12438
- Factor["Email"] = "email";
12439
- })(exports.Factor || (exports.Factor = {}));
12434
+ exports.AuthenticationFactor = void 0;
12435
+ (function (AuthenticationFactor) {
12436
+ AuthenticationFactor["Totp"] = "totp";
12437
+ AuthenticationFactor["Phone"] = "phone";
12438
+ AuthenticationFactor["Email"] = "email";
12439
+ })(exports.AuthenticationFactor || (exports.AuthenticationFactor = {}));
12440
12440
 
12441
- exports.Type = void 0;
12442
- (function (Type) {
12443
- Type["Totp"] = "totp";
12444
- })(exports.Type || (exports.Type = {}));
12441
+ exports.AuthenticatorType = void 0;
12442
+ (function (AuthenticatorType) {
12443
+ AuthenticatorType["Totp"] = "totp";
12444
+ })(exports.AuthenticatorType || (exports.AuthenticatorType = {}));
12445
12445
 
12446
12446
  exports.OAuthProvider = void 0;
12447
12447
  (function (OAuthProvider) {