@twin.org/immutable-proof-models 0.0.1-next.34 → 0.0.1-next.35
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/dist/cjs/index.cjs +13 -9
- package/dist/esm/index.mjs +13 -9
- package/docs/changelog.md +7 -0
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -36,12 +36,19 @@ const ImmutableProofTypes = {
|
|
|
36
36
|
ImmutableProofVerification: "ImmutableProofVerification"
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
var $schema = "https://json-schema.org/draft/2020-12/schema";
|
|
40
|
+
var $id = "https://schema.twindev.org/immutable-proof/ImmutableProof";
|
|
41
|
+
var description = "Interface describing an immutable proof state.";
|
|
39
42
|
var type = "object";
|
|
40
43
|
var properties = {
|
|
41
44
|
"@context": {
|
|
42
45
|
type: "array",
|
|
43
46
|
minItems: 2,
|
|
44
|
-
items:
|
|
47
|
+
items: {
|
|
48
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
49
|
+
},
|
|
50
|
+
description: "JSON-LD Context.",
|
|
51
|
+
prefixItems: [
|
|
45
52
|
{
|
|
46
53
|
type: "string",
|
|
47
54
|
"const": "https://schema.twindev.org/immutable-proof/"
|
|
@@ -50,11 +57,7 @@ var properties = {
|
|
|
50
57
|
type: "string",
|
|
51
58
|
"const": "https://schema.twindev.org/common/"
|
|
52
59
|
}
|
|
53
|
-
]
|
|
54
|
-
additionalItems: {
|
|
55
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
56
|
-
},
|
|
57
|
-
description: "JSON-LD Context."
|
|
60
|
+
]
|
|
58
61
|
},
|
|
59
62
|
type: {
|
|
60
63
|
type: "string",
|
|
@@ -103,13 +106,14 @@ var required = [
|
|
|
103
106
|
"proofObjectHash"
|
|
104
107
|
];
|
|
105
108
|
var additionalProperties = false;
|
|
106
|
-
var description = "Interface describing an immutable proof state.";
|
|
107
109
|
var ImmutableProofSchema = {
|
|
110
|
+
$schema: $schema,
|
|
111
|
+
$id: $id,
|
|
112
|
+
description: description,
|
|
108
113
|
type: type,
|
|
109
114
|
properties: properties,
|
|
110
115
|
required: required,
|
|
111
|
-
additionalProperties: additionalProperties
|
|
112
|
-
description: description
|
|
116
|
+
additionalProperties: additionalProperties
|
|
113
117
|
};
|
|
114
118
|
|
|
115
119
|
// Copyright 2024 IOTA Stiftung.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -34,12 +34,19 @@ const ImmutableProofTypes = {
|
|
|
34
34
|
ImmutableProofVerification: "ImmutableProofVerification"
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
+
var $schema = "https://json-schema.org/draft/2020-12/schema";
|
|
38
|
+
var $id = "https://schema.twindev.org/immutable-proof/ImmutableProof";
|
|
39
|
+
var description = "Interface describing an immutable proof state.";
|
|
37
40
|
var type = "object";
|
|
38
41
|
var properties = {
|
|
39
42
|
"@context": {
|
|
40
43
|
type: "array",
|
|
41
44
|
minItems: 2,
|
|
42
|
-
items:
|
|
45
|
+
items: {
|
|
46
|
+
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
47
|
+
},
|
|
48
|
+
description: "JSON-LD Context.",
|
|
49
|
+
prefixItems: [
|
|
43
50
|
{
|
|
44
51
|
type: "string",
|
|
45
52
|
"const": "https://schema.twindev.org/immutable-proof/"
|
|
@@ -48,11 +55,7 @@ var properties = {
|
|
|
48
55
|
type: "string",
|
|
49
56
|
"const": "https://schema.twindev.org/common/"
|
|
50
57
|
}
|
|
51
|
-
]
|
|
52
|
-
additionalItems: {
|
|
53
|
-
$ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
54
|
-
},
|
|
55
|
-
description: "JSON-LD Context."
|
|
58
|
+
]
|
|
56
59
|
},
|
|
57
60
|
type: {
|
|
58
61
|
type: "string",
|
|
@@ -101,13 +104,14 @@ var required = [
|
|
|
101
104
|
"proofObjectHash"
|
|
102
105
|
];
|
|
103
106
|
var additionalProperties = false;
|
|
104
|
-
var description = "Interface describing an immutable proof state.";
|
|
105
107
|
var ImmutableProofSchema = {
|
|
108
|
+
$schema: $schema,
|
|
109
|
+
$id: $id,
|
|
110
|
+
description: description,
|
|
106
111
|
type: type,
|
|
107
112
|
properties: properties,
|
|
108
113
|
required: required,
|
|
109
|
-
additionalProperties: additionalProperties
|
|
110
|
-
description: description
|
|
114
|
+
additionalProperties: additionalProperties
|
|
111
115
|
};
|
|
112
116
|
|
|
113
117
|
// Copyright 2024 IOTA Stiftung.
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @twin.org/immutable-proof-models - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.35](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-models-v0.0.1-next.34...immutable-proof-models-v0.0.1-next.35) (2025-06-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update dependencies ([7d6b321](https://github.com/twinfoundation/immutable-proof/commit/7d6b321928ca0434ee530816b1440f1687b94a6e))
|
|
9
|
+
|
|
3
10
|
## [0.0.1-next.34](https://github.com/twinfoundation/immutable-proof/compare/immutable-proof-models-v0.0.1-next.33...immutable-proof-models-v0.0.1-next.34) (2025-06-03)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED