@spritz-finance/service-client 0.34.0 → 0.34.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.
|
@@ -60,17 +60,16 @@ async function getUserVerification(userId) {
|
|
|
60
60
|
}
|
|
61
61
|
return body.data;
|
|
62
62
|
}
|
|
63
|
-
//
|
|
64
|
-
//
|
|
65
|
-
// `bulk`. They move to `/api` once that route accepts operational priority.
|
|
63
|
+
// Priority `operational` mirrors the legacy route's Persona behavior (never
|
|
64
|
+
// shed); the /api route gained it in verification#197 for exactly this switch.
|
|
66
65
|
async function getUserIdentity(userId) {
|
|
67
66
|
return baseClient
|
|
68
|
-
.get(`${
|
|
67
|
+
.get(`${VERIFICATION_API_ENDPOINT}/user/${userId}/identity?priority=operational`)
|
|
69
68
|
.then((res) => res.data);
|
|
70
69
|
}
|
|
71
70
|
async function getBasicUserIdentity(userId) {
|
|
72
71
|
return baseClient
|
|
73
|
-
.get(`${
|
|
72
|
+
.get(`${VERIFICATION_API_ENDPOINT}/user/${userId}/identity?sensitive=false&priority=operational`)
|
|
74
73
|
.then((res) => res.data);
|
|
75
74
|
}
|
|
76
75
|
/**
|