@twin.org/immutable-proof-models 0.0.1-next.30 → 0.0.1-next.32
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/ImmutableProofDataTypes.md +3 -3
- package/docs/reference/interfaces/IImmutableProofComponent.md +2 -2
- package/docs/reference/type-aliases/ImmutableProofContexts.md +1 -1
- package/docs/reference/type-aliases/ImmutableProofFailure.md +1 -1
- package/docs/reference/type-aliases/ImmutableProofTopics.md +1 -1
- package/docs/reference/type-aliases/ImmutableProofTypes.md +1 -1
- package/package.json +1 -1
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/immutable-proof-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.32](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-models-v0.0.1-next.31...immutable-proof-models-v0.0.1-next.32) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use shared store mechanism ([#3](https://github.com/twinfoundation/immutable-proof/issues/3)) ([7042a40](https://github.com/twinfoundation/immutable-proof/commit/7042a40f0ef8b01463f07aeb1efae4f417162fa1))
|
|
9
|
+
|
|
10
|
+
## [0.0.1-next.31](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-models-v0.0.1-next.30...immutable-proof-models-v0.0.1-next.31) (2025-03-28)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Missing user and node identity on create ([#1](https://github.com/twinfoundation/immutable-proof/issues/1)) ([80ea2f9](https://github.com/twinfoundation/immutable-proof/commit/80ea2f901afc7531f4a522227a61e6fa1482484d))
|
|
16
|
+
|
|
3
17
|
## v0.0.1-next.30
|
|
4
18
|
|
|
5
19
|
- Initial Release
|
|
@@ -4,13 +4,13 @@ Handle all the data types for immutable proof.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new ImmutableProofDataTypes**():
|
|
9
|
+
> **new ImmutableProofDataTypes**(): `ImmutableProofDataTypes`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`ImmutableProofDataTypes`
|
|
14
14
|
|
|
15
15
|
## Methods
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ Interface describing an immutable proof contract.
|
|
|
10
10
|
|
|
11
11
|
### create()
|
|
12
12
|
|
|
13
|
-
> **create**(`document`, `userIdentity
|
|
13
|
+
> **create**(`document`, `userIdentity?`, `nodeIdentity?`): `Promise`\<`string`\>
|
|
14
14
|
|
|
15
15
|
Create a new proof.
|
|
16
16
|
|
|
@@ -96,7 +96,7 @@ NotFoundError if the proof is not found.
|
|
|
96
96
|
|
|
97
97
|
### removeVerifiable()
|
|
98
98
|
|
|
99
|
-
> **removeVerifiable**(`id`, `nodeIdentity
|
|
99
|
+
> **removeVerifiable**(`id`, `nodeIdentity?`): `Promise`\<`void`\>
|
|
100
100
|
|
|
101
101
|
Remove the verifiable storage for the proof.
|
|
102
102
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: ImmutableProofContexts
|
|
2
2
|
|
|
3
|
-
> **ImmutableProofContexts
|
|
3
|
+
> **ImmutableProofContexts** = *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\[keyof *typeof* [`ImmutableProofContexts`](../variables/ImmutableProofContexts.md)\]
|
|
4
4
|
|
|
5
5
|
The contexts of immutable proof data.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: ImmutableProofFailure
|
|
2
2
|
|
|
3
|
-
> **ImmutableProofFailure
|
|
3
|
+
> **ImmutableProofFailure** = *typeof* [`ImmutableProofFailure`](../variables/ImmutableProofFailure.md)\[keyof *typeof* [`ImmutableProofFailure`](../variables/ImmutableProofFailure.md)\]
|
|
4
4
|
|
|
5
5
|
The failure reason of the proof.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: ImmutableProofTopics
|
|
2
2
|
|
|
3
|
-
> **ImmutableProofTopics
|
|
3
|
+
> **ImmutableProofTopics** = *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\[keyof *typeof* [`ImmutableProofTopics`](../variables/ImmutableProofTopics.md)\]
|
|
4
4
|
|
|
5
5
|
The topics for immutable proof event bus notifications.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Type Alias: ImmutableProofTypes
|
|
2
2
|
|
|
3
|
-
> **ImmutableProofTypes
|
|
3
|
+
> **ImmutableProofTypes** = *typeof* [`ImmutableProofTypes`](../variables/ImmutableProofTypes.md)\[keyof *typeof* [`ImmutableProofTypes`](../variables/ImmutableProofTypes.md)\]
|
|
4
4
|
|
|
5
5
|
The types of immutable proof data.
|
package/package.json
CHANGED