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 11.0.1 to 11.1.0

dist/src/plan.d.ts

3

dist/src/index.d.ts

@@ -22,3 +22,4 @@ /** @type {import('./types.js').AbilitiesArray} */

import * as UCAN from './ucan.js';
export { Access, Provider, Space, Top, Store, Upload, Consumer, Customer, Console, Utils, RateLimit, Subscription, Filecoin, Storefront, Aggregator, Dealer, DealTracker, Admin, UCAN };
import * as Plan from './plan.js';
export { Access, Provider, Space, Top, Store, Upload, Consumer, Customer, Console, Utils, RateLimit, Subscription, Filecoin, Storefront, Aggregator, Dealer, DealTracker, Admin, UCAN, Plan };
//# sourceMappingURL=index.d.ts.map

@@ -23,2 +23,4 @@ import type { TupleToUnion } from 'type-fest';

import * as UCANCaps from './ucan.js';
import * as PlanCaps from './plan.js';
export type ISO8601Date = string;
export type { Unit, PieceLink };

@@ -304,3 +306,3 @@ /**

origin?: UnknownLink;
insertedAt: string;
insertedAt: ISO8601Date;
}

@@ -310,4 +312,4 @@ export interface UploadListItem {

shards?: CARLink[];
insertedAt: string;
updatedAt: string;
insertedAt: ISO8601Date;
updatedAt: ISO8601Date;
}

@@ -385,2 +387,11 @@ export type UploadAddSuccess = Omit<UploadListItem, 'insertedAt' | 'updatedAt'>;

export type DealInfo = InferInvokedCapability<typeof DealTrackerCaps.dealInfo>;
export type PlanGet = InferInvokedCapability<typeof PlanCaps.get>;
export interface PlanGetSuccess {
updatedAt: ISO8601Date;
product: DID;
}
export interface PlanNotFound extends Ucanto.Failure {
name: 'PlanNotFound';
}
export type PlanGetFailure = PlanNotFound;
export type Top = InferInvokedCapability<typeof top>;

@@ -423,4 +434,5 @@ export type Abilities = TupleToUnion<AbilitiesArray>;

AdminUploadInspect['can'],
AdminStoreInspect['can']
AdminStoreInspect['can'],
PlanGet['can']
];
//# sourceMappingURL=types.d.ts.map
{
"name": "@web3-storage/capabilities",
"version": "11.0.1",
"version": "11.1.0",
"description": "Capabilities provided by web3.storage",

@@ -24,2 +24,6 @@ "homepage": "https://github.com/web3-storage/w3protocol/tree/main/packages/capabilities",

},
"./test/helpers/*": {
"types": "./dist/test/helpers/*.d.ts",
"import": "./test/helpers/*.js"
},
"./filecoin": {

@@ -26,0 +30,0 @@ "types": "./dist/src/filecoin/index.d.ts",

@@ -20,2 +20,3 @@ import * as Provider from './provider.js'

import * as UCAN from './ucan.js'
import * as Plan from './plan.js'

@@ -42,2 +43,3 @@ export {

UCAN,
Plan,
}

@@ -82,2 +84,3 @@

Admin.store.inspect.can,
Plan.get.can,
]

@@ -36,3 +36,6 @@ import type { TupleToUnion } from 'type-fest'

import * as UCANCaps from './ucan.js'
import * as PlanCaps from './plan.js'
export type ISO8601Date = string
export type { Unit, PieceLink }

@@ -398,3 +401,3 @@

origin?: UnknownLink
insertedAt: string
insertedAt: ISO8601Date
}

@@ -405,4 +408,4 @@

shards?: CARLink[]
insertedAt: string
updatedAt: string
insertedAt: ISO8601Date
updatedAt: ISO8601Date
}

@@ -520,2 +523,17 @@

export type DealInfo = InferInvokedCapability<typeof DealTrackerCaps.dealInfo>
// Plan
export type PlanGet = InferInvokedCapability<typeof PlanCaps.get>
export interface PlanGetSuccess {
updatedAt: ISO8601Date
product: DID
}
export interface PlanNotFound extends Ucanto.Failure {
name: 'PlanNotFound'
}
export type PlanGetFailure = PlanNotFound
// Top

@@ -561,3 +579,4 @@ export type Top = InferInvokedCapability<typeof top>

AdminUploadInspect['can'],
AdminStoreInspect['can']
AdminStoreInspect['can'],
PlanGet['can']
]

Sorry, the diff of this file is not supported yet

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