Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web3-storage/capabilities

Package Overview
Dependencies
Maintainers
5
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3-storage/capabilities - npm Package Compare versions

Comparing version 12.0.3 to 12.1.0

13

dist/src/types.d.ts

@@ -248,7 +248,18 @@ import type { TupleToUnion } from 'type-fest';

piece: PieceLink;
aggregates: FilecoinInfoAcceptedAggregate[];
deals: FilecoinInfoAcceptedDeal[];
}
export interface FilecoinInfoAcceptedDeal extends DataAggregationProof, DealDetails {
export interface FilecoinInfoAcceptedAggregate {
/**
* Aggregate piece CID.
*/
aggregate: PieceLink;
/**
* Proof the piece is included in the aggregate.
*/
inclusion: InclusionProof;
}
export interface FilecoinInfoAcceptedDeal extends Omit<DataAggregationProof, 'inclusion'>, DealDetails {
aggregate: PieceLink;
}
export type FilecoinInfoFailure = ContentNotFound | InvalidContentPiece | Ucanto.Failure;

@@ -255,0 +266,0 @@ export interface PieceOfferSuccess {

2

package.json
{
"name": "@web3-storage/capabilities",
"version": "12.0.3",
"version": "12.1.0",
"description": "UCAN Capabilities provided by web3.storage",

@@ -5,0 +5,0 @@ "homepage": "https://web3.storage",

@@ -323,6 +323,19 @@ import type { TupleToUnion } from 'type-fest'

piece: PieceLink
aggregates: FilecoinInfoAcceptedAggregate[]
deals: FilecoinInfoAcceptedDeal[]
}
export interface FilecoinInfoAcceptedAggregate {
/**
* Aggregate piece CID.
*/
aggregate: PieceLink
/**
* Proof the piece is included in the aggregate.
*/
inclusion: InclusionProof
}
export interface FilecoinInfoAcceptedDeal
extends DataAggregationProof,
extends Omit<DataAggregationProof, 'inclusion'>,
DealDetails {

@@ -329,0 +342,0 @@ aggregate: PieceLink

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc