gdc-sdk-node-ts 2.9.0 → 2.9.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.
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { GrantProfessionalAccessInput } from './resource-operations.js';
|
|
2
|
+
/**
|
|
3
|
+
* Builds the controller-approved authorization Consent sent to GW.
|
|
4
|
+
*
|
|
5
|
+
* The shared builder emits `Consent.status = active`; a professional access
|
|
6
|
+
* request uses the separate Communication attachment builder and keeps its
|
|
7
|
+
* Consent resources in `draft`, where they cannot authorize access.
|
|
8
|
+
*/
|
|
2
9
|
export declare function buildGrantProfessionalAccessClaimsWithCid(input: GrantProfessionalAccessInput, createRuntimeUuid: () => string): {
|
|
3
10
|
actorIdentifier: string;
|
|
4
11
|
subjectIdentifier: string;
|
package/dist/runtime-consent.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
// Copyright 2026 Antifraud Services Inc. under the Apache License, Version 2.0.
|
|
2
2
|
import { buildConsentClaimsSimpleWithCid } from 'gdc-common-utils-ts/utils/consent';
|
|
3
|
+
/**
|
|
4
|
+
* Builds the controller-approved authorization Consent sent to GW.
|
|
5
|
+
*
|
|
6
|
+
* The shared builder emits `Consent.status = active`; a professional access
|
|
7
|
+
* request uses the separate Communication attachment builder and keeps its
|
|
8
|
+
* Consent resources in `draft`, where they cannot authorize access.
|
|
9
|
+
*/
|
|
3
10
|
export function buildGrantProfessionalAccessClaimsWithCid(input, createRuntimeUuid) {
|
|
4
11
|
return buildConsentClaimsSimpleWithCid({
|
|
5
12
|
subjectDid: input.subjectDid,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-node-ts",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.1",
|
|
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,7 +38,7 @@
|
|
|
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.9.
|
|
41
|
+
"gdc-common-utils-ts": "2.9.4",
|
|
42
42
|
"gdc-sdk-core-ts": "2.9.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|