File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 156156 "@multiformats/murmur3" : " ^1.0.3" ,
157157 "err-code" : " ^3.0.1" ,
158158 "hamt-sharding" : " ^2.0.0" ,
159- "interface-blockstore" : " ^1 .0.0 " ,
159+ "interface-blockstore" : " ^2 .0.3 " ,
160160 "ipfs-unixfs" : " ^6.0.0" ,
161161 "it-last" : " ^1.0.5" ,
162162 "multiformats" : " ^9.4.2" ,
163163 "uint8arrays" : " ^3.0.0"
164164 },
165165 "devDependencies" : {
166- "@types/mocha" : " ^8.2.1" ,
167166 "@types/sinon" : " ^10.0.0" ,
168167 "abort-controller" : " ^3.0.0" ,
169168 "aegir" : " ^36.2.3" ,
169+ "blockstore-core" : " ^1.0.5" ,
170170 "copy" : " ^0.3.2" ,
171171 "crypto-browserify" : " ^3.12.0" ,
172172 "events" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 11import errCode from 'err-code'
2- import { BlockstoreAdapter } from 'interface- blockstore'
2+ import { BaseBlockstore } from 'blockstore-core '
33import { base58btc } from 'multiformats/bases/base58'
44
55/**
66 * @typedef {import('multiformats/cid').CID } CID
77 */
88
99function createBlockApi ( ) {
10- class MockBlockstore extends BlockstoreAdapter {
10+ class MockBlockstore extends BaseBlockstore {
1111 constructor ( ) {
1212 super ( )
1313
Original file line number Diff line number Diff line change 147147 "clean" : " rimraf ./dist" ,
148148 "lint" : " aegir ts -p check && aegir lint" ,
149149 "coverage" : " nyc -s npm run test -t node && nyc report --reporter=html" ,
150- "de-pcheck" : " aegir dep-check -i @types/mocha -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert" ,
150+ "de-pcheck" : " aegir dep-check -i @types/mocha -i nyc -i rimraf -i copy -i util -i crypto-browserify -i events -i readable-stream -i assert -i interface-blockstore " ,
151151 "release" : " semantic-release"
152152 },
153153 "dependencies" : {
156156 "bl" : " ^5.0.0" ,
157157 "err-code" : " ^3.0.1" ,
158158 "hamt-sharding" : " ^2.0.0" ,
159- "interface-blockstore" : " ^1 .0.0 " ,
159+ "interface-blockstore" : " ^2 .0.3 " ,
160160 "ipfs-unixfs" : " ^6.0.0" ,
161161 "it-all" : " ^1.0.5" ,
162162 "it-batch" : " ^1.0.8" ,
168168 "uint8arrays" : " ^3.0.0"
169169 },
170170 "devDependencies" : {
171- "@types/mocha" : " ^8.2.1" ,
172171 "aegir" : " ^36.2.3" ,
173172 "assert" : " ^2.0.0" ,
173+ "blockstore-core" : " ^1.0.5" ,
174174 "copy" : " ^0.3.2" ,
175175 "crypto-browserify" : " ^3.12.0" ,
176176 "events" : " ^3.3.0" ,
Original file line number Diff line number Diff line change 11import errCode from 'err-code'
2- import { BlockstoreAdapter } from 'interface- blockstore'
2+ import { BaseBlockstore } from 'blockstore-core '
33import { base58btc } from 'multiformats/bases/base58'
44
55/**
66 * @typedef {import('multiformats/cid').CID } CID
77 */
88
99function createBlockApi ( ) {
10- class MockBlockstore extends BlockstoreAdapter {
10+ class MockBlockstore extends BaseBlockstore {
1111 constructor ( ) {
1212 super ( )
1313
Original file line number Diff line number Diff line change 159159 "protobufjs" : " ^6.10.2"
160160 },
161161 "devDependencies" : {
162- "@types/mocha" : " ^8.2.1" ,
163162 "aegir" : " ^36.2.3" ,
164163 "copy" : " ^0.3.2" ,
165164 "mkdirp" : " ^1.0.4" ,
You can’t perform that action at this time.
0 commit comments