@twin.org/trust-generators 0.0.3-next.10 → 0.0.3-next.12
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/README.md +1 -1
- package/dist/es/generators/jwtVerifiableCredentialGenerator.js +1 -1
- package/dist/es/generators/jwtVerifiableCredentialGenerator.js.map +1 -1
- package/docs/changelog.md +38 -10
- package/docs/examples.md +38 -1
- package/docs/reference/classes/JwtVerifiableCredentialGenerator.md +3 -3
- package/docs/reference/interfaces/IJwtVerifiableCredentialGeneratorConfig.md +3 -3
- package/docs/reference/interfaces/IJwtVerifiableCredentialGeneratorConstructorOptions.md +5 -5
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ export class JwtVerifiableCredentialGenerator {
|
|
|
64
64
|
const credential = await this._identityComponent.verifiableCredentialCreate(DocumentHelper.joinId(identity, this._verificationMethodId), undefined, info?.subject ?? {}, {
|
|
65
65
|
expirationDate
|
|
66
66
|
}, identity);
|
|
67
|
-
return credential;
|
|
67
|
+
return credential.jwt;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
//# sourceMappingURL=jwtVerifiableCredentialGenerator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jwtVerifiableCredentialGenerator.js","sourceRoot":"","sources":["../../../src/generators/jwtVerifiableCredentialGenerator.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAA2B,MAAM,2BAA2B,CAAC;AAMpF;;GAEG;AACH,MAAM,OAAO,gCAAgC;IAC5C;;OAEG;IACI,MAAM,CAAU,UAAU,sCAAsD;IAEvF;;;OAGG;IACc,iBAAiB,CAAqB;IAEvD;;;OAGG;IACc,kBAAkB,CAAqB;IAExD;;;OAGG;IACc,qBAAqB,CAAS;IAE/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IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,0BAA0B,CAC1E,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,IAAI,CAAC,qBAAqB,CAAC,EAC3D,SAAS,EACT,IAAI,EAAE,OAAO,IAAI,EAAE,EACnB;YACC,cAAc;SACd,EACD,QAAQ,CACR,CAAC;QAEF,OAAO,UAAU,CAAC,GAAG,CAAC;IACvB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { ComponentFactory, Guards, Is } from \"@twin.org/core\";\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport { DocumentHelper, type IIdentityComponent } from \"@twin.org/identity-models\";\nimport type { ILoggingComponent } from \"@twin.org/logging-models\";\nimport { nameof } from \"@twin.org/nameof\";\nimport type { ITrustGenerator } from \"@twin.org/trust-models\";\nimport type { IJwtVerifiableCredentialGeneratorConstructorOptions } from \"../models/IJwtVerifiableCredentialGeneratorConstructorOptions.js\";\n\n/**\n * Class to generate a JWT Verifiable Credential.\n */\nexport class JwtVerifiableCredentialGenerator implements ITrustGenerator {\n\t/**\n\t * Runtime name for the class.\n\t */\n\tpublic static readonly CLASS_NAME: string = nameof<JwtVerifiableCredentialGenerator>();\n\n\t/**\n\t * The logging component.\n\t * @internal\n\t */\n\tprivate readonly _loggingComponent?: ILoggingComponent;\n\n\t/**\n\t * The identity component.\n\t * @internal\n\t */\n\tprivate readonly _identityComponent: IIdentityComponent;\n\n\t/**\n\t * The verification method ID for the connector to use.\n\t * @internal\n\t */\n\tprivate readonly _verificationMethodId: string;\n\n\t/**\n\t * The time-to-live (TTL) for token in seconds.\n\t * @internal\n\t */\n\tprivate readonly _tokenTtlInSeconds?: number;\n\n\t/**\n\t * Create a new instance of JwtVerifiableCredentialGenerator.\n\t * @param options The options for the service.\n\t */\n\tconstructor(options: IJwtVerifiableCredentialGeneratorConstructorOptions) {\n\t\tthis._loggingComponent = ComponentFactory.getIfExists(\n\t\t\toptions?.loggingComponentType ?? \"logging\"\n\t\t);\n\n\t\tthis._identityComponent = ComponentFactory.get(options?.identityComponentType ?? \"identity\");\n\n\t\tthis._verificationMethodId = options.config.verificationMethodId;\n\t\tthis._tokenTtlInSeconds = options.config.tokenTtlInSeconds;\n\t}\n\n\t/**\n\t * Returns the class name of the component.\n\t * @returns The class name of the component.\n\t */\n\tpublic className(): string {\n\t\treturn JwtVerifiableCredentialGenerator.CLASS_NAME;\n\t}\n\n\t/**\n\t * Generate a trust payload.\n\t * @param identity The identity for which to generate the payload.\n\t * @param info Information to use in the generation.\n\t * @param info.subject The subject of the verifiable credential.\n\t * @returns The generated payload.\n\t */\n\tpublic async generate(\n\t\tidentity: string,\n\t\tinfo?: { subject?: IJsonLdNodeObject }\n\t): Promise<unknown> {\n\t\tGuards.stringValue(JwtVerifiableCredentialGenerator.CLASS_NAME, nameof(identity), identity);\n\n\t\tlet expirationDate;\n\n\t\tif (Is.integer(this._tokenTtlInSeconds)) {\n\t\t\tconst ttlMs = this._tokenTtlInSeconds * 1000;\n\t\t\texpirationDate = new Date(Date.now() + ttlMs);\n\t\t}\n\n\t\tconst credential = await this._identityComponent.verifiableCredentialCreate(\n\t\t\tDocumentHelper.joinId(identity, this._verificationMethodId),\n\t\t\tundefined,\n\t\t\tinfo?.subject ?? {},\n\t\t\t{\n\t\t\t\texpirationDate\n\t\t\t},\n\t\t\tidentity\n\t\t);\n\n\t\treturn credential.jwt;\n\t}\n}\n"]}
|
package/docs/changelog.md
CHANGED
|
@@ -1,11 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.0.3-next.
|
|
3
|
+
## [0.0.3-next.12](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.11...trust-generators-v0.0.3-next.12) (2026-05-11)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* typescript 6 update ([a232da2](https://github.com/iotaledger/twin-trust/commit/a232da293afbd3b42843e187e4952dabd7917397))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/trust-models bumped from 0.0.3-next.11 to 0.0.3-next.12
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.11](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.10...trust-generators-v0.0.3-next.11) (2026-03-04)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* jwt verifier return just token on creation ([9778491](https://github.com/iotaledger/twin-trust/commit/97784917c0ce53c3908e91a0db9137f8473eadeb))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/trust-models bumped from 0.0.3-next.10 to 0.0.3-next.11
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.10](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.9...trust-generators-v0.0.3-next.10) (2026-02-27)
|
|
4
32
|
|
|
5
33
|
|
|
6
34
|
### Bug Fixes
|
|
7
35
|
|
|
8
|
-
* pass correct parameters to vc create ([bca9529](https://github.com/
|
|
36
|
+
* pass correct parameters to vc create ([bca9529](https://github.com/iotaledger/twin-trust/commit/bca95292605720f45f1f9dd2cec34053734b2d7f))
|
|
9
37
|
|
|
10
38
|
|
|
11
39
|
### Dependencies
|
|
@@ -14,7 +42,7 @@
|
|
|
14
42
|
* dependencies
|
|
15
43
|
* @twin.org/trust-models bumped from 0.0.3-next.9 to 0.0.3-next.10
|
|
16
44
|
|
|
17
|
-
## [0.0.3-next.9](https://github.com/
|
|
45
|
+
## [0.0.3-next.9](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.8...trust-generators-v0.0.3-next.9) (2026-02-26)
|
|
18
46
|
|
|
19
47
|
|
|
20
48
|
### Miscellaneous Chores
|
|
@@ -28,7 +56,7 @@
|
|
|
28
56
|
* dependencies
|
|
29
57
|
* @twin.org/trust-models bumped from 0.0.3-next.8 to 0.0.3-next.9
|
|
30
58
|
|
|
31
|
-
## [0.0.3-next.8](https://github.com/
|
|
59
|
+
## [0.0.3-next.8](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.7...trust-generators-v0.0.3-next.8) (2026-01-30)
|
|
32
60
|
|
|
33
61
|
|
|
34
62
|
### Miscellaneous Chores
|
|
@@ -42,7 +70,7 @@
|
|
|
42
70
|
* dependencies
|
|
43
71
|
* @twin.org/trust-models bumped from 0.0.3-next.7 to 0.0.3-next.8
|
|
44
72
|
|
|
45
|
-
## [0.0.3-next.7](https://github.com/
|
|
73
|
+
## [0.0.3-next.7](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.6...trust-generators-v0.0.3-next.7) (2025-12-04)
|
|
46
74
|
|
|
47
75
|
|
|
48
76
|
### Miscellaneous Chores
|
|
@@ -56,7 +84,7 @@
|
|
|
56
84
|
* dependencies
|
|
57
85
|
* @twin.org/trust-models bumped from 0.0.3-next.6 to 0.0.3-next.7
|
|
58
86
|
|
|
59
|
-
## [0.0.3-next.6](https://github.com/
|
|
87
|
+
## [0.0.3-next.6](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.5...trust-generators-v0.0.3-next.6) (2025-12-04)
|
|
60
88
|
|
|
61
89
|
|
|
62
90
|
### Miscellaneous Chores
|
|
@@ -70,12 +98,12 @@
|
|
|
70
98
|
* dependencies
|
|
71
99
|
* @twin.org/trust-models bumped from 0.0.3-next.5 to 0.0.3-next.6
|
|
72
100
|
|
|
73
|
-
## [0.0.3-next.5](https://github.com/
|
|
101
|
+
## [0.0.3-next.5](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.4...trust-generators-v0.0.3-next.5) (2025-12-04)
|
|
74
102
|
|
|
75
103
|
|
|
76
104
|
### Features
|
|
77
105
|
|
|
78
|
-
* add default generator config ([54d98ba](https://github.com/
|
|
106
|
+
* add default generator config ([54d98ba](https://github.com/iotaledger/twin-trust/commit/54d98ba53b7450b56337daeda504437be0d21943))
|
|
79
107
|
|
|
80
108
|
|
|
81
109
|
### Dependencies
|
|
@@ -84,12 +112,12 @@
|
|
|
84
112
|
* dependencies
|
|
85
113
|
* @twin.org/trust-models bumped from 0.0.3-next.4 to 0.0.3-next.5
|
|
86
114
|
|
|
87
|
-
## [0.0.3-next.4](https://github.com/
|
|
115
|
+
## [0.0.3-next.4](https://github.com/iotaledger/twin-trust/compare/trust-generators-v0.0.3-next.3...trust-generators-v0.0.3-next.4) (2025-12-04)
|
|
88
116
|
|
|
89
117
|
|
|
90
118
|
### Features
|
|
91
119
|
|
|
92
|
-
* add generators ([6228c88](https://github.com/
|
|
120
|
+
* add generators ([6228c88](https://github.com/iotaledger/twin-trust/commit/6228c88a8f0244b7bdfc76b8624c427c81d23f7b))
|
|
93
121
|
|
|
94
122
|
|
|
95
123
|
### Dependencies
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Trust Generators Examples
|
|
2
|
+
|
|
3
|
+
These snippets show how to create JWT credential payloads and inspect generator metadata in a typical DID-based flow.
|
|
4
|
+
|
|
5
|
+
## JwtVerifiableCredentialGenerator
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { ComponentFactory } from '@twin.org/core';
|
|
9
|
+
import type { IIdentityComponent } from '@twin.org/identity-models';
|
|
10
|
+
import { JwtVerifiableCredentialGenerator } from '@twin.org/trust-generators';
|
|
11
|
+
|
|
12
|
+
const identityComponent: IIdentityComponent = {
|
|
13
|
+
verifiableCredentialCreate: async () => ({
|
|
14
|
+
jwt: 'eyJhbGciOiJFZERTQSJ9.eyJpc3MiOiJkaWQ6ZXhhbXBsZTppc3N1ZXIifQ.signature'
|
|
15
|
+
})
|
|
16
|
+
} as IIdentityComponent;
|
|
17
|
+
|
|
18
|
+
ComponentFactory.register('identity', () => identityComponent);
|
|
19
|
+
|
|
20
|
+
const generator = new JwtVerifiableCredentialGenerator({
|
|
21
|
+
identityComponentType: 'identity',
|
|
22
|
+
config: {
|
|
23
|
+
verificationMethodId: 'did:example:issuer#key-1',
|
|
24
|
+
tokenTtlInSeconds: 900
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
console.log(generator.className()); // JwtVerifiableCredentialGenerator
|
|
29
|
+
|
|
30
|
+
const jwt = await generator.generate('did:example:issuer', {
|
|
31
|
+
subject: {
|
|
32
|
+
id: 'did:example:subject',
|
|
33
|
+
role: 'supplier'
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
console.log(typeof jwt); // string
|
|
38
|
+
```
|
|
@@ -28,7 +28,7 @@ The options for the service.
|
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
31
|
-
### CLASS\_NAME
|
|
31
|
+
### CLASS\_NAME {#class_name}
|
|
32
32
|
|
|
33
33
|
> `readonly` `static` **CLASS\_NAME**: `string`
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Runtime name for the class.
|
|
|
36
36
|
|
|
37
37
|
## Methods
|
|
38
38
|
|
|
39
|
-
### className()
|
|
39
|
+
### className() {#classname}
|
|
40
40
|
|
|
41
41
|
> **className**(): `string`
|
|
42
42
|
|
|
@@ -54,7 +54,7 @@ The class name of the component.
|
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
|
-
### generate()
|
|
57
|
+
### generate() {#generate}
|
|
58
58
|
|
|
59
59
|
> **generate**(`identity`, `info?`): `Promise`\<`unknown`\>
|
|
60
60
|
|
|
@@ -4,9 +4,9 @@ The options for the JWT Verifiable Credential Generator.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### tokenTtlInSeconds?
|
|
7
|
+
### tokenTtlInSeconds? {#tokenttlinseconds}
|
|
8
8
|
|
|
9
|
-
> `optional` **tokenTtlInSeconds
|
|
9
|
+
> `optional` **tokenTtlInSeconds?**: `number`
|
|
10
10
|
|
|
11
11
|
The time-to-live (TTL) for token in seconds.
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ The time-to-live (TTL) for token in seconds.
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
-
### verificationMethodId
|
|
21
|
+
### verificationMethodId {#verificationmethodid}
|
|
22
22
|
|
|
23
23
|
> **verificationMethodId**: `string`
|
|
24
24
|
|
|
@@ -4,9 +4,9 @@ The options for the JWT Verifiable Credential Generator.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### loggingComponentType?
|
|
7
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
8
8
|
|
|
9
|
-
> `optional` **loggingComponentType
|
|
9
|
+
> `optional` **loggingComponentType?**: `string`
|
|
10
10
|
|
|
11
11
|
The logging component type.
|
|
12
12
|
|
|
@@ -18,9 +18,9 @@ logging
|
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
-
### identityComponentType?
|
|
21
|
+
### identityComponentType? {#identitycomponenttype}
|
|
22
22
|
|
|
23
|
-
> `optional` **identityComponentType
|
|
23
|
+
> `optional` **identityComponentType?**: `string`
|
|
24
24
|
|
|
25
25
|
The identity component type.
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ identity
|
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
35
|
-
### config
|
|
35
|
+
### config {#config}
|
|
36
36
|
|
|
37
37
|
> **config**: [`IJwtVerifiableCredentialGeneratorConfig`](IJwtVerifiableCredentialGeneratorConfig.md)
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/trust-generators",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3-next.12",
|
|
4
|
+
"description": "Implements trust credential generators that produce signed verifiable credential artefacts",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+https://github.com/
|
|
7
|
+
"url": "git+https://github.com/iotaledger/trust.git",
|
|
8
8
|
"directory": "packages/trust-generators"
|
|
9
9
|
},
|
|
10
10
|
"author": "martyn.janes@iota.org",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@twin.org/identity-models": "next",
|
|
20
20
|
"@twin.org/logging-models": "next",
|
|
21
21
|
"@twin.org/nameof": "next",
|
|
22
|
-
"@twin.org/trust-models": "0.0.3-next.
|
|
22
|
+
"@twin.org/trust-models": "0.0.3-next.12",
|
|
23
23
|
"@twin.org/web": "next"
|
|
24
24
|
},
|
|
25
25
|
"main": "./dist/es/index.js",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"schemas"
|
|
51
51
|
],
|
|
52
52
|
"bugs": {
|
|
53
|
-
"url": "git+https://github.com/
|
|
53
|
+
"url": "git+https://github.com/iotaledger/trust/issues"
|
|
54
54
|
},
|
|
55
55
|
"homepage": "https://twindev.org"
|
|
56
56
|
}
|