@@ -236,7 +236,8 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
236
236
237
237
- [ files] ( https://github.com/ipfs/interface-ipfs-core/blob/master/SPEC/FILES.md )
238
238
- [ ` ipfs.files.add(data, [options], [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#add )
239
- - [ ` ipfs.files.createAddStream([options], [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#createaddstream )
239
+ - [ ` ipfs.files.addReadableStream([options]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#addreadablestream )
240
+ - [ ` ipfs.files.addPullStream([options]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#addpullstream )
240
241
- [ ` ipfs.files.cat(multihash, [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#cat )
241
242
- [ ` ipfs.files.get(hash, [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/FILES.md#get )
242
243
@@ -256,6 +257,7 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
256
257
- [ ` ipfs.dag.put(dagNode, options, callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/DAG.md#dagput )
257
258
- [ ` ipfs.dag.get(cid [, path, options], callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/DAG.md#dagget )
258
259
- [ ` ipfs.dag.tree(cid [, path, options], callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/DAG.md#dagtree )
260
+
259
261
- [ object] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/OBJECT.md ) .
260
262
- [ ` ipfs.object.new([template][, callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/OBJECT.md#objectnew )
261
263
- [ ` ipfs.object.put(obj, [options, callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/OBJECT.md#objectput )
@@ -275,21 +277,26 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
275
277
- ` ipfs.bootstrap.list `
276
278
- ` ipfs.bootstrap.add `
277
279
- ` ipfs.bootstrap.rm `
280
+
278
281
- [ bitswap] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/ )
279
282
- ` ipfs.bitswap.wantlist() `
280
283
- ` ipfs.bitswap.stat() `
281
284
- ` ipfs.bitswap.unwant() `
285
+
282
286
- [ dht (not implemented, yet!)] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/ )
287
+
283
288
- [ pubsub] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md )
284
289
- [ ` ipfs.pubsub.subscribe(topic, options, handler, callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md#pubsubsubscribe )
285
290
- [ ` ipfs.pubsub.unsubscribe(topic, handler) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md#pubsubunsubscribe )
286
291
- [ ` ipfs.pubsub.publish(topic, data, callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md#pubsubpublish )
287
292
- [ ` ipfs.pubsub.ls(topic, callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md#pubsubls )
288
293
- [ ` ipfs.pubsub.peers(topic, callback) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/PUBSUB.md#pubsubpeers )
294
+
289
295
- [ libp2p] ( https://github.com/libp2p/interface-libp2p ) . Every IPFS instance also exposes the libp2p SPEC at ` ipfs.libp2p ` . The formal interface for this SPEC hasn't been defined by you can find documentation at its implementations:
290
296
- [ Node.js bundle] ( ./src/core/runtime/libp2p-nodejs.js )
291
297
- [ Browser Bundle] ( ./src/core/runtime/libp2p-browser.js )
292
298
- [ libp2p baseclass] ( https://github.com/libp2p/js-libp2p )
299
+
293
300
- [ swarm] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/SWARM.md )
294
301
- [ ` ipfs.swarm.addrs([callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/SWARM.md#addrs )
295
302
- [ ` ipfs.swarm.connect(addr, [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/SWARM.md#connect )
@@ -306,6 +313,7 @@ A complete API definition is in the works. Meanwhile, you can learn how to you u
306
313
- ` ipfs.start([callback]) `
307
314
- ` ipfs.stop([callback]) `
308
315
- ` ipfs.isOnline() `
316
+
309
317
- [ config] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/CONFIG.md )
310
318
- [ ` ipfs.config.get([key, callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/CONFIG.md#configget )
311
319
- [ ` ipfs.config.set(key, value, [callback]) ` ] ( https://github.com/ipfs/interface-ipfs-core/tree/master/SPEC/CONFIG.md#configset )
0 commit comments