@healthcloudai/hc-login-connector 0.3.0 → 0.3.1

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/index.d.cts CHANGED
@@ -33,7 +33,6 @@ interface IdentityAuthorization {
33
33
  IDToken?: string | null;
34
34
  Expiration?: string | null;
35
35
  EHR?: string | null;
36
- ErrorMessage?: string | null;
37
36
  HasInsurance?: boolean;
38
37
  HasIDCard?: boolean;
39
38
  HasSelfie?: boolean;
@@ -97,22 +96,9 @@ interface OnboardInput {
97
96
  Status?: number;
98
97
  Sex?: string;
99
98
  }
100
- interface OnboardUser {
101
- Email: string;
99
+ type OnboardUser = OnboardInput & {
102
100
  TenantID: string;
103
- Phone?: string;
104
- FirstName?: string;
105
- LastName?: string;
106
- MiddleName?: string;
107
- BirthDate?: string;
108
- Gender?: string;
109
- Race?: string;
110
- Ethnicity?: string;
111
- Address?: Address;
112
- Attributes?: Record<string, string>;
113
- Status?: number;
114
- Sex?: string;
115
- }
101
+ };
116
102
  interface HealthProfile {
117
103
  Email: string;
118
104
  Phone?: string;
package/dist/index.d.ts CHANGED
@@ -33,7 +33,6 @@ interface IdentityAuthorization {
33
33
  IDToken?: string | null;
34
34
  Expiration?: string | null;
35
35
  EHR?: string | null;
36
- ErrorMessage?: string | null;
37
36
  HasInsurance?: boolean;
38
37
  HasIDCard?: boolean;
39
38
  HasSelfie?: boolean;
@@ -97,22 +96,9 @@ interface OnboardInput {
97
96
  Status?: number;
98
97
  Sex?: string;
99
98
  }
100
- interface OnboardUser {
101
- Email: string;
99
+ type OnboardUser = OnboardInput & {
102
100
  TenantID: string;
103
- Phone?: string;
104
- FirstName?: string;
105
- LastName?: string;
106
- MiddleName?: string;
107
- BirthDate?: string;
108
- Gender?: string;
109
- Race?: string;
110
- Ethnicity?: string;
111
- Address?: Address;
112
- Attributes?: Record<string, string>;
113
- Status?: number;
114
- Sex?: string;
115
- }
101
+ };
116
102
  interface HealthProfile {
117
103
  Email: string;
118
104
  Phone?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-login-connector",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Healthcheck Login authentication SDK with TypeScrip and token refresh",
5
5
  "author": "Healthcheck Systems Inc",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "prepublishOnly": "npm run build"
38
38
  },
39
39
  "dependencies": {
40
- "@healthcloudai/hc-http": "^0.2.0",
40
+ "@healthcloudai/hc-http": "^0.2.1",
41
41
  "axios": "^1.13.4"
42
42
  },
43
43
  "peerDependencies": {