@peerbit/blocks-interface
Advanced tools
Comparing version 1.2.19 to 1.3.0-2bc15a6
141
package.json
{ | ||
"name": "@peerbit/blocks-interface", | ||
"version": "1.2.19", | ||
"description": "Block store streaming", | ||
"type": "module", | ||
"sideEffects": false, | ||
"private": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"module": "lib/esm/index.js", | ||
"types": "lib/esm/index.d.ts", | ||
"exports": { | ||
"import": "./lib/esm/index.js" | ||
}, | ||
"scripts": { | ||
"clean": "shx rm -rf lib/*", | ||
"build": "yarn clean && tsc -p tsconfig.json", | ||
"test": "node ../../../node_modules/.bin/jest test -c ../../../jest.config.ts --runInBand --forceExit", | ||
"test:unit": "node ../../../node_modules/.bin/jest test -c ../../../jest.config.unit.ts --runInBand --forceExit", | ||
"test:integration": "node ../node_modules/.bin/jest test -c ../../../jest.config.integration.ts --runInBand --forceExit" | ||
}, | ||
"files": [ | ||
"lib", | ||
"src", | ||
"!src/**/__tests__", | ||
"!lib/**/__tests__", | ||
"!src/**/__benchmark__", | ||
"!lib/**/__benchmark__", | ||
"LICENSE" | ||
], | ||
"engines": { | ||
"node": ">=16.15.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dao-xyz/peerbit.git" | ||
}, | ||
"keywords": [ | ||
"peerbit" | ||
], | ||
"author": "dao.xyz", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/dao-xyz/peerbit/issues" | ||
}, | ||
"homepage": "https://github.com/dao-xyz/peerbit#readme", | ||
"localMaintainers": [ | ||
"dao.xyz" | ||
], | ||
"devDependencies": { | ||
"@peerbit/libp2p-test-utils": "2.1.3" | ||
}, | ||
"dependencies": { | ||
"@dao-xyz/borsh": "^5.2.1", | ||
"@peerbit/crypto": "2.2.0", | ||
"@peerbit/stream-interface": "^5.0.2" | ||
}, | ||
"gitHead": "fcd486b9a5c3b7d94e2ae14f1b06ab2a0f7841ad" | ||
"name": "@peerbit/blocks-interface", | ||
"version": "1.3.0-2bc15a6", | ||
"description": "Block store streaming", | ||
"type": "module", | ||
"sideEffects": false, | ||
"types": "./dist/src/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
], | ||
"src/*": [ | ||
"*", | ||
"dist/*", | ||
"dist/src/*", | ||
"dist/src/*/index" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
"src", | ||
"dist", | ||
"!dist/e2e", | ||
"!dist/test", | ||
"!**/*.tsbuildinfo" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/src/index.d.ts", | ||
"import": "./dist/src/index.js" | ||
} | ||
}, | ||
"eslintConfig": { | ||
"extends": "peerbit", | ||
"parserOptions": { | ||
"project": true, | ||
"sourceType": "module" | ||
}, | ||
"ignorePatterns": [ | ||
"!.aegir.js", | ||
"test/ts-use", | ||
"*.d.ts" | ||
] | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"clean": "aegir clean", | ||
"build": "aegir build --no-bundle", | ||
"test": "", | ||
"lint": "aegir lint" | ||
}, | ||
"engines": { | ||
"node": ">=16.15.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dao-xyz/peerbit.git" | ||
}, | ||
"keywords": [ | ||
"peerbit" | ||
], | ||
"author": "dao.xyz", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/dao-xyz/peerbit/issues" | ||
}, | ||
"homepage": "https://github.com/dao-xyz/peerbit#readme", | ||
"localMaintainers": [ | ||
"dao.xyz" | ||
], | ||
"devDependencies": { | ||
"@peerbit/libp2p-test-utils": "2.1.4-2bc15a6" | ||
}, | ||
"dependencies": { | ||
"@dao-xyz/borsh": "^5.2.3", | ||
"@peerbit/crypto": "2.3.0-2bc15a6", | ||
"@peerbit/stream-interface": "5.0.3-2bc15a6" | ||
} | ||
} |
@@ -1,3 +0,3 @@ | ||
# Direct block | ||
# Direct block interface | ||
Block swap/share protocol built on top of [Direct Stream](./../direct-stream/README.md) | ||
Message types for the Block swap/share protocol |
@@ -1,4 +0,5 @@ | ||
import { WaitForPeer } from "@peerbit/stream-interface"; | ||
import { type WaitForPeer } from "@peerbit/stream-interface"; | ||
export type GetOptions = { | ||
signal?: AbortSignal; | ||
timeout?: number; | ||
@@ -21,2 +22,15 @@ replicate?: boolean; | ||
size(): MaybePromise<number>; | ||
persisted(): MaybePromise<boolean>; | ||
} | ||
export { | ||
cidifyString, | ||
stringifyCid, | ||
createBlock, | ||
getBlockValue, | ||
calculateRawCid, | ||
checkDecodeBlock, | ||
codecCodes, | ||
defaultHasher, | ||
codecMap, | ||
} from "./block.js"; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
16911
12
0
280
2
1
+ Added@libp2p/crypto@4.1.9(transitive)
+ Added@peerbit/cache@2.1.0-2bc15a6(transitive)
+ Added@peerbit/crypto@2.3.0-2bc15a6(transitive)
+ Added@peerbit/stream-interface@5.0.3-2bc15a6(transitive)
- Removed@libp2p/crypto@3.0.45.0.13(transitive)
- Removed@libp2p/interface@2.6.1(transitive)
- Removed@libp2p/peer-id@5.0.14(transitive)
- Removed@peerbit/cache@2.1.2(transitive)
- Removed@peerbit/crypto@2.2.02.3.5(transitive)
- Removed@peerbit/stream-interface@5.1.4(transitive)
- Removed@peerbit/uint8arrays@3.0.1(transitive)
- Removed@stablelib/binary@1.0.1(transitive)
- Removed@stablelib/hash@1.0.1(transitive)
- Removed@stablelib/int@1.0.1(transitive)
- Removed@stablelib/sha256@1.0.1(transitive)
- Removed@stablelib/wipe@1.0.1(transitive)
- Removedmultiformats@12.1.3(transitive)
- Removednode-forge@1.3.1(transitive)
- Removeduint8arrays@4.0.10(transitive)
Updated@dao-xyz/borsh@^5.2.3