@twin.org/immutable-proof-models 0.0.1-next.18 → 0.0.1-next.19

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.
@@ -41,7 +41,7 @@ var properties = {
41
41
  }
42
42
  ],
43
43
  additionalItems: {
44
- type: "string"
44
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
45
45
  }
46
46
  }
47
47
  ],
@@ -39,7 +39,7 @@ var properties = {
39
39
  }
40
40
  ],
41
41
  additionalItems: {
42
- type: "string"
42
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
43
43
  }
44
44
  }
45
45
  ],
@@ -1,4 +1,4 @@
1
- import type { IJsonLdNodeObject } from "@twin.org/data-json-ld";
1
+ import type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
2
  import type { IDidProof } from "@twin.org/standards-w3c-did";
3
3
  import type { ImmutableProofTypes } from "./immutableProofTypes";
4
4
  /**
@@ -8,7 +8,7 @@ export interface IImmutableProof {
8
8
  /**
9
9
  * JSON-LD Context.
10
10
  */
11
- "@context": typeof ImmutableProofTypes.ContextRoot | [typeof ImmutableProofTypes.ContextRoot, ...string[]];
11
+ "@context": typeof ImmutableProofTypes.ContextRoot | [typeof ImmutableProofTypes.ContextRoot, ...IJsonLdContextDefinitionElement[]];
12
12
  /**
13
13
  * JSON-LD Type.
14
14
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-models - Changelog
2
2
 
3
- ## v0.0.1-next.18
3
+ ## v0.0.1-next.19
4
4
 
5
5
  - Initial Release
@@ -6,7 +6,7 @@ Interface describing an immutable proof state.
6
6
 
7
7
  ### @context
8
8
 
9
- > **@context**: `"https://schema.twindev.org/immutable-proof/"` \| \[`"https://schema.twindev.org/immutable-proof/"`, `...string[]`\]
9
+ > **@context**: `"https://schema.twindev.org/immutable-proof/"` \| \[`"https://schema.twindev.org/immutable-proof/"`, `...IJsonLdContextDefinitionElement[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-models",
3
- "version": "0.0.1-next.18",
3
+ "version": "0.0.1-next.19",
4
4
  "description": "Models which define the structure of the immutable proof connectors and services",
5
5
  "repository": {
6
6
  "type": "git",