Skip to content

Commit 3fa2ba8

Browse files
committed
updated readme with test
1 parent 8f94aa5 commit 3fa2ba8

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,25 @@ ipfs.on("ready", () => {
111111

112112
```
113113
joel$ node test.js
114-
...
115-
[{"@type":["/Digest"],"https://w3id.org/security#digestAlgorithm":[{"@value":"http://www.w3.org/2000/09/xmldsig#sha1"}],"https://w3id.org/security#digestValue":[{"@value":"981ec496092bf6ee18d6255d96069b528633268b"}]}]
114+
context: dweb:/ipld/zdpuB2s6SPPu2TPv6RBUY7FhJkghnYfc7dDvz5Luyw4wosde1
115+
document: ipfs://QmPm5sCx6HLSmdJHFrozmsVNxC6mrE3VMHH7XuTQmtqUuA
116+
{
117+
"@context": "dweb:/ipld/zdpuB2s6SPPu2TPv6RBUY7FhJkghnYfc7dDvz5Luyw4wosde1",
118+
"@graph": [
119+
{
120+
"@type": "schema:Person",
121+
"schema:knows": {
122+
"@type": "schema:Person",
123+
"schema:name": "Bob"
124+
},
125+
"schema:name": "Alice"
126+
}
127+
],
128+
"prov:wasAttributedTo": {
129+
"@type": "schema:Person",
130+
"schema:name": "Eve"
131+
}
132+
}
116133
```
117134

118135
## Support

0 commit comments

Comments
 (0)