@godxjp/sdk 0.6.0 → 0.7.0

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.
@@ -6,7 +6,7 @@ import * as react from 'react';
6
6
  *
7
7
  * Codes are only ever ADDED, never renamed or given a new meaning.
8
8
  */
9
- declare const SIGN_IN_ERROR_CODES: readonly ["organization_membership_missing", "organization_unavailable", "organization_context_missing", "service_entitlement_missing", "subscription_inactive", "personal_workspace_not_enabled", "user_inactive", "user_unverified", "service_unavailable", "access_denied", "callback_invalid", "token_exchange_failed", "platform_unavailable", "session_expired", "forbidden", "too_many_attempts"];
9
+ declare const SIGN_IN_ERROR_CODES: readonly ["organization_membership_missing", "organization_unavailable", "organization_context_missing", "service_entitlement_missing", "subscription_inactive", "personal_workspace_not_enabled", "user_inactive", "user_unverified", "service_unavailable", "employee_onboarding", "access_denied", "callback_invalid", "token_exchange_failed", "platform_unavailable", "session_expired", "forbidden", "too_many_attempts"];
10
10
  type SignInErrorCode = (typeof SIGN_IN_ERROR_CODES)[number];
11
11
  type SignInErrorActionKind = "retry" | "switch_organization" | "home";
12
12
  /**
@@ -14,6 +14,7 @@ var SIGN_IN_ERROR_CODES = [
14
14
  "user_inactive",
15
15
  "user_unverified",
16
16
  "service_unavailable",
17
+ "employee_onboarding",
17
18
  // Raised on the consumer's side.
18
19
  "access_denied",
19
20
  "callback_invalid",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godxjp/sdk",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "GoDX JavaScript SDK \u2014 shared frontend infrastructure for GoDX products.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {