@twin.org/identity-service 0.0.1 → 0.0.2-next.2
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/dist/cjs/index.cjs +0 -12
- package/dist/esm/index.mjs +0 -12
- package/dist/types/identityProfileService.d.ts +0 -4
- package/dist/types/identityResolverService.d.ts +0 -4
- package/dist/types/identityService.d.ts +0 -4
- package/docs/changelog.md +42 -0
- package/docs/open-api/spec.json +309 -18
- package/docs/reference/classes/IdentityProfileService.md +0 -8
- package/docs/reference/classes/IdentityResolverService.md +0 -8
- package/docs/reference/classes/IdentityService.md +0 -8
- package/package.json +15 -15
package/dist/cjs/index.cjs
CHANGED
|
@@ -389,10 +389,6 @@ async function identitiesList(httpRequestContext, componentName, request) {
|
|
|
389
389
|
* Class which implements the identity profile contract.
|
|
390
390
|
*/
|
|
391
391
|
class IdentityProfileService {
|
|
392
|
-
/**
|
|
393
|
-
* The namespace supported by the identity profile service.
|
|
394
|
-
*/
|
|
395
|
-
static NAMESPACE = "identity-profile";
|
|
396
392
|
/**
|
|
397
393
|
* Runtime name for the class.
|
|
398
394
|
*/
|
|
@@ -632,10 +628,6 @@ async function identityResolve(httpRequestContext, componentName, request) {
|
|
|
632
628
|
* Class which implements the identity resolver contract.
|
|
633
629
|
*/
|
|
634
630
|
class IdentityResolverService {
|
|
635
|
-
/**
|
|
636
|
-
* The namespace supported by the identity service.
|
|
637
|
-
*/
|
|
638
|
-
static NAMESPACE = "identity-resolver";
|
|
639
631
|
/**
|
|
640
632
|
* Runtime name for the class.
|
|
641
633
|
*/
|
|
@@ -1651,10 +1643,6 @@ async function identityProofVerify(httpRequestContext, componentName, request) {
|
|
|
1651
1643
|
* Class which implements the identity contract.
|
|
1652
1644
|
*/
|
|
1653
1645
|
class IdentityService {
|
|
1654
|
-
/**
|
|
1655
|
-
* The namespace supported by the identity service.
|
|
1656
|
-
*/
|
|
1657
|
-
static NAMESPACE = "identity";
|
|
1658
1646
|
/**
|
|
1659
1647
|
* Runtime name for the class.
|
|
1660
1648
|
*/
|
package/dist/esm/index.mjs
CHANGED
|
@@ -387,10 +387,6 @@ async function identitiesList(httpRequestContext, componentName, request) {
|
|
|
387
387
|
* Class which implements the identity profile contract.
|
|
388
388
|
*/
|
|
389
389
|
class IdentityProfileService {
|
|
390
|
-
/**
|
|
391
|
-
* The namespace supported by the identity profile service.
|
|
392
|
-
*/
|
|
393
|
-
static NAMESPACE = "identity-profile";
|
|
394
390
|
/**
|
|
395
391
|
* Runtime name for the class.
|
|
396
392
|
*/
|
|
@@ -630,10 +626,6 @@ async function identityResolve(httpRequestContext, componentName, request) {
|
|
|
630
626
|
* Class which implements the identity resolver contract.
|
|
631
627
|
*/
|
|
632
628
|
class IdentityResolverService {
|
|
633
|
-
/**
|
|
634
|
-
* The namespace supported by the identity service.
|
|
635
|
-
*/
|
|
636
|
-
static NAMESPACE = "identity-resolver";
|
|
637
629
|
/**
|
|
638
630
|
* Runtime name for the class.
|
|
639
631
|
*/
|
|
@@ -1649,10 +1641,6 @@ async function identityProofVerify(httpRequestContext, componentName, request) {
|
|
|
1649
1641
|
* Class which implements the identity contract.
|
|
1650
1642
|
*/
|
|
1651
1643
|
class IdentityService {
|
|
1652
|
-
/**
|
|
1653
|
-
* The namespace supported by the identity service.
|
|
1654
|
-
*/
|
|
1655
|
-
static NAMESPACE = "identity";
|
|
1656
1644
|
/**
|
|
1657
1645
|
* Runtime name for the class.
|
|
1658
1646
|
*/
|
|
@@ -5,10 +5,6 @@ import type { IIdentityProfileServiceConstructorOptions } from "./models/IIdenti
|
|
|
5
5
|
* Class which implements the identity profile contract.
|
|
6
6
|
*/
|
|
7
7
|
export declare class IdentityProfileService<T extends IJsonLdDocument = IJsonLdDocument, U extends IJsonLdDocument = IJsonLdDocument> implements IIdentityProfileComponent<T, U> {
|
|
8
|
-
/**
|
|
9
|
-
* The namespace supported by the identity profile service.
|
|
10
|
-
*/
|
|
11
|
-
static readonly NAMESPACE: string;
|
|
12
8
|
/**
|
|
13
9
|
* Runtime name for the class.
|
|
14
10
|
*/
|
|
@@ -5,10 +5,6 @@ import type { IIdentityResolverServiceConstructorOptions } from "./models/IIdent
|
|
|
5
5
|
* Class which implements the identity resolver contract.
|
|
6
6
|
*/
|
|
7
7
|
export declare class IdentityResolverService implements IIdentityResolverComponent {
|
|
8
|
-
/**
|
|
9
|
-
* The namespace supported by the identity service.
|
|
10
|
-
*/
|
|
11
|
-
static readonly NAMESPACE: string;
|
|
12
8
|
/**
|
|
13
9
|
* Runtime name for the class.
|
|
14
10
|
*/
|
|
@@ -6,10 +6,6 @@ import type { IIdentityServiceConstructorOptions } from "./models/IIdentityServi
|
|
|
6
6
|
* Class which implements the identity contract.
|
|
7
7
|
*/
|
|
8
8
|
export declare class IdentityService implements IIdentityComponent {
|
|
9
|
-
/**
|
|
10
|
-
* The namespace supported by the identity service.
|
|
11
|
-
*/
|
|
12
|
-
static readonly NAMESPACE: string;
|
|
13
9
|
/**
|
|
14
10
|
* Runtime name for the class.
|
|
15
11
|
*/
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @twin.org/identity-service - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.2](https://github.com/twinfoundation/identity/compare/identity-service-v0.0.2-next.1...identity-service-v0.0.2-next.2) (2025-08-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update framework core ([c824497](https://github.com/twinfoundation/identity/commit/c82449709af0215eb7af496cf687c93fb30b5ae0))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/identity-models bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
16
|
+
* @twin.org/identity-connector-entity-storage bumped from 0.0.2-next.1 to 0.0.2-next.2
|
|
17
|
+
|
|
18
|
+
## [0.0.2-next.1](https://github.com/twinfoundation/identity/compare/identity-service-v0.0.2-next.0...identity-service-v0.0.2-next.1) (2025-08-18)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* add identity remove ([eebc13f](https://github.com/twinfoundation/identity/commit/eebc13f4c2cd994d2d9cce4da2128fb346c80ba7))
|
|
24
|
+
* identity key separator use slash ([1319d0d](https://github.com/twinfoundation/identity/commit/1319d0d07164a36b3ec279e6421b8835ffefc3d3))
|
|
25
|
+
* remove unused namespace ([1987f72](https://github.com/twinfoundation/identity/commit/1987f72089be5ece10aa96b1fb9c386221c95c75))
|
|
26
|
+
* update twindev schemas ([f5b2735](https://github.com/twinfoundation/identity/commit/f5b273561b52fa75e654e074927c164a465aa510))
|
|
27
|
+
* use new generateKid method ([f0fe779](https://github.com/twinfoundation/identity/commit/f0fe779323b675575bb9f80aa74f1957dc57a094))
|
|
28
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* Import path and bump version ([#21](https://github.com/twinfoundation/identity/issues/21)) ([ccea845](https://github.com/twinfoundation/identity/commit/ccea845bf32562267280bc1b3dde1c9af1a00360))
|
|
34
|
+
* Install sdk-wasm ([#20](https://github.com/twinfoundation/identity/issues/20)) ([75ec14e](https://github.com/twinfoundation/identity/commit/75ec14e072f8c219863a1c028a3b0783802086e9))
|
|
35
|
+
* query params force coercion ([d9347d2](https://github.com/twinfoundation/identity/commit/d9347d29d4a9cc58759f30f5d8526de864ea7522))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Dependencies
|
|
39
|
+
|
|
40
|
+
* The following workspace dependencies were updated
|
|
41
|
+
* dependencies
|
|
42
|
+
* @twin.org/identity-models bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
43
|
+
* @twin.org/identity-connector-entity-storage bumped from 0.0.2-next.0 to 0.0.2-next.1
|
|
44
|
+
|
|
3
45
|
## 0.0.1 (2025-07-08)
|
|
4
46
|
|
|
5
47
|
|
package/docs/open-api/spec.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"openapi": "3.1.
|
|
2
|
+
"openapi": "3.1.1",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "TWIN - Test Endpoints",
|
|
5
5
|
"description": "REST API for TWIN - Test Endpoints.",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"content": {
|
|
52
52
|
"application/json": {
|
|
53
53
|
"schema": {
|
|
54
|
-
"$ref": "https://schema.twindev.org/did/DidDocument"
|
|
54
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidDocument"
|
|
55
55
|
},
|
|
56
56
|
"examples": {
|
|
57
57
|
"identityResolveResponseExample": {
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"content": {
|
|
230
230
|
"application/json": {
|
|
231
231
|
"schema": {
|
|
232
|
-
"$ref": "https://schema.twindev.org/did/DidDocument"
|
|
232
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidDocument"
|
|
233
233
|
},
|
|
234
234
|
"examples": {
|
|
235
235
|
"identityCreateResponseExample": {
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"content": {
|
|
360
360
|
"application/json": {
|
|
361
361
|
"schema": {
|
|
362
|
-
"$ref": "https://schema.twindev.org/did/DidDocumentVerificationMethod"
|
|
362
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidDocumentVerificationMethod"
|
|
363
363
|
},
|
|
364
364
|
"examples": {
|
|
365
365
|
"identityVerificationMethodCreateResponseExample": {
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"content": {
|
|
592
592
|
"application/json": {
|
|
593
593
|
"schema": {
|
|
594
|
-
"$ref": "https://schema.twindev.org/did/DidService"
|
|
594
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidService"
|
|
595
595
|
},
|
|
596
596
|
"examples": {
|
|
597
597
|
"identityServiceCreateResponseExample": {
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
"content": {
|
|
1518
1518
|
"application/json": {
|
|
1519
1519
|
"schema": {
|
|
1520
|
-
"$ref": "https://schema.twindev.org/did/Proof"
|
|
1520
|
+
"$ref": "https://schema.twindev.org/w3c-did/Proof"
|
|
1521
1521
|
},
|
|
1522
1522
|
"examples": {
|
|
1523
1523
|
"identityProofCreateResponseExample": {
|
|
@@ -2466,6 +2466,7 @@
|
|
|
2466
2466
|
"properties": {
|
|
2467
2467
|
"conflicts": {
|
|
2468
2468
|
"type": "array",
|
|
2469
|
+
"items": false,
|
|
2469
2470
|
"description": "The conflicting items.",
|
|
2470
2471
|
"prefixItems": [
|
|
2471
2472
|
{
|
|
@@ -2494,7 +2495,7 @@
|
|
|
2494
2495
|
"type": "string",
|
|
2495
2496
|
"description": "The stack trace for the error."
|
|
2496
2497
|
},
|
|
2497
|
-
"
|
|
2498
|
+
"cause": {
|
|
2498
2499
|
"$ref": "#/components/schemas/Error"
|
|
2499
2500
|
}
|
|
2500
2501
|
},
|
|
@@ -2529,7 +2530,7 @@
|
|
|
2529
2530
|
"type": "string",
|
|
2530
2531
|
"description": "The stack trace for the error."
|
|
2531
2532
|
},
|
|
2532
|
-
"
|
|
2533
|
+
"cause": {
|
|
2533
2534
|
"$ref": "#/components/schemas/Error"
|
|
2534
2535
|
}
|
|
2535
2536
|
},
|
|
@@ -2589,6 +2590,7 @@
|
|
|
2589
2590
|
"properties": {
|
|
2590
2591
|
"items": {
|
|
2591
2592
|
"type": "array",
|
|
2593
|
+
"items": false,
|
|
2592
2594
|
"description": "The identities.",
|
|
2593
2595
|
"prefixItems": [
|
|
2594
2596
|
{
|
|
@@ -2637,7 +2639,7 @@
|
|
|
2637
2639
|
"type": "object",
|
|
2638
2640
|
"properties": {
|
|
2639
2641
|
"proofType": {
|
|
2640
|
-
"$ref": "https://schema.twindev.org/did/ProofTypes"
|
|
2642
|
+
"$ref": "https://schema.twindev.org/w3c-did/ProofTypes"
|
|
2641
2643
|
},
|
|
2642
2644
|
"document": {
|
|
2643
2645
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
@@ -2657,7 +2659,7 @@
|
|
|
2657
2659
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
2658
2660
|
},
|
|
2659
2661
|
"proof": {
|
|
2660
|
-
"$ref": "https://schema.twindev.org/did/Proof"
|
|
2662
|
+
"$ref": "https://schema.twindev.org/w3c-did/Proof"
|
|
2661
2663
|
}
|
|
2662
2664
|
},
|
|
2663
2665
|
"required": [
|
|
@@ -2694,6 +2696,7 @@
|
|
|
2694
2696
|
},
|
|
2695
2697
|
{
|
|
2696
2698
|
"type": "array",
|
|
2699
|
+
"items": false,
|
|
2697
2700
|
"prefixItems": [
|
|
2698
2701
|
{
|
|
2699
2702
|
"type": "string"
|
|
@@ -2710,6 +2713,7 @@
|
|
|
2710
2713
|
},
|
|
2711
2714
|
{
|
|
2712
2715
|
"type": "array",
|
|
2716
|
+
"items": false,
|
|
2713
2717
|
"prefixItems": [
|
|
2714
2718
|
{
|
|
2715
2719
|
"type": "string"
|
|
@@ -2753,7 +2757,7 @@
|
|
|
2753
2757
|
"type": "object",
|
|
2754
2758
|
"properties": {
|
|
2755
2759
|
"verifiableCredential": {
|
|
2756
|
-
"$ref": "https://schema.twindev.org/did/DidVerifiableCredential"
|
|
2760
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
2757
2761
|
},
|
|
2758
2762
|
"jwt": {
|
|
2759
2763
|
"type": "string",
|
|
@@ -2775,7 +2779,7 @@
|
|
|
2775
2779
|
"description": "Has the credential been revoked."
|
|
2776
2780
|
},
|
|
2777
2781
|
"verifiableCredential": {
|
|
2778
|
-
"$ref": "https://schema.twindev.org/did/DidVerifiableCredential"
|
|
2782
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
2779
2783
|
}
|
|
2780
2784
|
},
|
|
2781
2785
|
"required": [
|
|
@@ -2801,6 +2805,7 @@
|
|
|
2801
2805
|
},
|
|
2802
2806
|
{
|
|
2803
2807
|
"type": "array",
|
|
2808
|
+
"items": false,
|
|
2804
2809
|
"prefixItems": [
|
|
2805
2810
|
{
|
|
2806
2811
|
"type": "string"
|
|
@@ -2812,6 +2817,7 @@
|
|
|
2812
2817
|
},
|
|
2813
2818
|
"verifiableCredentials": {
|
|
2814
2819
|
"type": "array",
|
|
2820
|
+
"items": false,
|
|
2815
2821
|
"description": "The verifiable credentials to include in the presentation.",
|
|
2816
2822
|
"prefixItems": [
|
|
2817
2823
|
{
|
|
@@ -2820,7 +2826,7 @@
|
|
|
2820
2826
|
"type": "string"
|
|
2821
2827
|
},
|
|
2822
2828
|
{
|
|
2823
|
-
"$ref": "https://schema.twindev.org/did/DidVerifiableCredential"
|
|
2829
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
2824
2830
|
}
|
|
2825
2831
|
]
|
|
2826
2832
|
}
|
|
@@ -2841,7 +2847,7 @@
|
|
|
2841
2847
|
"type": "object",
|
|
2842
2848
|
"properties": {
|
|
2843
2849
|
"verifiablePresentation": {
|
|
2844
|
-
"$ref": "https://schema.twindev.org/did/DidVerifiablePresentation"
|
|
2850
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiablePresentation"
|
|
2845
2851
|
},
|
|
2846
2852
|
"jwt": {
|
|
2847
2853
|
"type": "string",
|
|
@@ -2863,14 +2869,15 @@
|
|
|
2863
2869
|
"description": "Has the presentation been revoked."
|
|
2864
2870
|
},
|
|
2865
2871
|
"verifiablePresentation": {
|
|
2866
|
-
"$ref": "https://schema.twindev.org/did/DidVerifiablePresentation"
|
|
2872
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiablePresentation"
|
|
2867
2873
|
},
|
|
2868
2874
|
"issuers": {
|
|
2869
2875
|
"type": "array",
|
|
2876
|
+
"items": false,
|
|
2870
2877
|
"description": "The issuers of the presentation.",
|
|
2871
2878
|
"prefixItems": [
|
|
2872
2879
|
{
|
|
2873
|
-
"$ref": "https://schema.twindev.org/did/DidDocument"
|
|
2880
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidDocument"
|
|
2874
2881
|
}
|
|
2875
2882
|
]
|
|
2876
2883
|
}
|
|
@@ -2885,7 +2892,7 @@
|
|
|
2885
2892
|
"type": "object",
|
|
2886
2893
|
"properties": {
|
|
2887
2894
|
"verificationMethodType": {
|
|
2888
|
-
"$ref": "https://schema.twindev.org/did/DidVerificationMethodType"
|
|
2895
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerificationMethodType"
|
|
2889
2896
|
},
|
|
2890
2897
|
"verificationMethodId": {
|
|
2891
2898
|
"type": "string",
|
|
@@ -2898,6 +2905,285 @@
|
|
|
2898
2905
|
"additionalProperties": false,
|
|
2899
2906
|
"description": "The data for the request."
|
|
2900
2907
|
},
|
|
2908
|
+
"JsonLdDocument": {
|
|
2909
|
+
"type": "object",
|
|
2910
|
+
"properties": {
|
|
2911
|
+
"@context": {
|
|
2912
|
+
"anyOf": [
|
|
2913
|
+
{
|
|
2914
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2915
|
+
},
|
|
2916
|
+
{
|
|
2917
|
+
"type": "array",
|
|
2918
|
+
"items": false,
|
|
2919
|
+
"prefixItems": [
|
|
2920
|
+
{
|
|
2921
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2922
|
+
}
|
|
2923
|
+
]
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
2930
|
+
},
|
|
2931
|
+
{
|
|
2932
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
2936
|
+
},
|
|
2937
|
+
{
|
|
2938
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionRoot"
|
|
2942
|
+
}
|
|
2943
|
+
]
|
|
2944
|
+
},
|
|
2945
|
+
"@id": {
|
|
2946
|
+
"anyOf": [
|
|
2947
|
+
{
|
|
2948
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"type": "array",
|
|
2952
|
+
"items": false,
|
|
2953
|
+
"prefixItems": [
|
|
2954
|
+
{
|
|
2955
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2956
|
+
}
|
|
2957
|
+
]
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
2964
|
+
},
|
|
2965
|
+
{
|
|
2966
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2967
|
+
},
|
|
2968
|
+
{
|
|
2969
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
2973
|
+
}
|
|
2974
|
+
]
|
|
2975
|
+
},
|
|
2976
|
+
"@included": {
|
|
2977
|
+
"anyOf": [
|
|
2978
|
+
{
|
|
2979
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"type": "array",
|
|
2983
|
+
"items": false,
|
|
2984
|
+
"prefixItems": [
|
|
2985
|
+
{
|
|
2986
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
2987
|
+
}
|
|
2988
|
+
]
|
|
2989
|
+
},
|
|
2990
|
+
{
|
|
2991
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3004
|
+
}
|
|
3005
|
+
]
|
|
3006
|
+
},
|
|
3007
|
+
"@graph": {
|
|
3008
|
+
"anyOf": [
|
|
3009
|
+
{
|
|
3010
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
"type": "array",
|
|
3014
|
+
"items": false,
|
|
3015
|
+
"prefixItems": [
|
|
3016
|
+
{
|
|
3017
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3018
|
+
}
|
|
3019
|
+
]
|
|
3020
|
+
},
|
|
3021
|
+
{
|
|
3022
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
3029
|
+
},
|
|
3030
|
+
{
|
|
3031
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"type": "array",
|
|
3044
|
+
"items": false,
|
|
3045
|
+
"prefixItems": [
|
|
3046
|
+
{
|
|
3047
|
+
"anyOf": [
|
|
3048
|
+
{
|
|
3049
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
|
|
3050
|
+
},
|
|
3051
|
+
{
|
|
3052
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
3053
|
+
}
|
|
3054
|
+
]
|
|
3055
|
+
}
|
|
3056
|
+
]
|
|
3057
|
+
}
|
|
3058
|
+
]
|
|
3059
|
+
},
|
|
3060
|
+
"@nest": {
|
|
3061
|
+
"anyOf": [
|
|
3062
|
+
{
|
|
3063
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3064
|
+
},
|
|
3065
|
+
{
|
|
3066
|
+
"type": "array",
|
|
3067
|
+
"items": false,
|
|
3068
|
+
"prefixItems": [
|
|
3069
|
+
{
|
|
3070
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3071
|
+
}
|
|
3072
|
+
]
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
3076
|
+
},
|
|
3077
|
+
{
|
|
3078
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3085
|
+
},
|
|
3086
|
+
{
|
|
3087
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3088
|
+
}
|
|
3089
|
+
]
|
|
3090
|
+
},
|
|
3091
|
+
"@type": {
|
|
3092
|
+
"anyOf": [
|
|
3093
|
+
{
|
|
3094
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3095
|
+
},
|
|
3096
|
+
{
|
|
3097
|
+
"type": "array",
|
|
3098
|
+
"items": false,
|
|
3099
|
+
"prefixItems": [
|
|
3100
|
+
{
|
|
3101
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3102
|
+
}
|
|
3103
|
+
]
|
|
3104
|
+
},
|
|
3105
|
+
{
|
|
3106
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
3107
|
+
},
|
|
3108
|
+
{
|
|
3109
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3119
|
+
}
|
|
3120
|
+
]
|
|
3121
|
+
},
|
|
3122
|
+
"@reverse": {
|
|
3123
|
+
"anyOf": [
|
|
3124
|
+
{
|
|
3125
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"type": "array",
|
|
3129
|
+
"items": false,
|
|
3130
|
+
"prefixItems": [
|
|
3131
|
+
{
|
|
3132
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3133
|
+
}
|
|
3134
|
+
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
3138
|
+
},
|
|
3139
|
+
{
|
|
3140
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
3141
|
+
},
|
|
3142
|
+
{
|
|
3143
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3147
|
+
},
|
|
3148
|
+
{
|
|
3149
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3150
|
+
}
|
|
3151
|
+
]
|
|
3152
|
+
},
|
|
3153
|
+
"@index": {
|
|
3154
|
+
"anyOf": [
|
|
3155
|
+
{
|
|
3156
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"type": "array",
|
|
3160
|
+
"items": false,
|
|
3161
|
+
"prefixItems": [
|
|
3162
|
+
{
|
|
3163
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodePrimitive"
|
|
3164
|
+
}
|
|
3165
|
+
]
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdLanguageMap"
|
|
3169
|
+
},
|
|
3170
|
+
{
|
|
3171
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIndexMap"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIncludedBlock"
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdIdMap"
|
|
3178
|
+
},
|
|
3179
|
+
{
|
|
3180
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdTypeMap"
|
|
3181
|
+
}
|
|
3182
|
+
]
|
|
3183
|
+
}
|
|
3184
|
+
},
|
|
3185
|
+
"additionalProperties": false
|
|
3186
|
+
},
|
|
2901
3187
|
"NotFoundResponse": {
|
|
2902
3188
|
"type": "object",
|
|
2903
3189
|
"additionalProperties": false,
|
|
@@ -2927,7 +3213,7 @@
|
|
|
2927
3213
|
"type": "string",
|
|
2928
3214
|
"description": "The stack trace for the error."
|
|
2929
3215
|
},
|
|
2930
|
-
"
|
|
3216
|
+
"cause": {
|
|
2931
3217
|
"$ref": "#/components/schemas/Error"
|
|
2932
3218
|
}
|
|
2933
3219
|
},
|
|
@@ -2936,6 +3222,11 @@
|
|
|
2936
3222
|
"name"
|
|
2937
3223
|
],
|
|
2938
3224
|
"description": "The body which contains the error."
|
|
3225
|
+
},
|
|
3226
|
+
"ProofSignerVerifier": {
|
|
3227
|
+
"type": "object",
|
|
3228
|
+
"additionalProperties": false,
|
|
3229
|
+
"description": "Interface describing a proof signer and verifier."
|
|
2939
3230
|
}
|
|
2940
3231
|
},
|
|
2941
3232
|
"securitySchemes": {
|
|
@@ -38,14 +38,6 @@ The dependencies for the identity profile service.
|
|
|
38
38
|
|
|
39
39
|
## Properties
|
|
40
40
|
|
|
41
|
-
### NAMESPACE
|
|
42
|
-
|
|
43
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"identity-profile"`
|
|
44
|
-
|
|
45
|
-
The namespace supported by the identity profile service.
|
|
46
|
-
|
|
47
|
-
***
|
|
48
|
-
|
|
49
41
|
### CLASS\_NAME
|
|
50
42
|
|
|
51
43
|
> `readonly` **CLASS\_NAME**: `string`
|
|
@@ -28,14 +28,6 @@ The options for the service.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"identity-resolver"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the identity service.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
|
@@ -28,14 +28,6 @@ The options for the service.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### NAMESPACE
|
|
32
|
-
|
|
33
|
-
> `readonly` `static` **NAMESPACE**: `string` = `"identity"`
|
|
34
|
-
|
|
35
|
-
The namespace supported by the identity service.
|
|
36
|
-
|
|
37
|
-
***
|
|
38
|
-
|
|
39
31
|
### CLASS\_NAME
|
|
40
32
|
|
|
41
33
|
> `readonly` **CLASS\_NAME**: `string`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/identity-service",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2-next.2",
|
|
4
4
|
"description": "Identity contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-models": "
|
|
18
|
-
"@twin.org/core": "
|
|
19
|
-
"@twin.org/crypto": "
|
|
20
|
-
"@twin.org/data-core": "
|
|
21
|
-
"@twin.org/data-json-ld": "
|
|
22
|
-
"@twin.org/entity": "
|
|
23
|
-
"@twin.org/entity-storage-connector-memory": "
|
|
24
|
-
"@twin.org/entity-storage-models": "
|
|
25
|
-
"@twin.org/identity-connector-entity-storage": "
|
|
26
|
-
"@twin.org/identity-models": "
|
|
27
|
-
"@twin.org/standards-w3c-did": "
|
|
28
|
-
"@twin.org/vault-connector-entity-storage": "
|
|
29
|
-
"@twin.org/vault-models": "
|
|
30
|
-
"@twin.org/web": "
|
|
17
|
+
"@twin.org/api-models": "next",
|
|
18
|
+
"@twin.org/core": "next",
|
|
19
|
+
"@twin.org/crypto": "next",
|
|
20
|
+
"@twin.org/data-core": "next",
|
|
21
|
+
"@twin.org/data-json-ld": "next",
|
|
22
|
+
"@twin.org/entity": "next",
|
|
23
|
+
"@twin.org/entity-storage-connector-memory": "next",
|
|
24
|
+
"@twin.org/entity-storage-models": "next",
|
|
25
|
+
"@twin.org/identity-connector-entity-storage": "0.0.2-next.2",
|
|
26
|
+
"@twin.org/identity-models": "0.0.2-next.2",
|
|
27
|
+
"@twin.org/standards-w3c-did": "next",
|
|
28
|
+
"@twin.org/vault-connector-entity-storage": "next",
|
|
29
|
+
"@twin.org/vault-models": "next",
|
|
30
|
+
"@twin.org/web": "next"
|
|
31
31
|
},
|
|
32
32
|
"main": "./dist/cjs/index.cjs",
|
|
33
33
|
"module": "./dist/esm/index.mjs",
|