Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 49dc622

Browse files
authored
feat: use kubo-rpc-client (#517)
* feat: use kubo-rpc-client fixes ipfs/js-kubo-rpc-client#37 * fix(http-client-name-api): re-add ipfs-http-client
1 parent ed58c7a commit 49dc622

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
},
1616
"browserslist": "last 1 Chrome version",
1717
"dependencies": {
18-
"ipfs-http-client": "^58.0.0"
18+
"ipfs-http-client": "^58.0.0",
19+
"kubo-rpc-client": "^1.0.1"
1920
},
2021
"devDependencies": {
2122
"@babel/core": "^7.14.8",

tests/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { test, expect } from '@playwright/test';
22
import { playwright } from 'test-util-ipfs-example';
3-
import * as ipfsHttpModule from 'ipfs-http-client'
3+
import * as kuboRpcModule from 'kubo-rpc-client'
44
import * as goIpfsModule from 'go-ipfs'
55

66
// Setup
77
const play = test.extend({
88
...playwright.servers(),
99
...playwright.daemons(
1010
{
11-
ipfsHttpModule,
11+
kuboRpcModule,
1212
ipfsBin: goIpfsModule.path(),
1313
args: ['--enable-pubsub-experiment']
1414
},

0 commit comments

Comments
 (0)