@icanbwell/types 7.2.0 → 7.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/frontend-telemetry.js
CHANGED
|
@@ -15,6 +15,8 @@ var ErrorCode;
|
|
|
15
15
|
ErrorCode["BWELL_INITIALIZATION"] = "BWELL_INITIALIZATION";
|
|
16
16
|
/** Error durring token exchange */
|
|
17
17
|
ErrorCode["TOKEN_EXCHANGE"] = "TOKEN_EXCHANGE";
|
|
18
|
+
/** Required user claims (clientFhirPersonId, clientFhirPatientId) missing from ID token */
|
|
19
|
+
ErrorCode["MISSING_REQUIRED_USER_CLAIMS"] = "MISSING_REQUIRED_USER_CLAIMS";
|
|
18
20
|
// Routing Errors
|
|
19
21
|
/** Defines an error while executing a route */
|
|
20
22
|
ErrorCode["ROUTE_ACTION"] = "ROUTE_ACTION";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icanbwell/types",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"typedoc": {
|
|
5
5
|
"entryPoint": "./src/index.ts",
|
|
6
6
|
"tsconfig": "./tsconfig.lib.json"
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./src/index.d.ts",
|
|
24
|
+
"import": "./index.js"
|
|
25
|
+
},
|
|
22
26
|
"./native-components": {
|
|
23
27
|
"types": "./src/native-components.d.ts",
|
|
24
28
|
"import": "./native-components.js"
|
|
@@ -30,14 +34,10 @@
|
|
|
30
34
|
"./frontend-telemetry": {
|
|
31
35
|
"types": "./src/frontend-telemetry.d.ts",
|
|
32
36
|
"import": "./frontend-telemetry.js"
|
|
33
|
-
},
|
|
34
|
-
".": {
|
|
35
|
-
"types": "./src/index.d.ts",
|
|
36
|
-
"import": "./index.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
-
"repoVersion": "17.
|
|
40
|
-
"description": "@icanbwell/types. repo version: 17.
|
|
39
|
+
"repoVersion": "17.7.1",
|
|
40
|
+
"description": "@icanbwell/types. repo version: 17.7.1",
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"react-native": "0.x",
|
|
43
43
|
"react-native-biometrics": "3.x",
|
|
@@ -13,6 +13,8 @@ export declare enum ErrorCode {
|
|
|
13
13
|
BWELL_INITIALIZATION = "BWELL_INITIALIZATION",
|
|
14
14
|
/** Error durring token exchange */
|
|
15
15
|
TOKEN_EXCHANGE = "TOKEN_EXCHANGE",
|
|
16
|
+
/** Required user claims (clientFhirPersonId, clientFhirPatientId) missing from ID token */
|
|
17
|
+
MISSING_REQUIRED_USER_CLAIMS = "MISSING_REQUIRED_USER_CLAIMS",
|
|
16
18
|
/** Defines an error while executing a route */
|
|
17
19
|
ROUTE_ACTION = "ROUTE_ACTION",
|
|
18
20
|
/** Defines an error while initializing the navigation service delegate */
|
|
@@ -2,7 +2,12 @@ export type IdentityProviderName = 'cognito' | 'descope';
|
|
|
2
2
|
export type IdentityProvider = {
|
|
3
3
|
name: IdentityProviderName;
|
|
4
4
|
projectId: string;
|
|
5
|
-
|
|
5
|
+
issuer?: string;
|
|
6
|
+
providerConfig?: {
|
|
6
7
|
tenantId?: string;
|
|
8
|
+
flows?: {
|
|
9
|
+
name: string;
|
|
10
|
+
id: string;
|
|
11
|
+
}[];
|
|
7
12
|
};
|
|
8
13
|
};
|