diff --git a/daemon-node.js b/daemon-node.js index cbbae43..3894a79 100755 --- a/daemon-node.js +++ b/daemon-node.js @@ -37,7 +37,7 @@ async function main () { } const cid = await client.dag.put(data, { - format: 'dag-test', + storeCodec: 'dag-test', hashAlg: 'sha2-256' }) diff --git a/in-process-node.js b/in-process-node.js index 41eb7ad..8241bf7 100755 --- a/in-process-node.js +++ b/in-process-node.js @@ -26,7 +26,7 @@ async function main () { } const cid = await node.dag.put(data, { - format: 'dag-test', + storeCodec: 'dag-test', hashAlg: 'sha2-256' })