@twin.org/identity-models 0.0.1-next.45 → 0.0.1-next.47
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/docs/changelog.md +21 -0
- package/docs/reference/interfaces/IIdentityComponent.md +4 -4
- package/docs/reference/interfaces/IIdentityConnector.md +4 -4
- package/docs/reference/interfaces/IIdentityProfileComponent.md +4 -4
- package/docs/reference/interfaces/IIdentityProfileConnector.md +2 -2
- package/package.json +1 -1
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @twin.org/identity-service-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.47](https://github.com/twinfoundation/identity/compare/identity-models-v0.0.1-next.46...identity-models-v0.0.1-next.47) (2025-06-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* identity key separator use slash ([1319d0d](https://github.com/twinfoundation/identity/commit/1319d0d07164a36b3ec279e6421b8835ffefc3d3))
|
|
9
|
+
|
|
10
|
+
## [0.0.1-next.46](https://github.com/twinfoundation/identity/compare/identity-models-v0.0.1-next.45...identity-models-v0.0.1-next.46) (2025-05-20)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* Import path and bump version ([#21](https://github.com/twinfoundation/identity/issues/21)) ([ccea845](https://github.com/twinfoundation/identity/commit/ccea845bf32562267280bc1b3dde1c9af1a00360))
|
|
21
|
+
* Install sdk-wasm ([#20](https://github.com/twinfoundation/identity/issues/20)) ([75ec14e](https://github.com/twinfoundation/identity/commit/75ec14e072f8c219863a1c028a3b0783802086e9))
|
|
22
|
+
* Use resolver component ([#22](https://github.com/twinfoundation/identity/issues/22)) ([d0b3a32](https://github.com/twinfoundation/identity/commit/d0b3a321c7f9f966d397a880d752e9f2c0a98a27))
|
|
23
|
+
|
|
3
24
|
## [0.0.1-next.45](https://github.com/twinfoundation/identity/compare/identity-models-v0.0.1-next.44...identity-models-v0.0.1-next.45) (2025-05-06)
|
|
4
25
|
|
|
5
26
|
|
|
@@ -254,7 +254,7 @@ NotFoundError if the id can not be resolved.
|
|
|
254
254
|
|
|
255
255
|
### verifiableCredentialVerify()
|
|
256
256
|
|
|
257
|
-
> **verifiableCredentialVerify**(`credentialJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiableCredential
|
|
257
|
+
> **verifiableCredentialVerify**(`credentialJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiableCredential?`: `IDidVerifiableCredential`; \}\>
|
|
258
258
|
|
|
259
259
|
Verify a verifiable credential is valid.
|
|
260
260
|
|
|
@@ -268,7 +268,7 @@ The credential to verify.
|
|
|
268
268
|
|
|
269
269
|
#### Returns
|
|
270
270
|
|
|
271
|
-
`Promise`\<\{ `revoked`: `boolean`; `verifiableCredential
|
|
271
|
+
`Promise`\<\{ `revoked`: `boolean`; `verifiableCredential?`: `IDidVerifiableCredential`; \}\>
|
|
272
272
|
|
|
273
273
|
The credential stored in the jwt and the revocation status.
|
|
274
274
|
|
|
@@ -406,7 +406,7 @@ NotFoundError if the id can not be resolved.
|
|
|
406
406
|
|
|
407
407
|
### verifiablePresentationVerify()
|
|
408
408
|
|
|
409
|
-
> **verifiablePresentationVerify**(`presentationJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation
|
|
409
|
+
> **verifiablePresentationVerify**(`presentationJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation?`: `IDidVerifiablePresentation`; `issuers?`: `IDidDocument`[]; \}\>
|
|
410
410
|
|
|
411
411
|
Verify a verifiable presentation is valid.
|
|
412
412
|
|
|
@@ -420,7 +420,7 @@ The presentation to verify.
|
|
|
420
420
|
|
|
421
421
|
#### Returns
|
|
422
422
|
|
|
423
|
-
`Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation
|
|
423
|
+
`Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation?`: `IDidVerifiablePresentation`; `issuers?`: `IDidDocument`[]; \}\>
|
|
424
424
|
|
|
425
425
|
The presentation stored in the jwt and the revocation status.
|
|
426
426
|
|
|
@@ -248,7 +248,7 @@ NotFoundError if the id can not be resolved.
|
|
|
248
248
|
|
|
249
249
|
### checkVerifiableCredential()
|
|
250
250
|
|
|
251
|
-
> **checkVerifiableCredential**(`credentialJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiableCredential
|
|
251
|
+
> **checkVerifiableCredential**(`credentialJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiableCredential?`: `IDidVerifiableCredential`; \}\>
|
|
252
252
|
|
|
253
253
|
Check a verifiable credential is valid.
|
|
254
254
|
|
|
@@ -262,7 +262,7 @@ The credential to verify.
|
|
|
262
262
|
|
|
263
263
|
#### Returns
|
|
264
264
|
|
|
265
|
-
`Promise`\<\{ `revoked`: `boolean`; `verifiableCredential
|
|
265
|
+
`Promise`\<\{ `revoked`: `boolean`; `verifiableCredential?`: `IDidVerifiableCredential`; \}\>
|
|
266
266
|
|
|
267
267
|
The credential stored in the jwt and the revocation status.
|
|
268
268
|
|
|
@@ -400,7 +400,7 @@ NotFoundError if the id can not be resolved.
|
|
|
400
400
|
|
|
401
401
|
### checkVerifiablePresentation()
|
|
402
402
|
|
|
403
|
-
> **checkVerifiablePresentation**(`presentationJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation
|
|
403
|
+
> **checkVerifiablePresentation**(`presentationJwt`): `Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation?`: `IDidVerifiablePresentation`; `issuers?`: `IDidDocument`[]; \}\>
|
|
404
404
|
|
|
405
405
|
Check a verifiable presentation is valid.
|
|
406
406
|
|
|
@@ -414,7 +414,7 @@ The presentation to verify.
|
|
|
414
414
|
|
|
415
415
|
#### Returns
|
|
416
416
|
|
|
417
|
-
`Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation
|
|
417
|
+
`Promise`\<\{ `revoked`: `boolean`; `verifiablePresentation?`: `IDidVerifiablePresentation`; `issuers?`: `IDidDocument`[]; \}\>
|
|
418
418
|
|
|
419
419
|
The presentation stored in the jwt and the revocation status.
|
|
420
420
|
|
|
@@ -54,7 +54,7 @@ Nothing.
|
|
|
54
54
|
|
|
55
55
|
### get()
|
|
56
56
|
|
|
57
|
-
> **get**(`publicPropertyNames?`, `privatePropertyNames?`, `identity?`): `Promise`\<\{ `identity`: `string`; `publicProfile
|
|
57
|
+
> **get**(`publicPropertyNames?`, `privatePropertyNames?`, `identity?`): `Promise`\<\{ `identity`: `string`; `publicProfile?`: `Partial`\<`T`\>; `privateProfile?`: `Partial`\<`U`\>; \}\>
|
|
58
58
|
|
|
59
59
|
Get the profile properties for an identity.
|
|
60
60
|
|
|
@@ -80,7 +80,7 @@ The identity to perform the profile operation on.
|
|
|
80
80
|
|
|
81
81
|
#### Returns
|
|
82
82
|
|
|
83
|
-
`Promise`\<\{ `identity`: `string`; `publicProfile
|
|
83
|
+
`Promise`\<\{ `identity`: `string`; `publicProfile?`: `Partial`\<`T`\>; `privateProfile?`: `Partial`\<`U`\>; \}\>
|
|
84
84
|
|
|
85
85
|
The items identity and the properties.
|
|
86
86
|
|
|
@@ -172,7 +172,7 @@ Nothing.
|
|
|
172
172
|
|
|
173
173
|
### list()
|
|
174
174
|
|
|
175
|
-
> **list**(`publicFilters?`, `publicPropertyNames?`, `cursor?`, `pageSize?`): `Promise`\<\{ `items`: `object`[]; `cursor
|
|
175
|
+
> **list**(`publicFilters?`, `publicPropertyNames?`, `cursor?`, `pageSize?`): `Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
|
|
176
176
|
|
|
177
177
|
Get a list of the requested identities.
|
|
178
178
|
|
|
@@ -204,6 +204,6 @@ The maximum number of items in a page.
|
|
|
204
204
|
|
|
205
205
|
#### Returns
|
|
206
206
|
|
|
207
|
-
`Promise`\<\{ `items`: `object`[]; `cursor
|
|
207
|
+
`Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
|
|
208
208
|
|
|
209
209
|
The list of items and cursor for paging.
|
|
@@ -144,7 +144,7 @@ Nothing.
|
|
|
144
144
|
|
|
145
145
|
### list()
|
|
146
146
|
|
|
147
|
-
> **list**(`publicFilters?`, `privateFilters?`, `publicPropertyNames?`, `privatePropertyNames?`, `cursor?`, `pageSize?`): `Promise`\<\{ `items`: `object`[]; `cursor
|
|
147
|
+
> **list**(`publicFilters?`, `privateFilters?`, `publicPropertyNames?`, `privatePropertyNames?`, `cursor?`, `pageSize?`): `Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
|
|
148
148
|
|
|
149
149
|
Get a list of the requested identities.
|
|
150
150
|
|
|
@@ -188,6 +188,6 @@ The maximum number of items in a page.
|
|
|
188
188
|
|
|
189
189
|
#### Returns
|
|
190
190
|
|
|
191
|
-
`Promise`\<\{ `items`: `object`[]; `cursor
|
|
191
|
+
`Promise`\<\{ `items`: `object`[]; `cursor?`: `string`; \}\>
|
|
192
192
|
|
|
193
193
|
The list of items and cursor for paging.
|