Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit a23d794

Browse files
committed
It builds
1 parent e06cddb commit a23d794

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

api.go

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99
"strings"
1010

1111
"github.com/ipfs/go-ipfs/core/coreapi/interface"
12+
"github.com/ipfs/go-ipfs/core/coreapi/interface/options"
1213
homedir "github.com/mitchellh/go-homedir"
1314
ma "github.com/multiformats/go-multiaddr"
1415
manet "github.com/multiformats/go-multiaddr-net"
@@ -78,6 +79,10 @@ func NewApiWithClient(url string, c *gohttp.Client) *HttpApi {
7879
}
7980
}
8081

82+
func (api *HttpApi) WithOptions(...options.ApiOption) (iface.CoreAPI, error) {
83+
return nil, ErrNotImplemented
84+
}
85+
8186
func (api *HttpApi) request(command string, args ...string) *RequestBuilder {
8287
return &RequestBuilder{
8388
command: command,

package.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"gxDependencies": [
1010
{
1111
"author": "why",
12-
"hash": "QmRG3XuGwT7GYuAqgWDJBKTzdaHMwAnc1x7J2KHEXNHxzG",
12+
"hash": "QmZErC2Ay6WuGi96CPg316PwitdwgLo6RxZRqVjJjRj2MR",
1313
"name": "go-path",
14-
"version": "1.1.21"
14+
"version": "1.1.25"
1515
},
1616
{
1717
"author": "mitchellh",
@@ -42,6 +42,18 @@
4242
"hash": "QmXWZCd8jfaHmt4UDSnjKmGcrQMw95bDGWqEeVLVJjoANX",
4343
"name": "go-ipfs-files",
4444
"version": "2.0.3"
45+
},
46+
{
47+
"author": "whyrusleeping",
48+
"hash": "QmckeQ2zrYLAXoSHYTGn5BDdb22BqbUoHEHm8KZ9YWRxd1",
49+
"name": "iptb",
50+
"version": "2.0.0"
51+
},
52+
{
53+
"author": "travisperson",
54+
"hash": "QmQLcRTxMtdUmmTse5uoqBLM5YZgjZP4qiCPynY6qEz6qA",
55+
"name": "iptb-plugins",
56+
"version": "1.0.8"
4557
}
4658
],
4759
"gxVersion": "0.12.1",

0 commit comments

Comments
 (0)