gdc-sdk-node-ts 2.7.6 → 2.7.7
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.
|
@@ -336,6 +336,14 @@ export type ServerProfileSessionManagerOptions = Readonly<{
|
|
|
336
336
|
export declare class ServerProfileSessionManager {
|
|
337
337
|
private readonly options;
|
|
338
338
|
constructor(options: ServerProfileSessionManagerOptions);
|
|
339
|
+
/**
|
|
340
|
+
* Resolves the canonical IPS author/attester projection from one owned
|
|
341
|
+
* profile without exposing its protected wallet material to the portal.
|
|
342
|
+
*/
|
|
343
|
+
exportClinicalCreatorIps(input: Readonly<{
|
|
344
|
+
ownerId: string;
|
|
345
|
+
profileId: string;
|
|
346
|
+
}>): Promise<ClinicalCreatorIpsExport>;
|
|
339
347
|
enroll(input: ServerProfileEnrollmentInput): Promise<ServerProfileRecord>;
|
|
340
348
|
/**
|
|
341
349
|
* Rotates an employee wallet after a fresh OTP-authenticated GW recovery.
|
|
@@ -25,6 +25,13 @@ export class ServerProfileSessionManager {
|
|
|
25
25
|
constructor(options) {
|
|
26
26
|
this.options = options;
|
|
27
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Resolves the canonical IPS author/attester projection from one owned
|
|
30
|
+
* profile without exposing its protected wallet material to the portal.
|
|
31
|
+
*/
|
|
32
|
+
async exportClinicalCreatorIps(input) {
|
|
33
|
+
return exportServerProfileClinicalCreatorIps(await this.requireOwnedProfile(input.ownerId, input.profileId));
|
|
34
|
+
}
|
|
28
35
|
async enroll(input) {
|
|
29
36
|
requireEnrollment(input);
|
|
30
37
|
const seed = input.walletSeed || randomBytes(32).toString('base64url');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-node-ts",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.7",
|
|
4
4
|
"description": "Next-generation Node runtime package for the GDC SDK family",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Antifraud Services Inc.",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test:e2e:live-gw:clean": "bash ./scripts/run-live-gw-clean.sh"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"gdc-common-utils-ts": "2.8.
|
|
42
|
-
"gdc-sdk-core-ts": "2.5.
|
|
41
|
+
"gdc-common-utils-ts": "2.8.6",
|
|
42
|
+
"gdc-sdk-core-ts": "2.5.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^20.14.10",
|