@shakibdshy/signet-auth-client 1.0.0-beta.2 → 1.0.0-beta.3

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 (2) hide show
  1. package/dist/schema.d.ts +6 -5
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -1143,9 +1143,10 @@ export interface components {
1143
1143
  provider_user_id: string;
1144
1144
  };
1145
1145
  AddOrganizationMemberInput: {
1146
+ email?: string;
1146
1147
  org_id: string;
1147
1148
  role: string;
1148
- user_id: string;
1149
+ user_id?: string;
1149
1150
  };
1150
1151
  AdminListUsersResult: {
1151
1152
  Users: components["schemas"]["UserInfo"][];
@@ -1158,7 +1159,7 @@ export interface components {
1158
1159
  };
1159
1160
  ApiError: {
1160
1161
  /** @enum {string} */
1161
- error: "captcha_unavailable" | "code_already_used" | "csrf" | "email_exists" | "email_not_verified" | "forbidden" | "internal_error" | "invalid_code" | "invalid_credentials" | "invalid_input" | "invalid_link" | "invalid_request" | "invalid_token" | "last_account" | "link_already_used" | "not_found" | "oauth_account_conflict" | "oauth_email_not_verified" | "password_compromised" | "rate_limited" | "saml_connection_not_found" | "saml_invalid_assertion" | "saml_replay" | "sso_connection_not_found" | "sso_domain_not_verified" | "sso_invalid_assertion" | "two_factor_not_enabled" | "two_factor_required" | "unauthorized" | "username_taken";
1162
+ error: "captcha_unavailable" | "code_already_used" | "csrf" | "email_exists" | "email_not_verified" | "forbidden" | "internal_error" | "invalid_code" | "invalid_credentials" | "invalid_input" | "invalid_link" | "invalid_request" | "invalid_token" | "last_account" | "link_already_used" | "not_found" | "oauth_account_conflict" | "oauth_email_not_verified" | "password_compromised" | "rate_limited" | "saml_connection_not_found" | "saml_invalid_assertion" | "saml_replay" | "sso_connection_not_found" | "sso_domain_not_verified" | "sso_invalid_assertion" | "two_factor_not_enabled" | "two_factor_required" | "unauthorized" | "user_not_found" | "username_taken";
1162
1163
  message: string;
1163
1164
  };
1164
1165
  BanUserInput: {
@@ -1249,7 +1250,7 @@ export interface components {
1249
1250
  Organizations: components["schemas"]["Organization"][];
1250
1251
  };
1251
1252
  ListSessionsResult: {
1252
- Sessions: components["schemas"]["SessionInfo"][];
1253
+ sessions: components["schemas"]["SessionInfo"][];
1253
1254
  };
1254
1255
  MemberInfo: {
1255
1256
  Role: string;
@@ -1426,10 +1427,10 @@ export interface components {
1426
1427
  username?: string;
1427
1428
  };
1428
1429
  SignInResult: {
1429
- SessionToken: string;
1430
- User: components["schemas"]["User"];
1431
1430
  last_sign_in_method?: string;
1431
+ session_token: string;
1432
1432
  two_factor_challenge?: string;
1433
+ user: components["schemas"]["User"];
1433
1434
  };
1434
1435
  SignOutInput: {
1435
1436
  session_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakibdshy/signet-auth-client",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "Typed TypeScript client for Signet's HTTP API — the frontend half of Signet, an embeddable authentication library for Go",
5
5
  "keywords": [
6
6
  "auth",