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 13.1.0 to 13.1.1

15

dist/src/types.d.ts

@@ -34,2 +34,10 @@ import type { TupleToUnion } from 'type-fest';

/**
* Error for cases where an interface implementation needs to return an
* error that isn't defined explicitly in the interface.
*/
export interface UnexpectedError extends Ucanto.Failure {
name: 'UnexpectedError';
cause: unknown;
}
/**
* failure due to a resource not having enough storage capacity.

@@ -469,3 +477,3 @@ */

}
export type PlanGetFailure = PlanNotFound;
export type PlanGetFailure = PlanNotFound | UnexpectedError;
export type PlanSet = InferInvokedCapability<typeof PlanCaps.set>;

@@ -482,3 +490,6 @@ export type PlanSetSuccess = Unit;

}
export type PlanSetFailure = CustomerNotFound;
export interface PlanUpdateError extends Ucanto.Failure {
name: 'PlanUpdateError';
}
export type PlanSetFailure = CustomerNotFound | PlanUpdateError | UnexpectedError;
export type Top = InferInvokedCapability<typeof top>;

@@ -485,0 +496,0 @@ export type ServiceAbility = TupleToUnion<ServiceAbilityArray>;

2

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

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

@@ -53,2 +53,11 @@ import type { TupleToUnion } from 'type-fest'

/**
* Error for cases where an interface implementation needs to return an
* error that isn't defined explicitly in the interface.
*/
export interface UnexpectedError extends Ucanto.Failure {
name: 'UnexpectedError'
cause: unknown
}
/**
* failure due to a resource not having enough storage capacity.

@@ -632,3 +641,3 @@ */

export type PlanGetFailure = PlanNotFound
export type PlanGetFailure = PlanNotFound | UnexpectedError

@@ -650,4 +659,11 @@ export type PlanSet = InferInvokedCapability<typeof PlanCaps.set>

export type PlanSetFailure = CustomerNotFound
export interface PlanUpdateError extends Ucanto.Failure {
name: 'PlanUpdateError'
}
export type PlanSetFailure =
| CustomerNotFound
| PlanUpdateError
| UnexpectedError
// Top

@@ -654,0 +670,0 @@ export type Top = InferInvokedCapability<typeof top>

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