gdc-sdk-front-ts 0.3.0 → 0.4.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.
- package/README.md +3 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -35,6 +35,7 @@ If you need the shortest path:
|
|
|
35
35
|
`appId` mandatory, `appVersion` optional with default `v1.0`
|
|
36
36
|
- frontend technical identity:
|
|
37
37
|
[`initializeCommunicationIdentity(...)`](./docs/SDK_INTEGRATION_101.md)
|
|
38
|
+
for the technical device/channel profile identity, not the legal organization id
|
|
38
39
|
- main runtime class:
|
|
39
40
|
[`ClientSDK`](src/ClientSDK.ts)
|
|
40
41
|
- profile/session bootstrap:
|
|
@@ -219,12 +220,12 @@ import {
|
|
|
219
220
|
} from 'gdc-common-utils-ts/examples/consent-access';
|
|
220
221
|
import { HealthcareActorRoles } from 'gdc-common-utils-ts/constants/healthcare';
|
|
221
222
|
|
|
222
|
-
const
|
|
223
|
+
const subjectDid = EXAMPLE_INDIVIDUAL_DID_WEB;
|
|
223
224
|
const emailProfessional = EXAMPLE_EMAIL_PROFESSIONAL;
|
|
224
225
|
const missing = getMissingPermissions(evaluation);
|
|
225
226
|
|
|
226
227
|
const communication = buildPermissionRequestCommunication({
|
|
227
|
-
subject:
|
|
228
|
+
subject: subjectDid,
|
|
228
229
|
requester: { actorKind: 'professional', email: emailProfessional },
|
|
229
230
|
requesterRole: HealthcareActorRoles.Physician,
|
|
230
231
|
missing,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-front-ts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Next-generation frontend runtime package for the GDC SDK family",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Antifraud Services Inc.",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/runtime": "^7.28.4",
|
|
20
|
-
"gdc-common-utils-ts": "^1.
|
|
21
|
-
"gdc-sdk-core-ts": "^0.
|
|
20
|
+
"gdc-common-utils-ts": "^1.8.0",
|
|
21
|
+
"gdc-sdk-core-ts": "^0.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^20.14.10",
|