gdc-sdk-front-ts 0.8.1 → 0.8.3
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 +2 -1
- package/dist/discovery/types.d.ts +5 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -440,7 +440,8 @@ Frontend apps should not crawl host catalogs directly by default.
|
|
|
440
440
|
|
|
441
441
|
Preferred model:
|
|
442
442
|
|
|
443
|
-
- backend/BFF resolves host discovery from
|
|
443
|
+
- backend/BFF resolves host discovery from the contextualized hosting-operator
|
|
444
|
+
`/.well-known/dspace-version`
|
|
444
445
|
- backend/BFF derives `/dsp/catalog/dcat.json`
|
|
445
446
|
- frontend consumes normalized DTOs and maps them into cards
|
|
446
447
|
|
|
@@ -16,8 +16,11 @@ export type ListPublishedProvidersInput = Omit<DataspaceDiscoveryFilter, 'capabi
|
|
|
16
16
|
* endpoint.
|
|
17
17
|
*
|
|
18
18
|
* `catalogUrl` is optional because the frontend should not need to know
|
|
19
|
-
* whether the backend started from
|
|
20
|
-
*
|
|
19
|
+
* whether the backend started from the contextualized hosting-operator
|
|
20
|
+
* `/.well-known/dspace-version` URL
|
|
21
|
+
* (`/host/cds-{hostCoverageScope}/{version}/{hostNetwork}/.well-known/dspace-version`)
|
|
22
|
+
* and derived the DSP artifact or received a pre-normalized DTO from another
|
|
23
|
+
* layer.
|
|
21
24
|
*/
|
|
22
25
|
export type HostingOperatorMatchDto = Readonly<{
|
|
23
26
|
operatorDid: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gdc-sdk-front-ts",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
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.8.
|
|
20
|
+
"gdc-common-utils-ts": "^1.18.1",
|
|
21
|
+
"gdc-sdk-core-ts": "^0.8.3"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "^20.14.10",
|