@twin.org/identity-connector-entity-storage 0.0.1-next.41 → 0.0.1-next.42

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/identity-connector-entity-storage- Changelog
2
2
 
3
+ ## [0.0.1-next.42](https://github.com/twinfoundation/identity/compare/identity-connector-entity-storage-v0.0.1-next.41...identity-connector-entity-storage-v0.0.1-next.42) (2025-04-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * use shared store mechanism ([#27](https://github.com/twinfoundation/identity/issues/27)) ([ce41f3f](https://github.com/twinfoundation/identity/commit/ce41f3fc3da1b206ec06da7ea5b2c968f788804d))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/identity-models bumped from 0.0.1-next.41 to 0.0.1-next.42
16
+
3
17
  ## [0.0.1-next.41](https://github.com/twinfoundation/identity/compare/identity-connector-entity-storage-v0.0.1-next.40...identity-connector-entity-storage-v0.0.1-next.41) (2025-04-09)
4
18
 
5
19
 
@@ -8,9 +8,9 @@ Class for performing identity operations using entity storage.
8
8
 
9
9
  ## Constructors
10
10
 
11
- ### new EntityStorageIdentityConnector()
11
+ ### Constructor
12
12
 
13
- > **new EntityStorageIdentityConnector**(`options`?): [`EntityStorageIdentityConnector`](EntityStorageIdentityConnector.md)
13
+ > **new EntityStorageIdentityConnector**(`options?`): `EntityStorageIdentityConnector`
14
14
 
15
15
  Create a new instance of EntityStorageIdentityConnector.
16
16
 
@@ -24,7 +24,7 @@ The options for the identity connector.
24
24
 
25
25
  #### Returns
26
26
 
27
- [`EntityStorageIdentityConnector`](EntityStorageIdentityConnector.md)
27
+ `EntityStorageIdentityConnector`
28
28
 
29
29
  ## Properties
30
30
 
@@ -76,7 +76,7 @@ The created document.
76
76
 
77
77
  ### addVerificationMethod()
78
78
 
79
- > **addVerificationMethod**(`controller`, `documentId`, `verificationMethodType`, `verificationMethodId`?): `Promise`\<`IDidDocumentVerificationMethod`\>
79
+ > **addVerificationMethod**(`controller`, `documentId`, `verificationMethodType`, `verificationMethodId?`): `Promise`\<`IDidDocumentVerificationMethod`\>
80
80
 
81
81
  Add a verification method to the document in JSON Web key Format.
82
82
 
@@ -258,7 +258,7 @@ NotFoundError if the id can not be resolved.
258
258
 
259
259
  ### createVerifiableCredential()
260
260
 
261
- > **createVerifiableCredential**(`controller`, `verificationMethodId`, `id`, `subject`, `revocationIndex`?): `Promise`\<\{ `verifiableCredential`: `IDidVerifiableCredential`; `jwt`: `string`; \}\>
261
+ > **createVerifiableCredential**(`controller`, `verificationMethodId`, `id`, `subject`, `revocationIndex?`): `Promise`\<\{ `verifiableCredential`: `IDidVerifiableCredential`; `jwt`: `string`; \}\>
262
262
 
263
263
  Create a verifiable credential for a verification method.
264
264
 
@@ -414,7 +414,7 @@ Nothing.
414
414
 
415
415
  ### createVerifiablePresentation()
416
416
 
417
- > **createVerifiablePresentation**(`controller`, `verificationMethodId`, `presentationId`, `contexts`, `types`, `verifiableCredentials`, `expiresInMinutes`?): `Promise`\<\{ `verifiablePresentation`: `IDidVerifiablePresentation`; `jwt`: `string`; \}\>
417
+ > **createVerifiablePresentation**(`controller`, `verificationMethodId`, `presentationId`, `contexts`, `types`, `verifiableCredentials`, `expiresInMinutes?`): `Promise`\<\{ `verifiablePresentation`: `IDidVerifiablePresentation`; `jwt`: `string`; \}\>
418
418
 
419
419
  Create a verifiable presentation from the supplied verifiable credentials.
420
420
 
@@ -4,9 +4,13 @@ Class which implements the identity profile connector contract.
4
4
 
5
5
  ## Type Parameters
6
6
 
7
- **T** *extends* `IJsonLdDocument` = `IJsonLdDocument`
7
+ ### T
8
8
 
9
- **U** *extends* `IJsonLdDocument` = `IJsonLdDocument`
9
+ `T` *extends* `IJsonLdDocument` = `IJsonLdDocument`
10
+
11
+ ### U
12
+
13
+ `U` *extends* `IJsonLdDocument` = `IJsonLdDocument`
10
14
 
11
15
  ## Implements
12
16
 
@@ -14,9 +18,9 @@ Class which implements the identity profile connector contract.
14
18
 
15
19
  ## Constructors
16
20
 
17
- ### new EntityStorageIdentityProfileConnector()
21
+ ### Constructor
18
22
 
19
- > **new EntityStorageIdentityProfileConnector**\<`T`, `U`\>(`options`?): [`EntityStorageIdentityProfileConnector`](EntityStorageIdentityProfileConnector.md)\<`T`, `U`\>
23
+ > **new EntityStorageIdentityProfileConnector**\<`T`, `U`\>(`options?`): `EntityStorageIdentityProfileConnector`\<`T`, `U`\>
20
24
 
21
25
  Create a new instance of EntityStorageIdentityProfileConnector.
22
26
 
@@ -30,7 +34,7 @@ The options for the identity service.
30
34
 
31
35
  #### Returns
32
36
 
33
- [`EntityStorageIdentityProfileConnector`](EntityStorageIdentityProfileConnector.md)\<`T`, `U`\>
37
+ `EntityStorageIdentityProfileConnector`\<`T`, `U`\>
34
38
 
35
39
  ## Properties
36
40
 
@@ -56,7 +60,7 @@ Runtime name for the class.
56
60
 
57
61
  ### create()
58
62
 
59
- > **create**(`identity`, `publicProfile`?, `privateProfile`?): `Promise`\<`void`\>
63
+ > **create**(`identity`, `publicProfile?`, `privateProfile?`): `Promise`\<`void`\>
60
64
 
61
65
  Create the profile properties for an identity.
62
66
 
@@ -94,7 +98,7 @@ Nothing.
94
98
 
95
99
  ### get()
96
100
 
97
- > **get**(`identity`, `publicPropertyNames`?, `privatePropertyNames`?): `Promise`\<\{ `publicProfile`: `Partial`\<`T`\>; `privateProfile`: `Partial`\<`U`\>; \}\>
101
+ > **get**(`identity`, `publicPropertyNames?`, `privatePropertyNames?`): `Promise`\<\{ `publicProfile`: `Partial`\<`T`\>; `privateProfile`: `Partial`\<`U`\>; \}\>
98
102
 
99
103
  Get the profile properties for an identity.
100
104
 
@@ -132,7 +136,7 @@ The items properties.
132
136
 
133
137
  ### update()
134
138
 
135
- > **update**(`identity`, `publicProfile`?, `privateProfile`?): `Promise`\<`void`\>
139
+ > **update**(`identity`, `publicProfile?`, `privateProfile?`): `Promise`\<`void`\>
136
140
 
137
141
  Update the profile properties of an identity.
138
142
 
@@ -196,7 +200,7 @@ Nothing.
196
200
 
197
201
  ### list()
198
202
 
199
- > **list**(`publicFilters`?, `privateFilters`?, `publicPropertyNames`?, `privatePropertyNames`?, `cursor`?, `pageSize`?): `Promise`\<\{ `items`: `object`[]; `cursor`: `string`; \}\>
203
+ > **list**(`publicFilters?`, `privateFilters?`, `publicPropertyNames?`, `privatePropertyNames?`, `cursor?`, `pageSize?`): `Promise`\<\{ `items`: `object`[]; `cursor`: `string`; \}\>
200
204
 
201
205
  Get a list of the requested types.
202
206
 
@@ -8,9 +8,9 @@ Class for performing identity operations using entity storage.
8
8
 
9
9
  ## Constructors
10
10
 
11
- ### new EntityStorageIdentityResolverConnector()
11
+ ### Constructor
12
12
 
13
- > **new EntityStorageIdentityResolverConnector**(`options`?): [`EntityStorageIdentityResolverConnector`](EntityStorageIdentityResolverConnector.md)
13
+ > **new EntityStorageIdentityResolverConnector**(`options?`): `EntityStorageIdentityResolverConnector`
14
14
 
15
15
  Create a new instance of EntityStorageIdentityResolverConnector.
16
16
 
@@ -24,7 +24,7 @@ The options for the identity connector.
24
24
 
25
25
  #### Returns
26
26
 
27
- [`EntityStorageIdentityResolverConnector`](EntityStorageIdentityResolverConnector.md)
27
+ `EntityStorageIdentityResolverConnector`
28
28
 
29
29
  ## Properties
30
30
 
@@ -4,13 +4,13 @@ Class describing the identity document.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new IdentityDocument()
7
+ ### Constructor
8
8
 
9
- > **new IdentityDocument**(): [`IdentityDocument`](IdentityDocument.md)
9
+ > **new IdentityDocument**(): `IdentityDocument`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`IdentityDocument`](IdentityDocument.md)
13
+ `IdentityDocument`
14
14
 
15
15
  ## Properties
16
16
 
@@ -4,13 +4,13 @@ Class representing profile details for the identity.
4
4
 
5
5
  ## Constructors
6
6
 
7
- ### new IdentityProfile()
7
+ ### Constructor
8
8
 
9
- > **new IdentityProfile**(): [`IdentityProfile`](IdentityProfile.md)
9
+ > **new IdentityProfile**(): `IdentityProfile`
10
10
 
11
11
  #### Returns
12
12
 
13
- [`IdentityProfile`](IdentityProfile.md)
13
+ `IdentityProfile`
14
14
 
15
15
  ## Properties
16
16
 
@@ -1,6 +1,6 @@
1
1
  # Function: initSchema()
2
2
 
3
- > **initSchema**(`options`?): `void`
3
+ > **initSchema**(`options?`): `void`
4
4
 
5
5
  Initialize the schema for the identity entity storage connector.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/identity-connector-entity-storage",
3
- "version": "0.0.1-next.41",
3
+ "version": "0.0.1-next.42",
4
4
  "description": "Identity connector implementation using entity storage",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,7 @@
19
19
  "@twin.org/data-core": "next",
20
20
  "@twin.org/data-json-ld": "next",
21
21
  "@twin.org/entity": "next",
22
- "@twin.org/identity-models": "0.0.1-next.41",
22
+ "@twin.org/identity-models": "0.0.1-next.42",
23
23
  "@twin.org/nameof": "next",
24
24
  "@twin.org/standards-w3c-did": "next",
25
25
  "@twin.org/vault-models": "next",