@twin.org/identity-service 0.0.2-next.9 → 0.0.3-next.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.
- package/dist/es/identityProfileRoutes.js +389 -0
- package/dist/es/identityProfileRoutes.js.map +1 -0
- package/dist/es/identityProfileService.js +165 -0
- package/dist/es/identityProfileService.js.map +1 -0
- package/dist/es/identityResolverRoutes.js +87 -0
- package/dist/es/identityResolverRoutes.js.map +1 -0
- package/dist/es/identityResolverService.js +98 -0
- package/dist/es/identityResolverService.js.map +1 -0
- package/dist/es/identityRoutes.js +946 -0
- package/dist/es/identityRoutes.js.map +1 -0
- package/dist/es/identityService.js +391 -0
- package/dist/es/identityService.js.map +1 -0
- package/dist/es/index.js +15 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IIdentityProfileServiceConstructorOptions.js +2 -0
- package/dist/es/models/IIdentityProfileServiceConstructorOptions.js.map +1 -0
- package/dist/es/models/IIdentityResolverServiceConfig.js +4 -0
- package/dist/es/models/IIdentityResolverServiceConfig.js.map +1 -0
- package/dist/es/models/IIdentityResolverServiceConstructorOptions.js +2 -0
- package/dist/es/models/IIdentityResolverServiceConstructorOptions.js.map +1 -0
- package/dist/es/models/IIdentityServiceConfig.js +4 -0
- package/dist/es/models/IIdentityServiceConfig.js.map +1 -0
- package/dist/es/models/IIdentityServiceConstructorOptions.js +2 -0
- package/dist/es/models/IIdentityServiceConstructorOptions.js.map +1 -0
- package/dist/es/restEntryPoints.js +24 -0
- package/dist/es/restEntryPoints.js.map +1 -0
- package/dist/types/identityProfileService.d.ts +6 -1
- package/dist/types/identityResolverService.d.ts +6 -1
- package/dist/types/identityService.d.ts +6 -1
- package/dist/types/index.d.ts +12 -12
- package/dist/types/models/IIdentityResolverServiceConstructorOptions.d.ts +1 -1
- package/dist/types/models/IIdentityServiceConstructorOptions.d.ts +1 -1
- package/docs/changelog.md +50 -0
- package/docs/open-api/spec.json +161 -1335
- package/docs/reference/classes/IdentityProfileService.md +18 -0
- package/docs/reference/classes/IdentityResolverService.md +18 -0
- package/docs/reference/classes/IdentityService.md +22 -4
- package/package.json +7 -8
- package/dist/cjs/index.cjs +0 -2071
- package/dist/esm/index.mjs +0 -2039
|
@@ -46,6 +46,24 @@ Runtime name for the class.
|
|
|
46
46
|
|
|
47
47
|
## Methods
|
|
48
48
|
|
|
49
|
+
### className()
|
|
50
|
+
|
|
51
|
+
> **className**(): `string`
|
|
52
|
+
|
|
53
|
+
Returns the class name of the component.
|
|
54
|
+
|
|
55
|
+
#### Returns
|
|
56
|
+
|
|
57
|
+
`string`
|
|
58
|
+
|
|
59
|
+
The class name of the component.
|
|
60
|
+
|
|
61
|
+
#### Implementation of
|
|
62
|
+
|
|
63
|
+
`IIdentityProfileComponent.className`
|
|
64
|
+
|
|
65
|
+
***
|
|
66
|
+
|
|
49
67
|
### create()
|
|
50
68
|
|
|
51
69
|
> **create**(`publicProfile?`, `privateProfile?`, `identity?`): `Promise`\<`void`\>
|
|
@@ -36,6 +36,24 @@ Runtime name for the class.
|
|
|
36
36
|
|
|
37
37
|
## Methods
|
|
38
38
|
|
|
39
|
+
### className()
|
|
40
|
+
|
|
41
|
+
> **className**(): `string`
|
|
42
|
+
|
|
43
|
+
Returns the class name of the component.
|
|
44
|
+
|
|
45
|
+
#### Returns
|
|
46
|
+
|
|
47
|
+
`string`
|
|
48
|
+
|
|
49
|
+
The class name of the component.
|
|
50
|
+
|
|
51
|
+
#### Implementation of
|
|
52
|
+
|
|
53
|
+
`IIdentityResolverComponent.className`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
39
57
|
### identityResolve()
|
|
40
58
|
|
|
41
59
|
> **identityResolve**(`identity`): `Promise`\<`IDidDocument`\>
|
|
@@ -36,6 +36,24 @@ Runtime name for the class.
|
|
|
36
36
|
|
|
37
37
|
## Methods
|
|
38
38
|
|
|
39
|
+
### className()
|
|
40
|
+
|
|
41
|
+
> **className**(): `string`
|
|
42
|
+
|
|
43
|
+
Returns the class name of the component.
|
|
44
|
+
|
|
45
|
+
#### Returns
|
|
46
|
+
|
|
47
|
+
`string`
|
|
48
|
+
|
|
49
|
+
The class name of the component.
|
|
50
|
+
|
|
51
|
+
#### Implementation of
|
|
52
|
+
|
|
53
|
+
`IIdentityComponent.className`
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
39
57
|
### identityCreate()
|
|
40
58
|
|
|
41
59
|
> **identityCreate**(`namespace?`, `controller?`): `Promise`\<`IDidDocument`\>
|
|
@@ -300,7 +318,7 @@ The verification method id to use.
|
|
|
300
318
|
|
|
301
319
|
The id of the credential.
|
|
302
320
|
|
|
303
|
-
`
|
|
321
|
+
`string` | `undefined`
|
|
304
322
|
|
|
305
323
|
##### subject
|
|
306
324
|
|
|
@@ -466,19 +484,19 @@ The method to associate with the presentation.
|
|
|
466
484
|
|
|
467
485
|
The id of the presentation.
|
|
468
486
|
|
|
469
|
-
`
|
|
487
|
+
`string` | `undefined`
|
|
470
488
|
|
|
471
489
|
##### contexts
|
|
472
490
|
|
|
473
491
|
The contexts for the data stored in the verifiable credential.
|
|
474
492
|
|
|
475
|
-
`
|
|
493
|
+
`IJsonLdContextDefinitionRoot` | `undefined`
|
|
476
494
|
|
|
477
495
|
##### types
|
|
478
496
|
|
|
479
497
|
The types for the data stored in the verifiable credential.
|
|
480
498
|
|
|
481
|
-
`
|
|
499
|
+
`string` | `string`[] | `undefined`
|
|
482
500
|
|
|
483
501
|
##### verifiableCredentials
|
|
484
502
|
|
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.3-next.1",
|
|
4
4
|
"description": "Identity contract implementation and REST endpoint definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,31 +15,30 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@twin.org/api-models": "next",
|
|
18
|
+
"@twin.org/context": "next",
|
|
18
19
|
"@twin.org/core": "next",
|
|
19
20
|
"@twin.org/crypto": "next",
|
|
20
21
|
"@twin.org/data-core": "next",
|
|
21
22
|
"@twin.org/data-json-ld": "next",
|
|
22
23
|
"@twin.org/entity": "next",
|
|
23
24
|
"@twin.org/entity-storage-models": "next",
|
|
24
|
-
"@twin.org/identity-models": "0.0.
|
|
25
|
+
"@twin.org/identity-models": "0.0.3-next.1",
|
|
25
26
|
"@twin.org/standards-w3c-did": "next",
|
|
26
27
|
"@twin.org/vault-models": "next",
|
|
27
28
|
"@twin.org/web": "next"
|
|
28
29
|
},
|
|
29
|
-
"main": "./dist/
|
|
30
|
-
"module": "./dist/esm/index.mjs",
|
|
30
|
+
"main": "./dist/es/index.js",
|
|
31
31
|
"types": "./dist/types/index.d.ts",
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
34
34
|
"types": "./dist/types/index.d.ts",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"import": "./dist/es/index.js",
|
|
36
|
+
"default": "./dist/es/index.js"
|
|
37
37
|
},
|
|
38
38
|
"./locales/*.json": "./locales/*.json"
|
|
39
39
|
},
|
|
40
40
|
"files": [
|
|
41
|
-
"dist/
|
|
42
|
-
"dist/esm",
|
|
41
|
+
"dist/es",
|
|
43
42
|
"dist/types",
|
|
44
43
|
"locales",
|
|
45
44
|
"docs"
|