@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/dist/esm/sdk.js CHANGED
@@ -118,8 +118,8 @@ class Client {
118
118
  'x-sdk-name': 'Console',
119
119
  'x-sdk-platform': 'console',
120
120
  'x-sdk-language': 'web',
121
- 'x-sdk-version': '0.6.0-rc.10',
122
- 'X-Appwrite-Response-Format': '1.4.0',
121
+ 'x-sdk-version': '0.6.0-rc.11',
122
+ 'X-Appwrite-Response-Format': '1.5.0',
123
123
  };
124
124
  this.realtime = {
125
125
  socket: undefined,
@@ -696,7 +696,7 @@ class Account extends Service {
696
696
  * Create 2FA Challenge
697
697
  *
698
698
  *
699
- * @param {Factor} factor
699
+ * @param {AuthenticationFactor} factor
700
700
  * @throws {AppwriteException}
701
701
  * @returns {Promise}
702
702
  */
@@ -768,7 +768,7 @@ class Account extends Service {
768
768
  * Add Authenticator
769
769
  *
770
770
  *
771
- * @param {Type} type
771
+ * @param {AuthenticatorType} type
772
772
  * @throws {AppwriteException}
773
773
  * @returns {Promise}
774
774
  */
@@ -789,7 +789,7 @@ class Account extends Service {
789
789
  * Verify Authenticator
790
790
  *
791
791
  *
792
- * @param {Type} type
792
+ * @param {AuthenticatorType} type
793
793
  * @param {string} otp
794
794
  * @throws {AppwriteException}
795
795
  * @returns {Promise}
@@ -817,7 +817,7 @@ class Account extends Service {
817
817
  * Delete Authenticator
818
818
  *
819
819
  *
820
- * @param {Type} type
820
+ * @param {AuthenticatorType} type
821
821
  * @param {string} otp
822
822
  * @throws {AppwriteException}
823
823
  * @returns {Promise}
@@ -11514,7 +11514,7 @@ class Users extends Service {
11514
11514
  *
11515
11515
  *
11516
11516
  * @param {string} userId
11517
- * @param {Type} type
11517
+ * @param {AuthenticatorType} type
11518
11518
  * @param {string} otp
11519
11519
  * @throws {AppwriteException}
11520
11520
  * @returns {Promise}
@@ -12429,17 +12429,17 @@ class ID {
12429
12429
  }
12430
12430
  }
12431
12431
 
12432
- var Factor;
12433
- (function (Factor) {
12434
- Factor["Totp"] = "totp";
12435
- Factor["Phone"] = "phone";
12436
- Factor["Email"] = "email";
12437
- })(Factor || (Factor = {}));
12432
+ var AuthenticationFactor;
12433
+ (function (AuthenticationFactor) {
12434
+ AuthenticationFactor["Totp"] = "totp";
12435
+ AuthenticationFactor["Phone"] = "phone";
12436
+ AuthenticationFactor["Email"] = "email";
12437
+ })(AuthenticationFactor || (AuthenticationFactor = {}));
12438
12438
 
12439
- var Type;
12440
- (function (Type) {
12441
- Type["Totp"] = "totp";
12442
- })(Type || (Type = {}));
12439
+ var AuthenticatorType;
12440
+ (function (AuthenticatorType) {
12441
+ AuthenticatorType["Totp"] = "totp";
12442
+ })(AuthenticatorType || (AuthenticatorType = {}));
12443
12443
 
12444
12444
  var OAuthProvider;
12445
12445
  (function (OAuthProvider) {
@@ -13220,5 +13220,5 @@ var MessagingProviderType;
13220
13220
  MessagingProviderType["Push"] = "push";
13221
13221
  })(MessagingProviderType || (MessagingProviderType = {}));
13222
13222
 
13223
- export { APIService, Account, AppwriteException, Assistant, AuthMethod, Avatars, Browser, Client, Compression, Console, CreditCard, DatabaseUsageRange, Databases, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, Factor, Flag, FunctionUsageRange, Functions, Graphql, Health, ID, ImageFormat, ImageGravity, IndexType, Locale, MessageStatus, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, PasswordHash, Permission, PlatformType, Project, ProjectUsageRange, Projects, Proxy, Query, Region, RelationMutate, RelationshipType, ResourceType, Role, Runtime, SMSTemplateLocale, SMSTemplateType, SMTPEncryption, SMTPSecure, Storage, StorageUsageRange, Teams, Type, UserUsageRange, Users, Vcs };
13223
+ export { APIService, Account, AppwriteException, Assistant, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, Browser, Client, Compression, Console, CreditCard, DatabaseUsageRange, Databases, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, Flag, FunctionUsageRange, Functions, Graphql, Health, ID, ImageFormat, ImageGravity, IndexType, Locale, MessageStatus, Messaging, MessagingProviderType, Migrations, Name, OAuthProvider, PasswordHash, Permission, PlatformType, Project, ProjectUsageRange, Projects, Proxy, Query, Region, RelationMutate, RelationshipType, ResourceType, Role, Runtime, SMSTemplateLocale, SMSTemplateType, SMTPEncryption, SMTPSecure, Storage, StorageUsageRange, Teams, UserUsageRange, Users, Vcs };
13224
13224
  //# sourceMappingURL=sdk.js.map