@twin.org/attestation-models 0.0.1-next.10 → 0.0.1-next.11

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/attestation-models - Changelog
2
2
 
3
- ## v0.0.1-next.10
3
+ ## v0.0.1-next.11
4
4
 
5
5
  - Initial Release
@@ -16,23 +16,33 @@ Attest the data and return the collated information.
16
16
 
17
17
  #### Parameters
18
18
 
19
- **verificationMethodId**: `string`
19
+ ##### verificationMethodId
20
+
21
+ `string`
20
22
 
21
23
  The identity verification method to use for attesting the data.
22
24
 
23
- **attestationObject**: `IJsonLdNodeObject`
25
+ ##### attestationObject
26
+
27
+ `IJsonLdNodeObject`
24
28
 
25
29
  The data to attest.
26
30
 
27
- **namespace?**: `string`
31
+ ##### namespace?
32
+
33
+ `string`
28
34
 
29
35
  The namespace of the connector to use for the attestation, defaults to component configured namespace.
30
36
 
31
- **identity?**: `string`
37
+ ##### identity?
38
+
39
+ `string`
32
40
 
33
41
  The identity to perform the attestation operation with.
34
42
 
35
- **nodeIdentity?**: `string`
43
+ ##### nodeIdentity?
44
+
45
+ `string`
36
46
 
37
47
  The node identity to include in the attestation.
38
48
 
@@ -52,7 +62,9 @@ Resolve and verify the attestation id.
52
62
 
53
63
  #### Parameters
54
64
 
55
- **id**: `string`
65
+ ##### id
66
+
67
+ `string`
56
68
 
57
69
  The attestation id to verify.
58
70
 
@@ -72,15 +84,21 @@ Transfer the attestation to a new holder.
72
84
 
73
85
  #### Parameters
74
86
 
75
- **attestationId**: `string`
87
+ ##### attestationId
88
+
89
+ `string`
76
90
 
77
91
  The attestation to transfer.
78
92
 
79
- **holderIdentity**: `string`
93
+ ##### holderIdentity
94
+
95
+ `string`
80
96
 
81
97
  The identity to transfer the attestation to.
82
98
 
83
- **identity?**: `string`
99
+ ##### identity?
100
+
101
+ `string`
84
102
 
85
103
  The identity to perform the attestation operation with.
86
104
 
@@ -100,11 +118,15 @@ Destroy the attestation.
100
118
 
101
119
  #### Parameters
102
120
 
103
- **attestationId**: `string`
121
+ ##### attestationId
122
+
123
+ `string`
104
124
 
105
125
  The attestation to transfer.
106
126
 
107
- **identity?**: `string`
127
+ ##### identity?
128
+
129
+ `string`
108
130
 
109
131
  The identity to perform the attestation operation with.
110
132
 
@@ -16,19 +16,27 @@ Attest the data and return the collated information.
16
16
 
17
17
  #### Parameters
18
18
 
19
- **controller**: `string`
19
+ ##### controller
20
+
21
+ `string`
20
22
 
21
23
  The controller identity of the user to access the vault keys.
22
24
 
23
- **address**: `string`
25
+ ##### address
26
+
27
+ `string`
24
28
 
25
29
  The controller address for the attestation.
26
30
 
27
- **verificationMethodId**: `string`
31
+ ##### verificationMethodId
32
+
33
+ `string`
28
34
 
29
35
  The identity verification method to use for attesting the data.
30
36
 
31
- **attestationObject**: `IJsonLdNodeObject`
37
+ ##### attestationObject
38
+
39
+ `IJsonLdNodeObject`
32
40
 
33
41
  The data to attest.
34
42
 
@@ -48,7 +56,9 @@ Resolve and verify the attestation id.
48
56
 
49
57
  #### Parameters
50
58
 
51
- **id**: `string`
59
+ ##### id
60
+
61
+ `string`
52
62
 
53
63
  The attestation id to verify.
54
64
 
@@ -68,19 +78,27 @@ Transfer the attestation to a new holder.
68
78
 
69
79
  #### Parameters
70
80
 
71
- **controller**: `string`
81
+ ##### controller
82
+
83
+ `string`
72
84
 
73
85
  The controller identity of the user to access the vault keys.
74
86
 
75
- **attestationId**: `string`
87
+ ##### attestationId
88
+
89
+ `string`
76
90
 
77
91
  The attestation to transfer.
78
92
 
79
- **holderIdentity**: `string`
93
+ ##### holderIdentity
94
+
95
+ `string`
80
96
 
81
97
  The holder identity of the attestation.
82
98
 
83
- **holderAddress**: `string`
99
+ ##### holderAddress
100
+
101
+ `string`
84
102
 
85
103
  The new controller address of the attestation belonging to the holder.
86
104
 
@@ -100,11 +118,15 @@ Destroy the attestation.
100
118
 
101
119
  #### Parameters
102
120
 
103
- **controller**: `string`
121
+ ##### controller
122
+
123
+ `string`
104
124
 
105
125
  The controller identity of the user to access the vault keys.
106
126
 
107
- **attestationId**: `string`
127
+ ##### attestationId
128
+
129
+ `string`
108
130
 
109
131
  The attestation to destroy.
110
132
 
@@ -6,7 +6,7 @@ Interface describing the collated attestation information.
6
6
 
7
7
  ### @context
8
8
 
9
- > **@context**: `"https://schema.twindev.org/attestation/"` \| [`"https://schema.twindev.org/attestation/"`, `...string[]`]
9
+ > **@context**: `"https://schema.twindev.org/attestation/"` \| \[`"https://schema.twindev.org/attestation/"`, `...string[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
@@ -6,7 +6,7 @@ Interface describing an attestation proof.
6
6
 
7
7
  ### @context
8
8
 
9
- > **@context**: `"https://schema.twindev.org/attestation/"` \| [`"https://schema.twindev.org/attestation/"`, `...string[]`]
9
+ > **@context**: `"https://schema.twindev.org/attestation/"` \| \[`"https://schema.twindev.org/attestation/"`, `...string[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/attestation-models",
3
- "version": "0.0.1-next.10",
3
+ "version": "0.0.1-next.11",
4
4
  "description": "Models which define the structure of the attestation connectors and services",
5
5
  "repository": {
6
6
  "type": "git",