File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ This client only has a programmatic API at the moment (no CLI). You use it like
14
14
15
15
``` ts
16
16
17
- import { Configuration , PinsApi , Status } from ' @ipfs-shipyard/pinning-service-client'
17
+ import { Configuration , RemotePinningServiceClient , Status } from ' @ipfs-shipyard/pinning-service-client'
18
18
import type { PinsGetRequest , PinResults } from ' @ipfs-shipyard/pinning-service-client'
19
19
20
20
const config = new Configuration ({
21
- basePath , // the URI for your pinning provider, e.g. `http://localhost:3000`
21
+ endpointUrl , // the URI for your pinning provider, e.g. `http://localhost:3000`
22
22
accessToken , // the secret token/key given to you by your pinning provider
23
23
// fetchApi: fetch, // You can pass your own fetchApi implementation, but we use fetch-ponyfill by default.
24
24
})
25
25
26
- const client = new PinsApi (config )
26
+ const client = new RemotePinningServiceClient (config )
27
27
28
28
(async () => {
29
29
// Get 10 failed Pins
You can’t perform that action at this time.
0 commit comments