mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-24 01:23:08 +03:00
powergate 0.2.0 syntax updates
This commit is contained in:
parent
c763a0eb4c
commit
2eae0b894a
@ -42,8 +42,8 @@ class Example extends React.Component {
|
||||
|
||||
await getByteArray();
|
||||
|
||||
const { cid } = await PowerGate.ffs.addToHot(buffer);
|
||||
const { jobId } = await PowerGate.ffs.pushConfig(cid);
|
||||
const { cid } = await PowerGate.ffs.stage(buffer);
|
||||
const { jobId } = await PowerGate.ffs.pushStorageConfig(cid);
|
||||
const cancel = PowerGate.ffs.watchJobs((job) => {
|
||||
console.log(job);
|
||||
}, jobId);
|
||||
|
Loading…
Reference in New Issue
Block a user