@twin.org/standards-w3c-did 0.0.1-next.12 → 0.0.1-next.13

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.
@@ -1,5 +1,3 @@
1
- import type { DidContexts } from "./didContexts";
2
- import type { DidTypes } from "./didTypes";
3
1
  /**
4
2
  * Interface describing a did proof.
5
3
  * https://www.w3.org/TR/vc-data-integrity/
@@ -8,11 +6,11 @@ export interface IDidProof {
8
6
  /**
9
7
  * JSON-LD Context.
10
8
  */
11
- "@context"?: typeof DidContexts.ContextVCDataIntegrity | [typeof DidContexts.ContextVCDataIntegrity, ...string[]];
9
+ "@context"?: string;
12
10
  /**
13
11
  * JSON-LD Type.
14
12
  */
15
- type: typeof DidTypes.DataIntegrityProof;
13
+ type: string;
16
14
  /**
17
15
  * The id of the proof.
18
16
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/standards-w3c-did - Changelog
2
2
 
3
- ## v0.0.1-next.12
3
+ ## v0.0.1-next.13
4
4
 
5
5
  - Initial Release
@@ -7,7 +7,7 @@ https://www.w3.org/TR/vc-data-integrity/
7
7
 
8
8
  ### @context?
9
9
 
10
- > `optional` **@context**: `"https://w3id.org/security/data-integrity/v2"` \| [`"https://w3id.org/security/data-integrity/v2"`, `...string[]`]
10
+ > `optional` **@context**: `string`
11
11
 
12
12
  JSON-LD Context.
13
13
 
@@ -15,7 +15,7 @@ JSON-LD Context.
15
15
 
16
16
  ### type
17
17
 
18
- > **type**: `"DataIntegrityProof"`
18
+ > **type**: `string`
19
19
 
20
20
  JSON-LD Type.
21
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-w3c-did",
3
- "version": "0.0.1-next.12",
3
+ "version": "0.0.1-next.13",
4
4
  "description": "Models which define the structure of W3C DID Standard",
5
5
  "repository": {
6
6
  "type": "git",