@twin.org/immutable-proof-rest-client 0.0.1-next.14 → 0.0.1-next.16
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
|
@@ -20,7 +20,9 @@ Create a new instance of ImmutableProofClient.
|
|
|
20
20
|
|
|
21
21
|
#### Parameters
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
##### config
|
|
24
|
+
|
|
25
|
+
`IBaseRestClientConfig`
|
|
24
26
|
|
|
25
27
|
The configuration for the client.
|
|
26
28
|
|
|
@@ -54,7 +56,9 @@ Create a new authentication proof.
|
|
|
54
56
|
|
|
55
57
|
#### Parameters
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
##### proofObject
|
|
60
|
+
|
|
61
|
+
`IJsonLdNodeObject`
|
|
58
62
|
|
|
59
63
|
The object for the proof as JSON-LD.
|
|
60
64
|
|
|
@@ -78,7 +82,9 @@ Get an authentication proof.
|
|
|
78
82
|
|
|
79
83
|
#### Parameters
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
##### id
|
|
86
|
+
|
|
87
|
+
`string`
|
|
82
88
|
|
|
83
89
|
The id of the proof to get.
|
|
84
90
|
|
|
@@ -106,7 +112,9 @@ Verify an authentication proof.
|
|
|
106
112
|
|
|
107
113
|
#### Parameters
|
|
108
114
|
|
|
109
|
-
|
|
115
|
+
##### id
|
|
116
|
+
|
|
117
|
+
`string`
|
|
110
118
|
|
|
111
119
|
The id of the proof to verify.
|
|
112
120
|
|
|
@@ -134,7 +142,9 @@ Remove the immutable storage for the proof.
|
|
|
134
142
|
|
|
135
143
|
#### Parameters
|
|
136
144
|
|
|
137
|
-
|
|
145
|
+
##### id
|
|
146
|
+
|
|
147
|
+
`string`
|
|
138
148
|
|
|
139
149
|
The id of the proof to remove the storage from.
|
|
140
150
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/immutable-proof-rest-client",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.16",
|
|
4
4
|
"description": "Immutable Proof contract implementation which can connect to REST endpoints",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@twin.org/core": "next",
|
|
20
20
|
"@twin.org/data-json-ld": "next",
|
|
21
21
|
"@twin.org/entity": "next",
|
|
22
|
-
"@twin.org/immutable-proof-models": "0.0.1-next.
|
|
22
|
+
"@twin.org/immutable-proof-models": "0.0.1-next.16",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
24
|
"@twin.org/web": "next"
|
|
25
25
|
},
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"types": "./dist/types/index.d.ts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
+
"types": "./dist/types/index.d.ts",
|
|
31
32
|
"require": "./dist/cjs/index.cjs",
|
|
32
|
-
"import": "./dist/esm/index.mjs"
|
|
33
|
-
"types": "./dist/types/index.d.ts"
|
|
33
|
+
"import": "./dist/esm/index.mjs"
|
|
34
34
|
},
|
|
35
35
|
"./locales/*.json": "./locales/*.json"
|
|
36
36
|
},
|