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 10.0.0 to 10.1.0

16

dist/src/types.d.ts

@@ -221,2 +221,9 @@ import type { TupleToUnion } from 'type-fest';

export type UCANRevoke = InferInvokedCapability<typeof UCANCaps.revoke>;
export interface Timestamp {
/**
* Unix timestamp in seconds.
*/
time: number;
}
export type UCANRevokeSuccess = Timestamp;
/**

@@ -243,3 +250,10 @@ * Error is raised when `UCAN` being revoked is not supplied or it's proof chain

}
export type UCANRevokeFailure = UCANNotFound | InvalidRevocationScope | UnauthorizedRevocation;
/**
* Error is raised when `UCAN` revocation cannot be stored. This
* is usually not a client error.
*/
export interface RevocationsStoreFailure extends Ucanto.Failure {
name: 'RevocationsStoreFailure';
}
export type UCANRevokeFailure = UCANNotFound | InvalidRevocationScope | UnauthorizedRevocation | RevocationsStoreFailure;
export type Admin = InferInvokedCapability<typeof AdminCaps.admin>;

@@ -246,0 +260,0 @@ export type AdminUploadInspect = InferInvokedCapability<typeof AdminCaps.upload.inspect>;

2

package.json
{
"name": "@web3-storage/capabilities",
"version": "10.0.0",
"version": "10.1.0",
"description": "Capabilities provided by web3.storage",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/web3-storage/w3protocol/tree/main/packages/capabilities",

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

export interface Timestamp {
/**
* Unix timestamp in seconds.
*/
time: number
}
export type UCANRevokeSuccess = Timestamp
/**

@@ -323,2 +332,10 @@ * Error is raised when `UCAN` being revoked is not supplied or it's proof chain

/**
* Error is raised when `UCAN` revocation cannot be stored. This
* is usually not a client error.
*/
export interface RevocationsStoreFailure extends Ucanto.Failure {
name: 'RevocationsStoreFailure'
}
export type UCANRevokeFailure =

@@ -328,2 +345,3 @@ | UCANNotFound

| UnauthorizedRevocation
| RevocationsStoreFailure

@@ -330,0 +348,0 @@ // Admin

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