@twin.org/attestation-models 0.0.1-next.25 → 0.0.1-next.27
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 +14 -0
- package/docs/reference/classes/AttestationDataTypes.md +3 -3
- package/docs/reference/interfaces/IAttestationComponent.md +3 -3
- package/docs/reference/type-aliases/AttestationContexts.md +1 -1
- package/docs/reference/type-aliases/AttestationTypes.md +1 -1
- package/package.json +1 -1
package/docs/changelog.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# @twin.org/attestation-models - Changelog
|
2
2
|
|
3
|
+
## [0.0.1-next.27](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.1-next.26...attestation-models-v0.0.1-next.27) (2025-05-06)
|
4
|
+
|
5
|
+
|
6
|
+
### Miscellaneous Chores
|
7
|
+
|
8
|
+
* **attestation-models:** Synchronize repo versions
|
9
|
+
|
10
|
+
## [0.0.1-next.26](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.1-next.25...attestation-models-v0.0.1-next.26) (2025-04-17)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* use shared store mechanism ([#5](https://github.com/twinfoundation/attestation/issues/5)) ([3768cf7](https://github.com/twinfoundation/attestation/commit/3768cf7214d30a5429b7b08190539b517d7fafa0))
|
16
|
+
|
3
17
|
## [0.0.1-next.25](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.1-next.24...attestation-models-v0.0.1-next.25) (2025-03-28)
|
4
18
|
|
5
19
|
|
@@ -4,13 +4,13 @@ Handle all the data types for attestation.
|
|
4
4
|
|
5
5
|
## Constructors
|
6
6
|
|
7
|
-
###
|
7
|
+
### Constructor
|
8
8
|
|
9
|
-
> **new AttestationDataTypes**():
|
9
|
+
> **new AttestationDataTypes**(): `AttestationDataTypes`
|
10
10
|
|
11
11
|
#### Returns
|
12
12
|
|
13
|
-
|
13
|
+
`AttestationDataTypes`
|
14
14
|
|
15
15
|
## Methods
|
16
16
|
|
@@ -10,7 +10,7 @@ Interface describing an attestation contract.
|
|
10
10
|
|
11
11
|
### create()
|
12
12
|
|
13
|
-
> **create**(`attestationObject`, `namespace
|
13
|
+
> **create**(`attestationObject`, `namespace?`, `identity?`, `nodeIdentity?`): `Promise`\<`string`\>
|
14
14
|
|
15
15
|
Attest the data and return the collated information.
|
16
16
|
|
@@ -72,7 +72,7 @@ The verified attestation details.
|
|
72
72
|
|
73
73
|
### transfer()
|
74
74
|
|
75
|
-
> **transfer**(`attestationId`, `holderIdentity`, `holderAddress`, `identity
|
75
|
+
> **transfer**(`attestationId`, `holderIdentity`, `holderAddress`, `identity?`): `Promise`\<`void`\>
|
76
76
|
|
77
77
|
Transfer the attestation to a new holder.
|
78
78
|
|
@@ -112,7 +112,7 @@ Nothing.
|
|
112
112
|
|
113
113
|
### destroy()
|
114
114
|
|
115
|
-
> **destroy**(`attestationId`, `identity
|
115
|
+
> **destroy**(`attestationId`, `identity?`): `Promise`\<`void`\>
|
116
116
|
|
117
117
|
Destroy the attestation.
|
118
118
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Type Alias: AttestationContexts
|
2
2
|
|
3
|
-
> **AttestationContexts
|
3
|
+
> **AttestationContexts** = *typeof* [`AttestationContexts`](../variables/AttestationContexts.md)\[keyof *typeof* [`AttestationContexts`](../variables/AttestationContexts.md)\]
|
4
4
|
|
5
5
|
The contexts of attestation data.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Type Alias: AttestationTypes
|
2
2
|
|
3
|
-
> **AttestationTypes
|
3
|
+
> **AttestationTypes** = *typeof* [`AttestationTypes`](../variables/AttestationTypes.md)\[keyof *typeof* [`AttestationTypes`](../variables/AttestationTypes.md)\]
|
4
4
|
|
5
5
|
The types of attestation data.
|