gdc-sdk-front-ts 2.0.2 → 2.0.4
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
CHANGED
|
@@ -654,6 +654,15 @@ const otpStartInput: RelationshipChannelOtpStartInput = {
|
|
|
654
654
|
const otpStart = createRelationshipChannelOtpStartInput(otpStartInput);
|
|
655
655
|
```
|
|
656
656
|
|
|
657
|
+
Route naming rule:
|
|
658
|
+
|
|
659
|
+
- the example above is tenant-scoped, so `jurisdiction + sector` belongs to the
|
|
660
|
+
tenant route context
|
|
661
|
+
- host onboarding is different: host routes use `host coverage jurisdiction +
|
|
662
|
+
hostNetwork`
|
|
663
|
+
- if you later call a host route like `/host/cds-EU/v1/test/...`, that `test`
|
|
664
|
+
is the host runtime/network segment, not the tenant sector
|
|
665
|
+
|
|
657
666
|
### Build permission-request communication
|
|
658
667
|
|
|
659
668
|
```ts
|
|
@@ -29,7 +29,7 @@ export type DidcommSubmitResult = {
|
|
|
29
29
|
location?: string;
|
|
30
30
|
body: unknown;
|
|
31
31
|
submitKind: 'plain' | 'encrypted';
|
|
32
|
-
contentType: 'application/didcomm-
|
|
32
|
+
contentType: 'application/didcomm-plain+json' | 'application/didcomm-encrypted+json';
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
* Submits a DIDComm payload using either plaintext or encrypted transport,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-front-ts",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
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": "^2.0.
|
|
21
|
-
"gdc-sdk-core-ts": "^2.0.
|
|
20
|
+
"gdc-common-utils-ts": "^2.0.6",
|
|
21
|
+
"gdc-sdk-core-ts": "^Your branch is up to date with 'origin/main'.\nMerge made by the 'ort' strategy.\n CHANGELOG.md | 5 +++++\n package-lock.json | 4 ++--\n package.json | 2 +-\n 3 files changed, 8 insertions(+), 3 deletions(-)\n+ gdc-sdk-core-ts@2.0.5\n2.0.5"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^20.14.10",
|