This repository was archived by the owner on Jan 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +12
-8
lines changed
http-client-browser-pubsub Expand file tree Collapse file tree 6 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 2525 "dependencies" : {
2626 "@libp2p/websockets" : " ^3.0.3" ,
2727 "ipfs-core" : " ^0.16.0" ,
28- "ipfs-http -client" : " ^58 .0.0 " ,
28+ "kubo-rpc -client" : " ^1 .0.1 " ,
2929 "ipfs-utils" : " ^9.0.6" ,
3030 "ipns" : " ^2.0.3" ,
3131 "it-last" : " ^1.0.4" ,
Original file line number Diff line number Diff line change 11import { test , expect } from '@playwright/test'
22import { playwright } from 'test-util-ipfs-example'
33import * as goIpfsModule from 'go-ipfs'
4- import * as ipfsHttpModule from 'ipfs-http -client'
4+ import * as kuboRpcModule from 'kubo-rpc -client'
55
66// Setup
77const play = test . extend ( {
88 ...playwright . servers ( ) ,
99 ...playwright . daemons (
1010 {
11- ipfsHttpModule ,
11+ kuboRpcModule ,
1212 ipfsBin : goIpfsModule . path ( ) ,
1313 args : [
1414 "--enable-pubsub-experiment" ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -2,21 +2,23 @@ import { test } from '@playwright/test';
22import { playwright } from 'test-util-ipfs-example'
33import * as ipfsModule from 'ipfs'
44import * as ipfsHttpModule from 'ipfs-http-client'
5+ import * as kuboRpcModule from 'kubo-rpc-client'
56import * as goIpfsModule from 'go-ipfs'
67
78// Setup
89const play = test . extend ( {
910 ...playwright . servers ( ) ,
1011 ...playwright . daemons (
1112 {
12- ipfsHttpModule,
1313 } ,
1414 {
1515 js : {
16+ ipfsHttpModule,
1617 ipfsBin : ipfsModule . path ( )
1718 } ,
1819 go : {
1920 ipfsBin : goIpfsModule . path ( ) ,
21+ kuboRpcModule,
2022 args : [ '--enable-pubsub-experiment' ]
2123 }
2224 } ,
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 11import { test , expect } from '@playwright/test' ;
22import { playwright } from 'test-util-ipfs-example' ;
3- import * as ipfsHttpModule from 'ipfs-http -client'
3+ import * as kuboRpcModule from 'kubo-rpc -client'
44import * as goIpfsModule from 'go-ipfs'
55
66// Setup
77const play = test . extend ( {
88 ...playwright . servers ( ) ,
99 ...playwright . daemons (
1010 {
11- ipfsHttpModule ,
11+ kuboRpcModule ,
1212 ipfsBin : goIpfsModule . path ( ) ,
1313 args : [ '--enable-pubsub-experiment' ]
1414 } ,
You can’t perform that action at this time.
0 commit comments