@twin.org/identity-rest-client 0.0.2-next.9 → 0.0.3-next.10
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/identityProfileRestClient.js +125 -0
- package/dist/es/identityProfileRestClient.js.map +1 -0
- package/dist/es/identityResolverRestClient.js +42 -0
- package/dist/es/identityResolverRestClient.js.map +1 -0
- package/dist/{esm/index.mjs → es/identityRestClient.js} +16 -160
- package/dist/es/identityRestClient.js.map +1 -0
- package/dist/es/index.js +6 -0
- package/dist/es/index.js.map +1 -0
- package/dist/types/identityProfileRestClient.d.ts +6 -1
- package/dist/types/identityResolverRestClient.d.ts +6 -1
- package/dist/types/identityRestClient.d.ts +6 -1
- package/dist/types/index.d.ts +3 -3
- package/docs/changelog.md +183 -0
- package/docs/reference/classes/IdentityProfileRestClient.md +19 -1
- package/docs/reference/classes/IdentityResolverRestClient.md +19 -1
- package/docs/reference/classes/IdentityRestClient.md +23 -5
- package/package.json +6 -8
- package/dist/cjs/index.cjs +0 -469
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,188 @@
|
|
|
1
1
|
# @twin.org/identity-rest-client - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.10](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.9...identity-rest-client-v0.0.3-next.10) (2026-01-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/identity-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.9](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.8...identity-rest-client-v0.0.3-next.9) (2026-01-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/identity-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.8](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.7...identity-rest-client-v0.0.3-next.8) (2026-01-14)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
* The following workspace dependencies were updated
|
|
42
|
+
* dependencies
|
|
43
|
+
* @twin.org/identity-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
44
|
+
|
|
45
|
+
## [0.0.3-next.7](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.6...identity-rest-client-v0.0.3-next.7) (2026-01-13)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Miscellaneous Chores
|
|
49
|
+
|
|
50
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Dependencies
|
|
54
|
+
|
|
55
|
+
* The following workspace dependencies were updated
|
|
56
|
+
* dependencies
|
|
57
|
+
* @twin.org/identity-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
58
|
+
|
|
59
|
+
## [0.0.3-next.6](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.5...identity-rest-client-v0.0.3-next.6) (2025-11-26)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Miscellaneous Chores
|
|
63
|
+
|
|
64
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Dependencies
|
|
68
|
+
|
|
69
|
+
* The following workspace dependencies were updated
|
|
70
|
+
* dependencies
|
|
71
|
+
* @twin.org/identity-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
72
|
+
|
|
73
|
+
## [0.0.3-next.5](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.4...identity-rest-client-v0.0.3-next.5) (2025-11-20)
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Miscellaneous Chores
|
|
77
|
+
|
|
78
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Dependencies
|
|
82
|
+
|
|
83
|
+
* The following workspace dependencies were updated
|
|
84
|
+
* dependencies
|
|
85
|
+
* @twin.org/identity-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
86
|
+
|
|
87
|
+
## [0.0.3-next.4](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.3...identity-rest-client-v0.0.3-next.4) (2025-11-17)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
* add context id features ([#62](https://github.com/twinfoundation/identity/issues/62)) ([e02ecca](https://github.com/twinfoundation/identity/commit/e02ecca9c45a849104bfbf7bc18a1f44e6eea8a1))
|
|
93
|
+
* add expiration date option to vc creation ([73e05e1](https://github.com/twinfoundation/identity/commit/73e05e1ae61112c7e056889969751f4ff82d9f29))
|
|
94
|
+
* add identity remove ([eebc13f](https://github.com/twinfoundation/identity/commit/eebc13f4c2cd994d2d9cce4da2128fb346c80ba7))
|
|
95
|
+
* add validate-locales ([04d74b4](https://github.com/twinfoundation/identity/commit/04d74b4d1ebe42672e8ca75a7bdb8e3556afd0be))
|
|
96
|
+
* eslint migration to flat config ([fd6246d](https://github.com/twinfoundation/identity/commit/fd6246d566280b6d5d10a108eb1e92c4b510f2f2))
|
|
97
|
+
* identity key separator use slash ([1319d0d](https://github.com/twinfoundation/identity/commit/1319d0d07164a36b3ec279e6421b8835ffefc3d3))
|
|
98
|
+
* update framework core ([c824497](https://github.com/twinfoundation/identity/commit/c82449709af0215eb7af496cf687c93fb30b5ae0))
|
|
99
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Bug Fixes
|
|
103
|
+
|
|
104
|
+
* Import path and bump version ([#21](https://github.com/twinfoundation/identity/issues/21)) ([ccea845](https://github.com/twinfoundation/identity/commit/ccea845bf32562267280bc1b3dde1c9af1a00360))
|
|
105
|
+
* Install sdk-wasm ([#20](https://github.com/twinfoundation/identity/issues/20)) ([75ec14e](https://github.com/twinfoundation/identity/commit/75ec14e072f8c219863a1c028a3b0783802086e9))
|
|
106
|
+
* query params force coercion ([d9347d2](https://github.com/twinfoundation/identity/commit/d9347d29d4a9cc58759f30f5d8526de864ea7522))
|
|
107
|
+
* stricter pathParam types ([a174cdf](https://github.com/twinfoundation/identity/commit/a174cdf0ca4272bee35fcf20ab7e8e4e17b8b6f4))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
### Dependencies
|
|
111
|
+
|
|
112
|
+
* The following workspace dependencies were updated
|
|
113
|
+
* dependencies
|
|
114
|
+
* @twin.org/identity-models bumped from 0.0.3-next.3 to 0.0.3-next.4
|
|
115
|
+
|
|
116
|
+
## [0.0.3-next.3](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.2...identity-rest-client-v0.0.3-next.3) (2025-11-17)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Miscellaneous Chores
|
|
120
|
+
|
|
121
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
### Dependencies
|
|
125
|
+
|
|
126
|
+
* The following workspace dependencies were updated
|
|
127
|
+
* dependencies
|
|
128
|
+
* @twin.org/identity-models bumped from 0.0.3-next.2 to 0.0.3-next.3
|
|
129
|
+
|
|
130
|
+
## [0.0.3-next.2](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.1...identity-rest-client-v0.0.3-next.2) (2025-11-14)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### Miscellaneous Chores
|
|
134
|
+
|
|
135
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
### Dependencies
|
|
139
|
+
|
|
140
|
+
* The following workspace dependencies were updated
|
|
141
|
+
* dependencies
|
|
142
|
+
* @twin.org/identity-models bumped from 0.0.3-next.1 to 0.0.3-next.2
|
|
143
|
+
|
|
144
|
+
## [0.0.3-next.1](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.3-next.0...identity-rest-client-v0.0.3-next.1) (2025-11-11)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
* add context id features ([#62](https://github.com/twinfoundation/identity/issues/62)) ([e02ecca](https://github.com/twinfoundation/identity/commit/e02ecca9c45a849104bfbf7bc18a1f44e6eea8a1))
|
|
150
|
+
* add expiration date option to vc creation ([73e05e1](https://github.com/twinfoundation/identity/commit/73e05e1ae61112c7e056889969751f4ff82d9f29))
|
|
151
|
+
* add identity remove ([eebc13f](https://github.com/twinfoundation/identity/commit/eebc13f4c2cd994d2d9cce4da2128fb346c80ba7))
|
|
152
|
+
* add validate-locales ([04d74b4](https://github.com/twinfoundation/identity/commit/04d74b4d1ebe42672e8ca75a7bdb8e3556afd0be))
|
|
153
|
+
* eslint migration to flat config ([fd6246d](https://github.com/twinfoundation/identity/commit/fd6246d566280b6d5d10a108eb1e92c4b510f2f2))
|
|
154
|
+
* identity key separator use slash ([1319d0d](https://github.com/twinfoundation/identity/commit/1319d0d07164a36b3ec279e6421b8835ffefc3d3))
|
|
155
|
+
* update framework core ([c824497](https://github.com/twinfoundation/identity/commit/c82449709af0215eb7af496cf687c93fb30b5ae0))
|
|
156
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
* Import path and bump version ([#21](https://github.com/twinfoundation/identity/issues/21)) ([ccea845](https://github.com/twinfoundation/identity/commit/ccea845bf32562267280bc1b3dde1c9af1a00360))
|
|
162
|
+
* Install sdk-wasm ([#20](https://github.com/twinfoundation/identity/issues/20)) ([75ec14e](https://github.com/twinfoundation/identity/commit/75ec14e072f8c219863a1c028a3b0783802086e9))
|
|
163
|
+
* query params force coercion ([d9347d2](https://github.com/twinfoundation/identity/commit/d9347d29d4a9cc58759f30f5d8526de864ea7522))
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
### Dependencies
|
|
167
|
+
|
|
168
|
+
* The following workspace dependencies were updated
|
|
169
|
+
* dependencies
|
|
170
|
+
* @twin.org/identity-models bumped from 0.0.3-next.0 to 0.0.3-next.1
|
|
171
|
+
|
|
172
|
+
## [0.0.2-next.10](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.2-next.9...identity-rest-client-v0.0.2-next.10) (2025-10-27)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Miscellaneous Chores
|
|
176
|
+
|
|
177
|
+
* **identity-rest-client:** Synchronize repo versions
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
### Dependencies
|
|
181
|
+
|
|
182
|
+
* The following workspace dependencies were updated
|
|
183
|
+
* dependencies
|
|
184
|
+
* @twin.org/identity-models bumped from 0.0.2-next.9 to 0.0.2-next.10
|
|
185
|
+
|
|
3
186
|
## [0.0.2-next.9](https://github.com/twinfoundation/identity/compare/identity-rest-client-v0.0.2-next.8...identity-rest-client-v0.0.2-next.9) (2025-10-09)
|
|
4
187
|
|
|
5
188
|
|
|
@@ -26,7 +26,7 @@ Client for performing identity through to REST endpoints.
|
|
|
26
26
|
|
|
27
27
|
> **new IdentityProfileRestClient**\<`T`, `U`\>(`config`): `IdentityProfileRestClient`\<`T`, `U`\>
|
|
28
28
|
|
|
29
|
-
Create a new instance of
|
|
29
|
+
Create a new instance of IdentityProfileRestClient.
|
|
30
30
|
|
|
31
31
|
#### Parameters
|
|
32
32
|
|
|
@@ -54,6 +54,24 @@ Runtime name for the class.
|
|
|
54
54
|
|
|
55
55
|
## Methods
|
|
56
56
|
|
|
57
|
+
### className()
|
|
58
|
+
|
|
59
|
+
> **className**(): `string`
|
|
60
|
+
|
|
61
|
+
Returns the class name of the component.
|
|
62
|
+
|
|
63
|
+
#### Returns
|
|
64
|
+
|
|
65
|
+
`string`
|
|
66
|
+
|
|
67
|
+
The class name of the component.
|
|
68
|
+
|
|
69
|
+
#### Implementation of
|
|
70
|
+
|
|
71
|
+
`IIdentityProfileComponent.className`
|
|
72
|
+
|
|
73
|
+
***
|
|
74
|
+
|
|
57
75
|
### create()
|
|
58
76
|
|
|
59
77
|
> **create**(`publicProfile?`, `privateProfile?`): `Promise`\<`void`\>
|
|
@@ -16,7 +16,7 @@ Client for performing identity through to REST endpoints.
|
|
|
16
16
|
|
|
17
17
|
> **new IdentityResolverRestClient**(`config`): `IdentityResolverRestClient`
|
|
18
18
|
|
|
19
|
-
Create a new instance of
|
|
19
|
+
Create a new instance of IdentityResolverRestClient.
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
@@ -44,6 +44,24 @@ Runtime name for the class.
|
|
|
44
44
|
|
|
45
45
|
## Methods
|
|
46
46
|
|
|
47
|
+
### className()
|
|
48
|
+
|
|
49
|
+
> **className**(): `string`
|
|
50
|
+
|
|
51
|
+
Returns the class name of the component.
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`string`
|
|
56
|
+
|
|
57
|
+
The class name of the component.
|
|
58
|
+
|
|
59
|
+
#### Implementation of
|
|
60
|
+
|
|
61
|
+
`IIdentityResolverComponent.className`
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
47
65
|
### identityResolve()
|
|
48
66
|
|
|
49
67
|
> **identityResolve**(`documentId`): `Promise`\<`IDidDocument`\>
|
|
@@ -16,7 +16,7 @@ Client for performing identity through to REST endpoints.
|
|
|
16
16
|
|
|
17
17
|
> **new IdentityRestClient**(`config`): `IdentityRestClient`
|
|
18
18
|
|
|
19
|
-
Create a new instance of
|
|
19
|
+
Create a new instance of IdentityRestClient.
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
@@ -44,6 +44,24 @@ Runtime name for the class.
|
|
|
44
44
|
|
|
45
45
|
## Methods
|
|
46
46
|
|
|
47
|
+
### className()
|
|
48
|
+
|
|
49
|
+
> **className**(): `string`
|
|
50
|
+
|
|
51
|
+
Returns the class name of the component.
|
|
52
|
+
|
|
53
|
+
#### Returns
|
|
54
|
+
|
|
55
|
+
`string`
|
|
56
|
+
|
|
57
|
+
The class name of the component.
|
|
58
|
+
|
|
59
|
+
#### Implementation of
|
|
60
|
+
|
|
61
|
+
`IIdentityComponent.className`
|
|
62
|
+
|
|
63
|
+
***
|
|
64
|
+
|
|
47
65
|
### identityCreate()
|
|
48
66
|
|
|
49
67
|
> **identityCreate**(`namespace?`): `Promise`\<`IDidDocument`\>
|
|
@@ -272,7 +290,7 @@ The verification method id to use.
|
|
|
272
290
|
|
|
273
291
|
The id of the credential.
|
|
274
292
|
|
|
275
|
-
`
|
|
293
|
+
`string` | `undefined`
|
|
276
294
|
|
|
277
295
|
##### subject
|
|
278
296
|
|
|
@@ -420,19 +438,19 @@ The method to associate with the presentation.
|
|
|
420
438
|
|
|
421
439
|
The id of the presentation.
|
|
422
440
|
|
|
423
|
-
`
|
|
441
|
+
`string` | `undefined`
|
|
424
442
|
|
|
425
443
|
##### contexts
|
|
426
444
|
|
|
427
445
|
The contexts for the data stored in the verifiable credential.
|
|
428
446
|
|
|
429
|
-
`
|
|
447
|
+
`IJsonLdContextDefinitionRoot` | `undefined`
|
|
430
448
|
|
|
431
449
|
##### types
|
|
432
450
|
|
|
433
451
|
The types for the data stored in the verifiable credential.
|
|
434
452
|
|
|
435
|
-
`
|
|
453
|
+
`string` | `string`[] | `undefined`
|
|
436
454
|
|
|
437
455
|
##### verifiableCredentials
|
|
438
456
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/identity-rest-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3-next.10",
|
|
4
4
|
"description": "Identity contract implementation which can connect to REST endpoints",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,24 +20,22 @@
|
|
|
20
20
|
"@twin.org/data-core": "next",
|
|
21
21
|
"@twin.org/data-json-ld": "next",
|
|
22
22
|
"@twin.org/entity": "next",
|
|
23
|
-
"@twin.org/identity-models": "0.0.
|
|
23
|
+
"@twin.org/identity-models": "0.0.3-next.10",
|
|
24
24
|
"@twin.org/nameof": "next",
|
|
25
25
|
"@twin.org/standards-w3c-did": "next"
|
|
26
26
|
},
|
|
27
|
-
"main": "./dist/
|
|
28
|
-
"module": "./dist/esm/index.mjs",
|
|
27
|
+
"main": "./dist/es/index.js",
|
|
29
28
|
"types": "./dist/types/index.d.ts",
|
|
30
29
|
"exports": {
|
|
31
30
|
".": {
|
|
32
31
|
"types": "./dist/types/index.d.ts",
|
|
33
|
-
"
|
|
34
|
-
"
|
|
32
|
+
"import": "./dist/es/index.js",
|
|
33
|
+
"default": "./dist/es/index.js"
|
|
35
34
|
},
|
|
36
35
|
"./locales/*.json": "./locales/*.json"
|
|
37
36
|
},
|
|
38
37
|
"files": [
|
|
39
|
-
"dist/
|
|
40
|
-
"dist/esm",
|
|
38
|
+
"dist/es",
|
|
41
39
|
"dist/types",
|
|
42
40
|
"locales",
|
|
43
41
|
"docs"
|